@smals-belgium-shared/vidis-delivered-medication-list 3.4.2-snapshot.3 → 3.4.2-snapshot.4

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,43 @@
1
+ var Aq=Object.defineProperty;var Mm=e=>{throw TypeError(e)};var Pq=(e,t,r)=>t in e?Aq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>Pq(e,typeof t!="symbol"?t+"":t,r),Nm=(e,t,r)=>t.has(e)||Mm("Cannot "+r);var Tr=(e,t,r)=>(Nm(e,t,"read from private field"),r?r.call(e):t.get(e)),Am=(e,t,r)=>t.has(e)?Mm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Pm=(e,t,r,n)=>(Nm(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Lq=Object.create,ru=Object.defineProperty,Fq=Object.defineProperties,jq=Object.getOwnPropertyDescriptor,Vq=Object.getOwnPropertyDescriptors,zq=Object.getOwnPropertyNames,yl=Object.getOwnPropertySymbols,Bq=Object.getPrototypeOf,vh=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable,Lm=(e,t,r)=>t in e?ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ce=(e,t)=>{for(var r in t||(t={}))vh.call(t,r)&&Lm(e,r,t[r]);if(yl)for(var r of yl(t))Dv.call(t,r)&&Lm(e,r,t[r]);return e},Qt=(e,t)=>Fq(e,Vq(t)),Hq=(e,t)=>{var r={};for(var n in e)vh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&yl)for(var n of yl(e))t.indexOf(n)<0&&Dv.call(e,n)&&(r[n]=e[n]);return r},se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pe=(e,t)=>{for(var r in t)ru(e,r,{get:t[r],enumerable:!0})},qq=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of zq(t))!vh.call(e,a)&&a!==r&&ru(e,a,{get:()=>t[a],enumerable:!(n=jq(t,a))||n.enumerable});return e},Iv=(e,t,r)=>(r=e!=null?Lq(Bq(e)):{},qq(t||!e||!e.__esModule?ru(r,"default",{value:e,enumerable:!0}):r,e)),Rt=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{l(r.next(u))}catch(c){a(c)}},o=u=>{try{l(r.throw(u))}catch(c){a(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);l((r=r.apply(e,t)).next())}),$q=se((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,b=1,y=arguments.length;b<y;b++){f=arguments[b];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,b=f&&p[f],y=0;if(b)return b.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 b=typeof Symbol=="function"&&p[Symbol.iterator];if(!b)return p;var y=b.call(p),_,E=[],C;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(I){C={error:I}}finally{try{_&&!_.done&&(b=y.return)&&b.call(y)}finally{if(C)throw C.error}}return E}function i(p,f,b){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,b,y){super(f),this.token=b,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",u=p=>p%2===0?"2-digit":"numeric";function c(p,f){switch(p.char){case"y":return{year:u(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 d(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:b,desc:y,width:_}=p;if(b==="d")return u(_);f(`${y} is not supported`)}function v(p,f){let{char:b,desc:y,width:_}=p;if((b==="c"||b==="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=u(p.width),b;switch(p.char){case"h":b="h12";break;case"H":b="h23";break;case"k":b="h24";break;case"K":b="h11";break}return b?{hour:f,hourCycle:b}:{hour:f}}function w(p,f){let{char:b,desc:y,width:_}=p;switch(b){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 c(p,f);case"month":return{month:d(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:v(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:u(p.width)};case"sec":return{second:u(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 k(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:C,field:I,str:R}=E;if(C){let ae=new o(C.message,E);ae.stack=C.stack,b(ae)}if(R){let ae=`Ignoring string part: ${R}`;b(new o(ae,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):b(new o(`Duplicate ${I} token`,E)));let B=x(E,(ae,ge)=>b(new o(ae,E,ge)));B&&Object.assign(y,B)}return y}let D={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"}},O=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function M(p,f){let b=p[f],y=1;for(;p[++f]===b;)++y;let _=D[b];if(!_){let E=`The letter ${b} is not a valid field identifier`;return{char:b,error:new Error(E),width:y}}return{char:b,field:_.field,desc:_.desc,width:y}}function J(p,f){let b=p[++f],y=2;if(b==="'")return{char:"'",str:b,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${b||p}`;return{char:"'",error:new Error(E),str:b,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:b,width:y};++y}b+=_}}function ue(p,f){let b=p[f];if(!b)return null;if(O(b))return M(p,f);if(b==="'")return J(p,f);let y=b,_=1;for(;;){let E=p[++f];if(!E||O(E)||E==="'")return{char:b,str:y,width:_};y+=E,_+=1}}function we(p){let f=[],b=0;for(;;){let y=ue(p,b);if(!y)return f;f.push(y),b+=y.width}}function Mt(p,f,b,y){typeof f=="string"&&(f=we(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,y),E=new Intl.DateTimeFormat(p,_);return C=>E.format(C)}function wt(p,f,b,y){typeof f=="string"&&(f=we(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,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 rt extends Error{constructor(f,b){super(b),this.code=f}}class Ct extends rt{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class X extends rt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class U extends rt{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class Ee extends rt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class F extends rt{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class H extends rt{constructor(f,b,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${b.length})`),this.stem=f,this.options=b}}function Y(p,f){let{numberingSystem:b}=f;return Array.isArray(p)||(p=[p]),b?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${b}`}).concat(p):p}function Te(p,f){let b=+p+f/2;return b-b%+f}function Je(p){let{scale:f,unit:b}=p,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function Jt(p){let f=Je(p),{precision:b}=p;return b&&b.style==="precision-increment"?y=>Te(y,b.increment)*f:y=>y*f}function Pe(p){let f=Je(p),{precision:b}=p;if(b&&b.style==="precision-increment"){let y=`+n + ${b.increment/2}`,_=`x - (x % +${b.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Be(p,f){let{decimal:b,group:y,integerWidth:_,notation:E,precision:C,roundingMode:I,sign:R,unit:B,unitPer:ae,unitWidth:ge}=p,Oe=(it,xt)=>{},Q={};if(B)switch(B.style){case"base-unit":Q.style="decimal";break;case"currency":Q.style="currency",Q.currency=B.currency;break;case"measure-unit":Q.style="unit",Q.unit=B.unit.replace(/.*-/,""),ae&&(Q.unit+="-per-"+ae.replace(/.*-/,""));break;case"percent":Q.style="percent";break}switch(ge){case"unit-width-full-name":Q.currencyDisplay="name",Q.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":Q.currencyDisplay="code";break;case"unit-width-narrow":Q.currencyDisplay="narrowSymbol",Q.unitDisplay="narrow";break;case"unit-width-short":Q.currencyDisplay="symbol",Q.unitDisplay="short";break}switch(y){case"group-off":Q.useGrouping=!1;break;case"group-auto":Q.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":Q.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:it,maxFraction:xt,minSignificant:At,maxSignificant:sn,source:Bn}=C;typeof it=="number"&&(Q.minimumFractionDigits=it,typeof At=="number"&&Oe()),typeof xt=="number"&&(Q.maximumFractionDigits=xt),typeof At=="number"&&(Q.minimumSignificantDigits=At),typeof sn=="number"&&(Q.maximumSignificantDigits=sn);break}case"precision-integer":Q.maximumFractionDigits=0;break;case"precision-unlimited":Q.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":Q.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":Oe(C.style);break}if(E)switch(E.style){case"compact-short":Q.notation="compact",Q.compactDisplay="short";break;case"compact-long":Q.notation="compact",Q.compactDisplay="long";break;case"notation-simple":Q.notation="standard";break;case"scientific":case"engineering":{let{expDigits:it,expSign:xt,source:At,style:sn}=E;Q.notation=sn;break}}if(_){let{min:it,max:xt,source:At}=_;if(it>0&&(Q.minimumIntegerDigits=it),Number(xt)>0){let sn=Q.notation==="engineering"||Q.notation==="scientific";xt===3&&sn?Q.notation="engineering":Oe()}}switch(R){case"sign-auto":Q.signDisplay="auto";break;case"sign-always":Q.signDisplay="always";break;case"sign-except-zero":Q.signDisplay="exceptZero";break;case"sign-never":Q.signDisplay="never";break;case"sign-accounting":Q.currencySign="accounting";break;case"sign-accounting-always":Q.currencySign="accounting",Q.signDisplay="always";break;case"sign-accounting-except-zero":Q.currencySign="accounting",Q.signDisplay="exceptZero";break}return Q}function ft(p,f,b){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 b(new F("¤",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 C=p[++f];if(++E,C===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return b(new F("'",I)),{char:y,str:_,width:E}}else if(C==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=C}}}return null}let zn=p=>p>="0"&&p<="9";function at(p,f){let b=p[f];if(zn(b)){let y=b;for(;;){let _=p[++f];if(zn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(b){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:b,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:b,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:b,expDigits:_,plus:y,width:E};break}case".":case",":return{char:b,width:1}}return null}function en(p,f,b){let y;(function(B){B[B.Prefix=0]="Prefix",B[B.Number=1]="Number",B[B.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],C=[],I=y.Prefix,R="";for(;f<p.length;){let B=p[f];if(B===";"){f+=1;break}switch(I){case y.Prefix:{let ae=ft(p,f,b);if(ae)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(ae),f+=ae.width;else{let ge=at(p,f);ge?(R&&(_.push({char:"'",str:R,width:R.length}),R=""),I=y.Number,E.push(ge),f+=ge.width):(R+=B,f+=1)}break}case y.Number:{let ae=at(p,f);ae?(E.push(ae),f+=ae.width):I=y.Suffix;break}case y.Suffix:{let ae=ft(p,f,b);ae?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(ae),f+=ae.width):(R+=B,f+=1);break}}}return R&&C.push({char:"'",str:R,width:R.length}),{pattern:{prefix:_,number:E,suffix:C},pos:f}}function Nt(p,f){let{pattern:b,pos:y}=en(p,0,f);if(y<p.length){let{pattern:_}=en(p,y,f);return{tokens:b,negative:_}}return{tokens:b}}function Jn(p,f){let b={},y=!1,_=!1,E=0,C="",I=-1,R="",B=0;for(let ge=0;ge<p.length;++ge){let Oe=p[ge];switch(Oe.char){case"#":{if(I===-1){if(C){let Q="Pattern has # after integer digits";f(new F("#",Q))}E+=Oe.width}else B+=Oe.width;break}case"0":{if(I===-1)C+=Oe.digits;else{if(B){let Q="Pattern has digits after # in fraction";f(new F("0",Q))}R+=Oe.digits}break}case"@":{b.precision&&f(new U("precision",b.precision)),b.precision={style:"precision-fraction",minSignificant:Oe.min,maxSignificant:Oe.width};break}case",":y=!0;break;case".":if(I===1){let Q="Pattern has more than one decimal separator";f(new F(".",Q))}I=ge;break;case"E":{if(_&&f(new U("exponent",b.notation)),y){let Q="Exponential patterns may not contain grouping separators";f(new F("E",Q))}b.notation={style:"scientific"},Oe.expDigits>1&&(b.notation.expDigits=Oe.expDigits),Oe.plus&&(b.notation.expSign="sign-always"),_=!0}}}y?b.group="group-auto":E+C.length>3&&(b.group="group-off");let ae=+`${C||"0"}.${R}`;if(ae&&(b.precision={style:"precision-increment",increment:ae}),!_)C.length>1&&(b.integerWidth={min:C.length}),!b.precision&&(R.length||B)&&(b.precision={style:"precision-fraction",minFraction:R.length,maxFraction:R.length+B});else if((!b.precision||ae)&&(b.integerWidth=E?{min:1,max:E+C.length}:{min:Math.max(1,C.length)}),b.precision)ae||(b.integerWidth={min:1,max:1});else{let ge=C.length+R.length;I===-1?ge>0&&(b.precision={style:"precision-fraction",maxSignificant:ge}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,ge)+B},ge>1&&(b.precision.minSignificant=ge))}return b}function Gr(p,f,b,y,_){let E=!1,C="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:C="";break;case"¤":if(!b){let R="The ¤ pattern requires a currency";y(new F("¤",R));break}switch(f.unit={style:"currency",currency:b},I.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:C="";break;case"*":break;case"+":E||(C+="+");break;case"'":E||(C+=I.str);break}return C}function xs(p,f){let b=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?b=!0:y="";break;case"-":b||(y+="-");break;case"'":b||(y+=_.str);break}return y}function Es(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R=>{throw R},{tokens:y,negative:_}=Nt(p,b),E=Jn(y.number,b),C=Gr(y.prefix,E,f,b,!0),I=Gr(y.suffix,E,f,b,!1);if(_){let R=xs(_.prefix,!0),B=xs(_.suffix,!1);E.affix={pos:[C,I],neg:[R,B]},E.sign="sign-never"}else(C||I)&&(E.affix={pos:[C,I]});return E}function U9(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 _m(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[b]=p.split("-",1);return f.indexOf(b)!==-1}let wm={"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},xm={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function W9(p){return p in wm}function Z9(p){return p in xm}function Y9(p,f,b){if(W9(p)){let y=wm[p];if(f.length>y){if(y===0)for(let _ of f)b(new Ct(p,_));else b(new H(p,f,y));return!1}else if(Z9(p)&&f.length<xm[p])return b(new Ee(p)),!1}return!0}function Gu(p,f){let b=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(b);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 K9(p,f,b){let y=Gu(p,"fraction");if(y){f.length>1&&b(new H(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let C=f[0],I=Gu(C,"significant");return I?(E.source=`${p}/${C}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):C&&b(new Ct(p,C)),E}let _=Gu(p,"significant");if(_){for(let C of f)b(new Ct(p,C));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class Q9{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new Ct(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new U(f,b))}parseToken(f,b){if(!Y9(f,b,this.onError))return;let y=b[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,C;for(let R of b)switch(R){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":C=R;break;default:/^\+e+$/.test(R)?E=R.length-1:this.badOption(f,R)}this.assertEmpty("notation");let I=b.join("/");_.notation=E&&C?{style:f,source:I,expDigits:E,expSign:C}:E?{style:f,source:I,expDigits:E}:C?{style:f,source:I,expSign:C}:{style:f,source:I};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":{_m(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{_m(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":{U9(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=K9(f,b,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new X(f))}}}}function Em(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},b=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),C=E.shift()||"";b.push({stem:C,options:E})}let y=new Q9(f);for(let{stem:_,options:E}of b)y.parseToken(_,E);return y.skeleton}function X9(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?Em(f.slice(2),y):Es(f,b,y));let _=Y(p,f),E=Be(f),C=Jt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[R,B]=f.affix.pos,[ae,ge]=f.affix.neg||["",""];return Oe=>{let Q=I.format(C(Oe));return Oe<0?`${ae}${Q}${ge}`:`${R}${Q}${B}`}}return R=>I.format(C(R))}function J9(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?Em(f.slice(2),y):Es(f,b,y));let _=Y(p,f),E=Be(f),C=Pe(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],R="nf.format(value)";if(C&&(I.push(`var mod = ${C};`),R="nf.format(mod(value))"),f.affix){let[B,ae]=f.affix.pos.map(ge=>JSON.stringify(ge));if(f.affix.neg){let[ge,Oe]=f.affix.neg.map(Q=>JSON.stringify(Q));R=`value < 0 ? ${ge} + ${R} + ${Oe} : ${B} + ${R} + ${ae}`}else R=`${B} + ${R} + ${ae}`}return I.push(`return function(value) { return ${R}; }`),I.join(`
4
+ `)+`
5
+ })()`}var Uu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function eq(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var ro={},Sm={},km={exports:{}};(function(p){(function(f,b){p.exports?p.exports=b():f.moo=b()})(Uu,function(){var f=Object.prototype.hasOwnProperty,b=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(N){return N&&b.call(N)==="[object RegExp]"}function E(N){return N&&typeof N=="object"&&!_(N)&&!Array.isArray(N)}function C(N){return N.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(N){var $=new RegExp("|"+N);return $.exec("").length-1}function R(N){return"("+N+")"}function B(N){if(!N.length)return"(?!)";var $=N.map(function(ne){return"(?:"+ne+")"}).join("|");return"(?:"+$+")"}function ae(N){if(typeof N=="string")return"(?:"+C(N)+")";if(_(N)){if(N.ignoreCase)throw new Error("RegExp /i flag not allowed");if(N.global)throw new Error("RegExp /g flag is implied");if(N.sticky)throw new Error("RegExp /y flag is implied");if(N.multiline)throw new Error("RegExp /m flag is implied");return N.source}else throw new Error("Not a pattern: "+N)}function ge(N,$){return N.length>$?N:Array($-N.length+1).join(" ")+N}function Oe(N,$){for(var ne=N.length,ie=0;;){var xe=N.lastIndexOf(`
6
+ `,ne-1);if(xe===-1||(ie++,ne=xe,ie===$)||ne===0)break}var me=ie<$?0:ne+1;return N.substring(me).split(`
7
+ `)}function Q(N){for(var $=Object.getOwnPropertyNames(N),ne=[],ie=0;ie<$.length;ie++){var xe=$[ie],me=N[xe],Le=[].concat(me);if(xe==="include"){for(var dt=0;dt<Le.length;dt++)ne.push({include:Le[dt]});continue}var We=[];Le.forEach(function(ye){E(ye)?(We.length&&ne.push(xt(xe,We)),ne.push(xt(xe,ye)),We=[]):We.push(ye)}),We.length&&ne.push(xt(xe,We))}return ne}function it(N){for(var $=[],ne=0;ne<N.length;ne++){var ie=N[ne];if(ie.include){for(var xe=[].concat(ie.include),me=0;me<xe.length;me++)$.push({include:xe[me]});continue}if(!ie.type)throw new Error("Rule has no type: "+JSON.stringify(ie));$.push(xt(ie.type,ie))}return $}function xt(N,$){if(E($)||($={match:$}),$.include)throw new Error("Matching rules cannot also include states");var ne={defaultType:N,lineBreaks:!!$.error||!!$.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ie in $)f.call($,ie)&&(ne[ie]=$[ie]);if(typeof ne.type=="string"&&N!==ne.type)throw new Error("Type transform cannot be a string (type '"+ne.type+"' for token '"+N+"')");var xe=ne.match;return ne.match=Array.isArray(xe)?xe:xe?[xe]:[],ne.match.sort(function(me,Le){return _(me)&&_(Le)?0:_(Le)?-1:_(me)?1:Le.length-me.length}),ne}function At(N){return Array.isArray(N)?it(N):Q(N)}var sn=xt("error",{lineBreaks:!0,shouldThrow:!0});function Bn(N,$){for(var ne=null,ie=Object.create(null),xe=!0,me=null,Le=[],dt=[],We=0;We<N.length;We++)N[We].fallback&&(xe=!1);for(var We=0;We<N.length;We++){var ye=N[We];if(ye.include)throw new Error("Inheritance is not allowed in stateless lexers");if(ye.error||ye.fallback){if(ne)throw!ye.fallback==!ne.fallback?new Error("Multiple "+(ye.fallback?"fallback":"error")+" rules not allowed (for token '"+ye.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+ye.defaultType+"')");ne=ye}var Dt=ye.match.slice();if(xe)for(;Dt.length&&typeof Dt[0]=="string"&&Dt[0].length===1;){var Ja=Dt.shift();ie[Ja.charCodeAt(0)]=ye}if(ye.pop||ye.push||ye.next){if(!$)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+ye.defaultType+"')");if(ye.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+ye.defaultType+"')")}if(Dt.length!==0){xe=!1,Le.push(ye);for(var nr=0;nr<Dt.length;nr++){var ya=Dt[nr];if(_(ya)){if(me===null)me=ya.unicode;else if(me!==ya.unicode&&ye.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ei=B(Dt.map(ae)),Hn=new RegExp(ei);if(Hn.test(""))throw new Error("RegExp matches empty string: "+Hn);var io=I(ei);if(io>0)throw new Error("RegExp has capture groups: "+Hn+`
8
+ Use (?: … ) instead`);if(!ye.lineBreaks&&Hn.test(`
9
+ `))throw new Error("Rule should declare lineBreaks: "+Hn);dt.push(R(ei))}}var ti=ne&&ne.fallback,oo=y&&!ti?"ym":"gm",Rs=y||ti?"":"|";me===!0&&(oo+="u");var Nq=new RegExp(B(dt)+Rs,oo);return{regexp:Nq,groups:Le,fast:ie,error:ne||sn}}function Wr(N){var $=Bn(At(N));return new bt({start:$},"start")}function kr(N,$,ne){var ie=N&&(N.push||N.next);if(ie&&!ne[ie])throw new Error("Missing state '"+ie+"' (in token '"+N.defaultType+"' of state '"+$+"')");if(N&&N.pop&&+N.pop!=1)throw new Error("pop must be 1 (in token '"+N.defaultType+"' of state '"+$+"')")}function Cr(N,$){var ne=N.$all?At(N.$all):[];delete N.$all;var ie=Object.getOwnPropertyNames(N);$||($=ie[0]);for(var xe=Object.create(null),me=0;me<ie.length;me++){var Le=ie[me];xe[Le]=At(N[Le]).concat(ne)}for(var me=0;me<ie.length;me++)for(var Le=ie[me],dt=xe[Le],We=Object.create(null),ye=0;ye<dt.length;ye++){var Dt=dt[ye];if(Dt.include){var Ja=[ye,1];if(Dt.include!==Le&&!We[Dt.include]){We[Dt.include]=!0;var nr=xe[Dt.include];if(!nr)throw new Error("Cannot include nonexistent state '"+Dt.include+"' (in state '"+Le+"')");for(var ya=0;ya<nr.length;ya++){var ei=nr[ya];dt.indexOf(ei)===-1&&Ja.push(ei)}}dt.splice.apply(dt,Ja),ye--}}for(var Hn=Object.create(null),me=0;me<ie.length;me++){var Le=ie[me];Hn[Le]=Bn(xe[Le],!0)}for(var me=0;me<ie.length;me++){for(var io=ie[me],ti=Hn[io],oo=ti.groups,ye=0;ye<oo.length;ye++)kr(oo[ye],io,Hn);for(var Rs=Object.getOwnPropertyNames(ti.fast),ye=0;ye<Rs.length;ye++)kr(ti.fast[Rs[ye]],io,Hn)}return new bt(Hn,$)}function Dr(N){for(var $=typeof Map<"u",ne=$?new Map:Object.create(null),ie=Object.getOwnPropertyNames(N),xe=0;xe<ie.length;xe++){var me=ie[xe],Le=N[me],dt=Array.isArray(Le)?Le:[Le];dt.forEach(function(We){if(typeof We!="string")throw new Error("keyword must be string (in keyword '"+me+"')");$?ne.set(We,me):ne[We]=me})}return function(We){return $?ne.get(We):ne[We]}}var bt=function(N,$){this.startState=$,this.states=N,this.buffer="",this.stack=[],this.reset()};bt.prototype.reset=function(N,$){return this.buffer=N||"",this.index=0,this.line=$?$.line:1,this.col=$?$.col:1,this.queuedToken=$?$.queuedToken:null,this.queuedText=$?$.queuedText:"",this.queuedThrow=$?$.queuedThrow:null,this.setState($?$.state:this.startState),this.stack=$&&$.stack?$.stack.slice():[],this},bt.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}},bt.prototype.setState=function(N){if(!(!N||this.state===N)){this.state=N;var $=this.states[N];this.groups=$.groups,this.error=$.error,this.re=$.regexp,this.fast=$.fast}},bt.prototype.popState=function(){this.setState(this.stack.pop())},bt.prototype.pushState=function(N){this.stack.push(this.state),this.setState(N)};var Is=y?function(N,$){return N.exec($)}:function(N,$){var ne=N.exec($);return ne[0].length===0?null:ne};bt.prototype._getGroup=function(N){for(var $=this.groups.length,ne=0;ne<$;ne++)if(N[ne+1]!==void 0)return this.groups[ne];throw new Error("Cannot find token type for matched text")};function Ts(){return this.value}if(bt.prototype.next=function(){var N=this.index;if(this.queuedGroup){var $=this._token(this.queuedGroup,this.queuedText,N);return this.queuedGroup=null,this.queuedText="",$}var ne=this.buffer;if(N!==ne.length){var Le=this.fast[ne.charCodeAt(N)];if(Le)return this._token(Le,ne.charAt(N),N);var ie=this.re;ie.lastIndex=N;var xe=Is(ie,ne),me=this.error;if(xe==null)return this._token(me,ne.slice(N,ne.length),N);var Le=this._getGroup(xe),dt=xe[0];return me.fallback&&xe.index!==N?(this.queuedGroup=Le,this.queuedText=dt,this._token(me,ne.slice(N,xe.index),N)):this._token(Le,dt,N)}},bt.prototype._token=function(N,$,ne){var ie=0;if(N.lineBreaks){var xe=/\n/g,me=1;if($===`
10
+ `)ie=1;else for(;xe.exec($);)ie++,me=xe.lastIndex}var Le={type:typeof N.type=="function"&&N.type($)||N.defaultType,value:typeof N.value=="function"?N.value($):$,text:$,toString:Ts,offset:ne,lineBreaks:ie,line:this.line,col:this.col},dt=$.length;if(this.index+=dt,this.line+=ie,ie!==0?this.col=dt-me+1:this.col+=dt,N.shouldThrow){var We=new Error(this.formatError(Le,"invalid syntax"));throw We}return N.pop?this.popState():N.push?this.pushState(N.push):N.next&&this.setState(N.next),Le},typeof Symbol<"u"&&Symbol.iterator){var Ir=function(N){this.lexer=N};Ir.prototype.next=function(){var N=this.lexer.next();return{value:N,done:!N}},Ir.prototype[Symbol.iterator]=function(){return this},bt.prototype[Symbol.iterator]=function(){return new Ir(this)}}return bt.prototype.formatError=function(ie,$){if(ie==null)var ne=this.buffer.slice(this.index),ie={text:ne,offset:this.index,lineBreaks:ne.indexOf(`
11
+ `)===-1?0:1,line:this.line,col:this.col};var xe=2,me=Math.max(ie.line-xe,1),Le=ie.line+xe,dt=String(Le).length,We=Oe(this.buffer,this.line-ie.line+xe+1).slice(0,5),ye=[];ye.push($+" at line "+ie.line+" col "+ie.col+":"),ye.push("");for(var Dt=0;Dt<We.length;Dt++){var Ja=We[Dt],nr=me+Dt;ye.push(ge(String(nr),dt)+" "+Ja),nr===ie.line&&ye.push(ge("",dt+ie.col+1)+"^")}return ye.join(`
12
+ `)},bt.prototype.clone=function(){return new bt(this.states,this.state)},bt.prototype.has=function(N){return!0},{compile:Wr,states:Cr,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Dr}})})(km);var tq=km.exports;(function(p){var f=Uu&&Uu.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let b=f(tq);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=b.default.states(p.states)})(Sm),Object.defineProperty(ro,"__esModule",{value:!0});var Cm=ro.parse=ro.ParseError=void 0;let Dm=Sm,Ss=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Wu=p=>p==="plural"||p==="select"||p==="selectordinal";function nq(p,f){let b="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=E;break;default:throw new Ht(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let rq=["number","date","time","spellout","ordinal","duration"],Im=["zero","one","two","few","many","other"];class Ht extends Error{constructor(f,b){super(Dm.lexer.formatError(f,b))}}ro.ParseError=Ht;class aq{constructor(f,b){var y,_,E,C;this.lexer=Dm.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:Im,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:Im,this.strict=(E=b==null?void 0:b.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(C=b==null?void 0:b.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new Ht(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let _=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${b} case ${y} is not valid in this locale`;throw new Ht(f,E)}}}parseSelect(f,b,y,_){let{value:E}=f,C={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Ht(I,"Unexpected plural offset for select");if(C.cases.length>0)throw new Ht(I,"Plural offset must be set before cases");C.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),C.cases.push({key:I.value,tokens:this.parseBody(b),ctx:Ss(I)});break}case"end":return C;default:throw new Ht(I,`Unexpected lexer token: ${I.type}`)}throw new Ht(null,"Unexpected message end")}parseArgToken(f,b){let y=Ss(f),_=this.lexer.next();if(!_)throw new Ht(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!rq.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Ht(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 Ht(null,"Unexpected message end");if(E.type!=="end")throw new Ht(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,Wu(_.value.toLowerCase()))throw new Ht(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(Wu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new Ht(_,C)}let E=this.parseBody(this.strict?!1:b);return this.strict&&E.length>0&&(E=nq(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(Wu(_.value))return this.parseSelect(f,b,y,_.value);throw new Ht(_,`Unexpected select type ${_.value}`);default:throw new Ht(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){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:Ss(E)});else{if(E.type==="end"&&!b)return y;{let C=E.value;if(!f&&E.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let I=`Unsupported escape pattern: ${C}`;throw new Ht(E,I)}C=E.text}_?(_.value+=C,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:C,ctx:Ss(E)},y.push(_))}}if(b)return y;throw new Ht(null,"Unexpected message end")}}function iq(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new aq(p,f).parse()}Cm=ro.parse=iq;function ao(p){return ao[p]||(ao[p]=new Intl.NumberFormat(p))}function oq(p,f,b){return ao(p).format(f-b)}function sq(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return ao(p).format(_)}function lq(p,f,b,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=b(p,_);return E in y?y[E]:y.other}function uq(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function cq(p,f){for(var b=0;b<p.length;++b)if(!f||f[p[b]]===void 0)throw new Error("Message requires argument '".concat(p[b],"'"))}var dq=Object.freeze({__proto__:null,_nf:ao,number:oq,plural:lq,reqArgs:cq,select:uq,strictNumber:sq});function hq(p,f,b){var y={day:"numeric",month:"short",year:"numeric"};switch(b){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function pq(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 b=p%60,y=[Math.round(b)===b?b:b.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 Zu={};function ks(p,f){var b=String(p)+JSON.stringify(f);return Zu[b]||(Zu[b]=new Intl.NumberFormat(p,f)),Zu[b]}function mq(p,f,b,y){var _=b&&b.split(":")||[],E=_[0],C=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return ks(f,I[E]||{}).format(p)}var fq=function(p,f,b){return ks(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},gq=function(p,f){return ks(f,{maximumFractionDigits:0}).format(p)},vq=function(p,f){return ks(f,{style:"percent"}).format(p)};function bq(p,f,b){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(b){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var Yu=Object.freeze({__proto__:null,date:hq,duration:pq,numberCurrency:fq,numberFmt:mq,numberInteger:gq,numberPercent:vq,time:bq}),yq={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}},Ku=eq(yq);function _q(p){let f=0;for(let b=0;b<p.length;++b){let y=p.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function Ur(p,f){f&&(p+=" "+_q(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return Ku.ES3[b]||Ku.ESnext[b]||/^\d/.test(b)?"_"+b:b}function Qu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Ku.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var wq=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],xq=new RegExp("^"+wq.join("|^"));function Eq(p,f){var b=xq.test(f),y=JSON.stringify(b?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var Sq="@messageformat/runtime",kq="@messageformat/runtime/lib/cardinals",Tm="@messageformat/runtime/lib/plurals",Cq="@messageformat/runtime/lib/formatters",Dq=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,b,y){var _,E,C=this,I=this.options,R=I.localeCodeFromKey,B=I.requireAllArguments,ae=I.strict,ge=I.strictPluralKeys;if(typeof f=="object"){var Oe={};try{for(var Q=n(Object.keys(f)),it=Q.next();!it.done;it=Q.next()){var xt=it.value,At=R?R(xt):xt,sn=y&&At&&y[At]||b;Oe[xt]=this.compile(f[xt],sn,y)}}catch(bt){_={error:bt}}finally{try{it&&!it.done&&(E=Q.return)&&E.call(Q)}finally{if(_)throw _.error}}return Oe}this.plural=b;var Bn={cardinal:b.cardinals,ordinal:b.ordinals,strict:ae,strictPluralKeys:ge};this.arguments=[];var Wr=Cm(f,Bn).map(function(bt){return C.token(bt,null)}),kr=this.arguments.length>0,Cr=this.concatenate(Wr,!0);if(B&&kr){this.setRuntimeFn("reqArgs");var Dr=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Dr,", d); return ").concat(Cr,"; }")}return"(".concat(kr?"d":"",") => ").concat(Cr)},p.prototype.cases=function(f,b){var y=this,_=!0,E=f.cases.map(function(ae){var ge=ae.key,Oe=ae.tokens;ge==="other"&&(_=!1);var Q=Oe.map(function(it){return y.token(it,b)});return"".concat(Qu(null,ge.replace(/^=/,"")),": ").concat(y.concatenate(Q,!1))});if(_){var C=f.type,I=this.plural,R=I.cardinals,B=I.ordinals;if(C==="select"||C==="plural"&&R.includes("other")||C==="selectordinal"&&B.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,C,I;switch("arg"in f?(this.arguments.push(f.arg),C=[Qu("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?Eq(String(C[0]),E):String(C[0]);case"select":I="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var R=this.options.customFormatters[f.key],B=R&&"module"in R&&typeof R.module=="function";if(!R){if(f.key==="date"){I=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){I=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var ae=this.getFormatterArg(f,b);ae&&C.push(ae)}I=B?Ur("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),Qu("d",b.arg),b.pluralOffset||0],this.options.strict?(I="strictNumber",C.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(I="number",this.setRuntimeFn("number"));break}if(!I)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(I,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,b){if(Ur(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},p.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,C=_.getPlural,I=_.isDefault,R,B,ae;if(!b&&I&&E){if(y)return;R=function(ge){return E(ge)},B=kq,ae=function(){return String(E)}}else{if(y&&(!I||y.module===Tm))return;R=function(ge,Oe){return C(ge,Oe)},B=I?Tm:C.module||null,ae=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:B,toString:ae,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(dq[f],{id:f,module:Sq,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,E,C,I=this,R=f.key,B=f.param,ae=this.options.customFormatters[R]||Rm(R)&&Yu[R];if(!ae||!B)return null;var ge="arg"in ae&&ae.arg||"string";if(ge==="options"){var Oe="";try{for(var Q=n(B),it=Q.next();!it.done;it=Q.next()){var xt=it.value;if(xt.type==="content")Oe+=xt.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Ir){y={error:Ir}}finally{try{it&&!it.done&&(_=Q.return)&&_.call(Q)}finally{if(y)throw y.error}}var At={};try{for(var sn=n(Oe.split(",")),Bn=sn.next();!Bn.done;Bn=sn.next()){var Wr=Bn.value,kr=Wr.indexOf(":");if(kr===-1)At[Wr.trim()]=null;else{var Cr=Wr.substring(0,kr).trim(),Dr=Wr.substring(kr+1).trim();if(Dr==="true")At[Cr]=!0;else if(Dr==="false")At[Cr]=!1;else if(Dr==="null")At[Cr]=null;else{var bt=Number(Dr);At[Cr]=Number.isFinite(bt)?bt:Dr}}}}catch(Ir){E={error:Ir}}finally{try{Bn&&!Bn.done&&(C=sn.return)&&C.call(sn)}finally{if(E)throw E.error}}return JSON.stringify(At)}else{var Is=B.map(function(Ir){return I.token(Ir,b)});if(ge==="raw")return"[".concat(Is.join(", "),"]");var Ts=Is.join(" + ");return Ts?"(".concat(Ts,").trim()"):'""'}},p.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||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:Ur(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(Rm(f))this.runtime[f]=Object.assign(Yu[f],{type:"formatter"},{id:f,module:Cq});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var R=I.value.trim().substr(2),B=Ur("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(B,"formatter")){var ae=Mt(C,R,this.options.timeZone);this.runtime[B]=Object.assign(ae,{id:B,module:null,toString:function(){return wt(C,R,_.options.timeZone)},type:"formatter"})}return B}if(b.push(JSON.stringify(C)),E&&E.length>0){y&&this.options.strict&&(y=null);var ge=E.map(function(Oe){return _.token(Oe,y)});b.push("("+(ge.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale;if(!E||E.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return b.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 R=I.match(/^currency:([A-Z]+)$/);if(R)return b.push(JSON.stringify(R[1])),this.setFormatter("numberCurrency"),"numberCurrency";var B=Ur("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(B,"formatter")){var ae=this.options.currency,ge=X9(C,I,ae);this.runtime[B]=Object.assign(ge,{id:null,module:null,toString:function(){return J9(C,I,ae)},type:"formatter"})}return B}y&&this.options.strict&&(y=null);var Oe=E.map(function(Q){return _.token(Q,y)});return b.push("("+(Oe.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function Rm(p){return p in Yu}let q=p=>p==1?"one":"other",_r=p=>p==0||p==1?"one":"other",er=p=>p>=0&&p<=1?"one":"other",Ut=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},Fe=p=>"other",wr=p=>p==1?"one":p==2?"two":"other";var Iq=Object.freeze({__proto__:null,af:q,ak:_r,am:er,an:q,ar:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&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("."),b=Number(f[0])==p,y=b&&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:er,asa:q,ast:Ut,az:q,bal:q,be:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":b&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:q,bez:q,bg:q,bho:_r,bm:Fe,bn:er,bo:Fe,br:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),E=b&&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&&b&&E==0?"many":"other"},brx:q,bs:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ca:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},ce:q,ceb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=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("."),b=f[0],y=Number(f[0])==p;return p==1||!y&&(b==0||b==1)?"one":"other"},de:Ut,doi:er,dsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},dv:q,dz:Fe,ee:q,el:q,en:Ut,eo:q,es:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1?"one":b!=0&&_==0&&y?"many":"other"},et:Ut,eu:q,fa:er,ff:p=>p>=0&&p<2?"one":"other",fi:Ut,fil:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p>=0&&p<2?"one":b!=0&&_==0&&y?"many":"other"},fur:q,fy:Ut,ga:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:Ut,gsw:q,gu:er,guw:_r,gv:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,haw:q,he:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:er,hnj:Fe,hr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},hu:q,hy:p=>p>=0&&p<2?"one":"other",ia:Ut,id:Fe,ig:Fe,ii:Fe,io:Ut,is:p=>{let f=String(p).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=b.slice(-1),C=b.slice(-2);return _&&E==1&&C!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},iu:wr,ja:Fe,jbo:Fe,jgo:q,jmc:q,jv:Fe,jw:Fe,ka:q,kab:p=>p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Fe,kea:Fe,kk:q,kkj:q,kl:q,km:Fe,kn:er,ko:Fe,ks:q,ksb:q,ksh:p=>p==0?"zero":p==1?"one":"other",ku:q,kw:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),E=b&&f[0].slice(-5),C=b&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||b&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&C==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:q,lag:p=>{let f=String(p).split("."),b=f[0];return p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:q,lg:q,lij:Ut,lkt:Fe,ln:_r,lo:Fe,lt:p=>{let f=String(p).split("."),b=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":b!=0?"many":"other"},lv:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},mas:q,mg:_r,mgo:q,mk:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":"other"},ml:q,mn:q,mo:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:q,ms:Fe,mt:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&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:Fe,nah:q,naq:wr,nb:q,nd:q,ne:q,nl:Ut,nn:q,nnh:q,no:q,nqo:Fe,nr:q,nso:_r,ny:q,nyn:q,om:q,or:q,os:q,osa:Fe,pa:_r,pap:q,pcm:er,pl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},ps:q,pt:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return b==0||b==1?"one":b!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},rm:q,ro:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:q,ru:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,sah:Fe,saq:q,sat:wr,sc:Ut,scn:Ut,sd:q,sdh:q,se:wr,seh:q,ses:Fe,sg:Fe,sh:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},shi:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"";return p==0||p==1||b==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:wr,smi:wr,smj:wr,smn:wr,sms:wr,sn:q,so:q,sq:q,sr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ss:q,ssy:q,st:q,su:Fe,sv:Ut,sw:Ut,syr:q,ta:q,te:q,teo:q,th:Fe,ti:_r,tig:q,tk:q,tl:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Fe,tpi:Fe,tr:q,ts:q,tzm:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:q,uk:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:Fe,ur:Ut,uz:q,ve:q,vec:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},vi:Fe,vo:q,vun:q,wa:_r,wae:q,wo:Fe,xh:q,xog:q,yi:Ut,yo:Fe,yue:Fe,zh:Fe,zu:er});let xr="zero",W="one",ct="two",ke="few",Ce="many",A="other",L={cardinal:[W,A],ordinal:[A]},ba={cardinal:[W,A],ordinal:[W,A]},qe={cardinal:[A],ordinal:[A]},tr={cardinal:[W,ct,A],ordinal:[A]};var Om=Object.freeze({__proto__:null,af:L,ak:L,am:L,an:L,ar:{cardinal:[xr,W,ct,ke,Ce,A],ordinal:[A]},ars:{cardinal:[xr,W,ct,ke,Ce,A],ordinal:[A]},as:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},asa:L,ast:L,az:{cardinal:[W,A],ordinal:[W,ke,Ce,A]},bal:ba,be:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},bem:L,bez:L,bg:L,bho:L,bm:qe,bn:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},bo:qe,br:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},brx:L,bs:{cardinal:[W,ke,A],ordinal:[A]},ca:{cardinal:[W,Ce,A],ordinal:[W,ct,ke,A]},ce:L,ceb:L,cgg:L,chr:L,ckb:L,cs:{cardinal:[W,ke,Ce,A],ordinal:[A]},cy:{cardinal:[xr,W,ct,ke,Ce,A],ordinal:[xr,W,ct,ke,Ce,A]},da:L,de:L,doi:L,dsb:{cardinal:[W,ct,ke,A],ordinal:[A]},dv:L,dz:qe,ee:L,el:L,en:{cardinal:[W,A],ordinal:[W,ct,ke,A]},eo:L,es:{cardinal:[W,Ce,A],ordinal:[A]},et:L,eu:L,fa:L,ff:L,fi:L,fil:ba,fo:L,fr:{cardinal:[W,Ce,A],ordinal:[W,A]},fur:L,fy:L,ga:{cardinal:[W,ct,ke,Ce,A],ordinal:[W,A]},gd:{cardinal:[W,ct,ke,A],ordinal:[W,ct,ke,A]},gl:L,gsw:L,gu:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},guw:L,gv:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},ha:L,haw:L,he:tr,hi:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},hnj:qe,hr:{cardinal:[W,ke,A],ordinal:[A]},hsb:{cardinal:[W,ct,ke,A],ordinal:[A]},hu:ba,hy:ba,ia:L,id:qe,ig:qe,ii:qe,io:L,is:L,it:{cardinal:[W,Ce,A],ordinal:[Ce,A]},iu:tr,ja:qe,jbo:qe,jgo:L,jmc:L,jv:qe,jw:qe,ka:{cardinal:[W,A],ordinal:[W,Ce,A]},kab:L,kaj:L,kcg:L,kde:qe,kea:qe,kk:{cardinal:[W,A],ordinal:[Ce,A]},kkj:L,kl:L,km:qe,kn:L,ko:qe,ks:L,ksb:L,ksh:{cardinal:[xr,W,A],ordinal:[A]},ku:L,kw:{cardinal:[xr,W,ct,ke,Ce,A],ordinal:[W,Ce,A]},ky:L,lag:{cardinal:[xr,W,A],ordinal:[A]},lb:L,lg:L,lij:{cardinal:[W,A],ordinal:[Ce,A]},lkt:qe,ln:L,lo:{cardinal:[A],ordinal:[W,A]},lt:{cardinal:[W,ke,Ce,A],ordinal:[A]},lv:{cardinal:[xr,W,A],ordinal:[A]},mas:L,mg:L,mgo:L,mk:{cardinal:[W,A],ordinal:[W,ct,Ce,A]},ml:L,mn:L,mo:{cardinal:[W,ke,A],ordinal:[W,A]},mr:{cardinal:[W,A],ordinal:[W,ct,ke,A]},ms:{cardinal:[A],ordinal:[W,A]},mt:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},my:qe,nah:L,naq:tr,nb:L,nd:L,ne:ba,nl:L,nn:L,nnh:L,no:L,nqo:qe,nr:L,nso:L,ny:L,nyn:L,om:L,or:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},os:L,osa:qe,pa:L,pap:L,pcm:L,pl:{cardinal:[W,ke,Ce,A],ordinal:[A]},prg:{cardinal:[xr,W,A],ordinal:[A]},ps:L,pt:{cardinal:[W,Ce,A],ordinal:[A]},pt_PT:{cardinal:[W,Ce,A],ordinal:[A]},rm:L,ro:{cardinal:[W,ke,A],ordinal:[W,A]},rof:L,ru:{cardinal:[W,ke,Ce,A],ordinal:[A]},rwk:L,sah:qe,saq:L,sat:tr,sc:{cardinal:[W,A],ordinal:[Ce,A]},scn:{cardinal:[W,A],ordinal:[Ce,A]},sd:L,sdh:L,se:tr,seh:L,ses:qe,sg:qe,sh:{cardinal:[W,ke,A],ordinal:[A]},shi:{cardinal:[W,ke,A],ordinal:[A]},si:L,sk:{cardinal:[W,ke,Ce,A],ordinal:[A]},sl:{cardinal:[W,ct,ke,A],ordinal:[A]},sma:tr,smi:tr,smj:tr,smn:tr,sms:tr,sn:L,so:L,sq:{cardinal:[W,A],ordinal:[W,Ce,A]},sr:{cardinal:[W,ke,A],ordinal:[A]},ss:L,ssy:L,st:L,su:qe,sv:ba,sw:L,syr:L,ta:L,te:L,teo:L,th:qe,ti:L,tig:L,tk:{cardinal:[W,A],ordinal:[ke,A]},tl:ba,tn:L,to:qe,tpi:qe,tr:L,ts:L,tzm:L,ug:L,uk:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},und:qe,ur:L,uz:L,ve:L,vec:{cardinal:[W,Ce,A],ordinal:[Ce,A]},vi:{cardinal:[A],ordinal:[W,A]},vo:L,vun:L,wa:L,wae:L,wo:qe,xh:L,xog:L,yi:L,yo:qe,yue:qe,zh:qe,zu:L});let Z=(p,f)=>f?"other":p==1?"one":"other",Er=(p,f)=>f?"other":p==0||p==1?"one":"other",Xa=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Rn=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},$e=(p,f)=>"other",Sr=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Cs=Object.freeze({__proto__:null,af:Z,ak:Er,am:Xa,an:Z,ar:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[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:Z,ast:Rn,az:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-1),E=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[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:Z,bez:Z,bg:Z,bho:Er,bm:$e,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:$e,br:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2),C=y&&b[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&&C==0?"many":"other"},brx:Z,bs:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ca:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:Z,ceb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:Z,chr:Z,ckb:Z,cs:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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 b=String(p).split("."),y=b[0],_=Number(b[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:Rn,doi:Xa,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},dv:Z,dz:$e,ee:Z,el:Z,en:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?E==1&&C!=11?"one":E==2&&C!=12?"two":E==3&&C!=13?"few":"other":p==1&&y?"one":"other"},eo:Z,es:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:Rn,eu:Z,fa:Xa,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Rn,fil:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:Z,fr:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:Z,fy:Rn,ga:(p,f)=>{let b=String(p).split("."),y=Number(b[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 b=String(p).split("."),y=Number(b[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:Rn,gsw:Z,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:Er,gv:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:Z,haw:Z,he:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:$e,hr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},hsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==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:Rn,id:$e,ig:$e,ii:$e,io:Rn,is:(p,f)=>{let b=String(p).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),E=Number(b[0])==p,C=y.slice(-1),I=y.slice(-2);return f?"other":E&&C==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:Sr,ja:$e,jbo:$e,jgo:Z,jmc:Z,jv:$e,jw:$e,ka:(p,f)=>{let b=String(p).split("."),y=b[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:Z,kcg:Z,kde:$e,kea:$e,kk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:Z,kl:Z,km:$e,kn:Xa,ko:$e,ks:Z,ksb:Z,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:Z,kw:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2),E=y&&b[0].slice(-3),C=y&&b[0].slice(-5),I=y&&b[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&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:Z,lag:(p,f)=>{let b=String(p).split("."),y=b[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:Z,lg:Z,lij:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:$e,ln:Er,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":E==1&&(C<11||C>19)?"one":E>=2&&E<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},mas:Z,mg:Er,mgo:Z,mk:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?C==1&&I!=11?"one":C==2&&I!=12?"two":(C==7||C==8)&&I!=17&&I!=18?"many":"other":E&&C==1&&I!=11||R==1&&B!=11?"one":"other"},ml:Z,mn:Z,mo:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:$e,nah:Z,naq:Sr,nb:Z,nd:Z,ne:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:Rn,nn:Z,nnh:Z,no:Z,nqo:$e,nr:Z,nso:Er,ny:Z,nyn:Z,om:Z,or:(p,f)=>{let b=String(p).split("."),y=Number(b[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:Z,osa:$e,pa:Er,pap:Z,pcm:Xa,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},ps:Z,pt:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:Z,ro:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[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:Z,ru:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1&&C!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&C>=11&&C<=14?"many":"other"},rwk:Z,sah:$e,saq:Z,sat:Sr,sc:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:Z,sdh:Z,se:Sr,seh:Z,ses:$e,sg:$e,sh:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},shi:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Sr,smi:Sr,smj:Sr,smn:Sr,sms:Sr,sn:Z,so:Z,sq:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ss:Z,ssy:Z,st:Z,su:$e,sv:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(E==1||E==2)&&C!=11&&C!=12?"one":"other":p==1&&y?"one":"other"},sw:Rn,syr:Z,ta:Z,te:Z,teo:Z,th:$e,ti:Er,tig:Z,tk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:Z,to:$e,tpi:$e,tr:Z,ts:Z,tzm:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:Z,uk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-1),B=y.slice(-2);return f?C==3&&I!=13?"few":"other":_&&R==1&&B!=11?"one":_&&R>=2&&R<=4&&(B<12||B>14)?"few":_&&R==0||_&&R>=5&&R<=9||_&&B>=11&&B<=14?"many":"other"},und:$e,ur:Rn,uz:Z,ve:Z,vec:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:Z,vun:Z,wa:Er,wae:Z,wo:$e,xh:Z,xog:Z,yi:Rn,yo:$e,yue:$e,zh:$e,zu:Xa});function Xu(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 Ds(p){if(typeof p=="function"){var f=Xu(p.name);return{isDefault:!1,id:Ur(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=Xu(p),y=Ur(b);return Oq(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:Iq[y],getPlural:Cs[y],cardinals:Om[y].cardinal,ordinals:Om[y].ordinal}:null}function Tq(p){var f=Object.keys(Cs).filter(function(b){return b!==p});return f.unshift(p),f.map(Ds)}function Rq(p){var f=Xu(p);return Ur(f)in Cs}function Oq(p){return p in Cs}var Mq=function(){function p(f,b){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:b&&b.strictNumberSign||!1,strictPluralKeys:!0},b),f==="*")this.plurals=Tq(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Ds).filter(Boolean);else if(f){var y=Ds(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=Ds(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,b){var y=b?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var b=Array.isArray(f)?f:[f];return b.filter(Rq)},p.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new Dq(this.options),E="return "+_.compile(f,this.plurals[0]),C=[],I=[];try{for(var R=n(Object.entries(_.runtime)),B=R.next();!B.done;B=R.next()){var ae=a(B.value,2),ge=ae[0],Oe=ae[1];C.push(ge),I.push(Oe)}}catch(it){b={error:it}}finally{try{B&&!B.done&&(y=R.return)&&y.call(R)}finally{if(b)throw b.error}}var Q=new(Function.bind.apply(Function,i(i([void 0],a(C),!1),[E],!1)));return Q.apply(void 0,i([],a(I),!1))},p.defaultLocale="en",p}();return Mq})}),Dn=se(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}),Gq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function k(D,O){for(var M=0;M<O.length;M++){var J=O[M];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(D,J.key,J)}}return function(D,O,M){return O&&k(D.prototype,O),M&&k(D,M),D}}(),r=Dn(),n=a(r);function a(k){return k&&k.__esModule?k:{default:k}}function i(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function o(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function l(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var u=function(k){l(D,k);function D(O,M){return i(this,D),O=O.toUpperCase(),M.mod43&&(O+=g(x(O))),o(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,O,M))}return t(D,[{key:"encode",value:function(){for(var O=m("*"),M=0;M<this.data.length;M++)O+=m(this.data[M])+"0";return O+=m("*"),{data:O,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),D}(n.default),c=["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","-","."," ","$","/","+","%","*"],d=[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(k){return v(w(k))}function v(k){return d[k].toString(2)}function g(k){return c[k]}function w(k){return c.indexOf(k)}function x(k){for(var D=0,O=0;O<k.length;O++)D+=w(k[O]);return D=D%43,D}e.CODE39=u}),Qo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(c,d,m){return d in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}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,u=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,u,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]}),au=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=Dn(),n=i(r),a=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return w.bytes=v.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 v=this.bytes,g=v.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&&v.unshift(a.FNC1);var x=m.next(v,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 v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,w){if(!v.length)return{result:"",checksum:0};var x=void 0,k=void 0;if(v[0]>=200){k=v.shift()-105;var D=a.SWAP[k];D!==void 0?x=m.next(v,g+1,D):((w===a.SET_A||w===a.SET_B)&&k===a.SHIFT&&(v[0]=w===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),x=m.next(v,g+1,w))}else k=m.correctIndex(v,w),x=m.next(v,g+1,w);var O=m.getBar(k),M=k*g;return{result:O+x.result,checksum:M+x.checksum}}}]),m}(n.default);e.default=c}),Uq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Qo(),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,u){var c=u?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+i(l.substring(m.length),!u)}function o(l){var u=a(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var d=r(l)>=n(l);return u+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var u=void 0,c=a(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var d=r(l)>n(l);u=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),Wq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=au(),r=i(t),n=Uq(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(w)}return m}(r.default);e.default=c}),Zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=au(),n=i(r),a=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Yq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=au(),n=i(r),a=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Kq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=au(),n=i(r),a=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Qq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=Wq(),r=c(t),n=Zq(),a=c(n),i=Yq(),o=c(i),l=Kq(),u=c(l);function c(d){return d&&d.__esModule?d:{default:d}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=u.default}),Xo=se(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"]}),Jo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=function(n,a,i){var o=n.split("").map(function(u,c){return t.BINARIES[a[c]]}).map(function(u,c){return u?u[n[c]]:""});if(i){var l=n.length-1;o=o.map(function(u,c){return c<l?u+i:u})}return o.join("")};e.default=r}),Tv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=Xo(),n=Jo(),a=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){u(this,g);var k=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}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}),Xq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=function v(g,w,x){g===null&&(g=Function.prototype);var k=Object.getOwnPropertyDescriptor(g,w);if(k===void 0){var D=Object.getPrototypeOf(g);return D===null?void 0:v(D,w,x)}else{if("value"in k)return k.value;var O=k.get;return O===void 0?void 0:O.call(x)}},n=Xo(),a=Tv(),i=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){var g=v.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,k){return k%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.lastChar=x.lastChar,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(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}),Jq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,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(v,x.key,x)}}return function(v,g,w){return g&&m(v.prototype,g),w&&m(v,w),v}}(),r=function m(v,g,w){v===null&&(v=Function.prototype);var x=Object.getOwnPropertyDescriptor(v,g);if(x===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,g,w)}else{if("value"in x)return x.value;var D=x.get;return D===void 0?void 0:D.call(w)}},n=Tv(),a=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=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-v%10)%10},d=function(m){u(v,m);function v(g,w){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,w))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=d}),e$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var k=0;k<x.length;k++){var D=x[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,x,k){return x&&g(w.prototype,x),k&&g(w,k),w}}(),r=Xo(),n=Jo(),a=l(n),i=Dn(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function c(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 d(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,k,D){return D%2?x+k*9:x+k*3},0);return w%10},v=function(g){d(w,g);function w(x,k){return u(this,w),c(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,k))}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=v}),t$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=Xo(),n=Jo(),a=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){return u(this,g),c(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}),Rv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}();e.checksum=m;var r=Jo(),n=o(r),a=Dn(),i=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.displayValue=x.displayValue,x.fontSize>x.width*10?k.fontSize=x.width*10:k.fontSize=x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}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(v){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(v[w]);for(w=0;w<11;w+=2)g+=parseInt(v[w])*3;return(10-g%10)%10}e.default=d}),n$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(k,D){for(var O=0;O<D.length;O++){var M=D[O];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(k,M.key,M)}}return function(k,D,O){return D&&x(k.prototype,D),O&&x(k,O),k}}(),r=Jo(),n=l(r),a=Dn(),i=l(a),o=Rv();function l(x){return x&&x.__esModule?x:{default:x}}function u(x,k){if(!(x instanceof k))throw new TypeError("Cannot call a class as a function")}function c(x,k){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:x}function d(x,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);x.prototype=Object.create(k&&k.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(x,k):x.__proto__=k)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(k,x);function k(D,O){u(this,k);var M=c(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D,O));if(M.isValid=!1,D.search(/^[0-9]{6}$/)!==-1)M.middleDigits=D,M.upcA=w(D,"0"),M.text=O.text||""+M.upcA[0]+D+M.upcA[M.upcA.length-1],M.isValid=!0;else if(D.search(/^[01][0-9]{7}$/)!==-1)if(M.middleDigits=D.substring(1,D.length-1),M.upcA=w(M.middleDigits,D[0]),M.upcA[M.upcA.length-1]===D[D.length-1])M.isValid=!0;else return c(M);else return c(M);return M.displayValue=O.displayValue,O.fontSize>O.width*10?M.fontSize=O.width*10:M.fontSize=O.fontSize,M.guardHeight=O.height+M.fontSize/2+O.textMargin,M}return t(k,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var D="";return D+="101",D+=this.encodeMiddleDigits(),D+="010101",{data:D,text:this.text}}},{key:"guardedEncoding",value:function(){var D=[];return this.displayValue&&D.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),D.push({data:"101",options:{height:this.guardHeight}}),D.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),D.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&D.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),D}},{key:"encodeMiddleDigits",value:function(){var D=this.upcA[0],O=this.upcA[this.upcA.length-1],M=v[parseInt(O)][parseInt(D)];return(0,n.default)(this.middleDigits,M)}}]),k}(i.default);function w(x,k){for(var D=parseInt(x[x.length-1]),O=m[D],M="",J=0,ue=0;ue<O.length;ue++){var we=O[ue];we==="X"?M+=x[J++]:M+=we}return M=""+k+M,""+M+(0,o.checksum)(M)}e.default=g}),r$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=Xq(),r=g(t),n=Jq(),a=g(n),i=e$(),o=g(i),l=t$(),u=g(l),c=Rv(),d=g(c),m=n$(),v=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=u.default,e.UPC=d.default,e.UPCE=v.default}),a$=se(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"]}),Ov=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=a$(),n=Dn(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);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 v=this,g=this.data.match(/.{2}/g).map(function(w){return v.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=r.BINARIES[v[1]];return r.BINARIES[v[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=c}),i$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=Ov(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){var m=d.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,w){return v+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},c=function(d){l(m,d);function m(v,g){return i(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),o$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Ov(),r=i(t),n=i$(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=a.default}),es=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=Dn(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){l(m,d);function m(v,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=c(x,4-x.length);for(var k=0;k<x.length;k++)v+=x[k]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(d,m){for(var v=0;v<m;v++)d="0"+d;return d}e.default=u}),iu=se(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}}),s$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),r=a(t),n=iu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),v))}return d}(r.default);e.default=u}),l$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),r=a(t),n=iu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),v))}return d}(r.default);e.default=u}),u$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),r=a(t),n=iu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(r.default);e.default=u}),c$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),r=a(t),n=iu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(r.default);e.default=u}),d$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=es(),r=m(t),n=s$(),a=m(n),i=l$(),o=m(i),l=u$(),u=m(l),c=c$(),d=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=d.default}),h$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=Dn(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v));return g.number=parseInt(m,10),g}return t(d,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=u}),p$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=Dn(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(d,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[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"}}}]),d}(n.default);e.codabar=u}),m$=se(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"]}}),Mv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=m$(),n=Dn(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(k){return r.MULTI_SYMBOLS[k]||k}),g=v.map(function(k){return m.getEncoding(k)}).join(""),w=m.checksum(v,20),x=m.checksum(v.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return r.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return r.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return r.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var w=v.slice().reverse().reduce(function(x,k,D){var O=D%g+1;return x+m.symbolValue(k)*O},0);return m.getSymbol(w%47)}}]),m}(a.default);e.default=c}),f$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=Mv(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=u}),g$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Mv(),r=i(t),n=f$(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=a.default}),v$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=Dn(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=u}),b$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Gq(),r=Qq(),n=r$(),a=o$(),i=d$(),o=h$(),l=p$(),u=g$(),c=v$();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:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),ou=se(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)}}),y$=se(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}}),_$=se(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}}),Nv=se(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}}),Av=se(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}),w$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nv(),r=i(t),n=Av(),a=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in a.default)a.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,r.default)(u),u}e.default=o}),Pv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=ou(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function a(d,m){return m.height+(m.displayValue&&d.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(d,m,v){if(v.displayValue&&m<d){if(v.textAlign=="center")return Math.floor((d-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(d-m)}return 0}function o(d,m,v){for(var g=0;g<d.length;g++){var w=d[g],x=(0,r.default)(m,w.options),k;x.displayValue?k=c(w.text,x,v):k=0;var D=w.data.length*x.width;w.width=Math.ceil(Math.max(k,D)),w.height=a(w,x),w.barcodePadding=i(k,D,x)}}function l(d){for(var m=0,v=0;v<d.length;v++)m+=d[v].width;return m}function u(d){for(var m=0,v=0;v<d.length;v++)d[v].height>m&&(m=d[v].height);return m}function c(d,m,v){var g;if(v)g=v;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(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=a,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),x$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,d){for(var m=0;m<d.length;m++){var v=d[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,d,m){return d&&u(c.prototype,d),m&&u(c,m),c}}(),r=ou(),n=i(r),a=Pv();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=function(){function u(c,d,m){o(this,u),this.canvas=c,this.encodings=d,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var d=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(d,this.encodings[c]),this.drawCanvasText(d,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,c);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=d+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,d){var m=this.canvas.getContext("2d"),v=d.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var w=0;w<v.length;w++){var x=w*c.width+d.barcodePadding;v[w]==="1"?m.fillRect(x,g,c.width,c.height):v[w]&&m.fillRect(x,g,c.width,c.height*v[w])}}},{key:"drawCanvasText",value:function(c,d){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,w;c.textPosition=="top"?w=c.marginTop+c.fontSize-c.textMargin:w=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||d.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=d.width-1,m.textAlign="right"):(g=d.width/2,m.textAlign="center"),m.fillText(d.text,g,w)}}},{key:"moveCanvasDrawing",value:function(c){var d=this.canvas.getContext("2d");d.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),E$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=ou(),n=i(r),a=Pv();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(d,m,v){o(this,c),this.svg=d,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,v),this.drawSVGText(w,g,v),d+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(d,m,v){var g=v.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,k=0,D=0;D<g.length;D++)k=D*m.width+v.barcodePadding,g[D]==="1"?x++:x>0&&(this.drawRect(k-m.width*x,w,m.width*x,m.height,d),x=0);x>0&&this.drawRect(k-m.width*(x-1),w,m.width*x,m.height,d)}},{key:"drawSVGText",value:function(d,m,v){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"||v.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=v.width-1,g.setAttribute("text-anchor","end")):(w=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(v.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,m){var v=this.svg;v.setAttribute("width",d+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+d+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1"),v.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(d,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(d,m){d.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(d,m,v,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",m),x.setAttribute("width",v),x.setAttribute("height",g),w.appendChild(x),x}}]),c}();e.default=u}),S$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}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}),k$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=x$(),r=l(t),n=E$(),a=l(n),i=S$(),o=l(i);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),Lv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function r(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var a=function(l){n(u,l);function u(c,d){t(this,u);var m=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),i=function(l){n(u,l);function u(){t(this,u);var c=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=a,e.InvalidElementException=i,e.NoElementException=o}),C$=se(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=w$(),n=l(r),a=k$(),i=l(a),o=Lv();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return d(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 c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],w=0;w<v.length;w++)g.push(u(v[w]));return g}}function d(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),D$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}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}),I$=se((e,t)=>{var r=b$(),n=M(r),a=ou(),i=M(a),o=y$(),l=M(o),u=_$(),c=M(u),d=C$(),m=M(d),v=Nv(),g=M(v),w=D$(),x=M(w),k=Lv(),D=Av(),O=M(D);function M(X){return X&&X.__esModule?X:{default:X}}var J=function(){},ue=function(X,U,Ee){var F=new J;if(typeof X>"u")throw Error("No element to render on was provided.");return F._renderProperties=(0,m.default)(X),F._encodings=[],F._options=O.default,F._errorHandler=new x.default(F),typeof U<"u"&&(Ee=Ee||{},Ee.format||(Ee.format=rt()),F.options(Ee)[Ee.format](U,Ee).render()),F};ue.getModule=function(X){return n.default[X]};for(we in n.default)n.default.hasOwnProperty(we)&&Mt(n.default,we);var we;function Mt(X,U){J.prototype[U]=J.prototype[U.toUpperCase()]=J.prototype[U.toLowerCase()]=function(Ee,F){var H=this;return H._errorHandler.wrapBarcodeCall(function(){F.text=typeof F.text>"u"?void 0:""+F.text;var Y=(0,i.default)(H._options,F);Y=(0,g.default)(Y);var Te=X[U],Je=wt(Ee,Te,Y);return H._encodings.push(Je),H})}}function wt(X,U,Ee){X=""+X;var F=new U(X,Ee);if(!F.valid())throw new k.InvalidInputException(F.constructor.name,X);var H=F.encode();H=(0,l.default)(H);for(var Y=0;Y<H.length;Y++)H[Y].options=(0,i.default)(Ee,H[Y].options);return H}function rt(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}J.prototype.options=function(X){return this._options=(0,i.default)(this._options,X),this},J.prototype.blank=function(X){var U=new Array(X+1).join("0");return this._encodings.push({data:U}),this},J.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var X;for(var U in this._renderProperties){X=this._renderProperties[U];var Ee=(0,i.default)(this._options,X.options);Ee.format=="auto"&&(Ee.format=rt()),this._errorHandler.wrapBarcodeCall(function(){var F=Ee.value,H=n.default[Ee.format.toUpperCase()],Y=wt(F,H,Ee);Ct(X,Y,Ee)})}}},J.prototype.render=function(){if(!this._renderProperties)throw new k.NoElementException;if(Array.isArray(this._renderProperties))for(var X=0;X<this._renderProperties.length;X++)Ct(this._renderProperties[X],this._encodings,this._options);else Ct(this._renderProperties,this._encodings,this._options);return this},J.prototype._defaults=O.default;function Ct(X,U,Ee){U=(0,l.default)(U);for(var F=0;F<U.length;F++)U[F].options=(0,i.default)(Ee,U[F].options),(0,c.default)(U[F].options);(0,c.default)(Ee);var H=X.renderer,Y=new H(X.element,U,Ee);Y.render(),X.afterRender&&X.afterRender()}typeof window<"u"&&(window.JsBarcode=ue),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(X,U){var Ee=[];return jQuery(this).each(function(){Ee.push(this)}),ue(Ee,X,U)}),t.exports=ue});function bh(e,t){return Object.is(e,t)}var Et=null,nl=!1,yh=1,gn=Symbol("SIGNAL");function De(e){let t=Et;return Et=e,t}function T$(){return Et}var Bi={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 ts(e){if(nl)throw new Error("");if(Et===null)return;Et.consumerOnSignalRead(e);let t=Et.nextProducerIndex++;if(cu(Et),t<Et.producerNode.length&&Et.producerNode[t]!==e&&To(Et)){let r=Et.producerNode[t];uu(r,Et.producerIndexOfThis[t])}Et.producerNode[t]!==e&&(Et.producerNode[t]=e,Et.producerIndexOfThis[t]=To(Et)?Vv(e,Et,t):0),Et.producerLastReadVersion[t]=e.version}function R$(){yh++}function ns(e){if(!(To(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===yh)){if(!e.producerMustRecompute(e)&&!_h(e)){_l(e);return}e.producerRecomputeValue(e),_l(e)}}function Fv(e){if(e.liveConsumerNode===void 0)return;let t=nl;nl=!0;try{for(let r of e.liveConsumerNode)r.dirty||O$(r)}finally{nl=t}}function jv(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function O$(e){var t;e.dirty=!0,Fv(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function _l(e){e.dirty=!1,e.lastCleanEpoch=yh}function Io(e){return e&&(e.nextProducerIndex=0),De(e)}function su(e,t){if(De(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(To(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)uu(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _h(e){cu(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(ns(r),n!==r.version))return!0}return!1}function lu(e){if(cu(e),To(e))for(let t=0;t<e.producerNode.length;t++)uu(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 Vv(e,t,r){if(zv(e),e.liveConsumerNode.length===0&&Bv(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Vv(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function uu(e,t){if(zv(e),e.liveConsumerNode.length===1&&Bv(e))for(let n=0;n<e.producerNode.length;n++)uu(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];cu(a),a.producerIndexOfThis[n]=t}}function To(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function cu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function zv(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Bv(e){return e.producerNode!==void 0}function M$(e,t){let r=Object.create(N$);r.computation=e;let n=()=>{if(ns(r),ts(r),r.value===ia)throw r.error;return r.value};return n[gn]=r,n}var Ra=Symbol("UNSET"),fi=Symbol("COMPUTING"),ia=Symbol("ERRORED"),N$=Qt(ce({},Bi),{value:Ra,dirty:!0,error:null,equal:bh,kind:"computed",producerMustRecompute(e){return e.value===Ra||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let r=Io(e),n,a=!1;try{n=e.computation(),De(null),a=t!==Ra&&t!==ia&&n!==ia&&e.equal(t,n)}catch(i){n=ia,e.error=i}finally{su(e,r)}if(a){e.value=t;return}e.value=n,e.version++}});function A$(){throw new Error}var Hv=A$;function qv(e){Hv(e)}function P$(e){Hv=e}function L$(e,t){let r=Object.create(Gv);r.value=e;let n=()=>(ts(r),r.value);return n[gn]=r,n}function rs(e,t){jv()||qv(e),e.equal(e.value,t)||(e.value=t,F$(e))}function $v(e,t){jv()||qv(e),rs(e,t(e.value))}var Gv=Qt(ce({},Bi),{equal:bh,value:void 0,kind:"signal"});function F$(e){e.version++,R$(),Fv(e)}function Fm(e,t,r){let n=Object.create(z$);n.source=e,n.computation=t,r!=null&&(n.equal=r);let a=()=>{if(ns(n),ts(n),n.value===ia)throw n.error;return n.value};return a[gn]=n,a}function j$(e,t){ns(e),rs(e,t),_l(e)}function V$(e,t){ns(e),$v(e,t),_l(e)}var z$=Qt(ce({},Bi),{value:Ra,dirty:!0,error:null,equal:bh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Ra||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let r=Io(e),n;try{let a=e.source(),i=t===Ra||t===ia?void 0:{source:e.sourceValue,value:t};n=e.computation(a,i),e.sourceValue=a}catch(a){n=ia,e.error=a}finally{su(e,r)}if(t!==Ra&&n!==ia&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function B$(e){let t=De(null);try{return e()}finally{De(t)}}var ed;function rl(){return ed}function Yr(e){let t=ed;return ed=e,t}var Uv=Symbol("NotFound");function st(e){return typeof e=="function"}function wh(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 Ju=wh(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 wl(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Kt=class td{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(st(n))try{n()}catch(i){t=i instanceof Ju?i.errors:[i]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let i of a)try{jm(i)}catch(o){t=t??[],o instanceof Ju?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Ju(t)}}add(t){var r;if(t&&t!==this)if(this.closed)jm(t);else{if(t instanceof td){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)&&wl(r,t)}remove(t){let{_finalizers:r}=this;r&&wl(r,t),t instanceof td&&t._removeParent(this)}};Kt.EMPTY=(()=>{let e=new Kt;return e.closed=!0,e})();var Wv=Kt.EMPTY;function Zv(e){return e instanceof Kt||e&&"closed"in e&&st(e.remove)&&st(e.add)&&st(e.unsubscribe)}function jm(e){st(e)?e():e.unsubscribe()}var H$={Promise:void 0},q$={setTimeout(e,t,...r){return setTimeout(e,t,...r)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Yv(e){q$.setTimeout(()=>{throw e})}function nd(){}function al(e){e()}var xh=class extends Kt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zv(e)&&e.add(this)):this.destination=U$}static create(e,t,r){return new Ro(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()}}},$$=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){Os(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){Os(r)}else Os(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Os(t)}}},Ro=class extends xh{constructor(e,t,r){super();let n;st(e)||!e?n={next:e??void 0,error:t??void 0,complete:r??void 0}:n=e,this.destination=new $$(n)}};function Os(e){Yv(e)}function G$(e){throw e}var U$={closed:!0,next:nd,error:G$,complete:nd},Eh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Hi(e){return e}function W$(e){return e.length===0?Hi:e.length===1?e[0]:function(t){return e.reduce((r,n)=>n(r),t)}}var mt=(()=>{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=Y$(r)?r:new Ro(r,n,a);return al(()=>{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=Vm(n),new n((a,i)=>{let o=new Ro({next:l=>{try{r(l)}catch(u){i(u),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)}[Eh](){return this}pipe(...r){return W$(r)(this)}toPromise(r){return r=Vm(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 Vm(e){var t;return(t=e??H$.Promise)!==null&&t!==void 0?t:Promise}function Z$(e){return e&&st(e.next)&&st(e.error)&&st(e.complete)}function Y$(e){return e&&e instanceof xh||Z$(e)&&Zv(e)}function Kv(e){return st(e==null?void 0:e.lift)}function Xt(e){return t=>{if(Kv(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 Ft(e,t,r,n,a){return new K$(e,t,r,n,a)}var K$=class extends xh{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))}}};function Q$(){return Xt((e,t)=>{let r=null;e._refCount++;let n=Ft(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){r=null;return}let a=e._connection,i=r;r=null,a&&(!i||a===i)&&a.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}var X$=class extends mt{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Kv(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Kt;let t=this.getSubject();e.add(this.source.subscribe(Ft(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Kt.EMPTY)}return e}refCount(){return Q$()(this)}},J$=wh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),ve=(()=>{class e extends mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new zm(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new J$}next(r){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){al(()=>{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(){al(()=>{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?Wv:(this.currentObservers=null,i.push(r),new Kt(()=>{this.currentObservers=null,wl(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:a,isStopped:i}=this;n?r.error(a):i&&r.complete()}asObservable(){let r=new mt;return r.source=this,r}}return e.create=(t,r)=>new zm(t,r),e})(),zm=class extends ve{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:Wv}},Aa=class extends ve{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)}},Sh={now(){return(Sh.delegate||Date).now()},delegate:void 0},kh=class extends ve{constructor(e=1/0,t=1/0,r=Sh){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)}}},e6=class extends Kt{constructor(e,t){super()}schedule(e,t=0){return this}},rd={setInterval(e,t,...r){let{delegate:n}=rd;return n!=null&&n.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){return clearInterval(e)},delegate:void 0},t6=class extends e6{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 rd.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&&rd.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,wl(r,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},ad=class Qv{constructor(t,r=Qv.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};ad.now=Sh.now;var n6=class extends ad{constructor(e,t=ad.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}}},Ch=new n6(t6),r6=Ch,Dh=new mt(e=>e.complete());function Xv(e){return e&&st(e.schedule)}function Ih(e){return e[e.length-1]}function Jv(e){return st(Ih(e))?e.pop():void 0}function as(e){return Xv(Ih(e))?e.pop():void 0}function a6(e,t){return typeof Ih(e)=="number"?e.pop():t}function i6(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(d){try{c(n.next(d))}catch(m){o(m)}}function u(d){try{c(n.throw(d))}catch(m){o(m)}}function c(d){d.done?i(d.value):a(d.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Bm(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 gi(e){return this instanceof gi?(this.v=e,this):new gi(e)}function o6(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(k,D){i.push([g,x,k,D])>1||u(g,x)})},w&&(a[g]=w(a[g])))}function u(g,w){try{c(n[g](w))}catch(x){v(i[0][3],x)}}function c(g){g.value instanceof gi?Promise.resolve(g.value.v).then(d,m):v(i[0][2],g)}function d(g){u("next",g)}function m(g){u("throw",g)}function v(g,w){g(w),i.shift(),i.length&&u(i[0][0],i[0][1])}}function s6(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 Bm=="function"?Bm(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,u){o=e[i](o),a(l,u,o.done,o.value)})}}function a(i,o,l,u){Promise.resolve(u).then(function(c){i({value:c,done:l})},o)}}var e0=e=>e&&typeof e.length=="number"&&typeof e!="function";function t0(e){return st(e==null?void 0:e.then)}function n0(e){return st(e[Eh])}function r0(e){return Symbol.asyncIterator&&st(e==null?void 0:e[Symbol.asyncIterator])}function a0(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 l6(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var i0=l6();function o0(e){return st(e==null?void 0:e[i0])}function s0(e){return o6(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:n}=yield gi(t.read());if(n)return yield gi(void 0);yield yield gi(r)}}finally{t.releaseLock()}})}function l0(e){return st(e==null?void 0:e.getReader)}function bn(e){if(e instanceof mt)return e;if(e!=null){if(n0(e))return u6(e);if(e0(e))return c6(e);if(t0(e))return d6(e);if(r0(e))return u0(e);if(o0(e))return h6(e);if(l0(e))return p6(e)}throw a0(e)}function u6(e){return new mt(t=>{let r=e[Eh]();if(st(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function c6(e){return new mt(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function d6(e){return new mt(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Yv)})}function h6(e){return new mt(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function u0(e){return new mt(t=>{m6(e,t).catch(r=>t.error(r))})}function p6(e){return u0(s0(e))}function m6(e,t){var r,n,a,i;return i6(this,void 0,void 0,function*(){try{for(r=s6(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 Fr(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 c0(e,t=0){return Xt((r,n)=>{r.subscribe(Ft(n,a=>Fr(n,e,()=>n.next(a),t),()=>Fr(n,e,()=>n.complete(),t),a=>Fr(n,e,()=>n.error(a),t)))})}function d0(e,t=0){return Xt((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function f6(e,t){return bn(e).pipe(d0(t),c0(t))}function g6(e,t){return bn(e).pipe(d0(t),c0(t))}function v6(e,t){return new mt(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function b6(e,t){return new mt(r=>{let n;return Fr(r,t,()=>{n=e[i0](),Fr(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)}),()=>st(n==null?void 0:n.return)&&n.return()})}function h0(e,t){if(!e)throw new Error("Iterable cannot be null");return new mt(r=>{Fr(r,t,()=>{let n=e[Symbol.asyncIterator]();Fr(r,t,()=>{n.next().then(a=>{a.done?r.complete():r.next(a.value)})},0,!0)})})}function y6(e,t){return h0(s0(e),t)}function _6(e,t){if(e!=null){if(n0(e))return f6(e,t);if(e0(e))return v6(e,t);if(t0(e))return g6(e,t);if(r0(e))return h0(e,t);if(o0(e))return b6(e,t);if(l0(e))return y6(e,t)}throw a0(e)}function Ga(e,t){return t?_6(e,t):bn(e)}function tt(...e){let t=as(e);return Ga(e,t)}function p0(e,t){let r=st(e)?e:()=>e,n=a=>a.error(r());return new mt(n)}function vi(e){return!!e&&(e instanceof mt||st(e.lift)&&st(e.subscribe))}var w6=wh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function x6(e,t){return new Promise((r,n)=>{let a=!1,i;e.subscribe({next:o=>{i=o,a=!0},error:n,complete:()=>{a?r(i):n(new w6)}})})}function E6(e){return e instanceof Date&&!isNaN(e)}function Pt(e,t){return Xt((r,n)=>{let a=0;r.subscribe(Ft(n,i=>{n.next(e.call(t,i,a++))}))})}var{isArray:S6}=Array;function k6(e,t){return S6(t)?e(...t):e(t)}function m0(e){return Pt(t=>k6(e,t))}var{isArray:C6}=Array,{getPrototypeOf:D6,prototype:I6,keys:T6}=Object;function f0(e){if(e.length===1){let t=e[0];if(C6(t))return{args:t,keys:null};if(R6(t)){let r=T6(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function R6(e){return e&&typeof e=="object"&&D6(e)===I6}function g0(e,t){return e.reduce((r,n,a)=>(r[n]=t[a],r),{})}function il(...e){let t=as(e),r=Jv(e),{args:n,keys:a}=f0(e);if(n.length===0)return Ga([],t);let i=new mt(O6(n,t,a?o=>g0(a,o):Hi));return r?i.pipe(m0(r)):i}function O6(e,t,r=Hi){return n=>{Hm(t,()=>{let{length:a}=e,i=new Array(a),o=a,l=a;for(let u=0;u<a;u++)Hm(t,()=>{let c=Ga(e[u],t),d=!1;c.subscribe(Ft(n,m=>{i[u]=m,d||(d=!0,l--),l||n.next(r(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Hm(e,t,r){e?Fr(r,e,t):t()}function M6(e,t,r,n,a,i,o,l){let u=[],c=0,d=0,m=!1,v=()=>{m&&!u.length&&!c&&t.complete()},g=x=>c<n?w(x):u.push(x),w=x=>{c++;let k=!1;bn(r(x,d++)).subscribe(Ft(t,D=>{t.next(D)},()=>{k=!0},void 0,()=>{if(k)try{for(c--;u.length&&c<n;){let D=u.shift();o?Fr(t,o,()=>w(D)):w(D)}v()}catch(D){t.error(D)}}))};return e.subscribe(Ft(t,g,()=>{m=!0,v()})),()=>{}}function Oo(e,t,r=1/0){return st(t)?Oo((n,a)=>Pt((i,o)=>t(n,i,a,o))(bn(e(n,a))),r):(typeof t=="number"&&(r=t),Xt((n,a)=>M6(n,a,e,r)))}function v0(e=1/0){return Oo(Hi,e)}function N6(){return v0(1)}function Mo(...e){return N6()(Ga(e,as(e)))}function xl(e){return new mt(t=>{bn(e()).subscribe(t)})}function b0(...e){let t=Jv(e),{args:r,keys:n}=f0(e),a=new mt(i=>{let{length:o}=r;if(!o){i.complete();return}let l=new Array(o),u=o,c=o;for(let d=0;d<o;d++){let m=!1;bn(r[d]).subscribe(Ft(i,v=>{m||(m=!0,c--),l[d]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||i.next(n?g0(n,l):l),i.complete())}))}});return t?a.pipe(m0(t)):a}function A6(e=0,t,r=r6){let n=-1;return t!=null&&(Xv(t)?r=t:n=t),new mt(a=>{let i=E6(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 La(...e){let t=as(e),r=a6(e,1/0),n=e;return n.length?n.length===1?bn(n[0]):v0(r)(Ga(n,t)):Dh}function Sn(e,t){return Xt((r,n)=>{let a=0;r.subscribe(Ft(n,i=>e.call(t,i,a++)&&n.next(i)))})}function P6(e){return Xt((t,r)=>{let n=!1,a=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let c=a;a=null,r.next(c)}o&&r.complete()},u=()=>{i=null,o&&r.complete()};t.subscribe(Ft(r,c=>{n=!0,a=c,i||bn(e(c)).subscribe(i=Ft(r,l,u))},()=>{o=!0,(!n||!i||i.closed)&&r.complete()}))})}function y0(e,t=Ch){return P6(()=>A6(e,t))}function Th(e){return Xt((t,r)=>{let n=null,a=!1,i;n=t.subscribe(Ft(r,void 0,void 0,o=>{i=bn(e(o,Th(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):a=!0})),a&&(n.unsubscribe(),n=null,i.subscribe(r))})}function _0(e,t){return st(t)?Oo(e,t,1):Oo(e,1)}function L6(e,t=Ch){return Xt((r,n)=>{let a=null,i=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let c=i;i=null,n.next(c)}};function u(){let c=o+e,d=t.now();if(d<c){a=this.schedule(void 0,c-d),n.add(a);return}l()}r.subscribe(Ft(n,c=>{i=c,o=t.now(),a||(a=t.schedule(u,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{i=a=null}))})}function tn(e){return e<=0?()=>Dh:Xt((t,r)=>{let n=0;t.subscribe(Ft(r,a=>{++n<=e&&(r.next(a),e<=n&&r.complete())}))})}function F6(e,t=Hi){return e=e??j6,Xt((r,n)=>{let a,i=!0;r.subscribe(Ft(n,o=>{let l=t(o);(i||!e(a,l))&&(i=!1,a=l,n.next(o))}))})}function j6(e,t){return e===t}function w0(e){return Xt((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function x0(e={}){let{connector:t=()=>new ve,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return i=>{let o,l,u,c=0,d=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=u=void 0,d=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Xt((x,k)=>{c++,!m&&!d&&v();let D=u=u??t();k.add(()=>{c--,c===0&&!m&&!d&&(l=ec(w,a))}),D.subscribe(k),!o&&c>0&&(o=new Ro({next:O=>D.next(O),error:O=>{m=!0,v(),l=ec(g,r,O),D.error(O)},complete:()=>{d=!0,v(),l=ec(g,n),D.complete()}}),bn(x).subscribe(o))})(i)}}function ec(e,t,...r){if(t===!0){e();return}if(t===!1)return;let n=new Ro({next:()=>{n.unsubscribe(),e()}});return bn(t(...r)).subscribe(n)}function qm(e,t,r){let n;return n=e,x0({connector:()=>new kh(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function E0(e){return Sn((t,r)=>e<=r)}function du(...e){let t=as(e);return Xt((r,n)=>{(t?Mo(e,r,t):Mo(e,r)).subscribe(n)})}function El(e,t){return Xt((r,n)=>{let a=null,i=0,o=!1,l=()=>o&&!a&&n.complete();r.subscribe(Ft(n,u=>{a==null||a.unsubscribe();let c=0,d=i++;bn(e(u,d)).subscribe(a=Ft(n,m=>n.next(t?t(u,m,d,c++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function oa(e){return Xt((t,r)=>{bn(e).subscribe(Ft(r,()=>r.complete(),nd)),!r.closed&&t.subscribe(r)})}function tc(e,t,r){let n=st(e)||t||r?{next:e,error:t,complete:r}:e;return n?Xt((a,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe(Ft(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Hi}var S0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",G=class extends Error{constructor(t,r){super(k0(t,r));s(this,"code");this.code=t}};function V6(e){return`NG0${Math.abs(e)}`}function k0(e,t){return`${V6(e)}${t?": "+t:""}`}var hu=Symbol("InputSignalNode#UNSET"),C0=Qt(ce({},Gv),{transformFn:void 0,applyValueToInputSignal(e,t){rs(e,t)}});function D0(e,t){let r=Object.create(C0);r.value=e,r.transformFn=t==null?void 0:t.transform;function n(){if(ts(r),r.value===hu){let a=null;throw new G(-950,a)}return r.value}return n[gn]=r,n}function is(e){return{toString:e}.toString()}var Ms="__parameters__";function z6(e){return function(...t){}}function I0(e,t,r){return is(()=>{let n=z6();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(u,c,d){let m=u.hasOwnProperty(Ms)?u[Ms]:Object.defineProperty(u,Ms,{value:[]})[Ms];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(o),u}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var ui=globalThis;function lt(e){for(let t in e)if(e[t]===lt)return t;throw Error("Could not find renamed property on target object.")}function B6(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function An(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(An).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 id(e,t){return e?t?`${e} ${t}`:e:t||""}var H6=lt({__forward_ref__:lt});function T0(e){return e.__forward_ref__=T0,e.toString=function(){return An(this())},e}function Wt(e){return R0(e)?e():e}function R0(e){return typeof e=="function"&&e.hasOwnProperty(H6)&&e.__forward_ref__===T0}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rh(e){return $m(e,O0)||$m(e,M0)}function $m(e,t){return e.hasOwnProperty(t)?e[t]:null}function q6(e){return e&&(e[O0]||e[M0])||null}function Gm(e){return e&&(e.hasOwnProperty(Um)||e.hasOwnProperty($6))?e[Um]:null}var O0=lt({ɵprov:lt}),Um=lt({ɵinj:lt}),M0=lt({ngInjectableDef:lt}),$6=lt({ngInjectorDef:lt}),K=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=z({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function N0(e){return e&&!!e.ɵproviders}var G6=lt({ɵcmp:lt}),U6=lt({ɵdir:lt}),W6=lt({ɵpipe:lt}),Sl=lt({ɵfac:lt}),wo=lt({__NG_ELEMENT_ID__:lt}),Wm=lt({__NG_ENV_ID__:lt});function ki(e){return typeof e=="string"?e:e==null?"":String(e)}function Z6(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ki(e)}function A0(e,t){throw new G(-200,e)}function Oh(e,t){throw new G(-201,!1)}var Re=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}(Re||{}),od;function P0(){return od}function mn(e){let t=od;return od=e,t}function L0(e,t,r){let n=Rh(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&Re.Optional)return null;if(t!==void 0)return t;Oh()}var Y6={},Pa=Y6,sd="__NG_DI_FLAG__",F0=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?Uv:Pa,r)}},kl="ngTempTokenPath",K6="ngTokenPath",Q6=/\n/gm,X6="ɵ",Zm="__source";function J6(e,t=Re.Default){if(rl()===void 0)throw new G(-203,!1);if(rl()===null)return L0(e,void 0,t);{let r=rl(),n;return r instanceof F0?n=r.injector:n=r,n.get(e,t&Re.Optional?null:void 0,t)}}function oe(e,t=Re.Default){return(P0()||J6)(Wt(e),t)}function S(e,t=Re.Default){return oe(e,pu(t))}function pu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ld(e){let t=[];for(let r=0;r<e.length;r++){let n=Wt(e[r]);if(Array.isArray(n)){if(n.length===0)throw new G(900,!1);let a,i=Re.Default;for(let o=0;o<n.length;o++){let l=n[o],u=eG(l);typeof u=="number"?u===-1?a=l.token:i|=u:a=l}t.push(oe(a,i))}else t.push(oe(n))}return t}function j0(e,t){return e[sd]=t,e.prototype[sd]=t,e}function eG(e){return e[sd]}function tG(e,t,r,n){let a=e[kl];throw t[Zm]&&a.unshift(t[Zm]),e.message=nG(`
16
+ `+e.message,a,r,n),e[K6]=a,e[kl]=null,e}function nG(e,t,r,n=null){e=e&&e.charAt(0)===`
17
+ `&&e.charAt(1)==X6?e.slice(2):e;let a=An(t);if(Array.isArray(t))a=t.map(An).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):An(l)))}a=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${a}]: ${e.replace(Q6,`
18
+ `)}`}var Mh=j0(I0("Optional"),8),Nh=j0(I0("SkipSelf"),4);function Fa(e,t){return e.hasOwnProperty(Sl)?e[Sl]:null}function rG(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 aG(e){return e.flat(Number.POSITIVE_INFINITY)}function Ah(e,t){e.forEach(r=>Array.isArray(r)?Ah(r,t):t(r))}function V0(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Cl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function iG(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function oG(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 Ph(e,t,r){let n=os(e,t);return n>=0?e[n|1]=r:(n=~n,oG(e,n,t,r)),n}function nc(e,t){let r=os(e,t);if(r>=0)return e[r|1]}function os(e,t){return sG(e,t,1)}function sG(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 ur={},fn=[],Dl=new K(""),z0=new K("",-1),B0=new K(""),H0=class{get(e,t=Pa){if(t===Pa){let r=new Error(`NullInjectorError: No provider for ${An(e)}!`);throw r.name="NullInjectorError",r}return t}};function Ci(e){return e[G6]||null}function q0(e){return e[U6]||null}function lG(e){return e[W6]||null}function Lh(e){return{ɵproviders:e}}function uG(...e){return{ɵproviders:$0(!0,e),ɵfromNgModule:!0}}function $0(e,...t){let r=[],n=new Set,a,i=o=>{r.push(o)};return Ah(t,o=>{let l=o;ud(l,i,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&G0(a,i),r}function G0(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:a}=e[r];Fh(a,i=>{t(i,n)})}}function ud(e,t,r,n){if(e=Wt(e),!e)return!1;let a=null,i=Gm(e),o=!i&&Ci(e);if(!i&&!o){let u=e.ngModule;if(i=Gm(u),i)a=u;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 u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)ud(c,t,r,n)}}else if(i){if(i.imports!=null&&!l){n.add(a);let c;try{Ah(i.imports,d=>{ud(d,t,r,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&G0(c,t)}if(!l){let c=Fa(a)||(()=>new a);t({provide:a,useFactory:c,deps:fn},a),t({provide:B0,useValue:a,multi:!0},a),t({provide:Dl,useValue:()=>oe(a),multi:!0},a)}let u=i.providers;if(u!=null&&!l){let c=e;Fh(u,d=>{t(d,c)})}}else return!1;return a!==e&&e.providers!==void 0}function Fh(e,t){for(let r of e)N0(r)&&(r=r.ɵproviders),Array.isArray(r)?Fh(r,t):t(r)}var cG=lt({provide:String,useValue:lt});function U0(e){return e!==null&&typeof e=="object"&&cG in e}function dG(e){return!!(e&&e.useExisting)}function hG(e){return!!(e&&e.useFactory)}function Di(e){return typeof e=="function"}function pG(e){return!!e.useClass}var jh=new K(""),ol={},Ym={},rc;function mu(){return rc===void 0&&(rc=new H0),rc}var cr=class{},Vh=class extends cr{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,dd(t,o=>this.processProvider(o)),this.records.set(z0,ci(void 0,this)),a.has("environment")&&this.records.set(cr,ci(void 0,this));let i=this.records.get(jh);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(B0,fn,Re.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?Uv:Pa,n)}destroy(){go(this),this._destroyed=!0;let t=De(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(),De(t)}}onDestroy(t){return go(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){go(this);let r=Yr(this),n=mn(void 0);try{return t()}finally{Yr(r),mn(n)}}get(t,r=Pa,n=Re.Default){if(go(this),t.hasOwnProperty(Wm))return t[Wm](this);n=pu(n);let a=Yr(this),i=mn(void 0);try{if(!(n&Re.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=bG(t)&&Rh(t);u&&this.injectableDefInScope(u)?l=ci(cd(t),ol):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Re.Self?mu():this.parent;return r=n&Re.Optional&&r===Pa?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[kl]=o[kl]||[]).unshift(An(t)),a)throw o;return tG(o,t,"R3InjectorError",this.source)}else throw o}finally{mn(i),Yr(a)}}resolveInjectorInitializers(){let t=De(null),r=Yr(this),n=mn(void 0);try{let a=this.get(Dl,fn,Re.Self);for(let i of a)i()}finally{Yr(r),mn(n),De(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(An(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Wt(t);let r=Di(t)?t:Wt(t&&t.provide),n=fG(t);if(!Di(t)&&t.multi===!0){let a=this.records.get(r);a||(a=ci(void 0,ol,!0),a.factory=()=>ld(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let a=De(null);try{return r.value===Ym?A0(An(t)):r.value===ol&&(r.value=Ym,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&vG(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{De(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=Wt(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 cd(e){let t=Rh(e),r=t!==null?t.factory:Fa(e);if(r!==null)return r;if(e instanceof K)throw new G(204,!1);if(e instanceof Function)return mG(e);throw new G(204,!1)}function mG(e){if(e.length>0)throw new G(204,!1);let t=q6(e);return t!==null?()=>t.factory(e):()=>new e}function fG(e){if(U0(e))return ci(void 0,e.useValue);{let t=W0(e);return ci(t,ol)}}function W0(e,t,r){let n;if(Di(e)){let a=Wt(e);return Fa(a)||cd(a)}else if(U0(e))n=()=>Wt(e.useValue);else if(hG(e))n=()=>e.useFactory(...ld(e.deps||[]));else if(dG(e))n=(a,i)=>oe(Wt(e.useExisting),i!==void 0&&i&Re.Optional?Re.Optional:void 0);else{let a=Wt(e&&(e.useClass||e.provide));if(gG(e))n=()=>new a(...ld(e.deps));else return Fa(a)||cd(a)}return n}function go(e){if(e.destroyed)throw new G(205,!1)}function ci(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function gG(e){return!!e.deps}function vG(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function bG(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function dd(e,t){for(let r of e)Array.isArray(r)?dd(r,t):r&&N0(r)?dd(r.ɵproviders,t):t(r)}function zh(e,t){let r;e instanceof Vh?(go(e),r=e):r=new F0(e);let n=Yr(r),a=mn(void 0);try{return t()}finally{Yr(n),mn(a)}}function Z0(){return P0()!==void 0||rl()!=null}function fu(e){if(!Z0())throw new G(-203,!1)}function yG(e){return typeof e=="function"}var zr=0,_e=1,fe=2,rn=3,Wn=4,yn=5,Ii=6,bi=7,qt=8,Ti=9,Vr=10,vt=11,No=12,Km=13,qi=14,Ln=15,ja=16,di=17,Zn=18,gu=19,Y0=20,sa=21,ac=22,Nr=23,Pn=24,la=25,yt=26,K0=1,Va=7,Il=8,Ri=9,nn=10;function ua(e){return Array.isArray(e)&&typeof e[K0]=="object"}function Br(e){return Array.isArray(e)&&e[K0]===!0}function Bh(e){return(e.flags&4)!==0}function $i(e){return e.componentOffset>-1}function vu(e){return(e.flags&1)===1}function dr(e){return!!e.template}function Tl(e){return(e[fe]&512)!==0}function Gi(e){return(e[fe]&256)===256}var _G=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 Q0(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var ha=(()=>{let e=()=>X0;return e.ngInherit=!0,e})();function X0(e){return e.type.prototype.ngOnChanges&&(e.setInput=xG),wG}function wG(){let e=eb(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===ur)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function xG(e,t,r,n,a){let i=this.declaredInputs[n],o=eb(e)||EG(e,{previous:ur,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[i];l[i]=new _G(c&&c.currentValue,r,u===ur),Q0(e,t,a,r)}var J0="__ngSimpleChanges__";function eb(e){return e[J0]||null}function EG(e,t){return e[J0]=t}var za=function(e,t=null,r){},tb="svg",SG="math";function hr(e){for(;Array.isArray(e);)e=e[zr];return e}function nb(e,t){return hr(t[e])}function fr(e,t){return hr(t[e.index])}function Hh(e,t){return e.data[t]}function ss(e,t){return e[t]}function qh(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function pr(e,t){let r=t[e];return ua(r)?r:r[zr]}function kG(e){return(e[fe]&4)===4}function $h(e){return(e[fe]&128)===128}function CG(e){return Br(e[rn])}function Ba(e,t){return t==null?null:e[t]}function rb(e){e[di]=0}function Gh(e){e[fe]&1024||(e[fe]|=1024,$h(e)&&Ui(e))}function DG(e,t){for(;e>0;)t=t[qi],e--;return t}function ls(e){var t;return!!(e[fe]&9216||(t=e[Pn])!=null&&t.dirty)}function hd(e){var t;(t=e[Vr].changeDetectionScheduler)==null||t.notify(8),e[fe]&64&&(e[fe]|=1024),ls(e)&&Ui(e)}function Ui(e){var r;(r=e[Vr].changeDetectionScheduler)==null||r.notify(0);let t=Ha(e);for(;t!==null&&!(t[fe]&8192||(t[fe]|=8192,!$h(t)));)t=Ha(t)}function ab(e,t){if(Gi(e))throw new G(911,!1);e[sa]===null&&(e[sa]=[]),e[sa].push(t)}function IG(e,t){if(e[sa]===null)return;let r=e[sa].indexOf(t);r!==-1&&e[sa].splice(r,1)}function Ha(e){let t=e[rn];return Br(t)?t[rn]:t}function Uh(e){return e[bi]??(e[bi]=[])}function Wh(e){return e.cleanup??(e.cleanup=[])}function TG(e,t,r,n){let a=Uh(t);a.push(r),e.firstCreatePass&&Wh(e).push(n,a.length-1)}var Se={lFrame:hb(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pd=!1;function RG(){return Se.lFrame.elementDepthCount}function OG(){Se.lFrame.elementDepthCount++}function MG(){Se.lFrame.elementDepthCount--}function NG(){return Se.bindingsEnabled}function ib(){return Se.skipHydrationRootTNode!==null}function AG(e){return Se.skipHydrationRootTNode===e}function PG(){Se.skipHydrationRootTNode=null}function de(){return Se.lFrame.lView}function ut(){return Se.lFrame.tView}function kn(e){return Se.lFrame.contextLView=e,e[qt]}function Cn(e){return Se.lFrame.contextLView=null,e}function on(){let e=ob();for(;e!==null&&e.type===64;)e=e.parent;return e}function ob(){return Se.lFrame.currentTNode}function LG(){let e=Se.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function pa(e,t){let r=Se.lFrame;r.currentTNode=e,r.isParent=t}function Zh(){return Se.lFrame.isParent}function Yh(){Se.lFrame.isParent=!1}function sb(){return Se.lFrame.contextLView}function lb(){return pd}function Rl(e){let t=pd;return pd=e,t}function Ua(){let e=Se.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function FG(){return Se.lFrame.bindingIndex}function jG(e){return Se.lFrame.bindingIndex=e}function Wa(){return Se.lFrame.bindingIndex++}function Kh(e){let t=Se.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function VG(){return Se.lFrame.inI18n}function zG(e,t){let r=Se.lFrame;r.bindingIndex=r.bindingRootIndex=e,md(t)}function BG(){return Se.lFrame.currentDirectiveIndex}function md(e){Se.lFrame.currentDirectiveIndex=e}function HG(e){let t=Se.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ub(){return Se.lFrame.currentQueryIndex}function Qh(e){Se.lFrame.currentQueryIndex=e}function qG(e){let t=e[_e];return t.type===2?t.declTNode:t.type===1?e[yn]:null}function cb(e,t,r){if(r&Re.SkipSelf){let a=t,i=e;for(;(a=a.parent,a===null&&!(r&Re.Host))&&(a=qG(i),!(a===null||(i=i[qi],a.type&10))););if(a===null)return!1;t=a,e=i}let n=Se.lFrame=db();return n.currentTNode=t,n.lView=e,!0}function Xh(e){let t=db(),r=e[_e];Se.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function db(){let e=Se.lFrame,t=e===null?null:e.child;return t===null?hb(e):t}function hb(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 pb(){let e=Se.lFrame;return Se.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var mb=pb;function Jh(){let e=pb();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 $G(e){return(Se.lFrame.contextLView=DG(e,Se.lFrame.contextLView))[qt]}function gr(){return Se.lFrame.selectedIndex}function qa(e){Se.lFrame.selectedIndex=e}function bu(){let e=Se.lFrame;return Hh(e.tView,e.selectedIndex)}function fb(){Se.lFrame.currentNamespace=tb}function GG(){return Se.lFrame.currentNamespace}var gb=!0;function yu(){return gb}function _u(e){gb=e}function UG(e,t,r){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(n){let o=X0(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 ep(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:u,ngOnDestroy:c}=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),u&&((e.viewHooks??(e.viewHooks=[])).push(r,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,c)}}function sl(e,t,r){vb(e,t,3,r)}function ll(e,t,r,n){(e[fe]&3)===r&&vb(e,t,r,n)}function ic(e,t){let r=e[fe];(r&3)===t&&(r&=16383,r+=1,e[fe]=r)}function vb(e,t,r,n){let a=n!==void 0?e[di]&65535:0,i=n??-1,o=t.length-1,l=0;for(let u=a;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[di]+=65536),(l<i||i==-1)&&(WG(e,r,t,u),e[di]=(e[di]&4294901760)+u+2),u++}function Qm(e,t){let r=De(null);try{t.call(e)}finally{De(r)}}function WG(e,t,r,n){let a=r[n]<0,i=r[n+1],o=a?-r[n]:r[n],l=e[o];a?e[fe]>>14<e[di]>>16&&(e[fe]&3)===t&&(e[fe]+=16384,Qm(l,i)):Qm(l,i)}var yi=-1,us=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 ZG(e){return(e.flags&8)!==0}function YG(e){return(e.flags&16)!==0}function KG(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];QG(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function bb(e){return e===3||e===4||e===6}function QG(e){return e.charCodeAt(0)===64}function Oi(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?Xm(e,r,a,null,t[++n]):Xm(e,r,a,null,null))}}return e}function Xm(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 yb(e){return e!==yi}function Ol(e){return e&32767}function XG(e){return e>>16}function Ml(e,t){let r=XG(e),n=t;for(;r>0;)n=n[qi],r--;return n}var fd=!0;function Nl(e){let t=fd;return fd=e,t}var JG=256,_b=JG-1,wb=5,eU=0,lr={};function tU(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(wo)&&(n=r[wo]),n==null&&(n=r[wo]=eU++);let a=n&_b,i=1<<a;t.data[e+(a>>wb)]|=i}function Al(e,t){let r=xb(e,t);if(r!==-1)return r;let n=t[_e];n.firstCreatePass&&(e.injectorIndex=t.length,oc(n.data,e),oc(t,null),oc(n.blueprint,null));let a=tp(e,t),i=e.injectorIndex;if(yb(a)){let o=Ol(a),l=Ml(a,t),u=l[_e].data;for(let c=0;c<8;c++)t[i+c]=l[o+c]|u[o+c]}return t[i+8]=a,i}function oc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xb(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function tp(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=Db(a),n===null)return yi;if(r++,a=a[qi],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return yi}function gd(e,t,r){tU(e,t,r)}function nU(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(bb(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 Eb(e,t,r){if(r&Re.Optional||e!==void 0)return e;Oh()}function Sb(e,t,r,n){if(r&Re.Optional&&n===void 0&&(n=null),(r&(Re.Self|Re.Host))===0){let a=e[Ti],i=mn(void 0);try{return a?a.get(t,n,r&Re.Optional):L0(t,n,r&Re.Optional)}finally{mn(i)}}return Eb(n,t,r)}function kb(e,t,r,n=Re.Default,a){if(e!==null){if(t[fe]&2048&&!(n&Re.Self)){let o=oU(e,t,r,n,lr);if(o!==lr)return o}let i=Cb(e,t,r,n,lr);if(i!==lr)return i}return Sb(t,r,n,a)}function Cb(e,t,r,n,a){let i=aU(r);if(typeof i=="function"){if(!cb(t,e,n))return n&Re.Host?Eb(a,r,n):Sb(t,r,n,a);try{let o;if(o=i(n),o==null&&!(n&Re.Optional))Oh(r);else return o}finally{mb()}}else if(typeof i=="number"){let o=null,l=xb(e,t),u=yi,c=n&Re.Host?t[Ln][yn]:null;for((l===-1||n&Re.SkipSelf)&&(u=l===-1?tp(e,t):t[l+8],u===yi||!ef(n,!1)?l=-1:(o=t[_e],l=Ol(u),t=Ml(u,t)));l!==-1;){let d=t[_e];if(Jm(i,l,d.data)){let m=rU(l,t,r,o,n,c);if(m!==lr)return m}u=t[l+8],u!==yi&&ef(n,t[_e].data[l+8]===c)&&Jm(i,l,t)?(o=d,l=Ol(u),t=Ml(u,t)):l=-1}}return a}function rU(e,t,r,n,a,i){let o=t[_e],l=o.data[e+8],u=n==null?$i(l)&&fd:n!=o&&(l.type&3)!==0,c=a&Re.Host&&i===l,d=ul(l,o,r,u,c);return d!==null?Ao(t,o,d,l,a):lr}function ul(e,t,r,n,a){let i=e.providerIndexes,o=t.data,l=i&1048575,u=e.directiveStart,c=e.directiveEnd,d=i>>20,m=n?l:l+d,v=a?l+d:c;for(let g=m;g<v;g++){let w=o[g];if(g<u&&r===w||g>=u&&w.type===r)return g}if(a){let g=o[u];if(g&&dr(g)&&g.type===r)return u}return null}function Ao(e,t,r,n,a){let i=e[r],o=t.data;if(i instanceof us){let l=i;l.resolving&&A0(Z6(o[r]));let u=Nl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?mn(l.injectImpl):null;cb(e,n,Re.Default);try{i=e[r]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&UG(r,o[r],t)}finally{c!==null&&mn(c),Nl(u),l.resolving=!1,mb()}}return i}function aU(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(wo)?e[wo]:void 0;return typeof t=="number"?t>=0?t&_b:iU:t}function Jm(e,t,r){let n=1<<e;return!!(r[t+(e>>wb)]&n)}function ef(e,t){return!(e&Re.Self)&&!(e&Re.Host&&t)}var xo=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return kb(this._tNode,this._lView,e,pu(r),t)}};function iU(){return new xo(on(),de())}function nt(e){return is(()=>{let t=e.prototype.constructor,r=t[Sl]||vd(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let i=a[Sl]||vd(a);if(i&&i!==r)return i;a=Object.getPrototypeOf(a)}return i=>new i})}function vd(e){return R0(e)?()=>{let t=vd(Wt(e));return t&&t()}:Fa(e)}function oU(e,t,r,n,a){let i=e,o=t;for(;i!==null&&o!==null&&o[fe]&2048&&!Tl(o);){let l=Cb(i,o,r,n|Re.Self,lr);if(l!==lr)return l;let u=i.parent;if(!u){let c=o[Y0];if(c){let d=c.get(r,lr,n);if(d!==lr)return d}u=Db(o),o=o[qi]}i=u}return a}function Db(e){let t=e[_e],r=t.type;return r===2?t.declTNode:r===1?e[yn]:null}function sU(e){return nU(on(),e)}function tf(e,t=null,r=null,n){let a=lU(e,t,r,n);return a.resolveInjectorInitializers(),a}function lU(e,t=null,r=null,n,a=new Set){let i=[r||fn,uG(e)];return n=n||(typeof e=="object"?void 0:An(e)),new Vh(i,t||mu(),n||null,a)}var rr,ht=(rr=class{static create(t,r){if(Array.isArray(t))return tf({name:""},r,t,"");{let n=t.name??"";return tf({name:n},t.parent,t.providers,n)}}},s(rr,"THROW_IF_NOT_FOUND",Pa),s(rr,"NULL",new H0),s(rr,"ɵprov",z({token:rr,providedIn:"any",factory:()=>oe(z0)})),s(rr,"__NG_ELEMENT_ID__",-1),rr),np=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>sU(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},uU=new K("");uU.__NG_ELEMENT_ID__=e=>{let t=on();if(t===null)throw new G(204,!1);if(t.type&2)return t.value;if(e&Re.Optional)return null;throw new G(204,!1)};var Ib=!1,ma=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",cU),s(e,"__NG_ENV_ID__",r=>r),e})(),Tb=class extends ma{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return Gi(r)?(t(),()=>{}):(ab(r,t),()=>IG(r,t))}};function cU(){return new Tb(de())}var Wi=class{},Rb=new K("",{providedIn:"root",factory:()=>!1}),Ob=new K(""),Mb=new K(""),cs=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Aa(!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",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),dU=class extends ve{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Z0()&&(this.destroyRef=S(ma,{optional:!0})??void 0,this.pendingTasks=S(cs,{optional:!0})??void 0)}emit(t){let r=De(null);try{super.next(t)}finally{De(r)}}subscribe(t,r,n){var u,c,d;let a=t,i=r||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(u=m.next)==null?void 0:u.bind(m),i=(c=m.error)==null?void 0:c.bind(m),o=(d=m.complete)==null?void 0:d.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 Kt&&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))}})}}},ot=dU;function Po(...e){}function Nb(e){let t,r;function n(){e=Po;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 nf(e){return queueMicrotask(()=>e()),()=>{e=Po}}var rp="isAngularZone",Pl=rp+"_ID",hU=0,He=class bd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new ot(!1));s(this,"onMicrotaskEmpty",new ot(!1));s(this,"onStable",new ot(!1));s(this,"onError",new ot(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:i=Ib}=t;if(typeof Zone>"u")throw new G(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,fU(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(rp)===!0}static assertInAngularZone(){if(!bd.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(bd.isInAngularZone())throw new G(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,pU,Po,Po);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)}},pU={};function ap(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 mU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Nb(()=>{e.callbackScheduled=!1,yd(e),e.isCheckStableRunning=!0,ap(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),yd(e)}function fU(e){let t=()=>{mU(e)},r=hU++;e._inner=e._inner.fork({name:"angular",properties:{[rp]:!0,[Pl]:r,[Pl+r]:!0},onInvokeTask:(n,a,i,o,l,u)=>{if(vU(u))return n.invokeTask(i,o,l,u);try{return rf(e),n.invokeTask(i,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),af(e)}},onInvoke:(n,a,i,o,l,u,c)=>{try{return rf(e),n.invoke(i,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bU(u)&&t(),af(e)}},onHasTask:(n,a,i,o)=>{n.hasTask(i,o),a===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,yd(e),ap(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 yd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function rf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function af(e){e._nesting--,ap(e)}var gU=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new ot);s(this,"onMicrotaskEmpty",new ot);s(this,"onStable",new ot);s(this,"onError",new ot)}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 vU(e){return Ab(e,"__ignore_ng_zone__")}function bU(e){return Ab(e,"__scheduler_tick__")}function Ab(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 Yn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},yU=new K("",{providedIn:"root",factory:()=>{let e=S(He),t=S(Yn);return r=>e.runOutsideAngular(()=>t.handleError(r))}}),Pb=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",S(Yn,{optional:!0}));s(this,"destroyRef",S(ma));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new G(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var r,n;let t=(r=this.listeners)==null?void 0:r.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var r;if(this.destroyed){console.warn(k0(953,!1));return}if(this.listeners===null)return;let t=De(null);try{for(let n of this.listeners)try{n(e)}catch(a){(r=this.errorHandler)==null||r.handleError(a)}}finally{De(t)}}};function Ll(e){return new Pb}function of(e,t){return D0(e,t)}function _U(e){return D0(hu,e)}var ze=(of.required=_U,of);function wU(){return Zi(on(),de())}function Zi(e,t){return new Xe(fr(e,t))}var Xe=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",wU),e})();function xU(e){return e instanceof Xe?e.nativeElement:e}function EU(e){return typeof e=="function"&&e[gn]!==void 0}function wu(e,t){let r=L$(e),n=r[gn];return r.set=a=>rs(n,a),r.update=a=>$v(n,a),r.asReadonly=ip.bind(r),r}function ip(){let e=this[gn];if(e.readonlyFn===void 0){let t=()=>this();t[gn]=e,e.readonlyFn=t}return e.readonlyFn}function Lb(e){return EU(e)&&typeof e.set=="function"}function SU(){return this._results[Symbol.iterator]()}var kv,kU=(kv=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,kv,SU);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ve)}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=aG(e);(this._changesDetected=!rG(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 Fb(e){return(e.flags&128)===128}var jb=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(jb||{}),Vb=new Map,CU=0;function DU(){return CU++}function IU(e){Vb.set(e[gu],e)}function _d(e){Vb.delete(e[gu])}var sf="__ngContext__";function Yi(e,t){ua(t)?(e[sf]=t[gu],IU(t)):e[sf]=t}function zb(e){return Hb(e[No])}function Bb(e){return Hb(e[Wn])}function Hb(e){for(;e!==null&&!Br(e);)e=e[Wn];return e}var wd;function TU(e){wd=e}function RU(){if(wd!==void 0)return wd;if(typeof document<"u")return document;throw new G(210,!1)}var xu=new K("",{providedIn:"root",factory:()=>OU}),OU="ng",qb=new K(""),Eu=new K("",{providedIn:"platform",factory:()=>"unknown"}),fa=new K(""),op=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=RU().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),$b=!1,MU=new K("",{providedIn:"root",factory:()=>$b}),sp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(sp||{}),ds=new K(""),lf=new Set;function Za(e){var t;lf.has(e)||(lf.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var lp=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",NU),e})();function NU(){return new lp(de(),on())}var hi=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(hi||{}),Gb=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),AU=[hi.EarlyRead,hi.Write,hi.MixedReadWrite,hi.Read],PU=(()=>{const t=class t{constructor(){s(this,"ngZone",S(He));s(this,"scheduler",S(Wi));s(this,"errorHandler",S(Yn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);S(ds,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of AU)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[la]??(a[la]=[])).push(n),Ui(a),a[fe]|=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(sp.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),LU=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[la];e&&(this.view[la]=e.filter(n=>n!==this))}};function Ub(e,t){!(t!=null&&t.injector)&&fu();let r=(t==null?void 0:t.injector)??S(ht);return Za("NgAfterRender"),Wb(e,r,t,!1)}function Su(e,t){!(t!=null&&t.injector)&&fu();let r=(t==null?void 0:t.injector)??S(ht);return Za("NgAfterNextRender"),Wb(e,r,t,!0)}function FU(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 Wb(e,t,r,n){let a=t.get(Gb);a.impl??(a.impl=t.get(PU));let i=t.get(ds,null,{optional:!0}),o=(r==null?void 0:r.phase)??hi.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get(ma):null,u=t.get(lp,null,{optional:!0}),c=new LU(a.impl,FU(e,o),u==null?void 0:u.view,n,l,i==null?void 0:i.snapshot(null));return a.impl.register(c),c}var jU=()=>null;function Zb(e,t,r=!1){return jU()}function Yb(e,t){let r=e.contentQueries;if(r!==null){let n=De(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];Qh(i),l.contentQueries(2,t[o],o)}}}finally{De(n)}}}function xd(e,t,r){Qh(0);let n=De(null);try{t(e,r)}finally{De(n)}}function up(e,t,r){if(Bh(t)){let n=De(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 u=r[o];l.contentQueries(1,u,o)}}}finally{De(n)}}}var Ar=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ar||{}),Ns;function VU(){if(Ns===void 0&&(Ns=null,ui.trustedTypes))try{Ns=ui.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ns}function ku(e){var t;return((t=VU())==null?void 0:t.createHTML(e))||e}var Ya=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${S0})`}},zU=class extends Ya{getTypeName(){return"HTML"}},BU=class extends Ya{getTypeName(){return"Style"}},HU=class extends Ya{getTypeName(){return"Script"}},qU=class extends Ya{getTypeName(){return"URL"}},$U=class extends Ya{getTypeName(){return"ResourceURL"}};function Xr(e){return e instanceof Ya?e.changingThisBreaksApplicationSecurity:e}function ii(e,t){let r=GU(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${S0})`)}return r===t}function GU(e){return e instanceof Ya&&e.getTypeName()||null}function UU(e){return new zU(e)}function WU(e){return new BU(e)}function ZU(e){return new HU(e)}function YU(e){return new qU(e)}function KU(e){return new $U(e)}function QU(e){let t=new JU(e);return e8()?new XU(t):t}var XU=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(ku(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},JU=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=ku(e),t}};function e8(){try{return!!new window.DOMParser().parseFromString(ku(""),"text/html")}catch{return!1}}var t8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cp(e){return e=String(e),e.match(t8)?e:"unsafe:"+e}function Hr(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function hs(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var Kb=Hr("area,br,col,hr,img,wbr"),Qb=Hr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xb=Hr("rp,rt"),n8=hs(Xb,Qb),r8=hs(Qb,Hr("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")),a8=hs(Xb,Hr("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")),uf=hs(Kb,r8,a8,n8),Jb=Hr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),i8=Hr("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"),o8=Hr("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"),s8=hs(Jb,i8,o8),l8=Hr("script,style,template"),u8=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=h8(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=d8(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=cf(e).toLowerCase();if(!uf.hasOwnProperty(t))return this.sanitizedSomething=!0,!l8.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(!s8.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Jb[o]&&(l=cp(l)),this.buf.push(" ",i,'="',df(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=cf(e).toLowerCase();uf.hasOwnProperty(t)&&!Kb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(df(e))}};function c8(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function d8(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ey(t);return t}function h8(e){let t=e.firstChild;if(t&&c8(e,t))throw ey(t);return t}function cf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ey(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var p8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m8=/([^\#-~ |!])/g;function df(e){return e.replace(/&/g,"&amp;").replace(p8,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(m8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var As;function f8(e,t){let r=null;try{As=As||QU(e);let n=t?String(t):"";r=As.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=As.getInertBodyElement(n)}while(n!==i);let o=new u8().sanitizeChildren(hf(r)||r);return ku(o)}finally{if(r){let n=hf(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function hf(e){return"content"in e&&g8(e)?e.content:null}function g8(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xn=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}(xn||{});function ty(e){let t=v8();return t?t.sanitize(xn.URL,e)||"":ii(e,"URL")?Xr(e):cp(ki(e))}function v8(){let e=de();return e&&e[Vr].sanitizer}var b8=/^>|^->|<!--|-->|--!>|<!-$/g,y8=/(<|>)/g,_8="​$1​";function w8(e){return e.replace(b8,t=>t.replace(y8,_8))}function x8(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 ny="ng-template";function E8(e,t,r,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&x8(t[a+1].toLowerCase(),r,0)!==-1)return!0}else if(dp(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 dp(e){return e.type===4&&e.value!==ny}function S8(e,t,r){let n=e.type===4&&!r?ny:e.value;return t===n}function k8(e,t,r){let n=4,a=e.attrs,i=a!==null?I8(a):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!qn(n)&&!qn(u))return!1;if(o&&qn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!S8(e,u,r)||u===""&&t.length===1){if(qn(n))return!1;o=!0}}else if(n&8){if(a===null||!E8(e,a,u,r)){if(qn(n))return!1;o=!0}}else{let c=t[++l],d=C8(u,a,dp(e),r);if(d===-1){if(qn(n))return!1;o=!0;continue}if(c!==""){let m;if(d>i?m="":m=a[d+1].toLowerCase(),n&2&&c!==m){if(qn(n))return!1;o=!0}}}}return qn(n)||o}function qn(e){return(e&1)===0}function C8(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 T8(t,e)}function ry(e,t,r=!1){for(let n=0;n<t.length;n++)if(k8(e,t[n],r))return!0;return!1}function D8(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function I8(e){for(let t=0;t<e.length;t++){let r=e[t];if(bb(r))return t}return e.length}function T8(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 R8(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 pf(e,t){return e?":not("+t.trim()+")":t}function O8(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!==""&&!qn(o)&&(t+=pf(i,a),a=""),n=o,i=i||!qn(n);r++}return a!==""&&(t+=pf(i,a)),t}function M8(e){return e.map(O8).join(",")}function N8(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(!qn(a))break;a=i}n++}return r.length&&t.push(1,...r),t}var In={};function A8(e,t){return e.createText(t)}function P8(e,t,r){e.setValue(t,r)}function L8(e,t){return e.createComment(w8(t))}function ay(e,t,r){return e.createElement(t,r)}function Fl(e,t,r,n,a){e.insertBefore(t,r,n,a)}function iy(e,t,r){e.appendChild(t,r)}function mf(e,t,r,n,a){n!==null?Fl(e,t,r,n,a):iy(e,t,r)}function F8(e,t,r){e.removeChild(null,t,r)}function j8(e,t,r){e.setAttribute(t,"style",r)}function V8(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function oy(e,t,r){let{mergedAttrs:n,classes:a,styles:i}=r;n!==null&&KG(e,t,n),a!==null&&V8(e,t,a),i!==null&&j8(e,t,i)}function hp(e,t,r,n,a,i,o,l,u,c,d){let m=yt+n,v=m+a,g=z8(m,v),w=typeof c=="function"?c():c;return g[_e]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,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:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function z8(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:In);return r}function B8(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=hp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pp(e,t,r,n,a,i,o,l,u,c,d){let m=t.blueprint.slice();return m[zr]=a,m[fe]=n|4|128|8|64|1024,(c!==null||e&&e[fe]&2048)&&(m[fe]|=2048),rb(m),m[rn]=m[qi]=e,m[qt]=r,m[Vr]=o||e&&e[Vr],m[vt]=l||e&&e[vt],m[Ti]=u||e&&e[Ti]||null,m[yn]=i,m[gu]=DU(),m[Ii]=d,m[Y0]=c,m[Ln]=t.type==2?e[Ln]:m,m}function H8(e,t,r){let n=fr(t,e),a=B8(r),i=e[Vr].rendererFactory,o=mp(e,pp(e,a,null,sy(r),n,t,null,i.createRenderer(n,r),null,null,null));return e[t.index]=o}function sy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ly(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 mp(e,t){return e[No]?e[Km][Wn]=t:e[No]=t,e[Km]=t,t}function P(e=1){uy(ut(),de(),gr()+e)}function uy(e,t,r,n){if((t[fe]&3)===3){let a=e.preOrderCheckHooks;a!==null&&sl(t,a,r)}else{let a=e.preOrderHooks;a!==null&&ll(t,a,0,r)}qa(r)}var Cu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Cu||{});function Ed(e,t,r,n){let a=De(null);try{let[i,o,l]=e.inputs[r],u=null;o&Cu.SignalBased&&(u=t[i][gn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,r,i):Q0(t,u,i,n)}finally{De(a)}}function cy(e,t,r,n,a){let i=gr(),o=n&2;try{qa(-1),o&&t.length>yt&&uy(e,t,yt,!1),za(o?2:0,a),r(n,a)}finally{qa(i)}}function Du(e,t,r){U8(e,t,r),(r.flags&64)===64&&W8(e,t,r)}function fp(e,t,r=fr){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 q8(e,t,r,n){let a=n.get(MU,$b)||r===Ar.ShadowDom;return e.selectRootElement(t,a)}function $8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function gp(e,t,r,n,a,i,o,l){if(!l&&bp(t,e,r,n,a)){$i(t)&&G8(r,t.index);return}if(t.type&3){let u=fr(t,r);n=$8(n),a=o!=null?o(a,t.value||"",n):a,i.setProperty(u,n,a)}else t.type&12}function G8(e,t){let r=pr(t,e);r[fe]&16||(r[fe]|=64)}function U8(e,t,r){let n=r.directiveStart,a=r.directiveEnd;$i(r)&&H8(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||Al(r,t);let i=r.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],u=Ao(t,e,o,r);if(Yi(u,t),i!==null&&Q8(t,o-n,u,l,r,i),dr(l)){let c=pr(r.index,t);c[qt]=Ao(t,e,o,r)}}}function W8(e,t,r){let n=r.directiveStart,a=r.directiveEnd,i=r.index,o=BG();try{qa(i);for(let l=n;l<a;l++){let u=e.data[l],c=t[l];md(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Z8(u,c)}}finally{qa(-1),md(o)}}function Z8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function vp(e,t){let r=e.directiveRegistry,n=null;if(r)for(let a=0;a<r.length;a++){let i=r[a];ry(t,i.selectors,!1)&&(n??(n=[]),dr(i)?n.unshift(i):n.push(i))}return n}function Y8(e,t,r,n,a,i){let o=fr(e,t);K8(t[vt],o,i,e.value,r,n,a)}function K8(e,t,r,n,a,i,o){if(i==null)e.removeAttribute(t,a,r);else{let l=o==null?ki(i):o(i,n||"",a);e.setAttribute(t,a,l,r)}}function Q8(e,t,r,n,a,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];Ed(n,r,u,c)}}function X8(e,t){let r=e[Ti],n=r?r.get(Yn,null):null;n&&n.handleError(t)}function bp(e,t,r,n,a){var u,c;let i=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let m=o[d],v=o[d+1],g=t.data[m];Ed(g,r[m],v,a),l=!0}if(i)for(let d of i){let m=r[d],v=t.data[d];Ed(v,m,n,a),l=!0}return l}function J8(e,t){let r=pr(t,e),n=r[_e];eW(n,r);let a=r[zr];a!==null&&r[Ii]===null&&(r[Ii]=Zb(a,r[Ti])),yp(n,r,r[qt]),za(19,r[qt])}function eW(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function yp(e,t,r){var n;Xh(t);try{let a=e.viewQuery;a!==null&&xd(1,a,r);let i=e.template;i!==null&&cy(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Zn])==null||n.finishViewCreation(e),e.staticContentQueries&&Yb(e,t),e.staticViewQueries&&xd(2,e.viewQuery,r);let o=e.components;o!==null&&tW(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[fe]&=-5,Jh()}}function tW(e,t){for(let r=0;r<t.length;r++)J8(e,t[r])}function ps(e,t,r,n){let a=De(null);try{let i=t.tView,o=e[fe]&4096?4096:16,l=pp(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),u=e[t.index];l[ja]=u;let c=e[Zn];return c!==null&&(l[Zn]=c.createEmbeddedView(i)),yp(i,l,r),l}finally{De(a)}}function Mi(e,t){return!t||t.firstChild===null||Fb(e)}var nW;function _p(e,t){return nW(e,t)}var ta=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ta||{});function wp(e){return(e.flags&32)===32}function pi(e,t,r,n,a){if(n!=null){let i,o=!1;Br(n)?i=n:ua(n)&&(o=!0,n=n[zr]);let l=hr(n);e===0&&r!==null?a==null?iy(t,r,l):Fl(t,r,l,a||null,!0):e===1&&r!==null?Fl(t,r,l,a||null,!0):e===2?F8(t,l,o):e===3&&t.destroyNode(l),i!=null&&hW(t,e,i,r,a)}}function rW(e,t){dy(e,t),t[zr]=null,t[yn]=null}function aW(e,t,r,n,a,i){n[zr]=a,n[yn]=t,Ru(e,n,r,1,a,i)}function dy(e,t){var r;(r=t[Vr].changeDetectionScheduler)==null||r.notify(9),Ru(e,t,t[vt],2,null,null)}function iW(e){let t=e[No];if(!t)return sc(e[_e],e);for(;t;){let r=null;if(ua(t))r=t[No];else{let n=t[nn];n&&(r=n)}if(!r){for(;t&&!t[Wn]&&t!==e;)ua(t)&&sc(t[_e],t),t=t[rn];t===null&&(t=e),ua(t)&&sc(t[_e],t),r=t&&t[Wn]}t=r}}function xp(e,t){let r=e[Ri],n=r.indexOf(t);r.splice(n,1)}function Iu(e,t){if(Gi(t))return;let r=t[vt];r.destroyNode&&Ru(e,t,r,3,null,null),iW(t)}function sc(e,t){if(Gi(t))return;let r=De(null);try{t[fe]&=-129,t[fe]|=256,t[Pn]&&lu(t[Pn]),sW(e,t),oW(e,t),t[_e].type===1&&t[vt].destroy();let n=t[ja];if(n!==null&&Br(t[rn])){n!==t[rn]&&xp(n,t);let a=t[Zn];a!==null&&a.detachView(e)}_d(t)}finally{De(r)}}function oW(e,t){let r=e.cleanup,n=t[bi];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[bi]=null);let a=t[sa];if(a!==null){t[sa]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let i=t[Nr];if(i!==null){t[Nr]=null;for(let o of i)o.destroy()}}function sW(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 us)){let i=r[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=a[i[o]],u=i[o+1];try{u.call(l)}finally{}}else try{i.call(a)}finally{}}}}function hy(e,t,r){return lW(e,t.parent,r)}function lW(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[zr];if($i(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===Ar.None||a===Ar.Emulated)return null}return fr(n,r)}function py(e,t,r){return cW(e,t,r)}function uW(e,t,r){return e.type&40?fr(e,r):null}var cW=uW;function Tu(e,t,r,n){let a=hy(e,n,t),i=t[vt],o=n.parent||t[yn],l=py(o,n,t);if(a!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)mf(i,a,r[u],l,!1);else mf(i,a,r,l,!1)}function vo(e,t){if(t!==null){let r=t.type;if(r&3)return fr(t,e);if(r&4)return Sd(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return vo(e,n);{let a=e[t.index];return Br(a)?Sd(-1,a):hr(a)}}else{if(r&128)return vo(e,t.next);if(r&32)return _p(t,e)()||hr(e[t.index]);{let n=my(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Ha(e[Ln]);return vo(a,n)}else return vo(e,t.next)}}}return null}function my(e,t){if(t!==null){let r=e[Ln][yn],n=t.projection;return r.projection[n]}return null}function Sd(e,t){let r=nn+e+1;if(r<t.length){let n=t[r],a=n[_e].firstChild;if(a!==null)return vo(n,a)}return t[Va]}function Ep(e,t,r,n,a,i,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],u=r.type;if(o&&t===0&&(l&&Yi(hr(l),n),r.flags|=2),!wp(r))if(u&8)Ep(e,t,r.child,n,a,i,!1),pi(t,e,a,l,i);else if(u&32){let c=_p(r,n),d;for(;d=c();)pi(t,e,a,d,i);pi(t,e,a,l,i)}else u&16?fy(e,t,n,r,a,i):pi(t,e,a,l,i);r=o?r.projectionNext:r.next}}function Ru(e,t,r,n,a,i){Ep(r,n,e.firstChild,t,a,i,!1)}function dW(e,t,r){let n=t[vt],a=hy(e,r,t),i=r.parent||t[yn],o=py(i,r,t);fy(n,0,t,r,a,o)}function fy(e,t,r,n,a,i){let o=r[Ln],l=o[yn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];pi(t,e,a,c,i)}else{let u=l,c=o[rn];Fb(n)&&(u.flags|=128),Ep(e,t,u,c,a,i,!0)}}function hW(e,t,r,n,a){let i=r[Va],o=hr(r);i!==o&&pi(t,e,n,i,a);for(let l=nn;l<r.length;l++){let u=r[l];Ru(u[_e],u,e,t,n,i)}}function pW(e,t,r,n,a){if(t)a?e.addClass(r,n):e.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:ta.DashCase;a==null?e.removeStyle(r,n,i):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),i|=ta.Important),e.setStyle(r,n,a,i))}}function jl(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(hr(i)),Br(i)&&mW(i,n);let o=r.type;if(o&8)jl(e,t,r.child,n);else if(o&32){let l=_p(r,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=my(t,r);if(Array.isArray(l))n.push(...l);else{let u=Ha(t[Ln]);jl(u[_e],u,l,n,!0)}}r=a?r.projectionNext:r.next}return n}function mW(e,t){for(let r=nn;r<e.length;r++){let n=e[r],a=n[_e].firstChild;a!==null&&jl(n[_e],n,a,t)}e[Va]!==e[zr]&&t.push(e[Va])}function gy(e){if(e[la]!==null){for(let t of e[la])t.impl.addSequence(t);e[la].length=0}}var vy=[];function fW(e){return e[Pn]??gW(e)}function gW(e){let t=vy.pop()??Object.create(bW);return t.lView=e,t}function vW(e){e.lView[Pn]!==e&&(e.lView=null,vy.push(e))}var bW=Qt(ce({},Bi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ui(e.lView)},consumerOnSignalRead(){this.lView[Pn]=this}});function yW(e){let t=e[Pn]??Object.create(_W);return t.lView=e,t}var _W=Qt(ce({},Bi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ha(e.lView);for(;t&&!by(t[_e]);)t=Ha(t);t&&Gh(t)},consumerOnSignalRead(){this.lView[Pn]=this}});function by(e){return e.type!==2}function yy(e){if(e[Nr]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[Nr])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[fe]&8192)}}var wW=100;function _y(e,t=!0,r=0){var a,i;let n=e[Vr].rendererFactory;(a=n.begin)==null||a.call(n);try{xW(e,r)}catch(o){throw t&&X8(e,o),o}finally{(i=n.end)==null||i.call(n)}}function xW(e,t){let r=lb();try{Rl(!0),kd(e,t);let n=0;for(;ls(e);){if(n===wW)throw new G(103,!1);n++,kd(e,1)}}finally{Rl(r)}}function EW(e,t,r,n){if(Gi(t))return;let a=t[fe],i=!1,o=!1;Xh(t);let l=!0,u=null,c=null;by(e)?(c=fW(t),u=Io(c)):T$()===null?(l=!1,c=yW(t),u=Io(c)):t[Pn]&&(lu(t[Pn]),t[Pn]=null);try{rb(t),jG(e.bindingStartIndex),r!==null&&cy(e,t,r,2,n);let d=(a&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&sl(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ll(t,g,0,null),ic(t,0)}if(o||SW(t),yy(t),wy(t,0),e.contentQueries!==null&&Yb(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&sl(t,g)}else{let g=e.contentHooks;g!==null&&ll(t,g,1),ic(t,1)}CW(e,t);let m=e.components;m!==null&&Ey(t,m,0);let v=e.viewQuery;if(v!==null&&xd(2,v,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&sl(t,g)}else{let g=e.viewHooks;g!==null&&ll(t,g,2),ic(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ac]){for(let g of t[ac])g();t[ac]=null}i||(gy(t),t[fe]&=-73)}catch(d){throw Ui(t),d}finally{c!==null&&(su(c,u),l&&vW(c)),Jh()}}function wy(e,t){for(let r=zb(e);r!==null;r=Bb(r))for(let n=nn;n<r.length;n++){let a=r[n];xy(a,t)}}function SW(e){for(let t=zb(e);t!==null;t=Bb(t)){if(!(t[fe]&2))continue;let r=t[Ri];for(let n=0;n<r.length;n++){let a=r[n];Gh(a)}}}function kW(e,t,r){let n=pr(t,e);xy(n,r),za(19,n[qt])}function xy(e,t){$h(e)&&kd(e,t)}function kd(e,t){let r=e[_e],n=e[fe],a=e[Pn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(a!=null&&a.dirty&&_h(a))),i||(i=!1),a&&(a.dirty=!1),e[fe]&=-9217,i)EW(r,e,r.template,e[qt]);else if(n&8192){yy(e),wy(e,1);let o=r.components;o!==null&&Ey(e,o,1),gy(e)}}function Ey(e,t,r){for(let n=0;n<t.length;n++)kW(e,t[n],r)}function CW(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)qa(~a);else{let i=a,o=r[++n],l=r[++n];zG(o,i);let u=t[i];za(24,u),l(2,u),za(25,u)}}}finally{qa(-1)}}function Sp(e,t){var n;let r=lb()?64:1088;for((n=e[Vr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[fe]|=r;let a=Ha(e);if(Tl(e)&&!a)return e;e=a}return null}function Sy(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function ky(e,t){let r=nn+t;if(r<e.length)return e[r]}function ms(e,t,r,n=!0){let a=t[_e];if(DW(a,t,e,r),n){let o=Sd(r,e),l=t[vt],u=l.parentNode(e[Va]);u!==null&&aW(a,e[yn],l,t,u,o)}let i=t[Ii];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Cy(e,t){let r=Lo(e,t);return r!==void 0&&Iu(r[_e],r),r}function Lo(e,t){if(e.length<=nn)return;let r=nn+t,n=e[r];if(n){let a=n[ja];a!==null&&a!==e&&xp(a,n),t>0&&(e[r-1][Wn]=n[Wn]);let i=Cl(e,nn+t);rW(n[_e],n);let o=i[Zn];o!==null&&o.detachView(i[_e]),n[rn]=null,n[Wn]=null,n[fe]&=-129}return n}function DW(e,t,r,n){let a=nn+n,i=r.length;n>0&&(r[a-1][Wn]=t),n<i-nn?(t[Wn]=r[a],V0(r,nn+n,t)):(r.push(t),t[Wn]=null),t[rn]=r;let o=t[ja];o!==null&&r!==o&&Dy(o,t);let l=t[Zn];l!==null&&l.insertView(e),hd(t),t[fe]|=128}function Dy(e,t){let r=e[Ri],n=t[rn];if(ua(n))e[fe]|=2;else{let a=n[rn][Ln];t[Ln]!==a&&(e[fe]|=2)}r===null?e[Ri]=[t]:r.push(t)}var Fo=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[_e];return jl(t,e,t.firstChild,[])}get context(){return this._lView[qt]}set context(e){this._lView[qt]=e}get destroyed(){return Gi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[rn];if(Br(e)){let t=e[Il],r=t?t.indexOf(this):-1;r>-1&&(Lo(e,r),Cl(t,r))}this._attachedToViewContainer=!1}Iu(this._lView[_e],this._lView)}onDestroy(e){ab(this._lView,e)}markForCheck(){Sp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[fe]&=-129}reattach(){hd(this._lView),this._lView[fe]|=128}detectChanges(){this._lView[fe]|=1024,_y(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Tl(this._lView),t=this._lView[ja];t!==null&&!e&&xp(t,this._lView),dy(this._lView[_e],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=e;let t=Tl(this._lView),r=this._lView[ja];r!==null&&!t&&Dy(r,this._lView),hd(this._lView)}};function IW(e){return ls(e._lView)||!!(e._lView[fe]&64)}function TW(e){Gh(e._cdRefInjectingView||e._lView)}var an=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",MW),e})(),RW=an,OW=class extends RW{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=ps(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Fo(a)}};function MW(){return Ou(on(),de())}function Ou(e,t){return e.type&4?new OW(t,e,Zi(e,t)):null}function Ki(e,t,r,n,a){let i=e.data[t];if(i===null)i=NW(e,t,r,n,a),VG()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=a;let o=LG();i.injectorIndex=o===null?-1:o.injectorIndex}return pa(i,!0),i}function NW(e,t,r,n,a){let i=ob(),o=Zh(),l=o?i:i&&i.parent,u=e.data[t]=PW(e,l,r,t,n,a);return AW(e,u,i,o),u}function AW(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 PW(e,t,r,n,a,i){let o=t?t.injectorIndex:-1,l=0;return ib()&&(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 LW=()=>null;function Ni(e,t){return LW()}var FW=class{},Iy=class{},jW=class{resolveComponentFactory(e){throw Error(`No component factory found for ${An(e)}.`)}},Xc,fs=(Xc=class{},s(Xc,"NULL",new jW),Xc),Kn=class{},Ka=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>VW()),e})();function VW(){let e=de(),t=on(),r=pr(t.index,e);return(ua(r)?r:e)[vt]}var zW=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),lc={},BW=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=pu(r);let n=this.injector.get(e,lc,r);return n!==lc||t===lc?n:this.parentInjector.get(e,t,r)}};function Cd(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=id(a,l);else if(i==2){let u=l,c=t[++o];n=id(n,u+": "+c+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=a:e.classesWithoutHost=a}function Zt(e,t=Re.Default){let r=de();if(r===null)return oe(e,t);let n=on();return kb(n,r,Wt(e),t)}function kp(e,t,r,n,a){let i=n===null?null:{"":-1},o=a(e,r);if(o!==null){let l,u=null,c=null,d=qW(o);d===null?l=o:[l,u,c]=d,UW(e,t,r,l,i,u,c)}i!==null&&n!==null&&HW(r,n,i)}function HW(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 G(-301,!1);n.push(t[a],i)}}function qW(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&dr(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),$W(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 $W(e,t,r,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[a,t.length-1])}function GW(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function UW(e,t,r,n,a,i,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&dr(g)&&(u=!0,GW(e,r,v)),gd(Al(r,t),e,g.type)}XW(r,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,d=!1,m=ly(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(r.mergedAttrs=Oi(r.mergedAttrs,g.hostAttrs),ZW(e,r,t,m,g),QW(m,g,a),o!==null&&o.has(g)){let[x,k]=o.get(g);r.directiveToIndex.set(g.type,[m,x+r.directiveStart,k+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;!c&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),c=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),d=!0),m++}WW(e,r,i)}function WW(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(r===null||!r.has(a))ff(0,t,a,n),ff(1,t,a,n),vf(t,n,!1);else{let i=r.get(a);gf(0,t,i,n),gf(1,t,i,n),vf(t,n,!0)}}}function ff(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),Ty(t,i)}}function gf(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),Ty(t,o)}}function Ty(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function vf(e,t,r){let{attrs:n,inputs:a,hostDirectiveInputs:i}=e;if(n===null||!r&&a===null||r&&i===null||dp(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!r&&a.hasOwnProperty(u)){let c=a[u];for(let d of c)if(d===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(r&&i.hasOwnProperty(u)){let c=i[u];for(let d=0;d<c.length;d+=2)if(c[d]===t){o??(o=[]),o.push(c[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function ZW(e,t,r,n,a){e.data[n]=a;let i=a.factory||(a.factory=Fa(a.type)),o=new us(i,dr(a),Zt);e.blueprint[n]=o,r[n]=o,YW(e,t,n,ly(e,r,a.hostVars,In),a)}function YW(e,t,r,n,a){let i=a.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;KW(o)!=l&&o.push(l),o.push(r,n,i)}}function KW(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function QW(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;dr(t)&&(r[""]=e)}}function XW(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function Ry(e,t,r,n,a,i,o,l){let u=t.consts,c=Ba(u,o),d=Ki(t,e,2,n,c);return kp(t,r,d,Ba(u,l),a),d.mergedAttrs=Oi(d.mergedAttrs,d.attrs),d.attrs!==null&&Cd(d,d.attrs,!1),d.mergedAttrs!==null&&Cd(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Oy(e,t){ep(e,t),Bh(t)&&e.queries.elementEnd(t)}var JW=class extends fs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=Ci(t);return new Cp(r,this.ngModule)}};function eZ(e){return Object.keys(e).map(t=>{let[r,n,a]=e[t],i={propName:r,templateName:t,isSignal:(n&Cu.SignalBased)!==0};return a&&(i.transform=a),i})}function tZ(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function nZ(e,t,r){let n=t instanceof cr?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new BW(r,n):r}function rZ(e){let t=e.get(Kn,null);if(t===null)throw new G(407,!1);let r=e.get(zW,null),n=e.get(Wi,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function aZ(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return ay(t,r,r==="svg"?tb:r==="math"?SG:null)}var Cp=class extends Iy{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=M8(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=eZ(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=tZ(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,a){let i=De(null);try{let o=this.componentDef,l=n?["ng-version","19.2.15"]:N8(this.componentDef.selectors[0]),u=hp(0,null,null,1,0,null,null,null,null,[l],null),c=nZ(o,a||this.ngModule,t),d=rZ(c),m=d.rendererFactory.createRenderer(null,o),v=n?q8(m,n,o.encapsulation,c):aZ(o,m),g=pp(null,u,null,512|sy(o),null,null,d,m,c,null,Zb(v,c,!0));g[yt]=v,Xh(g);let w=null;try{let x=Ry(yt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(oy(m,v,x),Yi(v,g)),Du(u,g,x),up(u,x,g),Oy(u,x),r!==void 0&&oZ(x,this.ngContentSelectors,r),w=pr(x.index,g),g[qt]=w[qt],yp(u,g,null)}catch(x){throw w!==null&&_d(w),_d(g),x}finally{za(23),Jh()}return new iZ(this.componentType,g)}finally{De(i)}}},iZ=class extends FW{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=Hh(r[_e],yt),this.location=Zi(this._tNode,r),this.instance=pr(this._tNode.index,r)[qt],this.hostView=this.changeDetectorRef=new Fo(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;bp(n,a[_e],a,t,r),this.previousInputValues.set(t,r);let i=pr(n.index,a);Sp(i,1)}get injector(){return new xo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function oZ(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 jn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",sZ),e})();function sZ(){let e=on();return Ny(e,de())}var lZ=jn,My=class extends lZ{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 Zi(this._hostTNode,this._hostLView)}get injector(){return new xo(this._hostTNode,this._hostLView)}get parentInjector(){let t=tp(this._hostTNode,this._hostLView);if(yb(t)){let r=Ml(t,this._hostLView),n=Ol(t),a=r[_e].data[n+8];return new xo(a,r)}else return new xo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=bf(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-nn}createEmbeddedView(t,r,n){let a,i;typeof n=="number"?a=n:n!=null&&(a=n.index,i=n.injector);let o=Ni(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},i,o);return this.insertImpl(l,a,Mi(this._hostTNode,o)),l}createComponent(t,r,n,a,i){let o=t&&!yG(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 u=o?t:new Cp(Ci(t)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let w=(o?c:this.parentInjector).get(cr,null);w&&(i=w)}let d=Ci(u.componentType??{}),m=Ni(this._lContainer,(d==null?void 0:d.id)??null),v=null,g=u.create(c,a,v,i);return this.insertImpl(g.hostView,l,Mi(this._hostTNode,m)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let a=t._lView;if(CG(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[rn],c=new My(u,u[yn],u[rn]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(r),o=this._lContainer;return ms(o,a,i,n),t.attachToViewContainerRef(),V0(uc(o),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=bf(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=Lo(this._lContainer,r);n&&(Cl(uc(this._lContainer),r),Iu(n[_e],n))}detach(t){let r=this._adjustIndex(t,-1),n=Lo(this._lContainer,r);return n&&Cl(uc(this._lContainer),r)!=null?new Fo(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function bf(e){return e[Il]}function uc(e){return e[Il]||(e[Il]=[])}function Ny(e,t){let r,n=t[e.index];return Br(n)?r=n:(r=Sy(n,t,null,e),t[e.index]=r,mp(t,r)),cZ(r,t,e,n),new My(r,e,t)}function uZ(e,t){let r=e[vt],n=r.createComment(""),a=fr(t,e),i=r.parentNode(a);return Fl(r,i,n,r.nextSibling(a),!1),n}var cZ=dZ;function dZ(e,t,r,n){if(e[Va])return;let a;r.type&8?a=hr(n):a=uZ(t,r),e[Va]=a}var hZ=class Ay{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Ay(this.queryList)}setDirty(){this.queryList.setDirty()}},pZ=class Py{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 Py(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++)Dp(t,r).matches!==null&&this.queries[r].setDirty()}},Ly=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=EZ(e):this.predicate=e}},mZ=class Fy{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 Fy(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)}},fZ=class jy{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 jy(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,gZ(r,i)),this.matchTNodeWithReadOption(t,r,ul(r,t,i,!1,!1))}else n===an?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,ul(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===Xe||a===jn||a===an&&r.type&4)this.addMatch(r.index,-2);else{let i=ul(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 gZ(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 vZ(e,t){return e.type&11?Zi(e,t):e.type&4?Ou(e,t):null}function bZ(e,t,r,n){return r===-1?vZ(t,e):r===-2?yZ(e,t,n):Ao(e,e[_e],r,t)}function yZ(e,t,r){if(r===Xe)return Zi(t,e);if(r===an)return Ou(t,e);if(r===jn)return Ny(t,e)}function Vy(e,t,r,n){let a=t[Zn].queries[n];if(a.matches===null){let i=e.data,o=r.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let d=i[c];l.push(bZ(t,d,o[u+1],r.metadata.read))}}a.matches=l}return a.matches}function Dd(e,t,r,n){let a=e.queries.getByIndex(r),i=a.matches;if(i!==null){let o=Vy(e,t,a,r);for(let l=0;l<i.length;l+=2){let u=i[l];if(u>0)n.push(o[l/2]);else{let c=i[l+1],d=t[-u];for(let m=nn;m<d.length;m++){let v=d[m];v[ja]===v[rn]&&Dd(v[_e],v,c,n)}if(d[Ri]!==null){let m=d[Ri];for(let v=0;v<m.length;v++){let g=m[v];Dd(g[_e],g,c,n)}}}}}return n}function _Z(e,t){return e[Zn].queries[t].queryList}function zy(e,t,r){let n=new kU((r&4)===4);return TG(e,t,n,n.destroy),(t[Zn]??(t[Zn]=new pZ)).queries.push(new hZ(n))-1}function wZ(e,t,r){let n=ut();return n.firstCreatePass&&(By(n,new Ly(e,t,r),-1),(t&2)===2&&(n.staticViewQueries=!0)),zy(n,de(),t)}function xZ(e,t,r,n){let a=ut();if(a.firstCreatePass){let i=on();By(a,new Ly(t,r,n),i.index),SZ(a,e)}return zy(a,de(),r)}function EZ(e){return e.split(",").map(t=>t.trim())}function By(e,t,r){e.queries===null&&(e.queries=new mZ),e.queries.track(new fZ(t,r))}function SZ(e,t){let r=e.contentQueries||(e.contentQueries=[]),n=r.length?r[r.length-1]:-1;t!==n&&r.push(e.queries.length-1,t)}function Dp(e,t){return e.queries.getByIndex(t)}function kZ(e,t){let r=e[_e],n=Dp(r,t);return n.crossesNgTemplate?Dd(r,e,t,[]):Vy(r,e,n,t)}function Hy(e,t){let r=Object.create(C0),n=new Pb;r.value=e;function a(){return ts(r),yf(r.value),r.value}return a[gn]=r,a.asReadonly=ip.bind(a),a.set=i=>{r.equal(r.value,i)||(rs(r,i),n.emit(i))},a.update=i=>{yf(r.value),a.set(i(r.value))},a.subscribe=n.subscribe.bind(n),a.destroyRef=n.destroyRef,a}function yf(e){if(e===hu)throw new G(952,!1)}function _f(e,t){return Hy(e)}function CZ(e){return Hy(hu)}var DZ=(_f.required=CZ,_f),jo=class{},qy=class extends jo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new JW(this));s(this,"instance",null);let r=new Vh([...t.providers,{provide:jo,useValue:this},{provide:fs,useValue:this.componentFactoryResolver}],t.parent||mu(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function IZ(e,t,r=null){return new qy({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var TZ=(()=>{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=$0(!1,n.type),i=a.length>0?IZ([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",z({token:t,providedIn:"environment",factory:()=>new t(oe(cr))}));let e=t;return e})();function Ae(e){return is(()=>{let t=$y(e),r=Qt(ce({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===jb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(TZ).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ar.Emulated,styles:e.styles||fn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Za("NgStandalone"),Gy(r);let n=e.dependencies;return r.directiveDefs=wf(n,!1),r.pipeDefs=wf(n,!0),r.id=AZ(r),r})}function RZ(e){return Ci(e)||q0(e)}function OZ(e){return e!==null}function Bt(e){return is(()=>({type:e.type,bootstrap:e.bootstrap||fn,declarations:e.declarations||fn,imports:e.imports||fn,exports:e.exports||fn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function MZ(e,t){if(e==null)return ur;let r={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],i,o,l,u;Array.isArray(a)?(l=a[0],i=a[1],o=a[2]??i,u=a[3]||null):(i=a,o=a,l=Cu.None,u=null),r[i]=[n,l,u],t[i]=o}return r}function NZ(e){if(e==null)return ur;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function be(e){return is(()=>{let t=$y(e);return Gy(t),t})}function vr(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 $y(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||ur,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||fn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:MZ(e.inputs,t),outputs:NZ(e.outputs),debugInfo:null}}function Gy(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function wf(e,t){if(!e)return null;let r=t?lG:RZ;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(OZ)}function AZ(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 PZ(e){return Object.getPrototypeOf(e.prototype).constructor}function Ye(e){let t=PZ(e.type),r=!0,n=[e];for(;t;){let a;if(dr(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new G(903,!1);a=t.ɵdir}if(a){if(r){n.push(a);let o=e;o.inputs=cc(e.inputs),o.declaredInputs=cc(e.declaredInputs),o.outputs=cc(e.outputs);let l=a.hostBindings;l&&zZ(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&jZ(e,u),c&&VZ(e,c),LZ(e,a),B6(e.outputs,a.outputs),dr(a)&&a.data.animation){let d=e.data;d.animation=(d.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===Ye&&(r=!1)}}t=Object.getPrototypeOf(t)}FZ(n)}function LZ(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 FZ(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=Oi(a.hostAttrs,r=Oi(r,a.hostAttrs))}}function cc(e){return e===ur?{}:e===fn?[]:e}function jZ(e,t){let r=e.viewQuery;r?e.viewQuery=(n,a)=>{t(n,a),r(n,a)}:e.viewQuery=t}function VZ(e,t){let r=e.contentQueries;r?e.contentQueries=(n,a,i)=>{t(n,a,i),r(n,a,i)}:e.contentQueries=t}function zZ(e,t){let r=e.hostBindings;r?e.hostBindings=(n,a)=>{t(n,a),r(n,a)}:e.hostBindings=t}function BZ(e){let t=r=>{let n=Array.isArray(e);r.hostDirectives===null?(r.findHostDirectiveDefs=Uy,r.hostDirectives=n?e.map(Id):[e]):n?r.hostDirectives.unshift(...e.map(Id)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Uy(e,t,r){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let i of a)xf(Id(i),t,r)}else xf(n,t,r)}function xf(e,t,r){let n=q0(e.directive);HZ(n.declaredInputs,e.inputs),Uy(n,t,r),r.set(n,e),t.push(n)}function Id(e){return typeof e=="function"?{directive:Wt(e),inputs:ur,outputs:ur}:{directive:Wt(e.directive),inputs:Ef(e.inputs),outputs:Ef(e.outputs)}}function Ef(e){if(e===void 0||e.length===0)return ur;let t={};for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function HZ(e,t){for(let r in t)if(t.hasOwnProperty(r)){let n=t[r],a=e[r];e[n]=a}}function Wy(e){return Ip(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function qZ(e,t){if(Array.isArray(e))for(let r=0;r<e.length;r++)t(e[r]);else{let r=e[Symbol.iterator](),n;for(;!(n=r.next()).done;)t(n.value)}}function Ip(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function gs(e,t,r){return e[t]=r}function Zy(e,t){return e[t]}function vn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function Vo(e,t,r,n){let a=vn(e,t,r);return vn(e,t+1,n)||a}function $Z(e,t,r,n,a){let i=Vo(e,t,r,n);return vn(e,t+2,a)||i}function GZ(e,t,r,n,a,i){let o=Vo(e,t,r,n);return Vo(e,t+2,a,i)||o}function UZ(e,t,r,n,a,i,o,l,u){let c=t.consts,d=Ki(t,e,4,o||null,l||null);kp(t,r,d,Ba(c,u),vp),d.mergedAttrs=Oi(d.mergedAttrs,d.attrs),ep(t,d);let m=d.tView=hp(2,d,n,a,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,d),m.queries=t.queries.embeddedTView(d)),d}function Yy(e,t,r,n,a,i,o,l,u,c){let d=r+yt,m=t.firstCreatePass?UZ(d,t,e,n,a,i,o,l,u):t.data[d];pa(m,!1);let v=WZ(t,e);yu()&&Tu(t,e,v,m),Yi(v,e);let g=Sy(v,e,v,m);return e[d]=g,mp(e,g),vu(m)&&Du(t,e,m),u!=null&&fp(e,m,c),m}function he(e,t,r,n,a,i,o,l){let u=de(),c=ut(),d=Ba(c.consts,i);return Yy(u,c,e,t,r,n,a,d,o,l),he}var WZ=ZZ;function ZZ(e,t,r,n){return _u(!0),t[vt].createComment("")}var YZ=new K(""),Ky=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new KZ}));let e=t;return e})(),KZ=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 Tp(e){return!!e&&typeof e.then=="function"}function Qy(e){return!!e&&typeof e.subscribe=="function"}var QZ=new K(""),Xy=(()=>{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",S(QZ,{optional:!0})??[]);s(this,"injector",S(ht))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=zh(this.injector,i);if(Tp(o))n.push(o);else if(Qy(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),XZ=new K("");function JZ(){P$(()=>{throw new G(600,!1)})}function eY(e){return e.isBoundToModule}var tY=10,ca=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",S(yU));s(this,"afterRenderManager",S(Gb));s(this,"zonelessEnabled",S(Rb));s(this,"rootEffectScheduler",S(Ky));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new ve);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",S(cs).hasPendingTasks.pipe(Pt(n=>!n)));s(this,"_injector",S(cr));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new G(101,!1);let n=De(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,De(n),this.afterTick.next()}});S(ds,{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=ht.NULL){let o=n instanceof Iy;if(!this._injector.get(Xy).done){let g="";throw new G(405,g)}let l;o?l=n:l=this._injector.get(fs).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=eY(l)?void 0:this._injector.get(jo),c=a||l.selector,d=l.create(i,[],c,u),m=d.location.nativeElement,v=d.injector.get(YZ,null);return v==null||v.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),cl(this.components,d),v==null||v.unregisterApplication(m)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(sp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Kn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<tY;)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:u,notifyErrorHandler:c}of this.allViews)nY(u,c,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})=>ls(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;cl(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(XZ,[]).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),()=>cl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new G(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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function cl(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function nY(e,t,r,n){!r&&!ls(e)||_y(e,t,r&&!n?0:1)}function $t(e,t,r,n){let a=de(),i=Wa();if(vn(a,i,t)){ut();let o=bu();Y8(o,a,e,t,r,n)}return $t}function rY(e,t,r,n){return vn(e,Wa(),r)?t+ki(r)+n:In}function aY(e,t,r,n,a,i){let o=FG(),l=Vo(e,o,r,a);return Kh(2),l?t+ki(r)+n+ki(a)+i:In}function Ps(e,t){return e<<17|t<<2}function $a(e){return e>>17&32767}function iY(e){return(e&2)==2}function oY(e,t){return e&131071|t<<17}function Td(e){return e|2}function Ai(e){return(e&131068)>>2}function dc(e,t){return e&-131069|t<<2}function sY(e){return(e&1)===1}function Rd(e){return e|1}function lY(e,t,r,n,a,i){let o=i?t.classBindings:t.styleBindings,l=$a(o),u=Ai(o);e[n]=r;let c=!1,d;if(Array.isArray(r)){let m=r;d=m[1],(d===null||os(m,d)>0)&&(c=!0)}else d=r;if(a)if(u!==0){let m=$a(e[l+1]);e[n+1]=Ps(m,l),m!==0&&(e[m+1]=dc(e[m+1],n)),e[l+1]=oY(e[l+1],n)}else e[n+1]=Ps(l,0),l!==0&&(e[l+1]=dc(e[l+1],n)),l=n;else e[n+1]=Ps(u,0),l===0?l=n:e[u+1]=dc(e[u+1],n),u=n;c&&(e[n+1]=Td(e[n+1])),Sf(e,d,n,!0),Sf(e,d,n,!1),uY(t,d,e,n,i),o=Ps(l,u),i?t.classBindings=o:t.styleBindings=o}function uY(e,t,r,n,a){let i=a?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&os(i,t)>=0&&(r[n+1]=Rd(r[n+1]))}function Sf(e,t,r,n){let a=e[r+1],i=t===null,o=n?$a(a):Ai(a),l=!1;for(;o!==0&&(l===!1||i);){let u=e[o],c=e[o+1];cY(u,t)&&(l=!0,e[o+1]=n?Rd(c):Td(c)),o=n?$a(c):Ai(c)}l&&(e[r+1]=n?Td(a):Rd(a))}function cY(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?os(e,t)>=0:!1}var Un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dY(e){return e.substring(Un.key,Un.keyEnd)}function hY(e){return pY(e),Jy(e,e_(e,0,Un.textEnd))}function Jy(e,t){let r=Un.textEnd;return r===t?-1:(t=Un.keyEnd=mY(e,Un.key=t,r),e_(e,t,r))}function pY(e){Un.key=0,Un.keyEnd=0,Un.value=0,Un.valueEnd=0,Un.textEnd=e.length}function e_(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function mY(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function Ie(e,t,r){let n=de(),a=Wa();if(vn(n,a,t)){let i=ut(),o=bu();gp(i,o,n,e,t,n[vt],r,!1)}return Ie}function Od(e,t,r,n,a){bp(t,e,r,a?"class":"style",n)}function t_(e,t,r){return n_(e,t,r,!1),t_}function jt(e,t){return n_(e,t,null,!0),jt}function Mu(e){gY(xY,fY,e,!0)}function fY(e,t){for(let r=hY(t);r>=0;r=Jy(t,r))Ph(e,dY(t),!0)}function n_(e,t,r,n){let a=de(),i=ut(),o=Kh(2);if(i.firstUpdatePass&&a_(i,e,o,n),t!==In&&vn(a,o,t)){let l=i.data[gr()];i_(i,l,a,a[vt],e,a[o+1]=SY(t,r),n,o)}}function gY(e,t,r,n){let a=ut(),i=Kh(2);a.firstUpdatePass&&a_(a,null,i,n);let o=de();if(r!==In&&vn(o,i,r)){let l=a.data[gr()];if(o_(l,n)&&!r_(a,i)){let u=l.classesWithoutHost;u!==null&&(r=id(u,r||"")),Od(a,l,o,r,n)}else EY(a,l,o,o[vt],o[i+1],o[i+1]=wY(e,t,r),n,i)}}function r_(e,t){return t>=e.expandoStartIndex}function a_(e,t,r,n){let a=e.data;if(a[r+1]===null){let i=a[gr()],o=r_(e,r);o_(i,n)&&t===null&&!o&&(t=!1),t=vY(a,i,t,n),lY(a,i,t,r,o,n)}}function vY(e,t,r,n){let a=HG(e),i=n?t.residualClasses:t.residualStyles;if(a===null)(n?t.classBindings:t.styleBindings)===0&&(r=hc(null,e,t,r,n),r=zo(r,t.attrs,n),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(r=hc(a,e,t,r,n),i===null){let l=bY(e,t,n);l!==void 0&&Array.isArray(l)&&(l=hc(null,e,t,l[1],n),l=zo(l,t.attrs,n),yY(e,t,n,l))}else i=_Y(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),r}function bY(e,t,r){let n=r?t.classBindings:t.styleBindings;if(Ai(n)!==0)return e[$a(n)]}function yY(e,t,r,n){let a=r?t.classBindings:t.styleBindings;e[$a(a)]=n}function _Y(e,t,r){let n,a=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<a;i++){let o=e[i].hostAttrs;n=zo(n,o,r)}return zo(n,t.attrs,r)}function hc(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=zo(n,i.hostAttrs,a),i!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function zo(e,t,r){let n=r?1:2,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]),Ph(e,o,r?!0:t[++i]))}return e===void 0?null:e}function wY(e,t,r){if(r==null||r==="")return fn;let n=[],a=Xr(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 xY(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&Ph(e,n,r)}function EY(e,t,r,n,a,i,o,l){a===In&&(a=fn);let u=0,c=0,d=0<a.length?a[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let v=u<a.length?a[u+1]:void 0,g=c<i.length?i[c+1]:void 0,w=null,x;d===m?(u+=2,c+=2,v!==g&&(w=m,x=g)):m===null||d!==null&&d<m?(u+=2,w=d):(c+=2,w=m,x=g),w!==null&&i_(e,t,r,n,w,x,o,l),d=u<a.length?a[u]:null,m=c<i.length?i[c]:null}}function i_(e,t,r,n,a,i,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],d=sY(c)?kf(u,t,r,a,Ai(c),o):void 0;if(!Vl(d)){Vl(i)||iY(c)&&(i=kf(u,null,r,a,l,o));let m=nb(gr(),r);pW(n,o,m,a,i)}}function kf(e,t,r,n,a,i){let o=t===null,l;for(;a>0;){let u=e[a],c=Array.isArray(u),d=c?u[1]:u,m=d===null,v=r[a+1];v===In&&(v=m?fn:void 0);let g=m?nc(v,n):d===n?v:void 0;if(c&&!Vl(g)&&(g=nc(u,n)),Vl(g)&&(l=g,o))return l;let w=e[a+1];a=o?$a(w):Ai(w)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(l=nc(u,n))}return l}function Vl(e){return e!==void 0}function SY(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=An(Xr(e)))),e}function o_(e,t){return(e.flags&(t?8:16))!==0}var kY=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 pc(e,t,r,n,a){return e===r&&Object.is(t,n)?1:Object.is(a(e,t),a(r,n))?-1:0}function CY(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 u=e.at(i),c=t[i],d=pc(i,u,i,c,r);if(d!==0){d<0&&e.updateValue(i,c),i++;continue}let m=e.at(o),v=t[l],g=pc(o,m,l,v,r);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let w=r(i,u),x=r(o,m),k=r(i,c);if(Object.is(k,x)){let D=r(l,v);Object.is(D,w)?(e.swap(i,o),e.updateValue(o,v),l--,o--):e.move(o,i),e.updateValue(i,c),i++;continue}if(n??(n=new If),a??(a=Df(e,i,o,r)),Md(e,n,i,k))e.updateValue(i,c),i++,o++;else if(a.has(k))n.set(w,e.detach(i)),o--;else{let D=e.create(i,t[i]);e.attach(i,D),i++,o++}}for(;i<=l;)Cf(e,n,r,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&i<=o;){let c=e.at(i),d=u.value,m=pc(i,c,i,d,r);if(m!==0)m<0&&e.updateValue(i,d),i++,u=l.next();else{n??(n=new If),a??(a=Df(e,i,o,r));let v=r(i,d);if(Md(e,n,i,v))e.updateValue(i,d),i++,o++,u=l.next();else if(!a.has(v))e.attach(i,e.create(i,d)),i++,o++,u=l.next();else{let g=r(i,c);n.set(g,e.detach(i)),o--}}}for(;!u.done;)Cf(e,n,r,e.length,u.value),u=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Md(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Cf(e,t,r,n,a){if(Md(e,t,n,r(n,a)))e.updateValue(n,a);else{let i=e.create(n,a);e.attach(n,i)}}function Df(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 If=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 je(e,t){Za("NgControlFlow");let r=de(),n=Wa(),a=r[n]!==In?r[n]:-1,i=a!==-1?zl(r,yt+a):void 0,o=0;if(vn(r,n,e)){let l=De(null);try{if(i!==void 0&&Cy(i,o),e!==-1){let u=yt+e,c=zl(r,u),d=Nd(r[_e],u),m=Ni(c,d.tView.ssrId),v=ps(r,d,t,{dehydratedView:m});ms(c,v,o,Mi(d,m))}}finally{De(l)}}else if(i!==void 0){let l=ky(i,o);l!==void 0&&(l[qt]=t)}}var DY=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-nn}};function Rp(e){return e}function Op(e,t){return t}var IY=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function Qi(e,t,r,n,a,i,o,l,u,c,d,m,v){Za("NgControlFlow");let g=de(),w=ut(),x=u!==void 0,k=de(),D=o,O=new IY(x,D);k[yt+e]=O,Yy(g,w,e+1,t,r,n,a,Ba(w.consts,i))}var TY=class extends kY{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-nn}at(t){return this.getLView(t)[qt].$implicit}attach(t,r){let n=r[Ii];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),ms(this.lContainer,r,t,Mi(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),RY(this.lContainer,t)}create(t,r){var i;let n=Ni(this.lContainer,this.templateTNode.tView.ssrId),a=ps(this.hostLView,this.templateTNode,new DY(this.lContainer,r,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),a}destroy(t){var r;Iu(t[_e],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[qt].$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)[qt].$index=t}getLView(t){return OY(this.lContainer,t)}};function Xi(e){let t=De(null),r=gr();try{let n=de(),a=n[_e],i=n[r],o=r+1,l=zl(n,o);if(i.liveCollection===void 0){let c=Nd(a,o);i.liveCollection=new TY(l,n,c)}else i.liveCollection.reset();let u=i.liveCollection;if(CY(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Wa(),d=u.length===0;if(vn(n,c,d)){let m=r+2,v=zl(n,m);if(d){let g=Nd(a,m),w=Ni(v,g.tView.ssrId),x=ps(n,g,void 0,{dehydratedView:w});ms(v,x,0,Mi(g,w))}else Cy(v,0)}}}finally{De(t)}}function zl(e,t){return e[t]}function RY(e,t){return Lo(e,t)}function OY(e,t){return ky(e,t)}function Nd(e,t){return Hh(e,t)}function j(e,t,r,n){let a=de(),i=ut(),o=yt+e,l=a[vt],u=i.firstCreatePass?Ry(o,i,a,t,vp,NG(),r,n):i.data[o],c=MY(i,a,u,l,t);a[o]=c;let d=vu(u);return pa(u,!0),oy(l,c,u),!wp(u)&&yu()&&Tu(i,a,c,u),(RG()===0||d)&&Yi(c,a),OG(),d&&(Du(i,a,u),up(i,u,a)),n!==null&&fp(a,u),j}function V(){let e=on();Zh()?Yh():(e=e.parent,pa(e,!1));let t=e;AG(t)&&PG(),MG();let r=ut();return r.firstCreatePass&&Oy(r,t),t.classesWithoutHost!=null&&ZG(t)&&Od(r,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&YG(t)&&Od(r,t,de(),t.stylesWithoutHost,!1),V}function Qe(e,t,r,n){return j(e,t,r,n),V(),Qe}var MY=(e,t,r,n,a,i)=>(_u(!0),ay(n,a,GG()));function NY(e,t,r,n,a){let i=t.consts,o=Ba(i,n),l=Ki(t,e,8,"ng-container",o);o!==null&&Cd(l,o,!0);let u=Ba(i,a);return kp(t,r,l,u,vp),l.mergedAttrs=Oi(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Kr(e,t,r){let n=de(),a=ut(),i=e+yt,o=a.firstCreatePass?NY(i,a,n,t,r):a.data[i];pa(o,!0);let l=AY(a,n);return n[i]=l,yu()&&Tu(a,n,l,o),Yi(l,n),vu(o)&&(Du(a,n,o),up(a,o,n)),r!=null&&fp(n,o),Kr}function Qr(){let e=on(),t=ut();return Zh()?Yh():(e=e.parent,pa(e,!1)),t.firstCreatePass&&(ep(t,e),Bh(e)&&t.queries.elementEnd(e)),Qr}function Yt(e,t,r){return Kr(e,t,r),Qr(),Yt}var AY=(e,t,r,n)=>(_u(!0),L8(t[vt],""));function qr(){return de()}function Mp(e,t,r){let n=de(),a=Wa();if(vn(n,a,t)){let i=ut(),o=bu();gp(i,o,n,e,t,n[vt],r,!0)}return Mp}var _a=void 0;function PY(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var LY=["en",[["a","p"],["AM","PM"],_a],[["AM","PM"],_a,_a],[["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"]],_a,[["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"]],_a,[["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}",_a,"{1} 'at' {0}",_a],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",PY],Eo={};function FY(e,t,r){typeof t!="string"&&(r=t,t=e[Ot.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Eo[t]=e,r&&(Eo[t][Ot.ExtraData]=r)}function Qn(e){let t=jY(e),r=Tf(t);if(r)return r;let n=t.split("-")[0];if(r=Tf(n),r)return r;if(n==="en")return LY;throw new G(701,!1)}function Tf(e){return e in Eo||(Eo[e]=ui.ng&&ui.ng.common&&ui.ng.common.locales&&ui.ng.common.locales[e]),Eo[e]}var Ot=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}(Ot||{});function jY(e){return e.toLowerCase().replace(/_/g,"-")}var Ad="en-US";function VY(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Rf(e,t,r){return function n(a){if(a===Function)return r;let i=$i(e)?pr(e.index,t):t;Sp(i,5);let o=t[qt],l=Of(t,o,r,a),u=n.__ngNextListenerFn__;for(;u;)l=Of(t,o,u,a)&&l,u=u.__ngNextListenerFn__;return l}}function Of(e,t,r,n){let a=De(null);try{return za(6,t,r),r(n)!==!1}catch(i){return zY(e,i),!1}finally{De(a)}}function zY(e,t){let r=e[Ti],n=r?r.get(Yn,null):null;n&&n.handleError(t)}function Mf(e,t,r,n,a,i){let o=t[r],l=t[_e],u=l.data[r].outputs[n],c=o[u],d=l.firstCreatePass?Wh(l):null,m=Uh(t),v=c.subscribe(i),g=m.length;m.push(i,v),d&&d.push(a,e.index,g,-(g+1))}function hn(e,t,r,n){let a=de(),i=ut(),o=on();return s_(i,a,a[vt],o,e,t,n),hn}function BY(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[bi],u=a[i+2];return l.length>u?l[u]:null}typeof o=="string"&&(i+=2)}return null}function s_(e,t,r,n,a,i,o){var m,v;let l=vu(n),u=e.firstCreatePass?Wh(e):null,c=Uh(t),d=!0;if(n.type&3||o){let g=fr(n,t),w=o?o(g):g,x=c.length,k=o?O=>o(hr(O[n.index])):n.index,D=null;if(!o&&l&&(D=BY(e,t,a,n.index)),D!==null){let O=D.__ngLastListenerFn__||D;O.__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,d=!1}else{i=Rf(n,t,i);let O=r.listen(w,a,i);c.push(i,O),u&&u.push(a,k,x,x+1)}}else i=Rf(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[a],w=(v=n.hostDirectiveOutputs)==null?void 0:v[a];if(w&&w.length)for(let x=0;x<w.length;x+=2){let k=w[x],D=w[x+1];Mf(n,t,k,D,a,i)}if(g&&g.length)for(let x of g)Mf(n,t,x,a,a,i)}}function le(e=1){return $G(e)}function HY(e,t){let r=null,n=D8(e);for(let a=0;a<t.length;a++){let i=t[a];if(i==="*"){r=a;continue}if(n===null?ry(e,i,!0):R8(n,i))return a}return r}function Vn(e){let t=de()[Ln][yn];if(!t.projection){let r=e?e.length:1,n=t.projection=iG(r,null),a=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?HY(i,e):0;o!==null&&(a[o]?a[o].projectionNext=i:n[o]=i,a[o]=i)}i=i.next}}}function pt(e,t=0,r,n,a,i){let o=de(),l=ut(),u=null,c=Ki(l,yt+e,16,null,null);c.projection===null&&(c.projection=t),Yh();let d=!o[Ii]||ib();o[Ln][yn].projection[c.projection]===null&&u!==null?qY(o,l,u):d&&!wp(c)&&dW(l,o,c)}function qY(e,t,r){let n=yt+r,a=t.data[n],i=e[n],o=Ni(i,a.tView.ssrId),l=ps(e,a,void 0,{dehydratedView:o});ms(i,l,0,Mi(a,o))}function Mr(e,t,r,n){xZ(e,t,r,n)}function Pi(e,t,r){wZ(e,t,r)}function un(e){let t=de(),r=ut(),n=ub();Qh(n+1);let a=Dp(r,n);if(e.dirty&&kG(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let i=kZ(t,n);e.reset(i,xU),e.notifyOnChanges()}return!0}return!1}function cn(){return _Z(de(),ub())}function Nu(e){let t=sb();return ss(t,yt+e)}function ee(e,t=""){let r=de(),n=ut(),a=e+yt,i=n.firstCreatePass?Ki(n,a,1,t,null):n.data[a],o=$Y(n,r,i,t);r[a]=o,yu()&&Tu(n,r,o,i),pa(i,!1)}var $Y=(e,t,r,n,a)=>(_u(!0),A8(t[vt],n));function Ne(e){return Ue("",e,""),Ne}function Ue(e,t,r){let n=de(),a=rY(n,e,t,r);return a!==In&&l_(n,gr(),a),Ue}function Np(e,t,r,n,a){let i=de(),o=aY(i,e,t,r,n,a);return o!==In&&l_(i,gr(),o),Np}function l_(e,t,r){let n=nb(t,e);P8(e[vt],n,r)}function u_(e,t,r){Lb(t)&&(t=t());let n=de(),a=Wa();if(vn(n,a,t)){let i=ut(),o=bu();gp(i,o,n,e,t,n[vt],r,!1)}return u_}function GY(e,t){let r=Lb(e);return r&&e.set(t),r}function c_(e,t){let r=de(),n=ut(),a=on();return s_(n,r,r[vt],a,e,t),c_}var d_={};function h_(e){let t=ut(),r=de(),n=e+yt,a=Ki(t,n,128,null,null);return pa(a,!1),qh(t,r,n,d_),h_}function Nf(e){Za("NgLet");let t=ut(),r=de(),n=gr();return qh(t,r,n,e),e}function Af(e){let t=sb(),r=ss(t,yt+e);if(r===d_)throw new G(314,!1);return r}function UY(e,t,r){let n=ut();if(n.firstCreatePass){let a=dr(e);Pd(r,n.data,n.blueprint,a,!0),Pd(t,n.data,n.blueprint,a,!1)}}function Pd(e,t,r,n,a){if(e=Wt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Pd(e[i],t,r,n,a);else{let i=ut(),o=de(),l=on(),u=Di(e)?e:Wt(e.provide),c=W0(e),d=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Di(e)||!e.multi){let g=new us(c,a,Zt),w=fc(u,t,a?d:d+v,m);w===-1?(gd(Al(l,o),i,u),mc(i,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=fc(u,t,d+v,m),w=fc(u,t,d,d+v),x=g>=0&&r[g],k=w>=0&&r[w];if(a&&!k||!a&&!x){gd(Al(l,o),i,u);let D=YY(a?ZY:WY,r.length,a,n,c);!a&&k&&(r[w].providerFactory=D),mc(i,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(D),o.push(D)}else{let D=p_(r[a?w:g],c,!a&&n);mc(i,e,g>-1?g:w,D)}!a&&n&&k&&r[w].componentProviders++}}}function mc(e,t,r,n){let a=Di(t),i=pG(t);if(a||i){let o=(i?Wt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,o]):l[u+1].push(n,o)}else l.push(r,o)}}}function p_(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function fc(e,t,r,n){for(let a=r;a<n;a++)if(t[a]===e)return a;return-1}function WY(e,t,r,n,a){return Ld(this.multi,[])}function ZY(e,t,r,n,a){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Ao(n,n[_e],this.providerFactory.index,a);o=u.slice(0,l),Ld(i,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Ld(i,o);return o}function Ld(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function YY(e,t,r,n,a){let i=new us(e,r,Zt);return i.multi=[],i.index=t,i.componentProviders=0,p_(i,a,n&&!r),i}function Tn(e,t=[]){return r=>{r.providersResolver=(n,a)=>UY(n,a?a(e):e,t)}}function Bo(e,t,r){let n=Ua()+e,a=de();return a[n]===In?gs(a,n,t()):Zy(a,n)}function m_(e,t,r,n){return f_(de(),Ua(),e,t,r,n)}function KY(e,t,r,n,a){return g_(de(),Ua(),e,t,r,n,a)}function QY(e,t,r,n,a,i,o,l){let u=Ua()+e,c=de(),d=GZ(c,u,r,n,a,i);return vn(c,u+4,o)||d?gs(c,u+5,t(r,n,a,i,o)):Zy(c,u+5)}function Ap(e,t){let r=e[t];return r===In?void 0:r}function f_(e,t,r,n,a,i){let o=t+r;return vn(e,o,a)?gs(e,o+1,i?n.call(i,a):n(a)):Ap(e,o+1)}function g_(e,t,r,n,a,i,o){let l=t+r;return Vo(e,l,a,i)?gs(e,l+2,o?n.call(o,a,i):n(a,i)):Ap(e,l+2)}function XY(e,t,r,n,a,i,o,l){let u=t+r;return $Z(e,u,a,i,o)?gs(e,u+3,l?n.call(l,a,i,o):n(a,i,o)):Ap(e,u+3)}function te(e,t){let r=ut(),n,a=e+yt;r.firstCreatePass?(n=JY(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=Fa(n.type)),o=mn(Zt);try{let l=Nl(!1),u=i();return Nl(l),qh(r,de(),a,u),u}finally{mn(o)}}function JY(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function re(e,t,r){let n=e+yt,a=de(),i=ss(a,n);return Pp(a,n)?f_(a,Ua(),t,i.transform,r,i):i.transform(r)}function vs(e,t,r,n){let a=e+yt,i=de(),o=ss(i,a);return Pp(i,a)?g_(i,Ua(),t,o.transform,r,n,o):o.transform(r,n)}function v_(e,t,r,n,a){let i=e+yt,o=de(),l=ss(o,i);return Pp(o,i)?XY(o,Ua(),t,l.transform,r,n,a,l):l.transform(r,n,a)}function Pp(e,t){return e[_e].data[t].pure}function Pf(e,t){return Ou(e,t)}var eK=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(".")}},Lf=new eK("19.2.15"),tK=(()=>{const t=class t{constructor(){s(this,"zone",S(He));s(this,"changeDetectionScheduler",S(Wi));s(this,"applicationRef",S(ca));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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function nK({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new He(Qt(ce({},rK()),{scheduleInRootZone:r}))),[{provide:He,useFactory:e},{provide:Dl,multi:!0,useFactory:()=>{let n=S(tK,{optional:!0});return()=>n.initialize()}},{provide:Dl,multi:!0,useFactory:()=>{let n=S(aK);return()=>{n.initialize()}}},t===!0?{provide:Ob,useValue:!0}:[],{provide:Mb,useValue:r??Ib}]}function rK(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var aK=(()=>{const t=class t{constructor(){s(this,"subscription",new Kt);s(this,"initialized",!1);s(this,"zone",S(He));s(this,"pendingTasks",S(cs))}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(()=>{He.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{He.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),iK=(()=>{var t;const r=class r{constructor(){s(this,"appRef",S(ca));s(this,"taskService",S(cs));s(this,"ngZone",S(He));s(this,"zonelessEnabled",S(Rb));s(this,"tracing",S(ds,{optional:!0}));s(this,"disableScheduling",S(Ob,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new Kt);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Pl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(Mb,{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 gU||!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?nf:Nb;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(Pl+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,nf(()=>{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",z({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function oK(){return typeof $localize<"u"&&$localize.locale||Ad}var Au=new K("",{providedIn:"root",factory:()=>S(Au,Re.Optional|Re.SkipSelf)||oK()}),Fd=new K(""),sK=new K("");function so(e){return!e.moduleRef}function lK(e){let t=so(e)?e.r3Injector:e.moduleRef.injector,r=t.get(He);return r.run(()=>{so(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Yn,null),a;if(r.runOutsideAngular(()=>{a=r.onError.subscribe({next:i=>{n.handleError(i)}})}),so(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Fd);o.add(i),t.onDestroy(()=>{a.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Fd);o.add(i),e.moduleRef.onDestroy(()=>{cl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(i)})}return cK(n,r,()=>{let i=t.get(Xy);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Au,Ad);if(VY(o||Ad),!t.get(sK,!0))return so(e)?t.get(ca):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(so(e)){let l=t.get(ca);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return uK(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function uK(e,t){let r=e.injector.get(ca);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new G(-403,!1);t.push(e)}function cK(e,t,r){try{let n=r();return Tp(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var dl=null;function dK(e=[],t){return ht.create({name:t,providers:[{provide:jh,useValue:"platform"},{provide:Fd,useValue:new Set([()=>dl=null])},...e]})}function hK(e=[]){if(dl)return dl;let t=dK(e);return dl=t,JZ(),pK(t),t}function pK(e){let t=e.get(qb,null);zh(e,()=>{t==null||t.forEach(r=>r())})}function mK(){return!1}var br=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",fK),e})();function fK(e){return gK(on(),de(),(e&16)===16)}function gK(e,t,r){if($i(e)&&!r){let n=pr(e.index,t);return new Fo(n,n)}else if(e.type&175){let n=t[Ln];return new Fo(n,t)}return null}var vK=class{constructor(){}supports(e){return Wy(e)}create(e){return new yK(e)}},bK=(e,t)=>t,yK=class{constructor(e){s(this,"length",0);s(this,"collection");s(this,"_linkedRecords",null);s(this,"_unlinkedRecords",null);s(this,"_previousItHead",null);s(this,"_itHead",null);s(this,"_itTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_movesHead",null);s(this,"_movesTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null);s(this,"_identityChangesHead",null);s(this,"_identityChangesTail",null);s(this,"_trackByFn");this._trackByFn=e||bK}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,n=0,a=null;for(;t||r;){let i=!r||t&&t.currentIndex<jf(r,n,a)?t:r,o=jf(i,n,a),l=i.currentIndex;if(i===r)n--,r=r._nextRemoved;else if(t=t._next,i.previousIndex==null)n++;else{a||(a=[]);let u=o-n,c=l-n;if(u!=c){for(let m=0;m<u;m++){let v=m<a.length?a[m]:a[m]=0,g=v+m;c<=g&&g<u&&(a[m]=v+1)}let d=i.previousIndex;a[d]=c-u}}o!==l&&e(i,o,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!Wy(e))throw new G(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,r=!1,n,a,i;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)a=e[o],i=this._trackByFn(o,a),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,a,i,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,i,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next}else n=0,qZ(e,o=>{i=this._trackByFn(n,o),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,o,i,n),r=!0):(r&&(t=this._verifyReinsertion(t,o,i,n)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next,n++}),this.length=n;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,n){let a;return e===null?a=this._itTail:(a=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,a,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,n),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,a,n)):e=this._addAfter(new _K(t,r),a,n)),e}_verifyReinsertion(e,t,r,n){let a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return a!==null?e=this._reinsertAfter(a,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,a=e._nextRemoved;return n===null?this._removalsHead=a:n._nextRemoved=a,a===null?this._removalsTail=n:a._prevRemoved=n,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){let n=t===null?this._itHead:t._next;return e._next=n,e._prev=t,n===null?this._itTail=e:n._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ff),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,r=e._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ff),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},_K=class{constructor(e,t){s(this,"item");s(this,"trackById");s(this,"currentIndex",null);s(this,"previousIndex",null);s(this,"_nextPrevious",null);s(this,"_prev",null);s(this,"_next",null);s(this,"_prevDup",null);s(this,"_nextDup",null);s(this,"_prevRemoved",null);s(this,"_nextRemoved",null);s(this,"_nextAdded",null);s(this,"_nextMoved",null);s(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},wK=class{constructor(){s(this,"_head",null);s(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let t=e._prevDup,r=e._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Ff=class{constructor(){s(this,"map",new Map)}put(e){let t=e.trackById,r=this.map.get(t);r||(r=new wK,this.map.set(t,r)),r.add(e)}get(e,t){let r=e,n=this.map.get(r);return n?n.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function jf(e,t,r){let n=e.previousIndex;if(n===null)return n;let a=0;return r&&n<r.length&&(a=r[n]),n+t+a}var xK=class{constructor(){}supports(e){return e instanceof Map||Ip(e)}create(){return new EK}},EK=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||Ip(e)))throw new G(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 SK(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))}},SK=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 Vf(){return new Ji([new vK])}var Ji=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a!=null){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||Vf()),deps:[[t,new Nh,new Mh]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a!=null)return a;throw new G(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:Vf}));let e=t;return e})();function zf(){return new b_([new xK])}var b_=(()=>{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||zf()),deps:[[t,new Nh,new Mh]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a)return a;throw new G(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:zf}));let e=t;return e})();function kK(e){let{rootComponent:t,appProviders:r,platformProviders:n,platformRef:a}=e;try{let i=(a==null?void 0:a.injector)??hK(n),o=[nK({}),{provide:Wi,useExisting:iK},...r||[]],l=new qy({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return lK({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Lt(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Lp(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function jd(e){return B$(e)}function mi(e,t){return M$(e)}var Cv,CK=(Cv=gn,class{constructor(e){s(this,Cv);this[gn]=e}destroy(){this[gn].destroy()}});function DK(e,t){!(t!=null&&t.injector)&&fu();let r=(t==null?void 0:t.injector)??S(ht),n=(t==null?void 0:t.manualCleanup)!==!0?r.get(ma):null,a,i=r.get(lp,null,{optional:!0}),o=r.get(Wi);return i!==null&&!(t!=null&&t.forceRoot)?(a=RK(i.view,o,e),n instanceof Tb&&n._lView===i.view&&(n=null)):a=OK(e,r.get(Ky),o),a.injector=r,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new CK(a)}var y_=Qt(ce({},Bi),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Po,run(){if(this.dirty=!1,this.hasRun&&!_h(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Io(this),r=Rl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Rl(r),su(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),IK=Qt(ce({},y_),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){lu(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),TK=Qt(ce({},y_),{consumerMarkedDirty(){this.view[fe]|=8192,Ui(this.view),this.notifier.notify(13)},destroy(){var e;lu(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Nr])==null||e.delete(this)}});function RK(e,t,r){let n=Object.create(TK);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=r,e[Nr]??(e[Nr]=new Set),e[Nr].add(n),n.consumerMarkedDirty(n),n}function OK(e,t,r){let n=Object.create(IK);return n.fn=e,n.scheduler=t,n.notifier=r,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var MK=e=>e;function NK(e,t){if(typeof e=="function"){let r=Fm(e,MK,t==null?void 0:t.equal);return Bf(r)}else{let r=Fm(e.source,e.computation,e.equal);return Bf(r)}}function Bf(e){let t=e[gn],r=e;return r.set=n=>j$(t,n),r.update=n=>V$(t,n),r.asReadonly=ip.bind(e),r}function __(e,t){let r=Ci(e),n=t.elementInjector||mu();return new Cp(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var AK={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function PK(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function LK(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var gc;function FK(e,t){if(!gc){let r=Element.prototype;gc=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?gc.call(e,t):!1}function jK(e){let t={};return e.forEach(({propName:r,templateName:n,transform:a})=>{t[PK(n)]=[r,a]}),t}function VK(e,t){return t.get(fs).resolveComponentFactory(e).inputs}function zK(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],u=BK(l,t,a);u!==-1&&n[u].push(l)}return n}function BK(e,t,r){let n=r;return LK(e)&&t.some((a,i)=>a!=="*"&&FK(e,a)?(n=i,!0):!1),n}var HK=10,qK=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(fs).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new $K(this.componentFactory,e,this.inputMap)}},$K=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new kh(1));s(this,"events",this.eventEmitters.pipe(El(e=>La(...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(He),this.appRef=this.injector.get(ca),this.cdScheduler=t.get(Wi),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=AK.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},HK))})}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),IW(this.componentRef.hostView)&&(TW(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ht.create({providers:[],parent:this.injector}),r=zK(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 mt(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()}},GK=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function UK(e,t){let r=VK(e,t.injector),n=t.strategyFactory||new qK(e,t.injector),a=jK(r);class i extends GK{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,d)})}return this._ngElementStrategy}attributeChangedCallback(u,c,d,m){let[v,g]=a[u];this.ngElementStrategy.setInputValue(v,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}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(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),i}var Ve=new K(""),w_=null;function So(){return w_}function WK(e){w_??(w_=e)}var ZK=class{},x_=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(YK),providedIn:"platform"}));let e=t;return e})(),YK=(()=>{const t=class t extends x_{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",S(Ve));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return So().getBaseHref(this._doc)}onPopState(a){let i=So().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",a,!1),()=>i.removeEventListener("popstate",a)}onHashChange(a){let i=So().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",z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function E_(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Hf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Oa(e){return e&&e[0]!=="?"?`?${e}`:e}var Fp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(QK),providedIn:"root"}));let e=t;return e})(),KK=new K(""),QK=(()=>{const t=class t extends Fp{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=S(Ve).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 E_(this._baseHref,a)}path(a=!1){let i=this._platformLocation.pathname+Oa(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${i}${o}`:i}pushState(a,i,o,l){let u=this.prepareExternalUrl(o+Oa(l));this._platformLocation.pushState(a,i,u)}replaceState(a,i,o,l){let u=this.prepareExternalUrl(o+Oa(l));this._platformLocation.replaceState(a,i,u)}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)(oe(x_),oe(KK,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),S_=(()=>{const t=class t{constructor(n){s(this,"_subject",new ve);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=eQ(Hf(qf(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+Oa(a))}normalize(n){return t.stripTrailingSlash(JK(this._basePath,qf(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+Oa(a)),i)}replaceState(n,a="",i=null){this._locationStrategy.replaceState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Oa(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",Oa),s(t,"joinWithSlash",E_),s(t,"stripTrailingSlash",Hf),s(t,"ɵfac",function(n){return new(n||t)(oe(Fp))}),s(t,"ɵprov",z({token:t,factory:()=>XK(),providedIn:"root"}));let e=t;return e})();function XK(){return new S_(oe(Fp))}function JK(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function qf(e){return e.replace(/\/index.html$/,"")}function eQ(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var ln=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ln||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),_n=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(_n||{}),Pu={MinusSign:5};function tQ(e){return Qn(e)[Ot.LocaleId]}function nQ(e,t,r){let n=Qn(e),a=[n[Ot.DayPeriodsFormat],n[Ot.DayPeriodsStandalone]],i=Fn(a,t);return Fn(i,r)}function rQ(e,t,r){let n=Qn(e),a=[n[Ot.DaysFormat],n[Ot.DaysStandalone]],i=Fn(a,t);return Fn(i,r)}function aQ(e,t,r){let n=Qn(e),a=[n[Ot.MonthsFormat],n[Ot.MonthsStandalone]],i=Fn(a,t);return Fn(i,r)}function iQ(e,t){let r=Qn(e)[Ot.Eras];return Fn(r,t)}function Ls(e,t){let r=Qn(e);return Fn(r[Ot.DateFormat],t)}function Fs(e,t){let r=Qn(e);return Fn(r[Ot.TimeFormat],t)}function js(e,t){let r=Qn(e)[Ot.DateTimeFormat];return Fn(r,t)}function Lu(e,t){return Qn(e)[Ot.NumberSymbols][t]}function k_(e){if(!e[Ot.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Ot.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function oQ(e){let t=Qn(e);return k_(t),(t[Ot.ExtraData][2]||[]).map(r=>typeof r=="string"?vc(r):[vc(r[0]),vc(r[1])])}function sQ(e,t,r){let n=Qn(e);k_(n);let a=[n[Ot.ExtraData][0],n[Ot.ExtraData][1]],i=Fn(a,t)||[];return Fn(i,r)||[]}function Fn(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 vc(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var lQ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ni={},uQ=/((?:[^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 cQ(e,t,r,n){let a=yQ(e);t=Rr(r,t)||t;let i=[],o;for(;t;)if(o=uQ.exec(t),o){i=i.concat(o.slice(1));let c=i.pop();if(!c)break;t=c}else{i.push(t);break}let l=a.getTimezoneOffset();n&&(l=D_(n,l),a=bQ(a,n));let u="";return i.forEach(c=>{let d=gQ(c);u+=d?d(a,r,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Bl(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function Rr(e,t){let r=tQ(e);if(ni[r]??(ni[r]={}),ni[r][t])return ni[r][t];let n="";switch(t){case"shortDate":n=Ls(e,_n.Short);break;case"mediumDate":n=Ls(e,_n.Medium);break;case"longDate":n=Ls(e,_n.Long);break;case"fullDate":n=Ls(e,_n.Full);break;case"shortTime":n=Fs(e,_n.Short);break;case"mediumTime":n=Fs(e,_n.Medium);break;case"longTime":n=Fs(e,_n.Long);break;case"fullTime":n=Fs(e,_n.Full);break;case"short":let a=Rr(e,"shortTime"),i=Rr(e,"shortDate");n=Vs(js(e,_n.Short),[a,i]);break;case"medium":let o=Rr(e,"mediumTime"),l=Rr(e,"mediumDate");n=Vs(js(e,_n.Medium),[o,l]);break;case"long":let u=Rr(e,"longTime"),c=Rr(e,"longDate");n=Vs(js(e,_n.Long),[u,c]);break;case"full":let d=Rr(e,"fullTime"),m=Rr(e,"fullDate");n=Vs(js(e,_n.Full),[d,m]);break}return n&&(ni[r][t]=n),n}function Vs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function Gn(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 dQ(e,t){return Gn(e,3).substring(0,t)}function It(e,t,r=0,n=!1,a=!1){return function(i,o){let l=hQ(e,i);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return dQ(l,t);let u=Lu(o,Pu.MinusSign);return Gn(l,t,u,n,a)}}function hQ(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 et(e,t,r=ln.Format,n=!1){return function(a,i){return pQ(a,i,e,t,r,n)}}function pQ(e,t,r,n,a,i){switch(r){case 2:return aQ(t,a,n)[e.getMonth()];case 1:return rQ(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let c=oQ(t),d=sQ(t,a,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,w]=v,x=o>=g.hours&&l>=g.minutes,k=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&k)return!0}else if(x||k)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return nQ(t,a,n)[o<12?0:1];case 3:return iQ(t,n)[e.getFullYear()<=0?0:1];default:let u=r;throw new Error(`unexpected translation type ${u}`)}}function zs(e){return function(t,r,n){let a=-1*n,i=Lu(r,Pu.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Gn(o,2,i)+Gn(Math.abs(a%60),2,i);case 1:return"GMT"+(a>=0?"+":"")+Gn(o,1,i);case 2:return"GMT"+(a>=0?"+":"")+Gn(o,2,i)+":"+Gn(Math.abs(a%60),2,i);case 3:return n===0?"Z":(a>=0?"+":"")+Gn(o,2,i)+":"+Gn(Math.abs(a%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var mQ=0,hl=4;function fQ(e){let t=Bl(e,mQ,1).getDay();return Bl(e,0,1+(t<=hl?hl:hl+7)-t)}function C_(e){let t=e.getDay(),r=t===0?-3:hl-t;return Bl(e.getFullYear(),e.getMonth(),e.getDate()+r)}function bc(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=C_(r),o=fQ(i.getFullYear()),l=i.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Gn(a,e,Lu(n,Pu.MinusSign))}}function Bs(e,t=!1){return function(r,n){let a=C_(r).getFullYear();return Gn(a,e,Lu(n,Pu.MinusSign),t)}}var yc={};function gQ(e){if(yc[e])return yc[e];let t;switch(e){case"G":case"GG":case"GGG":t=et(3,Ke.Abbreviated);break;case"GGGG":t=et(3,Ke.Wide);break;case"GGGGG":t=et(3,Ke.Narrow);break;case"y":t=It(0,1,0,!1,!0);break;case"yy":t=It(0,2,0,!0,!0);break;case"yyy":t=It(0,3,0,!1,!0);break;case"yyyy":t=It(0,4,0,!1,!0);break;case"Y":t=Bs(1);break;case"YY":t=Bs(2,!0);break;case"YYY":t=Bs(3);break;case"YYYY":t=Bs(4);break;case"M":case"L":t=It(1,1,1);break;case"MM":case"LL":t=It(1,2,1);break;case"MMM":t=et(2,Ke.Abbreviated);break;case"MMMM":t=et(2,Ke.Wide);break;case"MMMMM":t=et(2,Ke.Narrow);break;case"LLL":t=et(2,Ke.Abbreviated,ln.Standalone);break;case"LLLL":t=et(2,Ke.Wide,ln.Standalone);break;case"LLLLL":t=et(2,Ke.Narrow,ln.Standalone);break;case"w":t=bc(1);break;case"ww":t=bc(2);break;case"W":t=bc(1,!0);break;case"d":t=It(2,1);break;case"dd":t=It(2,2);break;case"c":case"cc":t=It(7,1);break;case"ccc":t=et(1,Ke.Abbreviated,ln.Standalone);break;case"cccc":t=et(1,Ke.Wide,ln.Standalone);break;case"ccccc":t=et(1,Ke.Narrow,ln.Standalone);break;case"cccccc":t=et(1,Ke.Short,ln.Standalone);break;case"E":case"EE":case"EEE":t=et(1,Ke.Abbreviated);break;case"EEEE":t=et(1,Ke.Wide);break;case"EEEEE":t=et(1,Ke.Narrow);break;case"EEEEEE":t=et(1,Ke.Short);break;case"a":case"aa":case"aaa":t=et(0,Ke.Abbreviated);break;case"aaaa":t=et(0,Ke.Wide);break;case"aaaaa":t=et(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=et(0,Ke.Abbreviated,ln.Standalone,!0);break;case"bbbb":t=et(0,Ke.Wide,ln.Standalone,!0);break;case"bbbbb":t=et(0,Ke.Narrow,ln.Standalone,!0);break;case"B":case"BB":case"BBB":t=et(0,Ke.Abbreviated,ln.Format,!0);break;case"BBBB":t=et(0,Ke.Wide,ln.Format,!0);break;case"BBBBB":t=et(0,Ke.Narrow,ln.Format,!0);break;case"h":t=It(3,1,-12);break;case"hh":t=It(3,2,-12);break;case"H":t=It(3,1);break;case"HH":t=It(3,2);break;case"m":t=It(4,1);break;case"mm":t=It(4,2);break;case"s":t=It(5,1);break;case"ss":t=It(5,2);break;case"S":t=It(6,1);break;case"SS":t=It(6,2);break;case"SSS":t=It(6,3);break;case"Z":case"ZZ":case"ZZZ":t=zs(0);break;case"ZZZZZ":t=zs(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=zs(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=zs(2);break;default:return null}return yc[e]=t,t}function D_(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function vQ(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function bQ(e,t,r){let n=e.getTimezoneOffset(),a=D_(t,n);return vQ(e,-1*(a-n))}function yQ(e){if($f(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 Bl(a,i-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(lQ))return _Q(n)}let t=new Date(e);if(!$f(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function _Q(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,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,u,c),t}function $f(e){return e instanceof Date&&!isNaN(e.valueOf())}var _c=/\s+/,Gf=[],jp=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Gf);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(_c):Gf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(_c):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(_c).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)(Zt(Xe),Zt(Ka))}),s(t,"ɵdir",be({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),wQ=(()=>{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:ta.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)(Zt(Xe),Zt(b_),Zt(Ka))}),s(t,"ɵdir",be({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),xQ=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,i):!1,get:(n,a,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,i)}})}};s(t,"ɵfac",function(n){return new(n||t)(Zt(jn))}),s(t,"ɵdir",be({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ha]}));let e=t;return e})();function Vp(e,t){return new G(2100,!1)}var EQ=class{createSubscription(e,t){return jd(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){jd(()=>e.unsubscribe())}},SQ=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},kQ=new SQ,CQ=new EQ,DQ=(()=>{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(Tp(n))return kQ;if(Qy(n))return CQ;throw Vp()}_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)(Zt(br,16))}),s(t,"ɵpipe",vr({name:"async",type:t,pure:!1}));let e=t;return e})(),IQ="mediumDate",TQ=new K(""),RQ=new K(""),zp=(()=>{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,u;if(n==null||n===""||n!==n)return null;try{let c=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??IQ,d=i??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return cQ(n,c,o||this.locale,d)}catch(c){throw Vp(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Zt(Au,16),Zt(TQ,24),Zt(RQ,24))}),s(t,"ɵpipe",vr({name:"date",type:t,pure:!0}));let e=t;return e})(),I_=(()=>{const t=class t{transform(n,a,i){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw Vp();return n.slice(a,i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",vr({name:"slice",type:t,pure:!1}));let e=t;return e})(),T_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})();function R_(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 O_="browser",OQ="server";function MQ(e){return e===O_}function M_(e){return e===OQ}var N_=class{};function Fu(e,t,r){return FY(e,t,r)}var Vd=new K(""),A_=(()=>{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 G(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(oe(Vd),oe(He))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),P_=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},pl="ng-app-id";function Uf(e){for(let t of e)t.remove()}function Wf(e,t){let r=t.createElement("style");return r.textContent=e,r}function NQ(e,t,r,n){var i;let a=(i=e.head)==null?void 0:i.querySelectorAll(`style[${pl}="${t}"],link[${pl}="${t}"]`);if(a)for(let o of a)o.removeAttribute(pl),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 zd(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var L_=(()=>{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=M_(o),NQ(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let i of n)this.addUsage(i,this.inline,Wf);a==null||a.forEach(i=>this.addUsage(i,this.external,zd))}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&&(Uf(i.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Uf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:i}]of this.inline)i.push(this.addElement(n,Wf(a,this.doc)));for(let[a,{elements:i}]of this.external)i.push(this.addElement(n,zd(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(pl,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(xu),oe(op,8),oe(Eu))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),wc={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"},Bp=/%COMP%/g,F_="%COMP%",AQ=`_nghost-${F_}`,PQ=`_ngcontent-${F_}`,LQ=!0,FQ=new K("",{providedIn:"root",factory:()=>LQ});function jQ(e){return PQ.replace(Bp,e)}function VQ(e){return AQ.replace(Bp,e)}function j_(e,t){return t.map(r=>r.replace(Bp,e))}var Bd=(()=>{const t=class t{constructor(n,a,i,o,l,u,c,d=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=u,this.ngZone=c,this.nonce=d,this.tracingService=m,this.platformIsServer=M_(u),this.defaultRenderer=new Hp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===Ar.ShadowDom&&(a=Qt(ce({},a),{encapsulation:Ar.Emulated}));let i=this.getOrCreateRenderer(n,a);return i instanceof Yf?i.applyToHost(n):i instanceof Hd&&i.applyStyles(),i}getOrCreateRenderer(n,a){let i=this.rendererByCompId,o=i.get(a.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case Ar.Emulated:o=new Yf(c,d,a,this.appId,m,l,u,v,g);break;case Ar.ShadowDom:return new zQ(c,d,n,a,l,u,this.nonce,v,g);default:o=new Hd(c,d,a,m,l,u,v,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)(oe(A_),oe(L_),oe(xu),oe(FQ),oe(Ve),oe(Eu),oe(He),oe(op),oe(ds,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Hp=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(wc[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Zf(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(Zf(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 G(-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=wc[n];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=wc[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&(ta.DashCase|ta.Important)?e.style.setProperty(t,r,n&ta.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&ta.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=So().getGlobalEventTarget(this.doc,e),!e))throw new G(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 Zf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var zQ=class extends Hp{constructor(t,r,n,a,i,o,l,u,c){var v;super(t,i,o,u,c);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 d=a.styles;d=j_(a.id,d);for(let g of d){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let w=zd(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)}},Hd=class extends Hp{constructor(t,r,n,a,i,o,l,u,c){var m;super(t,i,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=a;let d=n.styles;this.styles=c?j_(c,d):d,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Yf=class extends Hd{constructor(t,r,n,a,i,o,l,u,c){let d=a+"-"+n.id;super(t,r,n,i,o,l,u,c,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=jQ(d),this.hostAttr=VQ(d)}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}},BQ=class V_ extends ZK{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){WK(new V_)}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=HQ();return n==null?null:qQ(n)}resetBaseElement(){bo=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return R_(document.cookie,r)}},bo=null;function HQ(){return bo=bo||document.head.querySelector("base"),bo?bo.getAttribute("href"):null}function qQ(e){return new URL(e,document.baseURI).pathname}var $Q=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),GQ=(()=>{const t=class t extends P_{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)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Kf=["alt","control","meta","shift"],UQ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},WQ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ZQ=(()=>{const t=class t extends P_{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,i,o){let l=t.parseEventName(a),u=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>So().onAndCancel(n,l.domEventName,u,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="",u=a.indexOf("code");if(u>-1&&(a.splice(u,1),l="code."),Kf.forEach(d=>{let m=a.indexOf(d);m>-1&&(a.splice(m,1),l+=d+".")}),l+=o,a.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=l,c}static matchEventFullKeyCode(n,a){let i=UQ[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"),Kf.forEach(l=>{if(l!==i){let u=WQ[l];u(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)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function YQ(e){return kK(KQ(e))}function KQ(e){return{appProviders:[...tX,...(e==null?void 0:e.providers)??[]],platformProviders:eX}}function QQ(){BQ.makeCurrent()}function XQ(){return new Yn}function JQ(){return TU(document),document}var eX=[{provide:Eu,useValue:O_},{provide:qb,useValue:QQ,multi:!0},{provide:Ve,useFactory:JQ}],tX=[{provide:jh,useValue:"root"},{provide:Yn,useFactory:XQ},{provide:Vd,useClass:GQ,multi:!0,deps:[Ve]},{provide:Vd,useClass:ZQ,multi:!0,deps:[Ve]},Bd,L_,A_,{provide:Kn,useExisting:Bd},{provide:N_,useClass:$Q},[]],qp=class{},z_=class{},Li=class ml{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 ml?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 ml;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof ml?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)))}},nX=class{encodeKey(e){return Qf(e)}encodeValue(e){return Qf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function rX(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 aX=/%(\d[a-f0-9])/gi,iX={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qf(e){return encodeURIComponent(e).replace(aX,(t,r)=>iX[r]??t)}function Hs(e){return`${e}`}var _i=class B_{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new nX,t.fromString){if(t.fromObject)throw new G(2805,!1);this.map=rX(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(Hs):[Hs(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 B_({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(Hs(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(Hs(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)}},oX=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 sX(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Xf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Jf(e){return typeof Blob<"u"&&e instanceof Blob}function eg(e){return typeof FormData<"u"&&e instanceof FormData}function lX(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var tg="Content-Type",ng="Accept",H_="X-Request-URL",q_="text/plain",$_="application/json",uX=`${$_}, ${q_}, */*`,xc=class G_{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(sX(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 Li),this.context??(this.context=new oX),!this.params)this.params=new _i,this.urlWithParams=r;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),u=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Xf(this.body)||Jf(this.body)||eg(this.body)||lX(this.body)?this.body:this.body instanceof _i?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||eg(this.body)?null:Jf(this.body)?this.body.type||null:Xf(this.body)?null:typeof this.body=="string"?q_:this.body instanceof _i?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?$_: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,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,d=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),c)),t.setParams&&(d=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),d)),new G_(r,n,o,{params:d,headers:c,context:m,reportProgress:u,responseType:a,withCredentials:l,transferCache:i})}},wi=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}(wi||{}),$p=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 Li,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}},cX=class U_ extends $p{constructor(r={}){super(r);s(this,"type",wi.ResponseHeader)}clone(r={}){return new U_({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})}},W_=class Z_ extends $p{constructor(r={}){super(r);s(this,"body");s(this,"type",wi.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new Z_({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})}},rg=class extends $p{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}},dX=200,hX=204;function Ec(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 eo=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,i={}){let o;if(n instanceof xc)o=n;else{let c;i.headers instanceof Li?c=i.headers:c=new Li(i.headers);let d;i.params&&(i.params instanceof _i?d=i.params:d=new _i({fromObject:i.params})),o=new xc(n,a,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=tt(o).pipe(_0(c=>this.handler.handle(c)));if(n instanceof xc||i.observe==="events")return l;let u=l.pipe(Sn(c=>c instanceof W_));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(Pt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new G(2806,!1);return c.body}));case"blob":return u.pipe(Pt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new G(2807,!1);return c.body}));case"text":return u.pipe(Pt(c=>{if(c.body!==null&&typeof c.body!="string")throw new G(2808,!1);return c.body}));case"json":default:return u.pipe(Pt(c=>c.body))}case"response":return u;default:throw new G(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 _i().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,Ec(i,a))}post(n,a,i={}){return this.request("POST",n,Ec(i,a))}put(n,a,i={}){return this.request("PUT",n,Ec(i,a))}};s(t,"ɵfac",function(n){return new(n||t)(oe(qp))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),pX=new K("");function mX(e,t){return t(e)}function fX(e,t,r){return(n,a)=>zh(r,()=>t(n,i=>e(i,a)))}var Gp=new K(""),gX=new K(""),vX=new K("",{providedIn:"root",factory:()=>!0}),ag=(()=>{const t=class t extends qp{constructor(a,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",S(cs));s(this,"contributeToStability",S(vX));this.backend=a,this.injector=i}handle(a){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Gp),...this.injector.get(gX,[])]));this.chain=i.reduceRight((o,l)=>fX(o,l,this.injector),mX)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(w0(()=>this.pendingTasks.remove(i)))}else return this.chain(a,i=>this.backend.handle(i))}};s(t,"ɵfac",function(a){return new(a||t)(oe(z_),oe(cr))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),bX=/^\)\]\}',?\n/,yX=RegExp(`^${H_}:`,"m");function _X(e){return"responseURL"in e&&e.responseURL?e.responseURL:yX.test(e.getAllResponseHeaders())?e.getResponseHeader(H_):null}var ig=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new G(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?Ga(a.ɵloadImpl()):tt(null)).pipe(El(()=>new mt(i=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,k)=>o.setRequestHeader(x,k.join(","))),n.headers.has(ng)||o.setRequestHeader(ng,uX),!n.headers.has(tg)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(tg,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let x=o.statusText||"OK",k=new Li(o.getAllResponseHeaders()),D=_X(o)||n.url;return u=new cX({headers:k,status:o.status,statusText:x,url:D}),u},d=()=>{let{headers:x,status:k,statusText:D,url:O}=c(),M=null;k!==hX&&(M=typeof o.response>"u"?o.responseText:o.response),k===0&&(k=M?dX:0);let J=k>=200&&k<300;if(n.responseType==="json"&&typeof M=="string"){let ue=M;M=M.replace(bX,"");try{M=M!==""?JSON.parse(M):null}catch(we){M=ue,J&&(J=!1,M={error:we,text:M})}}J?(i.next(new W_({body:M,headers:x,status:k,statusText:D,url:O||void 0})),i.complete()):i.error(new rg({error:M,headers:x,status:k,statusText:D,url:O||void 0}))},m=x=>{let{url:k}=c(),D=new rg({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:k||void 0});i.error(D)},v=!1,g=x=>{v||(i.next(c()),v=!0);let k={type:wi.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),n.responseType==="text"&&o.responseText&&(k.partialText=o.responseText),i.next(k)},w=x=>{let k={type:wi.UploadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),i.next(k)};return o.addEventListener("load",d),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:wi.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",d),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)(oe(N_))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Y_=new K(""),wX="XSRF-TOKEN",xX=new K("",{providedIn:"root",factory:()=>wX}),EX="X-XSRF-TOKEN",SX=new K("",{providedIn:"root",factory:()=>EX}),K_=class{},kX=(()=>{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=R_(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(xX))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function CX(e,t){let r=e.url.toLowerCase();if(!S(Y_)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let n=S(K_).getToken(),a=S(SX);return n!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,n)})),t(e)}var Q_=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}(Q_||{});function DX(e,t){return{ɵkind:e,ɵproviders:t}}function IX(...e){let t=[eo,ig,ag,{provide:qp,useExisting:ag},{provide:z_,useFactory:()=>S(pX,{optional:!0})??S(ig)},{provide:Gp,useValue:CX,multi:!0},{provide:Y_,useValue:!0},{provide:K_,useClass:kX}];for(let r of e)t.push(...r.ɵproviders);return Lh(t)}function TX(e){return DX(Q_.Interceptors,e.map(t=>({provide:Gp,useValue:t,multi:!0})))}var X_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=oe(RX),a},providedIn:"root"}));let e=t;return e})(),RX=(()=>{const t=class t extends X_{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,i){if(i==null)return null;switch(a){case xn.NONE:return i;case xn.HTML:return ii(i,"HTML")?Xr(i):f8(this._doc,String(i)).toString();case xn.STYLE:return ii(i,"Style")?Xr(i):i;case xn.SCRIPT:if(ii(i,"Script"))return Xr(i);throw new G(5200,!1);case xn.URL:return ii(i,"URL")?Xr(i):cp(String(i));case xn.RESOURCE_URL:if(ii(i,"ResourceURL"))return Xr(i);throw new G(5201,!1);default:throw new G(5202,!1)}}bypassSecurityTrustHtml(a){return UU(a)}bypassSecurityTrustStyle(a){return WU(a)}bypassSecurityTrustScript(a){return ZU(a)}bypassSecurityTrustUrl(a){return YU(a)}bypassSecurityTrustResourceUrl(a){return KU(a)}};s(t,"ɵfac",function(a){return new(a||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bs=class{},OX=(()=>{const t=class t extends bs{getTranslation(n){return tt({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),J_=class{},MX=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Hl(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(!Hl(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!Hl(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 na(e){return typeof e<"u"&&e!==null}function ys(e){return fl(e)&&!Up(e)&&e!==null}function fl(e){return typeof e=="object"}function Up(e){return Array.isArray(e)}function Wp(e){return typeof e=="string"}function NX(e){return typeof e=="function"}function qd(e,t){let r=Object.assign({},e);return fl(e)?(fl(e)&&fl(t)&&Object.keys(t).forEach(n=>{ys(t[n])?n in e?r[n]=qd(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):qd({},t)}function $d(e,t){let r=t.split(".");t="";do t+=r.shift(),na(e)&&na(e[t])&&(ys(e[t])||Up(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0;while(r.length);return e}function AX(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]||!ys(a[o]))&&(a[o]={}),a=a[o])}}var Zp=class{},PX=(()=>{const t=class t extends Zp{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,i){if(Wp(a))return this.interpolateString(a,i);if(NX(a))return this.interpolateFunction(a,i)}interpolateFunction(a,i){return a(i)}interpolateString(a,i){return i?a.replace(this.templateMatcher,(o,l)=>{let u=$d(i,l);return na(u)?u:o}):a}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),_s=class{},LX=(()=>{const t=class t extends _s{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Gd=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new ot);s(this,"onLangChange",new ot);s(this,"onDefaultLangChange",new ot)}},e1=new K("ISOLATE_TRANSLATE_SERVICE"),t1=new K("USE_DEFAULT_LANG"),n1=new K("DEFAULT_LANGUAGE"),r1=new K("USE_EXTEND"),lo=e=>vi(e)?e:tt(e),Xn=(()=>{const t=class t{constructor(n,a,i,o,l,u=!0,c=!1,d=!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=u,this.extend=d,c&&(this.store=new Gd),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(tn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return tt(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return vi(a)?(a.pipe(tn(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),tt(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(qm(1),tn(1));return this.loadingTranslations=a.pipe(Pt(i=>this.compiler.compileTranslations(i,n)),qm(1),tn(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?ce(ce({},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]=qd(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($d(n,a),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation($d(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(Up(n))return n.map(i=>this.runInterpolation(i,a));if(ys(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 c of a)o[c]=this.getParsedResultForKey(n,c,i),l=l||vi(o[c]);if(!l)return o;let u=a.map(c=>lo(o[c]));return b0(u).pipe(Pt(c=>{let d={};return c.forEach((m,v)=>{d[a[v]]=m}),d}))}return this.getParsedResultForKey(n,a,i)}get(n,a){if(!na(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(_0(i=>lo(this.getParsedResult(i,n,a)))):lo(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!na(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Mo(xl(()=>this.get(n,a)),this.onTranslationChange.pipe(El(i=>{let o=this.getParsedResult(i.translations,n,a);return lo(o)})))}stream(n,a){if(!na(n)||!n.length)throw new Error('Parameter "key" required');return Mo(xl(()=>this.get(n,a)),this.onLangChange.pipe(El(i=>{let o=this.getParsedResult(i.translations,n,a);return lo(o)})))}instant(n,a){if(!na(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 vi(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,a,i=this.currentLang){AX(this.translations[i],n,Wp(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)(oe(Gd),oe(bs),oe(_s),oe(Zp),oe(J_),oe(t1),oe(e1),oe(r1),oe(n1))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$r=(()=>{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);vi(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Hl(n,this.lastKey)&&Hl(a,this.lastParams))return this.value;let i;if(na(a[0])&&a.length)if(Wp(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 ys(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)(Zt(Xn,16),Zt(br,16))}),s(t,"ɵpipe",vr({name:"translate",type:t,pure:!1})),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),FX=(e={})=>Lh([e.loader||{provide:bs,useClass:OX},e.compiler||{provide:_s,useClass:LX},e.parser||{provide:Zp,useClass:PX},e.missingTranslationHandler||{provide:J_,useClass:MX},Gd,{provide:e1,useValue:e.isolate},{provide:t1,useValue:e.useDefaultLang},{provide:r1,useValue:e.extend},{provide:n1,useValue:e.defaultLanguage},Xn]);function a1(e){return e.buttons===0||e.detail===0}function i1(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 Sc;function jX(){if(Sc==null){let e=typeof document<"u"?document.head:null;Sc=!!(e&&(e.createShadowRoot||e.attachShadow))}return Sc}function VX(e){if(jX()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function kc(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function jr(e){return e.composedPath?e.composedPath()[0]:e.target}function ra(e,t,r,n,a){let i=parseInt(Lf.major),o=parseInt(Lf.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 Ud;try{Ud=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ud=!1}var pn=(()=>{const t=class t{constructor(){s(this,"_platformId",S(Eu));s(this,"isBrowser",this._platformId?MQ(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||Ud)&&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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),uo;function zX(){if(uo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>uo=!0}))}finally{uo=uo||!1}return uo}function Yp(e){return zX()?e:!!e.capture}function og(e,t=0){return o1(e)?Number(e):arguments.length===2?t:0}function o1(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function xi(e){return e instanceof Xe?e.nativeElement:e}var BX=new K("cdk-input-modality-detector-options"),HX={ignoreKeys:[18,17,224,91,16]},s1=650,Cc={passive:!0,capture:!0},qX=(()=>{const t=class t{constructor(){s(this,"_platform",S(pn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new Aa(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=jr(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<s1||(this._modality.next(a1(n)?"keyboard":"mouse"),this._mostRecentTarget=jr(n))});s(this,"_onTouchstart",n=>{if(i1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=jr(n)});let n=S(He),a=S(Ve),i=S(BX,{optional:!0});if(this._options=ce(ce({},HX),i),this.modalityDetected=this._modality.pipe(E0(1)),this.modalityChanged=this.modalityDetected.pipe(F6()),this._platform.isBrowser){let o=S(Kn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[ra(o,a,"keydown",this._onKeydown,Cc),ra(o,a,"mousedown",this._onMousedown,Cc),ra(o,a,"touchstart",this._onTouchstart,Cc)])}}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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),gl=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(gl||{}),$X=new K("cdk-focus-monitor-default-options"),qs=Yp({passive:!0,capture:!0}),ju=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(He));s(this,"_platform",S(pn));s(this,"_inputModalityDetector",S(qX));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",S(Ve,{optional:!0}));s(this,"_stopInputModalityDetector",new ve);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=jr(n);for(let i=a;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=S($X,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||gl.IMMEDIATE}monitor(n,a=!1){let i=xi(n);if(!this._platform.isBrowser||i.nodeType!==1)return tt();let o=VX(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return a&&(l.checkChildren=!0),l.subject;let u={checkChildren:a,subject:new ve,rootNode:o};return this._elementInfo.set(i,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let a=xi(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=xi(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,a,c)):(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===gl.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===gl.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?s1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,a){let i=this._elementInfo.get(a),o=jr(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,qs),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,qs)}),this._rootNodeFocusListenerCount.set(a,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oa(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,qs),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qs),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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$s=new WeakMap,ga=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",S(ht));s(this,"_environmentInjector",S(cr))}load(n){let a=this._appRef=this._appRef||this._injector.get(ca),i=$s.get(a);i||(i={loaders:new Set,refs:[]},$s.set(a,i),a.onDestroy(()=>{var o;(o=$s.get(a))==null||o.refs.forEach(l=>l.destroy()),$s.delete(a)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(__(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),l1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
20
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function ql(e){return Array.isArray(e)?e:[e]}var sg=new Set,wa,GX=(()=>{const t=class t{constructor(){s(this,"_platform",S(pn));s(this,"_nonce",S(op,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):WX}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&UX(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function UX(e,t){if(!sg.has(e))try{wa||(wa=document.createElement("style"),t&&wa.setAttribute("nonce",t),wa.setAttribute("type","text/css"),document.head.appendChild(wa)),wa.sheet&&(wa.sheet.insertRule(`@media ${e} {body{ }}`,0),sg.add(e))}catch(r){console.error(r)}}function WX(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var u1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",S(GX));s(this,"_zone",S(He));s(this,"_queries",new Map);s(this,"_destroySubject",new ve)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return lg(ql(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=lg(ql(n)).map(o=>this._registerQuery(o).observable),i=il(a);return i=Mo(i.pipe(tn(1)),i.pipe(E0(1),L6(0))),i.pipe(Pt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),i={observable:new mt(o=>{let l=u=>this._zone.run(()=>o.next(u));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(du(a),Pt(({matches:o})=>({query:n,matches:o})),oa(this._destroySubject)),mql:a};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function lg(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var ZX=(()=>{const t=class t{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),YX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[ZX]}));let e=t;return e})(),c1=(()=>{const t=class t{constructor(){s(this,"_platform",S(pn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return QX(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=KX(iJ(n));if(a&&(ug(a)===-1||!this.isVisible(a)))return!1;let i=n.nodeName.toLowerCase(),o=ug(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!rJ(n)?!1:i==="audio"?n.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,a){return aJ(n)&&!this.isDisabled(n)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function KX(e){try{return e.frameElement}catch{return null}}function QX(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function XX(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function JX(e){return tJ(e)&&e.type=="hidden"}function eJ(e){return nJ(e)&&e.hasAttribute("href")}function tJ(e){return e.nodeName.toLowerCase()=="input"}function nJ(e){return e.nodeName.toLowerCase()=="a"}function d1(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function ug(e){if(!d1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function rJ(e){let t=e.nodeName.toLowerCase(),r=t==="input"&&e.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function aJ(e){return JX(e)?!1:XX(e)||eJ(e)||e.hasAttribute("contenteditable")||d1(e)}function iJ(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var oJ=class{constructor(e,t,r,n,a=!1,i){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=r,this._document=n,this._injector=i,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let r=this._getFirstTabbableElement(t);return r==null||r.focus(e),!!r}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let r=0;r<t.length;r++){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[r]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let r=t.length-1;r>=0;r--){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Su(e,{injector:this._injector}):setTimeout(e)}},sJ=(()=>{const t=class t{constructor(){s(this,"_checker",S(c1));s(this,"_ngZone",S(He));s(this,"_document",S(Ve));s(this,"_injector",S(ht));S(ga).load(l1)}create(n,a=!1){return new oJ(n,this._checker,this._ngZone,this._document,a,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),lJ=new K("liveAnnouncerElement",{providedIn:"root",factory:uJ});function uJ(){return null}var cJ=new K("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),dJ=0,hJ=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(He));s(this,"_defaultOptions",S(cJ,{optional:!0}));s(this,"_liveElement");s(this,"_document",S(Ve));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=S(lJ,{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(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.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-${dJ++}`,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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Da=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Da||{}),cg="cdk-high-contrast-black-on-white",dg="cdk-high-contrast-white-on-black",Dc="cdk-high-contrast-active",h1=(()=>{const t=class t{constructor(){s(this,"_platform",S(pn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",S(Ve));s(this,"_breakpointSubscription");this._breakpointSubscription=S(u1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Da.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let a=this._document.defaultView||window,i=a&&a.getComputedStyle?a.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Da.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Da.BLACK_ON_WHITE}return Da.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Dc,cg,dg),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===Da.BLACK_ON_WHITE?n.add(Dc,cg):a===Da.WHITE_ON_BLACK&&n.add(Dc,dg)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pJ=(()=>{const t=class t{constructor(){S(h1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[YX]}));let e=t;return e})(),Ic={},Qa=(()=>{const t=class t{constructor(){s(this,"_appId",S(xu))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Ic.hasOwnProperty(n)||(Ic[n]=0),`${n}${Ic[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Kp(e,...t){return t.length?t.some(r=>e[r]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var p1=" ";function mJ(e,t,r){let n=$l(e,t);r=r.trim(),!n.some(a=>a.trim()===r)&&(n.push(r),e.setAttribute(t,n.join(p1)))}function fJ(e,t,r){let n=$l(e,t);r=r.trim();let a=n.filter(i=>i!==r);a.length?e.setAttribute(t,a.join(p1)):e.removeAttribute(t)}function $l(e,t){var r;return((r=e.getAttribute(t))==null?void 0:r.match(/\S+/g))??[]}var m1="cdk-describedby-message",Gs="cdk-describedby-host",Wd=0,gJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(pn));s(this,"_document",S(Ve));s(this,"_messageRegistry",new Map);s(this,"_messagesContainer",null);s(this,"_id",`${Wd++}`);S(ga).load(l1),this._id=S(xu)+"-"+Wd++}describe(n,a,i){if(!this._canBeDescribed(n,a))return;let o=Tc(a,i);typeof a!="string"?(hg(a,this._id),this._messageRegistry.set(o,{messageElement:a,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(a,i),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o)}removeDescription(n,a,i){var l;if(!a||!this._isElementNode(n))return;let o=Tc(a,i);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),typeof a=="string"){let u=this._messageRegistry.get(o);u&&u.referenceCount===0&&this._deleteMessageElement(o)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var a;let n=this._document.querySelectorAll(`[${Gs}="${this._id}"]`);for(let i=0;i<n.length;i++)this._removeCdkDescribedByReferenceIds(n[i]),n[i].removeAttribute(Gs);(a=this._messagesContainer)==null||a.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,a){let i=this._document.createElement("div");hg(i,this._id),i.textContent=n,a&&i.setAttribute("role",a),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(Tc(n,a),{messageElement:i,referenceCount:0})}_deleteMessageElement(n){var a,i;(i=(a=this._messageRegistry.get(n))==null?void 0:a.messageElement)==null||i.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",a=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let o=0;o<a.length;o++)a[o].remove();let i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(n),i.classList.add("cdk-visually-hidden"),this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(n){let a=$l(n,"aria-describedby").filter(i=>i.indexOf(m1)!=0);n.setAttribute("aria-describedby",a.join(" "))}_addMessageReference(n,a){let i=this._messageRegistry.get(a);mJ(n,"aria-describedby",i.messageElement.id),n.setAttribute(Gs,this._id),i.referenceCount++}_removeMessageReference(n,a){let i=this._messageRegistry.get(a);i.referenceCount--,fJ(n,"aria-describedby",i.messageElement.id),n.removeAttribute(Gs)}_isElementDescribedByMessage(n,a){let i=$l(n,"aria-describedby"),o=this._messageRegistry.get(a),l=o&&o.messageElement.id;return!!l&&i.indexOf(l)!=-1}_canBeDescribed(n,a){if(!this._isElementNode(n))return!1;if(a&&typeof a=="object")return!0;let i=a==null?"":`${a}`.trim(),o=n.getAttribute("aria-label");return i?!o||o.trim()!==i:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Tc(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function hg(e,t){e.id||(e.id=`${m1}-${t}-${Wd++}`)}var vJ=new K("cdk-dir-doc",{providedIn:"root",factory:bJ});function bJ(){return S(Ve)}var yJ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function _J(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?yJ.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Ho=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new ot);let n=S(vJ,{optional:!0});if(n){let a=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=_J(a||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qo=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),mr=(()=>{const t=class t{constructor(){S(h1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[qo,qo]}));let e=t;return e})(),Zd=new K("MAT_DATE_LOCALE",{providedIn:"root",factory:wJ});function wJ(){return S(Au)}var ri="Method not implemented",f1=class{constructor(){s(this,"locale");s(this,"_localeChanges",new ve);s(this,"localeChanges",this._localeChanges)}setTime(e,t,r,n){throw new Error(ri)}getHours(e){throw new Error(ri)}getMinutes(e){throw new Error(ri)}getSeconds(e){throw new Error(ri)}parseTime(e,t){throw new Error(ri)}addSeconds(e,t){throw new Error(ri)}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}},xJ=new K("mat-date-formats"),Qp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({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}}
21
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ar=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(ar||{}),Us,xa;function g1(){if(xa==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return xa=!1,xa;if("scrollBehavior"in document.documentElement.style)xa=!0;else{let e=Element.prototype.scrollTo;e?xa=!/\{\s*\[native code\]\s*\}/.test(e.toString()):xa=!1}}return xa}function co(){if(typeof document!="object"||!document)return ar.NORMAL;if(Us==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",e.appendChild(r),document.body.appendChild(e),Us=ar.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Us=e.scrollLeft===0?ar.NEGATED:ar.INVERTED),e.remove()}return Us}function pg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Tt(e){return e==null?"":typeof e=="string"?e:`${e}px`}var Mn=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}(Mn||{}),EJ=class{constructor(e,t,r,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",Mn.HIDDEN);this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},mg=Yp({passive:!0,capture:!0}),SJ=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var r;let t=jr(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,mg)})}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,mg)))}},Gl={enterDuration:225,exitDuration:150},kJ=800,fg=Yp({passive:!0,capture:!0}),gg=["mousedown","touchstart"],vg=["mouseup","mouseleave","touchend","touchcancel"],CJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({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}
22
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),aa,DJ=(aa=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=xi(n)),i&&i.get(ga).load(CJ)}fadeInRipple(t,r,n={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=ce(ce({},Gl),n.animation);n.centered&&(t=a.left+a.width/2,r=a.top+a.height/2);let o=n.radius||IJ(t,r,a),l=t-a.left,u=r-a.top,c=i.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${l-o}px`,d.style.top=`${u-o}px`,d.style.height=`${o*2}px`,d.style.width=`${o*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let m=window.getComputedStyle(d),v=m.transitionProperty,g=m.transitionDuration,w=v==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,x=new EJ(this,d,n,w);d.style.transform="scale3d(1, 1, 1)",x.state=Mn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let k=null;return!w&&(c||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{k&&(k.fallbackTimer=null),clearTimeout(M),this._finishRippleTransition(x)},O=()=>this._destroyRipple(x),M=setTimeout(O,c+100);d.addEventListener("transitionend",D),d.addEventListener("transitioncancel",O),k={onTransitionEnd:D,onTransitionCancel:O,fallbackTimer:M}}),this._activeRipples.set(x,k),(w||!c)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===Mn.FADING_OUT||t.state===Mn.HIDDEN)return;let r=t.element,n=ce(ce({},Gl),t.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",t.state=Mn.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=xi(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,gg.forEach(n=>{aa._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(()=>{vg.forEach(r=>{this._triggerElement.addEventListener(r,this,fg)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Mn.FADING_IN?this._startFadeOutTransition(t):t.state===Mn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=Mn.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=Mn.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=a1(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+kJ;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!i1(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===Mn.VISIBLE||t.config.terminateOnPointerUp&&t.state===Mn.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(gg.forEach(r=>aa._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(vg.forEach(r=>t.removeEventListener(r,this,fg)),this._pointerUpEventsRegistered=!1))}},s(aa,"_eventManager",new SJ),aa);function IJ(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 TJ=new K("mat-ripple-global-options"),RJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[mr,mr]}));let e=t;return e})(),OJ={capture:!0},MJ=["focus","mousedown","mouseenter","touchstart"],Rc="mat-ripple-loader-uninitialized",Oc="mat-ripple-loader-class-name",bg="mat-ripple-loader-centered",Ws="mat-ripple-loader-disabled",NJ=(()=>{const t=class t{constructor(){s(this,"_document",S(Ve));s(this,"_animationMode",S(fa,{optional:!0}));s(this,"_globalRippleOptions",S(TJ,{optional:!0}));s(this,"_platform",S(pn));s(this,"_ngZone",S(He));s(this,"_injector",S(ht));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var i;let a=jr(n);if(a instanceof HTMLElement){let o=a.closest(`[${Rc}="${((i=this._globalRippleOptions)==null?void 0:i.namespace)??""}"]`);o&&this._createRipple(o)}});let n=S(Kn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>MJ.map(a=>ra(n,this._document,a,this._onInteraction,OJ)))}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(Rc,((i=this._globalRippleOptions)==null?void 0:i.namespace)??""),(a.className||!n.hasAttribute(Oc))&&n.setAttribute(Oc,a.className||""),a.centered&&n.setAttribute(bg,""),a.disabled&&n.setAttribute(Ws,"")}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(Ws,""):n.removeAttribute(Ws)}_createRipple(n){var v,g,w;if(!this._document||this._hosts.has(n))return;(v=n.querySelector(".mat-ripple"))==null||v.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",n.getAttribute(Oc)),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)??Gl.enterDuration,u=i?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??Gl.exitDuration,c={rippleDisabled:i||(o==null?void 0:o.disabled)||n.hasAttribute(Ws),rippleConfig:{centered:n.hasAttribute(bg),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:u}}},d=new DJ(c,this._ngZone,a,this._platform,this._injector),m=!c.rippleDisabled;m&&d.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:d,hasSetUpEvents:m}),n.removeAttribute(Rc)}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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),AJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,PJ=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Mc(e,t){let r=Array(e);for(let n=0;n<e;n++)r[n]=t(n);return r}var LJ=(()=>{const t=class t extends f1{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",S(Zd,{optional:!0}));let a=S(Zd,{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 Mc(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Mc(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 Mc(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,Qt(ce({},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(AJ.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 u=this.clone(a);return u.setHours(i,o,l,0),u}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 u=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();u.length>0&&(l=this._parseTimeString(u))}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(PJ);if(i){let o=parseInt(i[1]),l=parseInt(i[2]),u=i[3]==null?void 0:parseInt(i[3]),c=i[4];if(o===12?o=c==="AM"?0:o:c==="PM"&&(o+=12),Nc(o,0,23)&&Nc(l,0,59)&&(u==null||Nc(u,0,59)))return this.setTime(this.today(),o,l,u||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Nc(e,t,r){return!isNaN(e)&&e>=t&&e<=r}var Xp=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}},$o=class extends Xp{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}},Vu=class extends Xp{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()}},FJ=class extends Xp{constructor(t){super();s(this,"element");this.element=t instanceof Xe?t.nativeElement:t}},zu=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 $o)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Vu)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof FJ)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)}},jJ=class extends zu{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(jo,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||ht.NULL,i=a.get(cr,n.injector);r=__(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]}},Fi=(()=>{const t=class t extends zu{constructor(){super();s(this,"_moduleRef",S(jo,{optional:!0}));s(this,"_document",S(Ve));s(this,"_viewContainerRef",S(jn));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new ot);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",be({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ye]}));let e=t;return e})(),Go=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),VJ=class{};function Ac(e){return e&&typeof e.connect=="function"&&!(e instanceof X$)}var ko=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(ko||{}),Yd=new K("_ViewRepeater"),zJ=20,v1=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(He));s(this,"_platform",S(pn));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new ve);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=zJ){return this._platform.isBrowser?new mt(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=n>0?this._scrolled.pipe(y0(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)}}):tt()}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(Sn(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=xi(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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),BJ=(()=>{const t=class t{constructor(){s(this,"elementRef",S(Xe));s(this,"scrollDispatcher",S(v1));s(this,"ngZone",S(He));s(this,"dir",S(Ho,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new ve);s(this,"_renderer",S(Ka));s(this,"_cleanupScroll");s(this,"_elementScrolled",new ve)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",n=>this._elementScrolled.next(n))),this.scrollDispatcher.register(this)}ngOnDestroy(){var n;(n=this._cleanupScroll)==null||n.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let a=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=i?n.end:n.start),n.right==null&&(n.right=i?n.start:n.end),n.bottom!=null&&(n.top=a.scrollHeight-a.clientHeight-n.bottom),i&&co()!=ar.NORMAL?(n.left!=null&&(n.right=a.scrollWidth-a.clientWidth-n.left),co()==ar.INVERTED?n.left=n.right:co()==ar.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=a.scrollWidth-a.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let a=this.elementRef.nativeElement;g1()?a.scrollTo(n):(n.top!=null&&(a.scrollTop=n.top),n.left!=null&&(a.scrollLeft=n.left))}measureScrollOffset(n){let a="left",i="right",o=this.elementRef.nativeElement;if(n=="top")return o.scrollTop;if(n=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let l=this.dir&&this.dir.value=="rtl";return n=="start"?n=l?i:a:n=="end"&&(n=l?a:i),l&&co()==ar.INVERTED?n==a?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&co()==ar.NEGATED?n==a?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==a?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),HJ=20,Jp=(()=>{const t=class t{constructor(){s(this,"_platform",S(pn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new ve);s(this,"_document",S(Ve,{optional:!0}));let n=S(He),a=S(Kn).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,u=-o.left||n.body.scrollLeft||a.scrollX||i.scrollLeft||0;return{top:l,left:u}}change(n=HJ){return n>0?this._change.pipe(y0(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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),yg=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),Kd=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[qo,yg,qo,yg]}));let e=t;return e})(),_g=g1(),qJ=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=Tt(-this._previousScrollPosition.left),e.style.top=Tt(-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"),_g&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_g&&(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}},$J=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(Sn(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}},b1=class{enable(){}disable(){}attach(){}};function Qd(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 wg(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 GJ=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();Qd(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}},UJ=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",S(v1));s(this,"_viewportRuler",S(Jp));s(this,"_ngZone",S(He));s(this,"_document",S(Ve));s(this,"noop",()=>new b1);s(this,"close",n=>new $J(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new qJ(this._viewportRuler,this._document));s(this,"reposition",n=>new GJ(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),em=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new b1);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])}}},WJ=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},y1=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",S(Ve));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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ZJ=(()=>{const t=class t extends y1{constructor(){super(...arguments);s(this,"_ngZone",S(He));s(this,"_renderer",S(Kn).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=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),YJ=(()=>{const t=class t extends y1{constructor(){super(...arguments);s(this,"_platform",S(pn));s(this,"_ngZone",S(He));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=jr(a)});s(this,"_clickListener",a=>{let i=jr(a),o=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){let c=l[u];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(xg(c.overlayElement,i)||xg(c.overlayElement,o))break;let d=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(a)):d.next(a)}})}add(a){if(super.add(a),!this._isAttached){let i=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[ra(this._renderer,i,"pointerdown",this._pointerDownListener,o),ra(this._renderer,i,"click",this._clickListener,o),ra(this._renderer,i,"auxclick",this._clickListener,o),ra(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=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xg(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 _1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({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}
23
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),tm=(()=>{const t=class t{constructor(){s(this,"_platform",S(pn));s(this,"_containerElement");s(this,"_document",S(Ve));s(this,"_styleLoader",S(ga))}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||pg()){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),pg()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(_1)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),KJ=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")})}},nm=class{constructor(e,t,r,n,a,i,o,l,u,c=!1,d,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 ve);s(this,"_attachments",new ve);s(this,"_detachments",new ve);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",Kt.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new ve);s(this,"_outsidePointerEvents",new ve);s(this,"_renders",new ve);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=u,this._animationsDisabled=c,this._injector=d,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=jd(()=>Ub(()=>{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=Su(()=>{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=ce(ce({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Qt(ce({},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=Tt(this._config.width),e.height=Tt(this._config.height),e.minWidth=Tt(this._config.minWidth),e.minHeight=Tt(this._config.minHeight),e.maxWidth=Tt(this._config.maxWidth),e.maxHeight=Tt(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 KJ(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=ql(t||[]).filter(a=>!!a);n.length&&(r?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(oa(La(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)}},Eg="cdk-overlay-connected-position-bounding-box",QJ=/([A-Za-z%]+)$/,XJ=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 ve);s(this,"_resizeSubscription",Kt.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(Eg),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),u=this._getOverlayPoint(l,t,o),c=this._getOverlayFit(u,t,r,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(c,u,r)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!i||i.overlayFit.visibleArea<c.visibleArea)&&(i={overlayFit:c,overlayPoint:u,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let u of a){let c=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);c>l&&(l=c,o=u)}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&&Ea(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Eg),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=kg(t),{x:i,y:o}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(i+=l),u&&(o+=u);let c=0-i,d=i+a.width-r.width,m=0-o,v=o+a.height-r.height,g=this._subtractOverflows(a.width,c,d),w=this._subtractOverflows(a.height,m,v),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=Sg(this._overlayRef.getConfig().minHeight),o=Sg(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||i!=null&&i<=n,u=e.fitsInViewportHorizontally||o!=null&&o<=a;return l&&u}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=kg(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),u=Math.max(a.left-r.left-e.x,0),c=0,d=0;return n.width<=a.width?c=u||-i:c=e.x<this._viewportMargin?a.left-r.left-e.x:0,n.height<=a.height?d=l||-o:d=e.y<this._viewportMargin?a.top-r.top-e.y:0,this._previousPushAmount={x:c,y:d},{x:e.x+c,y:e.y+d}}_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||!JJ(this._lastScrollVisibility,r)){let n=new WJ(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 v=Math.min(r.bottom-e.y+r.top,e.y),g=this._lastBoundingBoxSize.height;a=v*2,i=e.y-v,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,u=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,c,d,m;if(u)m=r.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)d=e.x,c=r.right-e.x;else{let v=Math.min(r.right-e.x+r.left,e.x),g=this._lastBoundingBoxSize.width;c=v*2,d=e.x-v,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-g/2)}return{top:i,left:d,bottom:o,right:m,width:c,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=Tt(r.height),n.top=Tt(r.top),n.bottom=Tt(r.bottom),n.width=Tt(r.width),n.left=Tt(r.left),n.right=Tt(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=Tt(a)),i&&(n.maxWidth=Tt(i))}this._lastBoundingBoxSize=r,Ea(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Ea(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ea(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 c=this._viewportRuler.getViewportScrollPosition();Ea(r,this._getExactOverlayY(t,e,c)),Ea(r,this._getExactOverlayX(t,e,c))}else r.position="static";let o="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),u&&(o+=`translateY(${u}px)`),r.transform=o.trim(),i.maxHeight&&(n?r.maxHeight=Tt(i.maxHeight):a&&(r.maxHeight="")),i.maxWidth&&(n?r.maxWidth=Tt(i.maxWidth):a&&(r.maxWidth="")),Ea(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=Tt(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=Tt(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:wg(e,r),isOriginOutsideView:Qd(e,r),isOverlayClipped:wg(t,r),isOverlayOutsideView:Qd(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&&ql(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 Xe)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 Ea(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function Sg(e){if(typeof e!="number"&&e!=null){let[t,r]=e.split(QJ);return!r||r==="px"?parseFloat(t):null}return e||null}function kg(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 JJ(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Cg="cdk-global-overlay-wrapper",eee=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(Cg),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"),u=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),c=this._xPosition,d=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",v="",g="",w="";l?w="flex-start":c==="center"?(w="center",m?g=d:v=d):m?c==="left"||c==="end"?(w="flex-end",v=d):(c==="right"||c==="start")&&(w="flex-start",g=d):c==="left"||c==="start"?(w="flex-start",v=d):(c==="right"||c==="end")&&(w="flex-end",g=d),e.position=this._cssPosition,e.marginLeft=l?"0":v,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=u?"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(Cg),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},tee=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",S(Jp));s(this,"_document",S(Ve));s(this,"_platform",S(pn));s(this,"_overlayContainer",S(tm))}global(){return new eee}flexibleConnectedTo(n){return new XJ(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),va=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",S(UJ));s(this,"_overlayContainer",S(tm));s(this,"_positionBuilder",S(tee));s(this,"_keyboardDispatcher",S(ZJ));s(this,"_injector",S(ht));s(this,"_ngZone",S(He));s(this,"_document",S(Ve));s(this,"_directionality",S(Ho));s(this,"_location",S(S_));s(this,"_outsideClickDispatcher",S(YJ));s(this,"_animationsModuleType",S(fa,{optional:!0}));s(this,"_idGenerator",S(Qa));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",S(ga))}create(n){this._styleLoader.load(_1);let a=this._createHostElement(),i=this._createPaneElement(a),o=this._createPortalOutlet(i),l=new em(n);return l.direction=l.direction||this._directionality.value,new nm(o,a,i,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(cr),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(ca)),new jJ(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),nee=new K("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(va);return()=>e.scrollStrategies.reposition()}});function ree(e){return()=>e.scrollStrategies.reposition()}var aee={provide:nee,deps:[va],useFactory:ree},w1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[va,aee],imports:[qo,Go,Kd,Kd]}));let e=t;return e})();function iee(e,t){}var Uo=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"positionStrategy");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"closeOnDestroy",!0);s(this,"closeOnOverlayDetachments",!0);s(this,"componentFactoryResolver");s(this,"providers");s(this,"container");s(this,"templateContext")}},x1=(()=>{const t=class t extends zu{constructor(){super();s(this,"_elementRef",S(Xe));s(this,"_focusTrapFactory",S(sJ));s(this,"_config");s(this,"_interactivityChecker",S(c1));s(this,"_ngZone",S(He));s(this,"_overlayRef",S(nm));s(this,"_focusMonitor",S(ju));s(this,"_renderer",S(Ka));s(this,"_changeDetectorRef",S(br));s(this,"_injector",S(ht));s(this,"_platform",S(pn));s(this,"_document",S(Ve,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new ve);s(this,"_focusTrap",null);s(this,"_elementFocusedBeforeDialogWasOpened",null);s(this,"_closeInteractionType",null);s(this,"_ariaLabelledByQueue",[]);s(this,"_isDestroyed",!1);s(this,"attachDomPortal",a=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(a);return this._contentAttached(),i});this._config=S(Uo,{optional:!0})||new Uo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(a){this._ariaLabelledByQueue.push(a),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(a){let i=this._ariaLabelledByQueue.indexOf(a);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(a){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(a);return this._contentAttached(),i}attachTemplatePortal(a){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(a);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(a,i){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),u(),a.removeAttribute("tabindex")},l=this._renderer.listen(a,"blur",o),u=this._renderer.listen(a,"mousedown",o)})),a.focus(i)}_focusByCssSelector(a,i){let o=this._elementRef.nativeElement.querySelector(a);o&&this._forceFocus(o,i)}_trapFocus(a){this._isDestroyed||Su(()=>{var o;let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(a);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(a)||this._focusDialogContainer(a);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',a);break;default:this._focusByCssSelector(this._config.autoFocus,a);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let a=this._config.restoreFocus,i=null;if(typeof a=="string"?i=this._document.querySelector(a):typeof a=="boolean"?i=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(i=a),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=kc(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(a){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(a)}_containsFocus(){let a=this._elementRef.nativeElement,i=kc();return a===i||a.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=kc()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(a,i){if(a&1&&Pi(Fi,7),a&2){let o;un(o=cn())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,i){a&2&&$t("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[Ye],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a,i){a&1&&he(0,iee,0,0,"ng-template",0)},dependencies:[Fi],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
24
+ `],encapsulation:2}));let e=t;return e})(),Pc=class{constructor(e,t){s(this,"overlayRef");s(this,"config");s(this,"componentInstance");s(this,"componentRef");s(this,"containerInstance");s(this,"disableClose");s(this,"closed",new ve);s(this,"backdropClick");s(this,"keydownEvents");s(this,"outsidePointerEvents");s(this,"id");s(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Kp(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let r=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(e),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},oee=new K("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=S(va);return()=>e.scrollStrategies.block()}}),see=new K("DialogData"),lee=new K("DefaultDialogConfig"),E1=(()=>{const t=class t{constructor(){s(this,"_overlay",S(va));s(this,"_injector",S(ht));s(this,"_defaultOptions",S(lee,{optional:!0}));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",S(tm));s(this,"_idGenerator",S(Qa));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new ve);s(this,"_afterOpenedAtThisLevel",new ve);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",S(oee));s(this,"afterAllClosed",xl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(du(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(n,a){let i=this._defaultOptions||new Uo;a=ce(ce({},i),a),a.id=a.id||this._idGenerator.getId("cdk-dialog-"),a.id&&this.getDialogById(a.id);let o=this._getOverlayConfig(a),l=this._overlay.create(o),u=new Pc(l,a),c=this._attachContainer(l,u,a);if(u.containerInstance=c,!this.openDialogs.length){let d=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(tn(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(d)}):this._hideNonDialogContentFromAssistiveTechnology(d)}return this._attachDialogContent(n,u,c,a),this.openDialogs.push(u),u.closed.subscribe(()=>this._removeOpenDialog(u,!0)),this.afterOpened.next(u),u}closeAll(){Lc(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){Lc(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),Lc(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let a=new em({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(a.backdropClass=n.backdropClass),a}_attachContainer(n,a,i){var d;let o=i.injector||((d=i.viewContainerRef)==null?void 0:d.injector),l=[{provide:Uo,useValue:i},{provide:Pc,useValue:a},{provide:nm,useValue:n}],u;i.container?typeof i.container=="function"?u=i.container:(u=i.container.type,l.push(...i.container.providers(i))):u=x1;let c=new $o(u,i.viewContainerRef,ht.create({parent:o||this._injector,providers:l}));return n.attach(c).instance}_attachDialogContent(n,a,i,o){if(n instanceof an){let l=this._createInjector(o,a,i,void 0),u={$implicit:o.data,dialogRef:a};o.templateContext&&(u=ce(ce({},u),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new Vu(n,null,u,l))}else{let l=this._createInjector(o,a,i,this._injector),u=i.attachComponentPortal(new $o(n,o.viewContainerRef,l));a.componentRef=u,a.componentInstance=u.instance}}_createInjector(n,a,i,o){var c;let l=n.injector||((c=n.viewContainerRef)==null?void 0:c.injector),u=[{provide:see,useValue:n.data},{provide:Pc,useValue:a}];return n.providers&&(typeof n.providers=="function"?u.push(...n.providers(a,n,i)):u.push(...n.providers)),n.direction&&(!l||!l.get(Ho,null,{optional:!0}))&&u.push({provide:Ho,useValue:{value:n.direction,change:tt()}}),ht.create({parent:l||o,providers:u})}_removeOpenDialog(n,a){let i=this.openDialogs.indexOf(n);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),a&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let a=n.parentElement.children;for(let i=a.length-1;i>-1;i--){let o=a[i];o!==n&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Lc(e,t){let r=e.length;for(;r--;)t(e[r])}var uee=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[E1],imports:[w1,Go,pJ,Go]}));let e=t;return e})();function cee(e,t){}var Dg=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"position");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"delayFocusTrap",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"componentFactoryResolver");s(this,"enterAnimationDuration");s(this,"exitAnimationDuration")}},Fc="mdc-dialog--open",Ig="mdc-dialog--opening",Tg="mdc-dialog--closing",dee=150,hee=75,pee=(()=>{const t=class t extends x1{constructor(){super(...arguments);s(this,"_animationMode",S(fa,{optional:!0}));s(this,"_animationStateChanged",new ot);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?Og(this._config.enterAnimationDuration)??dee:0);s(this,"_exitAnimationDuration",this._animationsEnabled?Og(this._config.exitAnimationDuration)??hee:0);s(this,"_animationTimer",null);s(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});s(this,"_finishDialogClose",()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})})}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Rg,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ig,Fc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Fc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Fc),this._animationsEnabled?(this._hostElement.style.setProperty(Rg,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Tg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(a){this._actionSectionCount+=a,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Ig,Tg)}_waitForAnimationToComplete(a,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,a)}_requestAnimationFrame(a){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(a):a()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(a){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:a})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(a){let i=super.attachComponentPortal(a);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=nt(t)))(i||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,i){a&2&&(Mp("id",i._config.id),$t("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),jt("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},features:[Ye],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a,i){a&1&&(j(0,"div",0)(1,"div",1),he(2,cee,0,0,"ng-template",2),V()())},dependencies:[Fi],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
25
+ `],encapsulation:2}));let e=t;return e})(),Rg="--mat-dialog-transition-duration";function Og(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?og(e.substring(0,e.length-2)):e.endsWith("s")?og(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var vl=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(vl||{}),rm=class{constructor(e,t,r){s(this,"_ref");s(this,"_containerInstance");s(this,"componentInstance");s(this,"componentRef");s(this,"disableClose");s(this,"id");s(this,"_afterOpened",new ve);s(this,"_beforeClosed",new ve);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",vl.OPEN);s(this,"_closeInteractionType");this._ref=e,this._containerInstance=r,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(Sn(n=>n.state==="opened"),tn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Sn(n=>n.state==="closed"),tn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),La(this.backdropClick(),this.keydownEvents().pipe(Sn(n=>n.keyCode===27&&!this.disableClose&&!Kp(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),S1(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Sn(t=>t.state==="closing"),tn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=vl.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=vl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function S1(e,t,r){return e._closeInteractionType=t,e.close(r)}var k1=new K("MatMdcDialogData"),C1=new K("mat-mdc-dialog-default-options"),mee=new K("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(va);return()=>e.scrollStrategies.block()}}),Bu=(()=>{const t=class t{constructor(){s(this,"_overlay",S(va));s(this,"_defaultOptions",S(C1,{optional:!0}));s(this,"_scrollStrategy",S(mee));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",S(Qa));s(this,"_dialog",S(E1));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new ve);s(this,"_afterOpenedAtThisLevel",new ve);s(this,"dialogConfigClass",Dg);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",xl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(du(void 0))));this._dialogRefConstructor=rm,this._dialogContainerType=pee,this._dialogDataToken=k1}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(n,a){let i;a=ce(ce({},this._defaultOptions||new Dg),a),a.id=a.id||this._idGenerator.getId("mat-mdc-dialog-"),a.scrollStrategy=a.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,Qt(ce({},a),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:a},{provide:Uo,useValue:a}]},templateContext:()=>({dialogRef:i}),providers:(l,u,c)=>(i=new this._dialogRefConstructor(l,a,c),i.updatePosition(a==null?void 0:a.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:u.data},{provide:this._dialogRefConstructor,useValue:i}])}));return i.componentRef=o.componentRef,i.componentInstance=o.componentInstance,this.openDialogs.push(i),this.afterOpened.next(i),i.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(i);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let a=n.length;for(;a--;)n[a].close()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),D1=(()=>{const t=class t{constructor(){s(this,"dialogRef",S(rm,{optional:!0}));s(this,"_elementRef",S(Xe));s(this,"_dialog",S(Bu));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=M1(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let a=n._matDialogClose||n._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}_onButtonClick(n){S1(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,a){n&1&&hn("click",function(i){return a._onButtonClick(i)}),n&2&&$t("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ha]}));let e=t;return e})(),I1=(()=>{const t=class t{constructor(){s(this,"_dialogRef",S(rm,{optional:!0}));s(this,"_elementRef",S(Xe));s(this,"_dialog",S(Bu))}ngOnInit(){this._dialogRef||(this._dialogRef=M1(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var n;(n=this._dialogRef)!=null&&n._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t}));let e=t;return e})(),T1=(()=>{const t=class t extends I1{constructor(){super(...arguments);s(this,"id",S(Qa).getId("mat-mdc-dialog-title-"))}_onAdd(){var a,i;(i=(a=this._dialogRef._containerInstance)==null?void 0:a._addAriaLabelledBy)==null||i.call(a,this.id)}_onRemove(){var a,i,o;(o=(i=(a=this._dialogRef)==null?void 0:a._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||o.call(i,this.id)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,i){a&2&&Mp("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ye]}));let e=t;return e})(),R1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[BZ([BJ])]}));let e=t;return e})(),O1=(()=>{const t=class t extends I1{constructor(){super(...arguments);s(this,"align")}_onAdd(){var a,i;(i=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||i.call(a,1)}_onRemove(){var a,i;(i=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||i.call(a,-1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(a,i){a&2&&jt("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end")},inputs:{align:"align"},features:[Ye]}));let e=t;return e})();function M1(e,t){let r=e.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(n=>n.id===r.id):null}var N1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[Bu],imports:[uee,w1,Go,mr,mr]}));let e=t;return e})(),A1=(()=>{const t=class t{constructor(){s(this,"_listeners",[])}notify(n,a){for(let i of this._listeners)i(n,a)}listen(n){return this._listeners.push(n),()=>{this._listeners=this._listeners.filter(a=>n!==a)}}ngOnDestroy(){this._listeners=[]}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),P1=class{applyChanges(e,t,r,n,a){e.forEachOperation((i,o,l)=>{let u,c;if(i.previousIndex==null){let d=r(i,o,l);u=t.createEmbeddedView(d.templateRef,d.context,d.index),c=ko.INSERTED}else l==null?(t.remove(o),c=ko.REMOVED):(u=t.get(o),t.move(u,l),c=ko.MOVED);a&&a({context:u==null?void 0:u.context,operation:c,record:i})})}detach(){}},fee=new K("MAT_BUTTON_CONFIG"),gee=[{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"]}],L1=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(Xe));s(this,"_ngZone",S(He));s(this,"_animationMode",S(fa,{optional:!0}));s(this,"_focusMonitor",S(ju));s(this,"_rippleLoader",S(NJ));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;S(ga).load(Qp);let n=S(fee,{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:u}of gee)a.hasAttribute(l)&&i.add(...u)}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",be({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Lt],disabled:[2,"disabled","disabled",Lt],ariaDisabled:[2,"aria-disabled","ariaDisabled",Lt],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Lt]}}));let e=t;return e})(),vee=(()=>{const t=class t extends L1{constructor(){super(...arguments);s(this,"_renderer",S(Ka));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=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:Lp(a)]},features:[Ye]}));let e=t;return e})(),F1=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],j1=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],bee=`.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)}
26
+ `,yee=`@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}}
27
+ `,ws=(()=>{const t=class t extends L1{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵcmp",Ae({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&&($t("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),Mu(a.color?"mat-"+a.color:""),jt("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:[Ye],ngContentSelectors:j1,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&&(Vn(F1),Qe(0,"span",0),pt(1),j(2,"span",1),pt(3,1),V(),pt(4,2),Qe(5,"span",2)(6,"span",3)),n&2&&jt("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)}
28
+ `,`@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}}
29
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),V1=(()=>{const t=class t extends vee{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵcmp",Ae({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&&($t("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),Mu(a.color?"mat-"+a.color:""),jt("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:[Ye],ngContentSelectors:j1,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&&(Vn(F1),Qe(0,"span",0),pt(1),j(2,"span",1),pt(3,1),V(),pt(4,2),Qe(5,"span",2)(6,"span",3)),n&2&&jt("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[bee,yee],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hu=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[mr,RJ,mr]}));let e=t;return e})(),z1=(()=>{const t=class t{constructor(){s(this,"changes",new ve);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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Me=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}(Me||{}),Pr="*";function _ee(e,t=null){return{type:Me.Sequence,steps:e,options:t}}function Mg(e){return{type:Me.Style,styles:e,offset:null}}var Wo=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}},B1=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}},am="!";function Ng(e){return new G(3e3,!1)}function wee(){return new G(3100,!1)}function xee(){return new G(3101,!1)}function Eee(e){return new G(3001,!1)}function See(e){return new G(3003,!1)}function kee(e){return new G(3004,!1)}function Cee(e,t){return new G(3005,!1)}function Dee(){return new G(3006,!1)}function Iee(){return new G(3007,!1)}function Tee(e,t){return new G(3008,!1)}function Ree(e){return new G(3002,!1)}function Oee(e,t,r,n,a){return new G(3010,!1)}function Mee(){return new G(3011,!1)}function Nee(){return new G(3012,!1)}function Aee(){return new G(3200,!1)}function Pee(){return new G(3202,!1)}function Lee(){return new G(3013,!1)}function Fee(e){return new G(3014,!1)}function jee(e){return new G(3015,!1)}function Vee(e){return new G(3016,!1)}function zee(e,t){return new G(3404,!1)}function Bee(e){return new G(3502,!1)}function Hee(e){return new G(3503,!1)}function qee(){return new G(3300,!1)}function $ee(e){return new G(3504,!1)}function Gee(e){return new G(3301,!1)}function Uee(e,t){return new G(3302,!1)}function Wee(e){return new G(3303,!1)}function Zee(e,t){return new G(3400,!1)}function Yee(e){return new G(3401,!1)}function Kee(e){return new G(3402,!1)}function Qee(e,t){return new G(3505,!1)}function Jr(e){switch(e.length){case 0:return new Wo;case 1:return e[0];default:return new B1(e)}}function H1(e,t,r=new Map,n=new Map){let a=[],i=[],o=-1,l=null;if(t.forEach(u=>{let c=u.get("offset"),d=c==o,m=d&&l||new Map;u.forEach((v,g)=>{let w=g,x=v;if(g!=="offset")switch(w=e.normalizePropertyName(w,a),x){case am:x=r.get(g);break;case Pr:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,a);break}m.set(w,x)}),d||i.push(m),l=m,o=c}),a.length)throw Bee();return i}function im(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&jc(r,"start",e)));break;case"done":e.onDone(()=>n(r&&jc(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&jc(r,"destroy",e)));break}}function jc(e,t,r){let n=r.totalTime,a=!!r.disabled,i=om(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 om(e,t,r,n,a="",i=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:a,totalTime:i,disabled:!!o}}function En(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function Ag(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var Xee=typeof document>"u"?null:document.documentElement;function sm(e){let t=e.parentNode||e.host||null;return t===Xee?null:t}function Jee(e){return e.substring(1,6)=="ebkit"}var Sa=null,Pg=!1;function ete(e){Sa||(Sa=tte()||{},Pg=Sa.style?"WebkitAppearance"in Sa.style:!1);let t=!0;return Sa.style&&!Jee(e)&&(t=e in Sa.style,!t&&Pg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Sa.style)),t}function tte(){return typeof document<"u"?document.body:null}function q1(e,t){for(;t;){if(t===e)return!0;t=sm(t)}return!1}function $1(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var nte=1e3,G1="{{",rte="}}",U1="ng-enter",Xd="ng-leave",Zs="ng-trigger",Ul=".ng-trigger",Lg="ng-animating",Jd=".ng-animating";function Or(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:eh(parseFloat(t[1]),t[2])}function eh(e,t){switch(t){case"s":return e*nte;default:return e}}function Wl(e,t,r){return e.hasOwnProperty("duration")?e:ate(e,t,r)}function ate(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(Ng()),{duration:0,delay:0,easing:""};a=eh(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(i=eh(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else a=e;if(!r){let l=!1,u=t.length;a<0&&(t.push(wee()),l=!0),i<0&&(t.push(xee()),l=!0),l&&t.splice(u,0,Ng())}return{duration:a,delay:i,easing:o}}function ite(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ir(e,t,r){t.forEach((n,a)=>{let i=lm(a);r&&!r.has(a)&&r.set(a,e.style[i]),e.style[i]=n})}function Ma(e,t){t.forEach((r,n)=>{let a=lm(n);e.style[a]=""})}function ho(e){return Array.isArray(e)?e.length==1?e[0]:_ee(e):e}function ote(e,t,r){let n=t.params||{},a=W1(e);a.length&&a.forEach(i=>{n.hasOwnProperty(i)||r.push(Eee())})}var th=new RegExp(`${G1}\\s*(.+?)\\s*${rte}`,"g");function W1(e){let t=[];if(typeof e=="string"){let r;for(;r=th.exec(e);)t.push(r[1]);th.lastIndex=0}return t}function Zo(e,t,r){let n=`${e}`,a=n.replace(th,(i,o)=>{let l=t[o];return l==null&&(r.push(See()),l=""),l.toString()});return a==n?e:a}var ste=/-+([a-z0-9])/g;function lm(e){return e.replace(ste,(...t)=>t[1].toUpperCase())}function lte(e,t){return e===0||t===0}function ute(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,um(e,l)))}}return t}function wn(e,t,r){switch(t.type){case Me.Trigger:return e.visitTrigger(t,r);case Me.State:return e.visitState(t,r);case Me.Transition:return e.visitTransition(t,r);case Me.Sequence:return e.visitSequence(t,r);case Me.Group:return e.visitGroup(t,r);case Me.Animate:return e.visitAnimate(t,r);case Me.Keyframes:return e.visitKeyframes(t,r);case Me.Style:return e.visitStyle(t,r);case Me.Reference:return e.visitReference(t,r);case Me.AnimateChild:return e.visitAnimateChild(t,r);case Me.AnimateRef:return e.visitAnimateRef(t,r);case Me.Query:return e.visitQuery(t,r);case Me.Stagger:return e.visitStagger(t,r);default:throw kee(t.type)}}function um(e,t){return window.getComputedStyle(e)[t]}var cte=(()=>{const t=class t{validateStyleProperty(n){return ete(n)}containsElement(n,a){return q1(n,a)}getParentElement(n){return sm(n)}query(n,a,i){return $1(n,a,i)}computeStyle(n,a,i){return i||""}animate(n,a,i,o,l,u=[],c){return new Wo(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Jc,Z1=(Jc=class{},s(Jc,"NOOP",new cte),Jc),cm=class{},dte=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"]),hte=class extends cm{normalizePropertyName(e,t){return lm(e)}normalizeStyleValue(e,t,r,n){let a="",i=r.toString().trim();if(dte.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(Cee())}return i+a}},Zl="*";function pte(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>mte(n,r,t)):r.push(e),r}function mte(e,t,r){if(e[0]==":"){let u=fte(e,r);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(jee()),t;let a=n[1],i=n[2],o=n[3];t.push(Fg(a,o));let l=a==Zl&&o==Zl;i[0]=="<"&&!l&&t.push(Fg(o,a))}function fte(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(Vee()),"* => *"}}var Ys=new Set(["true","1"]),Ks=new Set(["false","0"]);function Fg(e,t){let r=Ys.has(e)||Ks.has(e),n=Ys.has(t)||Ks.has(t);return(a,i)=>{let o=e==Zl||e==a,l=t==Zl||t==i;return!o&&r&&typeof a=="boolean"&&(o=a?Ys.has(e):Ks.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Ys.has(t):Ks.has(t)),o&&l}}var Y1=":self",gte=new RegExp(`s*${Y1}s*,?`,"g");function K1(e,t,r,n){return new vte(e).build(t,r,n)}var jg="",vte=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new _te(t);return this._resetContextStyleTimingState(n),wn(this,ho(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=jg,e.collectedStyles=new Map,e.collectedStyles.set(jg,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(Dee()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Me.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,a.push(this.visitState(l,t))}),l.name=u}else if(o.type==Me.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(Iee())}),{type:Me.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=>{W1(l).forEach(u=>{i.hasOwnProperty(u)||a.add(u)})})}),a.size&&t.errors.push(Tee(e.name,[...a.values()]))}return{type:Me.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=wn(this,ho(e.animation),t),n=pte(e.expr,t.errors);return{type:Me.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:ka(e.options)}}visitSequence(e,t){return{type:Me.Sequence,steps:e.steps.map(r=>wn(this,r,t)),options:ka(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,a=e.steps.map(i=>{t.currentTime=r;let o=wn(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Me.Group,steps:a,options:ka(e.options)}}visitAnimate(e,t){let r=xte(e.timings,t.errors);t.currentAnimateTimings=r;let n,a=e.styles?e.styles:Mg({});if(a.type==Me.Keyframes)n=this.visitKeyframes(a,t);else{let i=e.styles,o=!1;if(!i){o=!0;let u={};r.easing&&(u.easing=r.easing),i=Mg(u)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Me.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===Pr?r.push(o):t.errors.push(Ree()):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(G1)>=0){a=!0;break}}}),{type:Me.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 u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),d=!0;c&&(a!=n&&a>=c.startTime&&n<=c.endTime&&(t.errors.push(Oee(l,c.startTime,c.endTime)),d=!1),a=c.startTime),d&&u.set(l,{startTime:a,endTime:n}),t.options&&ote(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:Me.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Mee()),r;let n=1,a=0,i=[],o=!1,l=!1,u=0,c=e.steps.map(k=>{let D=this._makeStyleAst(k,t),O=D.offset!=null?D.offset:wte(D.styles),M=0;return O!=null&&(a++,M=D.offset=O),l=l||M<0||M>1,o=o||M<u,u=M,i.push(M),D});l&&t.errors.push(Nee()),o&&t.errors.push(Aee());let d=e.steps.length,m=0;a>0&&a<d?t.errors.push(Pee()):a==0&&(m=n/(d-1));let v=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return c.forEach((k,D)=>{let O=m>0?D==v?1:m*D:i[D],M=O*x;t.currentTime=g+w.delay+M,w.duration=M,this._validateStyleAst(k,t),k.offset=O,r.styles.push(k)}),r}visitReference(e,t){return{type:Me.Reference,animation:wn(this,ho(e.animation),t),options:ka(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Me.AnimateChild,options:ka(e.options)}}visitAnimateRef(e,t){return{type:Me.AnimateRef,animation:this.visitReference(e.animation,t),options:ka(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,i]=bte(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,En(t.collectedStyles,t.currentQuerySelector,new Map);let o=wn(this,ho(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:Me.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:ka(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Lee());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Wl(e.timings,t.errors,!0);return{type:Me.Stagger,animation:wn(this,ho(e.animation),t),timings:r,options:null}}};function bte(e){let t=!!e.split(/\s*,\s*/).find(r=>r==Y1);return t&&(e=e.replace(gte,"")),e=e.replace(/@\*/g,Ul).replace(/@\w+/g,r=>Ul+"-"+r.slice(1)).replace(/:animating/g,Jd),[e,t]}function yte(e){return e?ce({},e):null}var _te=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 wte(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 xte(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=Wl(e,t).duration;return Vc(a,0,"")}let r=e;if(r.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Vc(0,0,"");return a.dynamic=!0,a.strValue=r,a}let n=Wl(r,t);return Vc(n.duration,n.delay,n.easing)}function ka(e){return e?(e=ce({},e),e.params&&(e.params=yte(e.params))):e={},e}function Vc(e,t,r){return{duration:e,delay:t,easing:r}}function dm(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 hm=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()}},Ete=1,Ste=":enter",kte=new RegExp(Ste,"g"),Cte=":leave",Dte=new RegExp(Cte,"g");function Q1(e,t,r,n,a,i=new Map,o=new Map,l,u,c=[]){return new Ite().buildKeyframes(e,t,r,n,a,i,o,l,u,c)}var Ite=class{buildKeyframes(e,t,r,n,a,i,o,l,u,c=[]){u=u||new hm;let d=new Tte(e,t,u,n,a,c,[]);d.options=l;let m=l.delay?Or(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),wn(this,r,d);let v=d.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let w=v.length-1;w>=0;w--){let x=v[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[dm(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:Or(Zo(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?Or(r.duration):null,i=r.delay!=null?Or(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),wn(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==Me.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Yl);let i=Or(a.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>wn(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?Or(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),wn(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?Zo(r,t.params,t.errors):r;return Wl(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==Me.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?Or(n.delay):0;a&&(t.previousNode.type===Me.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Yl);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((u,c)=>{t.currentQueryIndex=c;let d=t.createSubContext(e.options,u);a&&d.delayNextStep(a),u===t.element&&(l=d.currentTimeline),wn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let m=d.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 u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;wn(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-c+(n.startTime-r.currentTimeline.startTime)}},Yl={},Tte=class X1{constructor(t,r,n,a,i,o,l,u){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",Yl);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=u||new J1(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=Or(n.duration)),n.delay!=null&&(a.delay=Or(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]=Zo(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 X1(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=Yl,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 Rte(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(kte,"."+this._enterClassName),t=t.replace(Dte,"."+this._leaveClassName);let u=n!=1,c=this._driver.query(this.element,t,u);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),l.push(...c)}return!i&&l.length==0&&o.push(Fee()),l}},J1=class ew{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 ew(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+=Ete,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||Pr),this._currentKeyframe.set(r,Pr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,a){r&&this._previousKeyframe.set("easing",r);let i=a&&a.params||{},o=Ote(t,this._globalTimelineStyles);for(let[l,u]of o){let c=Zo(u,i,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Pr),this._updateStyle(l,c)}}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,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((d,m)=>{d===am?t.add(m):d===Pr&&r.add(m)}),n||c.set("offset",u/this.duration),a.push(c)});let i=[...t.values()],o=[...r.values()];if(n){let l=a[0],u=new Map(l);l.set("offset",0),u.set("offset",1),a=[l,u]}return dm(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}},Rte=class extends J1{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,u=new Map(t[0]);u.set("offset",0),i.push(u);let c=new Map(t[0]);c.set("offset",Vg(l)),i.push(c);let d=t.length-1;for(let m=1;m<=d;m++){let v=new Map(t[m]),g=v.get("offset"),w=r+g*n;v.set("offset",Vg(w/o)),i.push(v)}n=o,r=0,a="",t=i}return dm(this.element,t,this.preStyleProps,this.postStyleProps,n,r,a,!0)}};function Vg(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function Ote(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,Pr)}else for(let[i,o]of a)r.set(i,o)}),r}function zg(e,t,r,n,a,i,o,l,u,c,d,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:r,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:d,totalTime:m,errors:v}}var zc={},tw=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 Mte(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,u,c){var Mt;let d=[],m=this.ast.options&&this.ast.options.params||zc,v=o&&o.params||zc,g=this.buildStyles(r,v,d),w=l&&l.params||zc,x=this.buildStyles(n,w,d),k=new Set,D=new Map,O=new Map,M=n==="void",J={params:nw(w,m),delay:(Mt=this.ast.options)==null?void 0:Mt.delay},ue=c?[]:Q1(e,t,this.ast.animation,a,i,g,x,J,u,d),we=0;return ue.forEach(wt=>{we=Math.max(wt.duration+wt.delay,we)}),d.length?zg(t,this._triggerName,r,n,M,g,x,[],[],D,O,we,d):(ue.forEach(wt=>{let rt=wt.element,Ct=En(D,rt,new Set);wt.preStyleProps.forEach(U=>Ct.add(U));let X=En(O,rt,new Set);wt.postStyleProps.forEach(U=>X.add(U)),rt!==t&&k.add(rt)}),zg(t,this._triggerName,r,n,M,g,x,ue,[...k.values()],D,O,we))}};function Mte(e,t,r,n,a){return e.some(i=>i(t,r,n,a))}function nw(e,t){let r=ce({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(r[n]=a)}),r}var Nte=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=nw(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((i,o)=>{i&&(i=Zo(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),r.set(o,i)})}),r}};function Ate(e,t,r){return new Pte(e,t,r)}var Pte=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 Nte(n.style,a,r))}),Bg(this.states,"true","1"),Bg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new tw(e,n,this.states))}),this.fallbackTransition=Lte(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 Lte(e,t,r){let n=[(o,l)=>!0],a={type:Me.Sequence,steps:[],options:null},i={type:Me.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new tw(e,i,t)}function Bg(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 Fte=new hm,jte=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=K1(this._driver,t,r,n);if(r.length)throw Hee();this._animations.set(e,a)}_buildPlayer(e,t,r){let n=e.element,a=H1(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=Q1(this._driver,t,a,U1,Xd,new Map,new Map,r,Fte,n),i.forEach(c=>{let d=En(o,c.element,new Map);c.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(qee()),i=[]),n.length)throw $ee();o.forEach((c,d)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(d,v,Pr))})});let l=i.map(c=>{let d=o.get(c.element);return this._buildPlayer(c,new Map,d)}),u=Jr(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}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 Gee();return t}listen(e,t,r,n){let a=om(t,"","","");return im(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}}},Hg="ng-animate-queued",Vte=".ng-animate-queued",Bc="ng-animate-disabled",zte=".ng-animate-disabled",Bte="ng-star-inserted",Hte=".ng-star-inserted",qte=[],rw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$te={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$n="__ng_removed",nh=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=Zte(n),r){let a=e,{value:i}=a,o=Hq(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])})}}},Co="void",Hc=new nh(Co),Gte=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,Nn(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw Uee();if(r==null||r.length==0)throw Wee();if(!Yte(r))throw Zee();let a=En(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};a.push(i);let o=En(this._engine.statesByElement,e,new Map);return o.has(t)||(Nn(e,Zs),Nn(e,Zs+"-"+t),o.set(t,Hc)),()=>{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 Yee();return t}trigger(e,t,r,n=!0){let a=this._getTrigger(t),i=new rh(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Nn(e,Zs),Nn(e,Zs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new nh(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Hc),u.value!==Co&&l.value===u.value){if(!Xte(l.params,u.params)){let v=[],g=a.matchStyles(l.value,l.params,v),w=a.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Ma(e,g),ir(e,w)})}return}let c=En(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let d=a.matchTransition(l.value,u.value,e,u.params),m=!1;if(!d){if(!n)return;d=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:i,isFallbackTransition:m}),m||(Nn(e,Hg),i.onStart(()=>{oi(e,Hg)})),i.onDone(()=>{let v=this.players.indexOf(i);v>=0&&this.players.splice(v,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),c.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,Ul,!0);r.forEach(n=>{if(n[$n])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,u)=>{if(i.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,Co,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&Jr(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)||Hc,u=new nh(Co),c=new rh(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:u,player:c,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[$n];(!a||a===rw)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){Nn(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=om(a,r.triggerName,r.fromState.value,r.toState.value);l._data=e,im(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)}},Ute=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 Gte(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(Qs(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Qs(t))return;let a=t[$n];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),Nn(e,Bc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),oi(e,Bc))}removeNode(e,t,r){if(Qs(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[$n]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,n,a){return Qs(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,Ul,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Jd,!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 Jr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[$n];if(t&&t.setForRemoval){if(e[$n]=rw,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(Bc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,zte,!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];Nn(n,Bte)}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?Jr(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw Kee()}_flushAnimations(e,t){let r=new hm,n=[],a=new Map,i=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(F=>{c.add(F);let H=this.driver.query(F,Vte,!0);for(let Y=0;Y<H.length;Y++)c.add(H[Y])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=Gg(m,this.collectedEnterElements),g=new Map,w=0;v.forEach((F,H)=>{let Y=U1+w++;g.set(H,Y),F.forEach(Te=>Nn(Te,Y))});let x=[],k=new Set,D=new Set;for(let F=0;F<this.collectedLeaveElements.length;F++){let H=this.collectedLeaveElements[F],Y=H[$n];Y&&Y.setForRemoval&&(x.push(H),k.add(H),Y.hasAnimation?this.driver.query(H,Hte,!0).forEach(Te=>k.add(Te)):D.add(H))}let O=new Map,M=Gg(m,Array.from(k));M.forEach((F,H)=>{let Y=Xd+w++;O.set(H,Y),F.forEach(Te=>Nn(Te,Y))}),e.push(()=>{v.forEach((F,H)=>{let Y=g.get(H);F.forEach(Te=>oi(Te,Y))}),M.forEach((F,H)=>{let Y=O.get(H);F.forEach(Te=>oi(Te,Y))}),x.forEach(F=>{this.processLeaveNode(F)})});let J=[],ue=[];for(let F=this._namespaceList.length-1;F>=0;F--)this._namespaceList[F].drainQueuedTransitions(t).forEach(H=>{let Y=H.player,Te=H.element;if(J.push(Y),this.collectedEnterElements.length){let at=Te[$n];if(at&&at.setForMove){if(at.previousTriggersValues&&at.previousTriggersValues.has(H.triggerName)){let en=at.previousTriggersValues.get(H.triggerName),Nt=this.statesByElement.get(H.element);if(Nt&&Nt.has(H.triggerName)){let Jn=Nt.get(H.triggerName);Jn.value=en,Nt.set(H.triggerName,Jn)}}Y.destroy();return}}let Je=!d||!this.driver.containsElement(d,Te),Jt=O.get(Te),Pe=g.get(Te),Be=this._buildInstruction(H,r,Pe,Jt,Je);if(Be.errors&&Be.errors.length){ue.push(Be);return}if(Je){Y.onStart(()=>Ma(Te,Be.fromStyles)),Y.onDestroy(()=>ir(Te,Be.toStyles)),n.push(Y);return}if(H.isFallbackTransition){Y.onStart(()=>Ma(Te,Be.fromStyles)),Y.onDestroy(()=>ir(Te,Be.toStyles)),n.push(Y);return}let ft=[];Be.timelines.forEach(at=>{at.stretchStartingKeyframe=!0,this.disabledNodes.has(at.element)||ft.push(at)}),Be.timelines=ft,r.append(Te,Be.timelines);let zn={instruction:Be,player:Y,element:Te};i.push(zn),Be.queriedElements.forEach(at=>En(o,at,[]).push(Y)),Be.preStyleProps.forEach((at,en)=>{if(at.size){let Nt=l.get(en);Nt||l.set(en,Nt=new Set),at.forEach((Jn,Gr)=>Nt.add(Gr))}}),Be.postStyleProps.forEach((at,en)=>{let Nt=u.get(en);Nt||u.set(en,Nt=new Set),at.forEach((Jn,Gr)=>Nt.add(Gr))})});if(ue.length){let F=[];ue.forEach(H=>{F.push(Qee(H.triggerName,H.errors))}),J.forEach(H=>H.destroy()),this.reportError(F)}let we=new Map,Mt=new Map;i.forEach(F=>{let H=F.element;r.has(H)&&(Mt.set(H,H),this._beforeAnimationBuild(F.player.namespaceId,F.instruction,we))}),n.forEach(F=>{let H=F.element;this._getPreviousPlayers(H,!1,F.namespaceId,F.triggerName,null).forEach(Y=>{En(we,H,[]).push(Y),Y.destroy()})});let wt=x.filter(F=>Ug(F,l,u)),rt=new Map;$g(rt,this.driver,D,u,Pr).forEach(F=>{Ug(F,l,u)&&wt.push(F)});let Ct=new Map;v.forEach((F,H)=>{$g(Ct,this.driver,new Set(F),l,am)}),wt.forEach(F=>{let H=rt.get(F),Y=Ct.get(F);rt.set(F,new Map([...(H==null?void 0:H.entries())??[],...(Y==null?void 0:Y.entries())??[]]))});let X=[],U=[],Ee={};i.forEach(F=>{let{element:H,player:Y,instruction:Te}=F;if(r.has(H)){if(c.has(H)){Y.onDestroy(()=>ir(H,Te.toStyles)),Y.disabled=!0,Y.overrideTotalTime(Te.totalTime),n.push(Y);return}let Je=Ee;if(Mt.size>1){let Pe=H,Be=[];for(;Pe=Pe.parentNode;){let ft=Mt.get(Pe);if(ft){Je=ft;break}Be.push(Pe)}Be.forEach(ft=>Mt.set(ft,Je))}let Jt=this._buildAnimation(Y.namespaceId,Te,we,a,Ct,rt);if(Y.setRealPlayer(Jt),Je===Ee)X.push(Y);else{let Pe=this.playersByElement.get(Je);Pe&&Pe.length&&(Y.parentPlayer=Jr(Pe)),n.push(Y)}}else Ma(H,Te.fromStyles),Y.onDestroy(()=>ir(H,Te.toStyles)),U.push(Y),c.has(H)&&n.push(Y)}),U.forEach(F=>{let H=a.get(F.element);if(H&&H.length){let Y=Jr(H);F.setRealPlayer(Y)}}),n.forEach(F=>{F.parentPlayer?F.syncPlayerEvents(F.parentPlayer):F.destroy()});for(let F=0;F<x.length;F++){let H=x[F],Y=H[$n];if(oi(H,Xd),Y&&Y.hasAnimation)continue;let Te=[];if(o.size){let Jt=o.get(H);Jt&&Jt.length&&Te.push(...Jt);let Pe=this.driver.query(H,Jd,!0);for(let Be=0;Be<Pe.length;Be++){let ft=o.get(Pe[Be]);ft&&ft.length&&Te.push(...ft)}}let Je=Te.filter(Jt=>!Jt.destroyed);Je.length?Kte(this,H,Je):this.processLeaveNode(H)}return x.length=0,X.forEach(F=>{this.players.push(F),F.onDone(()=>{F.destroy();let H=this.players.indexOf(F);this.players.splice(H,1)}),F.play()}),X}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==Co;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||i.push(u)})}}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 u=l.element,c=u!==a,d=En(r,u,[]);this._getPreviousPlayers(u,c,i,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),d.push(m)})}Ma(a,t.fromStyles)}_buildAnimation(e,t,r,n,a,i){let o=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;c.add(w);let x=w[$n];if(x&&x.removedBeforeQueried)return new Wo(g.duration,g.delay);let k=w!==l,D=Qte((r.get(w)||qte).map(we=>we.getRealPlayer())).filter(we=>{let Mt=we;return Mt.element?Mt.element===w:!1}),O=a.get(w),M=i.get(w),J=H1(this._normalizer,g.keyframes,O,M),ue=this._buildPlayer(g,J,D);if(g.subTimeline&&n&&d.add(w),k){let we=new rh(e,o,w);we.setRealPlayer(ue),u.push(we)}return ue});u.forEach(g=>{En(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>Wte(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Nn(g,Lg));let v=Jr(m);return v.onDestroy(()=>{c.forEach(g=>oi(g,Lg)),ir(l,t.toStyles)}),d.forEach(g=>{En(n,g,[]).push(v)}),v}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Wo(e.duration,e.delay)}},rh=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Wo);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=>im(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){En(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 Wte(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 Zte(e){return e??null}function Qs(e){return e&&e.nodeType===1}function Yte(e){return e=="start"||e=="done"}function qg(e,t){let r=e.style.display;return e.style.display=t??"none",r}function $g(e,t,r,n,a){let i=[];r.forEach(u=>i.push(qg(u)));let o=[];n.forEach((u,c)=>{let d=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,a);d.set(m,v),(!v||v.length==0)&&(c[$n]=$te,o.push(c))}),e.set(c,d)});let l=0;return r.forEach(u=>qg(u,i[l++])),o}function Gg(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 u=i.get(l);if(u)return u;let c=l.parentNode;return r.has(c)?u=c:a.has(c)?u=n:u=o(c),i.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&r.get(u).push(l)}),r}function Nn(e,t){var r;(r=e.classList)==null||r.add(t)}function oi(e,t){var r;(r=e.classList)==null||r.remove(t)}function Kte(e,t,r){Jr(r).onDone(()=>e.processLeaveNode(t))}function Qte(e){let t=[];return aw(e,t),t}function aw(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof B1?aw(n.players,t):t.push(n)}}function Xte(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 Ug(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 ah=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 Ute(e.body,t,r),this._timelineEngine=new jte(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=[],u=[],c=K1(this._driver,a,l,u);if(l.length)throw zee();o=Ate(n,c,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]=Ag(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]=Ag(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 Jte(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=qc(t[0]),t.length>1&&(n=qc(t[t.length-1]))):t instanceof Map&&(r=qc(t)),r||n?new ene(e,r,n):null}var ene=(()=>{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&&ir(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ir(this._element,this._initialStyles),this._endStyles&&(ir(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ma(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ma(this._element,this._endStyles),this._endStyles=null),ir(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function qc(e){let t=null;return e.forEach((r,n)=>{tne(n)&&(t=t||new Map,t.set(n,r))}),t}function tne(e){return e==="display"||e==="position"}var Wg=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:um(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},nne=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return q1(e,t)}getParentElement(e){return sm(e)}query(e,t,r){return $1(e,t,r)}computeStyle(e,t,r){return um(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 u=new Map,c=i.filter(v=>v instanceof Wg);lte(r,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,w)=>u.set(w,g))});let d=ite(t).map(v=>new Map(v));d=ute(e,d,u);let m=Jte(e,d);return new Wg(e,d,l,m)}},bl="@",iw="@.disabled",ow=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)==bl&&t==iw?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)}},rne=class extends ow{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)==bl?r.charAt(1)=="."&&r==iw?(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)==bl){let i=ane(t),o=r.slice(1),l="";return o.charAt(0)!=bl&&([o,l]=ine(o)),this.engine.listen(this.namespaceId,i,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,r,n,a)}};function ane(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function ine(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var one=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 u=this._rendererCache,c=u.get(n);if(!c){let d=()=>u.delete(n);c=new ow(r,n,this.engine,d),u.set(n,c)}return c}let a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(a,i,e,u.name,u)};return t.data.animation.forEach(o),new rne(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)}},sne=(()=>{const t=class t extends ah{constructor(n,a,i){super(n,a,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(Z1),oe(cm))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function lne(){return new hte}function une(e,t,r){return new one(e,t,r)}var cne=[{provide:cm,useFactory:lne},{provide:ah,useClass:sne},{provide:Kn,useFactory:une,deps:[Bd,ah,He]}],dne=[{provide:Z1,useFactory:()=>new nne},{provide:fa,useFactory:()=>"BrowserAnimations"},...cne];function hne(){return Za("NgEagerAnimations"),[...dne]}var pne=(()=>{const t=class t extends z1{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,u=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${u} / ${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)(oe(Xn))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),sw=6048e5,mne=864e5,fne=6e4,gne=36e5,vne=1e3,Zg=Symbol.for("constructDateFrom");function Gt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Zg in e?e[Zg](t):e instanceof Date?new e.constructor(t):new Date(t)}function Vt(e,t){return Gt(t||e,e)}function lw(e,t,r){let n=Vt(e,r==null?void 0:r.in);return isNaN(t)?Gt((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var bne={};function to(){return bne}function da(e,t){var l,u,c,d;let r=to(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??r.weekStartsOn??((d=(c=r.locale)==null?void 0:c.options)==null?void 0:d.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 ji(e,t){return da(e,Qt(ce({},t),{weekStartsOn:1}))}function uw(e,t){let r=Vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=Gt(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=ji(a),o=Gt(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=ji(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function Kl(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 yne(e,...t){let r=Gt.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function Yg(e,t){let r=Vt(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function _ne(e,t,r){let[n,a]=yne(r==null?void 0:r.in,e,t),i=Yg(n),o=Yg(a),l=+i-Kl(i),u=+o-Kl(o);return Math.round((l-u)/mne)}function wne(e,t){let r=uw(e,t),n=Gt(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),ji(n)}function xne(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ene(e){return!(!xne(e)&&typeof e!="number"||isNaN(+Vt(e)))}function Sne(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 kne={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"}},Cne=(e,t,r)=>{let n,a=kne[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 $c(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Dne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ine={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Tne={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Rne={date:$c({formats:Dne,defaultWidth:"full"}),time:$c({formats:Ine,defaultWidth:"full"}),dateTime:$c({formats:Tne,defaultWidth:"full"})},One={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Mne=(e,t,r,n)=>One[e];function po(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 Nne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ane={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Pne={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"]},Lne={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"]},Fne={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"}},jne={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"}},Vne=(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"},zne={ordinalNumber:Vne,era:po({values:Nne,defaultWidth:"wide"}),quarter:po({values:Ane,defaultWidth:"wide",argumentCallback:e=>e-1}),month:po({values:Pne,defaultWidth:"wide"}),day:po({values:Lne,defaultWidth:"wide"}),dayPeriod:po({values:Fne,defaultWidth:"wide",formattingValues:jne,defaultFormattingWidth:"wide"})};function mo(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],u=Array.isArray(l)?Hne(l,m=>m.test(o)):Bne(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=r.valueCallback?r.valueCallback(c):c;let d=t.slice(o.length);return{value:c,rest:d}}}function Bne(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function Hne(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function qne(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 $ne=/^(\d+)(th|st|nd|rd)?/i,Gne=/\d+/i,Une={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},Wne={any:[/^b/i,/^(a|c)/i]},Zne={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Yne={any:[/1/i,/2/i,/3/i,/4/i]},Kne={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},Qne={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]},Xne={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},Jne={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]},ere={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},tre={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}},nre={ordinalNumber:qne({matchPattern:$ne,parsePattern:Gne,valueCallback:e=>parseInt(e,10)}),era:mo({matchPatterns:Une,defaultMatchWidth:"wide",parsePatterns:Wne,defaultParseWidth:"any"}),quarter:mo({matchPatterns:Zne,defaultMatchWidth:"wide",parsePatterns:Yne,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mo({matchPatterns:Kne,defaultMatchWidth:"wide",parsePatterns:Qne,defaultParseWidth:"any"}),day:mo({matchPatterns:Xne,defaultMatchWidth:"wide",parsePatterns:Jne,defaultParseWidth:"any"}),dayPeriod:mo({matchPatterns:ere,defaultMatchWidth:"any",parsePatterns:tre,defaultParseWidth:"any"})},cw={code:"en-US",formatDistance:Cne,formatLong:Rne,formatRelative:Mne,localize:zne,match:nre,options:{weekStartsOn:0,firstWeekContainsDate:1}};function rre(e,t){let r=Vt(e,t==null?void 0:t.in);return _ne(r,Sne(r))+1}function dw(e,t){let r=Vt(e,t==null?void 0:t.in),n=+ji(r)-+wne(r);return Math.round(n/sw)+1}function pm(e,t){var d,m,v,g;let r=Vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=to(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Gt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=da(o,t),u=Gt((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,i),u.setHours(0,0,0,0);let c=da(u,t);return+r>=+l?n+1:+r>=+c?n:n-1}function are(e,t){var o,l,u,c;let r=to(),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??((c=(u=r.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,a=pm(e,t),i=Gt((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),da(i,t)}function hw(e,t){let r=Vt(e,t==null?void 0:t.in),n=+da(r,t)-+are(r,t);return Math.round(n/sw)+1}function Ze(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var Zr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):Ze(r+1,2)},d(e,t){return Ze(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 Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return Ze(a,t.length)}},ai={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Kg={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 Zr.y(e,t)},Y:function(e,t,r,n){let a=pm(e,n),i=a>0?a:1-a;if(t==="YY"){let o=i%100;return Ze(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):Ze(i,t.length)},R:function(e,t){let r=uw(e);return Ze(r,t.length)},u:function(e,t){let r=e.getFullYear();return Ze(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 Ze(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 Ze(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 Zr.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 Ze(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=hw(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):Ze(a,t.length)},I:function(e,t,r){let n=dw(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Zr.d(e,t)},D:function(e,t,r){let n=rre(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Ze(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 Ze(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 Ze(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 Ze(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=ai.noon:n===0?a=ai.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=ai.evening:n>=12?a=ai.afternoon:n>=4?a=ai.morning:a=ai.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 Zr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Zr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Zr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Zr.s(e,t)},S:function(e,t){return Zr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Xg(n);case"XXXX":case"XX":return Ia(n);case"XXXXX":case"XXX":default:return Ia(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return Xg(n);case"xxxx":case"xx":return Ia(n);case"xxxxx":case"xxx":default:return Ia(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Qg(n,":");case"OOOO":default:return"GMT"+Ia(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Qg(n,":");case"zzzz":default:return"GMT"+Ia(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,r){return Ze(+e,t.length)}};function Qg(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+Ze(i,2)}function Xg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Ia(e,t)}function Ia(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Ze(Math.trunc(n/60),2),i=Ze(n%60,2);return r+a+t+i}var Jg=(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"})}},pw=(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"})}},ire=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return Jg(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}}",Jg(n,t)).replace("{{time}}",pw(a,t))},ih={p:pw,P:ire},ore=/^D+$/,sre=/^Y+$/,lre=["D","DD","YY","YYYY"];function mw(e){return ore.test(e)}function fw(e){return sre.test(e)}function oh(e,t,r){let n=ure(e,t,r);if(console.warn(n),lre.includes(e))throw new RangeError(n)}function ure(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 cre=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dre=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hre=/^'([^]*?)'?$/,pre=/''/g,mre=/[a-zA-Z]/;function gw(e,t,r){var d,m,v,g,w,x,k,D;let n=to(),a=(r==null?void 0:r.locale)??n.locale??cw,i=(r==null?void 0:r.firstWeekContainsDate)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((x=(w=r==null?void 0:r.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((D=(k=n.locale)==null?void 0:k.options)==null?void 0:D.weekStartsOn)??0,l=Vt(e,r==null?void 0:r.in);if(!Ene(l))throw new RangeError("Invalid time value");let u=t.match(dre).map(O=>{let M=O[0];if(M==="p"||M==="P"){let J=ih[M];return J(O,a.formatLong)}return O}).join("").match(cre).map(O=>{if(O==="''")return{isToken:!1,value:"'"};let M=O[0];if(M==="'")return{isToken:!1,value:fre(O)};if(Kg[M])return{isToken:!0,value:O};if(M.match(mre))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return{isToken:!1,value:O}});a.localize.preprocessor&&(u=a.localize.preprocessor(l,u));let c={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return u.map(O=>{if(!O.isToken)return O.value;let M=O.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&fw(M)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&mw(M))&&oh(M,t,String(e));let J=Kg[M[0]];return J(l,M,a.localize,c)}).join("")}function fre(e){let t=e.match(hre);return t?t[1].replace(pre,"'"):e}function vw(){return Object.assign({},to())}function gre(e,t){let r=Vt(e,t==null?void 0:t.in).getDay();return r===0?7:r}function vre(e,t){let r=bre(t)?new t(0):Gt(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function bre(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var yre=10,bw=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},_re=class extends bw{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)}},wre=class extends bw{constructor(t,r){super();s(this,"priority",yre);s(this,"subPriority",-1);this.context=t||(n=>Gt(r,n))}set(t,r){return r.timestampIsSet?t:Gt(t,vre(t,this.context))}},Ge=class{run(e,t,r,n){let a=this.parse(e,t,r,n);return a?{setter:new _re(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}},xre=class extends Ge{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}},St={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}/},or={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 kt(e,t){return e&&{value:t(e.value),rest:e.rest}}function gt(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function sr(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*gne+i*fne+o*vne),rest:t.slice(r[0].length)}}function yw(e){return gt(St.anyDigitsSigned,e)}function _t(e,t){switch(e){case 1:return gt(St.singleDigit,t);case 2:return gt(St.twoDigits,t);case 3:return gt(St.threeDigits,t);case 4:return gt(St.fourDigits,t);default:return gt(new RegExp("^\\d{1,"+e+"}"),t)}}function Ql(e,t){switch(e){case 1:return gt(St.singleDigitSigned,t);case 2:return gt(St.twoDigitsSigned,t);case 3:return gt(St.threeDigitsSigned,t);case 4:return gt(St.fourDigitsSigned,t);default:return gt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function mm(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 _w(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 ww(e){return e%400===0||e%4===0&&e%100!==0}var Ere=class extends Ge{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 kt(_t(4,t),a);case"yo":return kt(n.ordinalNumber(t,{unit:"year"}),a);default:return kt(_t(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=_w(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}},Sre=class extends Ge{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 kt(_t(4,t),a);case"Yo":return kt(n.ordinalNumber(t,{unit:"year"}),a);default:return kt(_t(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,a){let i=pm(t,a);if(n.isTwoDigitYear){let l=_w(n.year,i);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),da(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),da(t,a)}},kre=class extends Ge{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 Ql(r==="R"?4:r.length,t)}set(t,r,n){let a=Gt(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),ji(a)}},Cre=class extends Ge{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 Ql(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Dre=class extends Ge{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 _t(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}},Ire=class extends Ge{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 _t(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}},Tre=class extends Ge{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 kt(gt(St.month,t),a);case"MM":return kt(_t(2,t),a);case"Mo":return kt(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}},Rre=class extends Ge{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 kt(gt(St.month,t),a);case"LL":return kt(_t(2,t),a);case"Lo":return kt(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 Ore(e,t,r){let n=Vt(e,r==null?void 0:r.in),a=hw(n,r)-t;return n.setDate(n.getDate()-a*7),Vt(n,r==null?void 0:r.in)}var Mre=class extends Ge{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 gt(St.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return _t(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,a){return da(Ore(t,n,a),a)}};function Nre(e,t,r){let n=Vt(e,r==null?void 0:r.in),a=dw(n,r)-t;return n.setDate(n.getDate()-a*7),n}var Are=class extends Ge{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 gt(St.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return _t(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return ji(Nre(t,n))}},Pre=[31,28,31,30,31,30,31,31,30,31,30,31],Lre=[31,29,31,30,31,30,31,31,30,31,30,31],Fre=class extends Ge{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 gt(St.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return _t(r.length,t)}}validate(t,r){let n=t.getFullYear(),a=ww(n),i=t.getMonth();return a?r>=1&&r<=Lre[i]:r>=1&&r<=Pre[i]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},jre=class extends Ge{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 gt(St.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return _t(r.length,t)}}validate(t,r){let n=t.getFullYear();return ww(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 fm(e,t,r){var d,m,v,g;let n=to(),a=(r==null?void 0:r.weekStartsOn)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,i=Vt(e,r==null?void 0:r.in),o=i.getDay(),l=(t%7+7)%7,u=7-a,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return lw(i,c,r)}var Vre=class extends Ge{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=fm(t,n,a),t.setHours(0,0,0,0),t}},zre=class extends Ge{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 kt(_t(r.length,t),i);case"eo":return kt(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=fm(t,n,a),t.setHours(0,0,0,0),t}},Bre=class extends Ge{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 kt(_t(r.length,t),i);case"co":return kt(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=fm(t,n,a),t.setHours(0,0,0,0),t}};function Hre(e,t,r){let n=Vt(e,r==null?void 0:r.in),a=gre(n,r),i=t-a;return lw(n,i,r)}var qre=class extends Ge{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 _t(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return kt(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 kt(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return kt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return kt(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=Hre(t,n),t.setHours(0,0,0,0),t}},$re=class extends Ge{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(mm(n),0,0,0),t}},Gre=class extends Ge{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(mm(n),0,0,0),t}},Ure=class extends Ge{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(mm(n),0,0,0),t}},Wre=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return gt(St.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(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}},Zre=class extends Ge{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 gt(St.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}},Yre=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return gt(St.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(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}},Kre=class extends Ge{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 gt(St.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(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}},Qre=class extends Ge{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return gt(St.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return _t(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},Xre=class extends Ge{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return gt(St.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return _t(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},Jre=class extends Ge{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 kt(_t(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},eae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return sr(or.basicOptionalMinutes,t);case"XX":return sr(or.basic,t);case"XXXX":return sr(or.basicOptionalSeconds,t);case"XXXXX":return sr(or.extendedOptionalSeconds,t);case"XXX":default:return sr(or.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Gt(t,t.getTime()-Kl(t)-n)}},tae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return sr(or.basicOptionalMinutes,t);case"xx":return sr(or.basic,t);case"xxxx":return sr(or.basicOptionalSeconds,t);case"xxxxx":return sr(or.extendedOptionalSeconds,t);case"xxx":default:return sr(or.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Gt(t,t.getTime()-Kl(t)-n)}},nae=class extends Ge{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return yw(t)}set(t,r,n){return[Gt(t,n*1e3),{timestampIsSet:!0}]}},rae=class extends Ge{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return yw(t)}set(t,r,n){return[Gt(t,n),{timestampIsSet:!0}]}},aae={G:new xre,y:new Ere,Y:new Sre,R:new kre,u:new Cre,Q:new Dre,q:new Ire,M:new Tre,L:new Rre,w:new Mre,I:new Are,d:new Fre,D:new jre,E:new Vre,e:new zre,c:new Bre,i:new qre,a:new $re,b:new Gre,B:new Ure,h:new Wre,H:new Zre,K:new Yre,k:new Kre,m:new Qre,s:new Xre,S:new Jre,X:new eae,x:new tae,t:new nae,T:new rae},iae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,oae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,sae=/^'([^]*?)'?$/,lae=/''/g,uae=/\S/,cae=/[a-zA-Z]/;function dae(e,t,r,n){var k,D,O,M;let a=()=>Gt(r,NaN),i=vw(),o=i.locale??cw,l=i.firstWeekContainsDate??((D=(k=i.locale)==null?void 0:k.options)==null?void 0:D.firstWeekContainsDate)??1,u=i.weekStartsOn??((M=(O=i.locale)==null?void 0:O.options)==null?void 0:M.weekStartsOn)??0,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},d=[new wre(n==null?void 0:n.in,r)],m=t.match(oae).map(J=>{let ue=J[0];if(ue in ih){let we=ih[ue];return we(J,o.formatLong)}return J}).join("").match(iae),v=[];for(let J of m){fw(J)&&oh(J,t,e),mw(J)&&oh(J,t,e);let ue=J[0],we=aae[ue];if(we){let{incompatibleTokens:Mt}=we;if(Array.isArray(Mt)){let rt=v.find(Ct=>Mt.includes(Ct.token)||Ct.token===ue);if(rt)throw new RangeError(`The format string mustn't contain \`${rt.fullToken}\` and \`${J}\` at the same time`)}else if(we.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${J}\` and any other token at the same time`);v.push({token:ue,fullToken:J});let wt=we.run(e,J,o.match,c);if(!wt)return a();d.push(wt.setter),e=wt.rest}else{if(ue.match(cae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ue+"`");if(J==="''"?J="'":ue==="'"&&(J=hae(J)),e.indexOf(J)===0)e=e.slice(J.length);else return a()}}if(e.length>0&&uae.test(e))return a();let g=d.map(J=>J.priority).sort((J,ue)=>ue-J).filter((J,ue,we)=>we.indexOf(J)===ue).map(J=>d.filter(ue=>ue.priority===J).sort((ue,we)=>we.subPriority-ue.subPriority)).map(J=>J[0]),w=Vt(r,n==null?void 0:n.in);if(isNaN(+w))return a();let x={};for(let J of g){if(!J.validate(w,c))return a();let ue=J.set(w,x,c);Array.isArray(ue)?(w=ue[0],Object.assign(x,ue[1])):w=ue}return w}function hae(e){return e.match(sae)[1].replace(lae,"'")}var T=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}(T||{}),gm=new K("ngx-mask config"),xw=new K("new ngx-mask config"),Ew=new K("initial ngx-mask config"),pae={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 ot,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")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var mae=(()=>{const t=class t{constructor(){s(this,"_config",S(gm));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=[],u="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),u=((g=n.match(w))==null?void 0:g[0])??T.EMPTY_STRING}else l=n.split(i),u=i;let c=l.length>1?`${u}${l[1]}`:T.EMPTY_STRING,d=l[0]??T.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);m&&+m&&(d[0]===T.MINUS?d=`-${d.slice(1,d.length).slice(0,m.length)}`:d=d.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(d);)d=d.replace(v,"$1"+a+"$2");return typeof o>"u"?d+c:o===0?d:d+c.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(T.MINUS)?a.slice(1,n.length):a);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let a=n.split(T.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var a,i,o,l;for(let u=((a=this.suffix)==null?void 0:a.length)-1;u>=0;u--){let c=this.suffix.substring(u,(i=this.suffix)==null?void 0:i.length);if(n.includes(c)&&u!==((o=this.suffix)==null?void 0:o.length)-1&&(u-1<0||!n.includes(this.suffix.substring(u-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(c,T.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,i)=>{var u;let o=n,l=i;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),d=o.match(c),m=(d&&((u=d[0])==null?void 0:u.length))??0;if(m-1>a){let v=m-1-a;o=o.substring(0,o.length-v)}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,u=()=>{}){var wt,rt,Ct;if(!a||typeof n!="string")return T.EMPTY_STRING;let c=0,d="",m=!1,v=!1,g=1,w=!1,x=n,k=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 D=x.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&(d+=x.slice(c,c+1)),a===T.IP){let X=x.split(T.DOT);this.ipError=this._validIP(X),a="099.099.099.099"}let O=[];for(let X=0;X<x.length;X++)(wt=x[X])!=null&&wt.match("\\d")&&O.push(x[X]??T.EMPTY_STRING);if(a===T.CPF_CNPJ&&(this.cpfCnpjError=O.length!==11&&O.length!==14,O.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(T.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let Ee=this.getPrecision(a);x=this.checkInputPrecision(x,Ee,this.decimalMarker)}let X=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(x.indexOf(X)>0&&!this.percentage(x.substring(0,x.indexOf(X)))){let Ee=x.substring(0,x.indexOf(X)-1);this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&!l&&(Ee=x.substring(0,x.indexOf(X))),x=`${Ee}${x.substring(x.indexOf(X),x.length)}`}let U="";this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS?U=`${T.MINUS}${x.slice(c+1,c+x.length)}`:U=x,this.percentage(U)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(a.startsWith(T.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 X=this.getPrecision(a),U=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(X===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===T.MINUS&&x[1]===T.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==T.COMMA&&x[2]!==T.DOT?"-"+x.slice(2,x.length):x[0]===T.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===T.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:(x[0]===U&&x.length>1&&(x=T.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===T.NUMBER_ZERO&&x[1]!==U&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+U+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===T.MINUS&&(x[1]===U||x[1]===T.NUMBER_ZERO)&&(x=x[1]===U&&x.length>2?x.slice(0,1)+T.NUMBER_ZERO+x.slice(1,x.length):x[1]===T.NUMBER_ZERO&&x.length>2&&x[2]!==U?x.slice(0,2)+U+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Pe=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Be=x[k]===T.NUMBER_ZERO||x[k]===U,ft=x[0]===T.NUMBER_ZERO,zn=x[0]===T.MINUS,at=x[0]===this.thousandSeparator,en=x[1]===U,Nt=x[1]===T.NUMBER_ZERO,Jn=x[2]===U;ft&&en&&Be&&k<2&&(x=Pe),zn&&Nt&&Jn&&Be&&k<3&&(x=T.MINUS+Pe),Pe!==T.MINUS&&(k===0&&(ft||at)||this.allowNegativeNumbers&&k===1&&zn&&!Nt)&&(x=zn?T.MINUS+Pe:Pe)}let Ee=this._charToRegExpExpression(this.thousandSeparator),F='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ee,"");if(Array.isArray(this.decimalMarker))for(let Pe of this.decimalMarker)F=F.replace(this._charToRegExpExpression(Pe),T.EMPTY_STRING);else F=F.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+F+"]");x.match(H)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,X,this.decimalMarker);let Y=x.replace(new RegExp(Ee,"g"),"");d=this._formatWithSeparators(Y,this.thousandSeparator,this.decimalMarker,X);let Te=d.indexOf(T.COMMA)-x.indexOf(T.COMMA),Je=d.length-x.length,Jt=l&&d.length<n.length&&this.separatorLimit;if((d[k-1]===this.thousandSeparator||d[k-this.prefix.length])&&this.prefix&&l)k=k-1;else if(Je>0&&d[k]!==this.thousandSeparator||Jt){v=!0;let Pe=0;do this._shift.add(k+Pe),Pe++;while(Pe<Je)}else d[k-1]===this.thousandSeparator||Je===-4||Je===-3||d[k]===this.thousandSeparator?(this._shift.clear(),this._shift.add(k-1)):Te!==0&&k>0&&!(d.indexOf(T.COMMA)>=k&&k>3)||!(d.indexOf(T.DOT)>=k&&k>3)&&Je<=0?(this._shift.clear(),v=!0,g=Je,k+=Je,this._shift.add(k)):this._shift.clear()}else for(let X=0,U=D[0];X<D.length&&c!==a.length;X++,U=D[X]??T.EMPTY_STRING){let Ee=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(U,a[c]??T.EMPTY_STRING)&&a[c+1]===T.SYMBOL_QUESTION)d+=U,c+=2;else if(a[c+1]===T.SYMBOL_STAR&&m&&this._checkSymbolMask(U,a[c+2]??T.EMPTY_STRING))d+=U,c+=3,m=!1;else if(this._checkSymbolMask(U,a[c]??T.EMPTY_STRING)&&a[c+1]===T.SYMBOL_STAR&&!Ee)d+=U,m=!0;else if(a[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(U,a[c+2]??T.EMPTY_STRING))d+=U,c+=3;else if(this._checkSymbolMask(U,a[c]??T.EMPTY_STRING)){if(a[c]===T.HOURS&&(this.apm?Number(U)>9:Number(U)>2)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}if(a[c]===T.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(U)>2||x.slice(c-1,c).length===1&&Number(x.slice(c-1,c))>2||x.slice(c-1,c)==="1"&&Number(U)>2:d==="2"&&Number(U)>3||(d.slice(c-2,c)==="2"||d.slice(c-3,c)==="2"||d.slice(c-4,c)==="2"||d.slice(c-1,c)==="2")&&Number(U)>3&&c>10)){k=k+1,c+=1,X--;continue}if((a[c]===T.MINUTE||a[c]===T.SECOND)&&Number(U)>5){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}let F=31,H=x[c],Y=x[c+1],Te=x[c+2],Je=x[c-1],Jt=x[c-2],Pe=x.slice(c-3,c-1),Be=x.slice(c-1,c+1),ft=x.slice(c,c+2),zn=x.slice(c-2,c);if(a[c]===T.DAY){let at=a.slice(0,2)===T.MONTHS,en=a.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Jt);if(Number(U)>3&&this.leadZeroDateTime||!at&&(Number(ft)>F||Number(Be)>F||this.specialCharacters.includes(Y))||(en?Number(Be)>F||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Te)||this.specialCharacters.includes(H):Number(ft)>F||this.specialCharacters.includes(Y)&&!l)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}if(a[c]===T.MONTH){let at=c===0&&(Number(U)>2||Number(ft)>12||this.specialCharacters.includes(Y)&&!l),en=a.slice(c+2,c+3),Nt=Pe.includes(en)&&a.includes("d0")&&(this.specialCharacters.includes(Jt)&&Number(Be)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),Jn=Number(Pe)<=F&&!this.specialCharacters.includes(Pe)&&this.specialCharacters.includes(Je)&&(Number(ft)>12||this.specialCharacters.includes(Y)),Gr=Number(ft)>12&&c===5||this.specialCharacters.includes(Y)&&c===5,xs=Number(Pe)>F&&!this.specialCharacters.includes(Pe)&&!this.specialCharacters.includes(zn)&&Number(zn)>12&&a.includes("d0"),Es=Number(Pe)<=F&&!this.specialCharacters.includes(Pe)&&!this.specialCharacters.includes(Je)&&Number(Be)>12;if(Number(U)>1&&this.leadZeroDateTime||at||Nt||Es||xs||Jn||Gr&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}d+=U,c++}else this.specialCharacters.includes(U)&&a[c]===U?(d+=U,c++):this.specialCharacters.indexOf(a[c]??T.EMPTY_STRING)!==-1?(d+=a[c],c++,this._shiftStep(a,c,D.length),X--):a[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,c,D.length):this.patterns[a[c]??T.EMPTY_STRING]&&((rt=this.patterns[a[c]??T.EMPTY_STRING])!=null&&rt.optional)?(D[c]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Ct=this.patterns[a[c]??T.EMPTY_STRING])!=null&&Ct.optional)&&(d+=D[c]),a.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&a.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&c++,c++,X--):this.maskExpression[c+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(U)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(U)===this.maskExpression[c+2]&&m?(c+=3,d+=U):this.showMaskTyped&&this.specialCharacters.indexOf(U)<0&&U!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??T.EMPTY_STRING)!==-1&&(d+=a[a.length-1]);let M=k+1;for(;this._shift.has(M);)g++,M++;let J=o&&!a.startsWith(T.SEPARATOR)?c:this._shift.has(k)?g:0;w&&J--,u(J,v),g<0&&this._shift.clear();let ue=!1;l&&(ue=D.every(X=>this.specialCharacters.includes(X)));let we=`${this.prefix}${ue?T.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(we=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let Mt=x.length===1&&this.specialCharacters.includes(a[0])&&x!==a[0];if(!this._checkSymbolMask(x,a[1])&&Mt)return"";if(d.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===T.MINUS)return"";we=`${T.MINUS}${this.prefix}${d.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return we}_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(T.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===T.MINUS&&i===0&&this.allowNegativeNumbers}).join(T.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===T.EMPTY_STRING||Number(a)>255:a===T.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===T.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(T.DOT),i=this.allowNegativeNumbers&&n.includes(T.MINUS)?"-":"";if(a===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?T.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return u===T.EMPTY_STRING?T.EMPTY_STRING:`${i}${u}${c}${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",z({token:t,factory:t.ɵfac}));let e=t;return e})(),fae=(()=>{const t=class t extends mae{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",S(Xe,{optional:!0}));s(this,"document",S(Ve));s(this,"_config",S(gm));s(this,"_renderer",S(Ka,{optional:!0}))}applyMask(a,i,o=0,l=!1,u=!1,c=()=>{}){if(!i)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=a&&typeof this.selStart=="number"?a[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let k=a&&a.length===1?a.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==T.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>k.length?k.splice(this.selStart,0,d):a.length<k.length&&(k.length-a.length===1?u?k.splice(this.selStart-1,1):k.splice(a.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&k.length<=a.length?this.shiftTypedSymbols(k.join(T.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),u&&this.specialCharacters.indexOf(this.maskExpression[v]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:i.slice(v-1,v+1)!==T.MONTHS&&(v=v-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 k=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(k),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,i,v,l,u,c);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(k=>!this._compareOrIncludes(k,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?u?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(T.HOURS)){let k=this._numberSkipedSymbols(g);return`${g}${x.slice(w+k)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.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 c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,a,i,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,i){return a.split(T.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[i[l]??T.EMPTY_STRING]&&((u=this.patterns[i[l]??T.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[i[l]??T.EMPTY_STRING])==null?void 0:c.symbol:o}).join(T.EMPTY_STRING)}getActualValue(a){let i=a.split(T.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return i.join(T.EMPTY_STRING)===a?i.join(T.EMPTY_STRING):a}shiftTypedSymbols(a){let i="";return(a&&a.split(T.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??T.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return i=o,a[l+1];if(i.length){let u=i;return i=T.EMPTY_STRING,u}return o})||[]).join(T.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.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===T.IP)return this._checkForIp(a);if(this.maskExpression===T.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,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.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(T.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===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<a.length;o++){let l=a[o]??T.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===T.HASH)return i;let l=[];for(let u=0;u<a.length;u++){let c=a[u]??T.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}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===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(a);let i=Number(a);if(this.maskExpression.startsWith(T.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(T.PERCENT)&&a.includes(T.DOT)?a:a&&a.replace(this._regExpForRemove(i),T.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,T.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,T.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(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(i=i.filter(o=>o!==T.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),T.DOT)}_checkSymbols(a){let i=a;if(i===T.EMPTY_STRING)return i;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(i=i.replace(T.COMMA,T.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 u=(i=this.patterns[l])==null?void 0:i.pattern.toString(),c=(o=this.patterns[l])==null?void 0:o.pattern;if(u!=null&&u.includes(T.WHITE_SPACE)&&(c!=null&&c.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===T.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(T.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===T.CURLY_BRACKETS_LEFT?l:this._start,o!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let u=Number(a.slice(this._start+1,this._end)),c=new Array(u+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(T.LETTER_S)){let d=a.slice(0,this._start-1);return d.includes(T.CURLY_BRACKETS_LEFT)?i+c:d+i+c}else return i+c},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function gae(){let e=S(Ew),t=S(xw);return t instanceof Function?ce(ce({},e),t()):ce(ce({},e),t)}function vae(e){return[{provide:xw,useValue:e},{provide:Ew,useValue:pae},{provide:gm,useFactory:gae},fae]}function bae(e){return Lh(vae(e))}var qu=(()=>{const t=class t{setServices(n){this.services=n}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yae="4.0",sh=yae,ea=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ea||{}),_ae=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new ot);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=sh.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 (${sh})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=a.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),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.cacheDataStorage==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",Ae({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[ha],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),Sw=class{constructor(e,t,r,n,a){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=r}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return Rt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Rt(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return Rt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return Rt(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return Rt(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return Rt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return Rt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},kw=()=>{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)},Yo=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.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Yo||{}),Ei=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Ei||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var Na={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Do={authorization:"Authorization",userType:"user-type",clientType:"client-type"},yo=class extends Error{};yo.prototype.name="InvalidTokenError";function wae(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 xae(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 wae(t)}catch{return atob(t)}}function Eae(e,t){if(typeof e!="string")throw new yo("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 yo(`Invalid token specified: missing part #${r+1}`);let a;try{a=xae(n)}catch(i){throw new yo(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(a)}catch(i){throw new yo(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var Sae=class extends Sw{constructor(e,t,r){super(e,Yo.USER_INFOS,t,r,Yo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Rt(this,null,function*(){return Eae(yield this.getLocalAccessToken("")).userProfile})}},Cw=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(n){this._isOfflineAuthenticated=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function kae(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0].ssin:e.ssin}function Cae(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Dae=(()=>{const t=class t extends Cw{constructor(){super(...arguments),this.servicesStore=S(qu)}resolveSsin(){return Rt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return kae(n)})}resolvePatientInfo(){return Rt(this,null,function*(){let n=yield this.fetchUserProfileToken();return Cae(n)})}resolveUserInfo(){return Rt(this,null,function*(){var d,m,v,g;let n=yield this.fetchUserProfileToken(),a=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((d=n==null?void 0:n.organizations)==null?void 0:d.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,u=(v=n==null?void 0:n.organizations)!=null&&v.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,c=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:a,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Rt(this,null,function*(){var n,a;return((a=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:a.length)>0})}resolveProfessional(n,a){return a?n[a]:void 0}extractProfessionalRole(n){let a=["physician","nurse","midwife","dentist"],i="patient";return a.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new Sae(this.servicesStore.getServices(),n,a)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Iae=(()=>{const t=class t extends Cw{resolveSsin(){return Rt(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return Rt(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Tae=(()=>{const t=class t{constructor(){this.http=S(eo)}get(n,a,i){return Xs()?this.http.get(n,{headers:i}):tt(a)}patch(n,a,i){return Xs()?this.http.patch(n,{},{headers:i}):tt(a)}post(n,a,i){return Xs()?this.http.post(n,{},{headers:i}):tt(a)}delete(n,a,i){return Xs()?this.http.delete(n,{headers:i}):tt(a)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Xs=()=>window.Cypress;function Dw(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var Rae={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Xl(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of Rae[t]){let n=e.find(a=>a.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Si=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Si||{}),Lr=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(Lr||{});function Oae(e,t){return Rt(this,null,function*(){t.next({status:Si.LOADING});try{let r=yield e,n={status:Si.SUCCESS,data:r};return t.next(n),n}catch(r){let n={status:Si.ERROR,error:Aae(r)};return t.next(n),n}})}var ev={[Lr.NO_DATA]:["VIDIS_0140"],[Lr.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[Lr.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[Lr.OTHER]:[]};function Mae(e){for(let t of Object.keys(ev))if(ev[t].includes(e))return t;return Lr.OTHER}function Nae(e,t,r){let n=e||"UNKNOWN",a=Mae(n);return{code:n,message:r??"An unexpected error occurred",group:a,traceId:t}}function Aae(e){var a,i,o;let t=((a=e.error)==null?void 0:a.code)??void 0,r=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return Nae(t,n,r)}var Pae=(()=>{const t=class t{constructor(){this.translate=S(Xn)}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 Xl(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Iw=(()=>{const t=class t{constructor(){this.http=S(eo),this.snackbarService=S(Rw)}getLeaflet(n,a){return this.http.get(`/v2/leaflet/${n}/${a}`,{responseType:"text"}).pipe(tn(1),Th(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),p0(()=>i))))}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Vi=(()=>{const t=class t{constructor(){this.config=S(no),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Iae):this.injector.get(Dae)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Lae={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function Fae(e,t){if(e&1){let r=qr();j(0,"div",1)(1,"button",2),hn("click",function(){kn(r);let n=le();return Cn(n.action())}),ee(2),V()()}if(e&2){let r=le();P(2),Ue(" ",r.data.action," ")}}var jae=["label"];function Vae(e,t){}var zae=Math.pow(2,31)-1,lh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new ve);s(this,"_afterOpened",new ve);s(this,"_onAction",new ve);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,zae))}_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}},Tw=new K("MatSnackBarData"),Jl=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")}},Bae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),Hae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),qae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),$ae=(()=>{const t=class t{constructor(){s(this,"snackBarRef",S(lh));s(this,"data",S(Tw))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({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&&(j(0,"div",0),ee(1),V(),he(2,Fae,3,1,"div",1)),n&2&&(P(),Ue(" ",a.data.message,`
30
+ `),P(),je(a.hasAction?2:-1))},dependencies:[ws,Bae,Hae,qae],styles:[`.mat-mdc-simple-snack-bar{display:flex}
31
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Gc="_mat-snack-bar-enter",Uc="_mat-snack-bar-exit",Gae=(()=>{const t=class t extends zu{constructor(){super();s(this,"_ngZone",S(He));s(this,"_elementRef",S(Xe));s(this,"_changeDetectorRef",S(br));s(this,"_platform",S(pn));s(this,"_rendersRef");s(this,"_animationsDisabled",S(fa,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",S(Jl));s(this,"_document",S(Ve));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new ve);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new ve);s(this,"_onExit",new ve);s(this,"_onEnter",new ve);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",S(Qa).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=Ub(()=>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===Uc?this._completeExit():a===Gc&&(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(tn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Gc)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Gc)},200)))}exit(){return this._destroyed?tt(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(tn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Uc)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Uc),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(u=>a.classList.add(u)):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],u=l.getAttribute("aria-owns");this._trackedModals.add(l),u?u.indexOf(a)===-1&&l.setAttribute("aria-owns",u+" "+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",Ae({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(Pi(Fi,7),Pi(jae,7)),a&2){let o;un(o=cn())&&(i._portalOutlet=o.first),un(o=cn())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,i){a&1&&hn("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),a&2&&jt("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:[Ye],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&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),he(4,Vae,0,0,"ng-template",4),V(),Qe(5,"div"),V()()),a&2&&(P(5),$t("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Fi],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}
32
+ `],encapsulation:2}));let e=t;return e})();function Uae(){return new Jl}var Wae=new K("mat-snack-bar-default-options",{providedIn:"root",factory:Uae}),Zae=(()=>{const t=class t{constructor(){s(this,"_overlay",S(va));s(this,"_live",S(hJ));s(this,"_injector",S(ht));s(this,"_breakpointObserver",S(u1));s(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",S(Wae));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",$ae);s(this,"snackBarContainerComponent",Gae);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=ce(ce({},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=ht.create({parent:i||this._injector,providers:[{provide:Jl,useValue:a}]}),l=new $o(this.snackBarContainerComponent,a.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=a,u.instance}_attach(n,a){let i=ce(ce(ce({},new Jl),this._defaultConfig),a),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),u=new lh(l,o);if(n instanceof an){let c=new Vu(n,null,{$implicit:i.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(i,u),d=new $o(n,void 0,c),m=l.attachComponentPortal(d);u.instance=m.instance}return this._breakpointObserver.observe(Lae.HandsetPortrait).pipe(oa(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(u,i),this._openedSnackBarRef=u,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 em;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,u=!l&&n.horizontalPosition!=="center";return l?i.left("0"):u?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 ht.create({parent:i||this._injector,providers:[{provide:lh,useValue:a},{provide:Tw,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Rw=(()=>{const t=class t{constructor(){this.snackbar=S(Zae),this.translate=S(Xn)}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=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Yae={demo:{env:ea.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:ea.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:ea.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:ea.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:ea.PROD}},no=(()=>{const t=class t{setEnvironment(n){this.configVariables=Yae[ea[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Kae=(e,t)=>{let r=S(Vi).getInstance(),n=S(qu),a=S(no).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(r.isOfflineAuthenticated)return tt();let i=e.headers||new Li,o=r.isProfessional;return Ga(n.getServices().getAccessToken("")).pipe(Oo(l=>t(e.clone({url:`${a}${e.url}`,headers:i.set(Do.authorization,Na.getAuthorizationHeader(l)).set(Do.userType,Na.getUserType({isProfessional:o})).set(Do.clientType,kw()?Na.clientType.mobileApp:Na.clientType.webApp)}))))};function Qae(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Xae=["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",Qae];function Jae(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var eie=["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",Jae];function tie(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 nie=["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",tie];function rie(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var aie=["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",rie];Fu(Xae,"de");Fu(aie,"nl");Fu(nie,"fr");Fu(eie,"en");var iie=class{handleError(e){throw new Error(e)}},oie=class extends LJ{getFirstDayOfWeek(){return 1}format(e){return gw(e,"dd/MM/yyyy")}parse(e){return dae(e,"dd/MM/yyyy",new Date)}},sie={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"}}},lie=[hne(),IX(TX([Kae])),bae(),{provide:Yn,useClass:iie},{provide:f1,useClass:oie,deps:[Zd]},{provide:xJ,useValue:sie},{provide:z1,useClass:pne},{provide:C1,useValue:{panelClass:"mh-dialog-container"}}],uie=Iv($q(),1),cie=new K("MESSAGE_FORMAT_CONFIG"),die={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},hie=(()=>{const t=class t extends _s{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:d}=ce(ce({},die),n);this.messageFormatOptions={customFormatters:a,biDiSupport:i,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=d}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=mie(n,a)}return this.throwOnError||(i=pie(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 uie.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(oe(cie,8))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})();function pie(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 mie(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var Ow={};pe(Ow,{"00001":()=>Mw,"00002":()=>Nw,"00003":()=>Aw,"00004":()=>Pw,"00005":()=>Lw,"00006":()=>Fw,"00007":()=>jw,"00008":()=>Vw,"00009":()=>zw,"00010":()=>Bw,"00011":()=>Hw,"00012":()=>qw,"00013":()=>$w,"00014":()=>Gw,"00015":()=>Uw,"00016":()=>Ww,"00017":()=>Zw,"00018":()=>Yw,"00019":()=>Kw,"00020":()=>Qw,"00021":()=>Xw,"00022":()=>Jw,"00023":()=>ex,"00024":()=>tx,"00025":()=>nx,"00026":()=>rx,"00027":()=>ax,"00028":()=>ix,"00029":()=>ox,"00030":()=>sx,ampoule:()=>Nx,bandage:()=>Ix,bottle:()=>Ax,box:()=>Rx,cm:()=>lx,default:()=>fie,dropsperminute:()=>ux,"effervescent-tablet":()=>Cx,gm:()=>cx,internationalunits:()=>dx,iu:()=>Sx,liter:()=>Ox,"mck/h":()=>hx,"mck/kg/minute":()=>px,measure:()=>mx,meq:()=>xx,mg:()=>_x,"mg/h":()=>fx,"mg/ml":()=>wx,micrograms:()=>Dx,miu:()=>Ex,"ml/h":()=>gx,mmol:()=>kx,piece:()=>Tx,syringe:()=>Mx,"syringe-ampoule":()=>Px,tbl:()=>vx,tsp:()=>bx,"unt/h":()=>yx});var Mw="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",Nw="{count, plural, one{Ampulle} other{Ampullen}}",Aw="anwenden",Pw="{count, plural, one{Kapsel} other{Kapseln}}",Lw="{count, plural, one{Tablette} other{Tabletten}}",Fw="Dosis",jw="{count, plural, one{Tropf} other{Tropfen}}",Vw="{count, plural, one{Fläsche} other{Fläschchen}}",zw="{count, plural, one{Implantat} other{Implantate}}",Bw="{count, plural, one{Infusion} other{Infusionen}}",Hw="{count, plural, one{Inhalation} other{Inhalationen}}",qw="Einstechen",$w="Kaugummi",Gw="{count, plural, one{Kompresse} other{Kompressen}}",Uw="{count, plural, one{Einlauf} other{Einläufe}}",Ww="ml",Zw="Ov.",Yw="{count, plural, one{Perle} other{Perlen}}",Kw="{count, plural, one{Pastille} other{Pastillen}}",Qw="Pflaster",Xw="cart",Jw="Pen",ex="{count, plural, one{Puff} other{Puffs}}",tx="{count, plural, one{Schwamm} other{Schwämme}}",nx="{count, plural, one{Stift} other{Stifte}}",rx="Suppo",ax="Tube",ix="{count, plural, one{Docht} other{Dochte}}",ox="Beutel",sx="Beutel",lx="Zentimeter",ux="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",cx="Gramm",dx="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",hx="Mikrogramm pro Stunde",px="Mikrogramm pro Kilogramm pro Minute",mx="Maß",fx="Miligramm pro Stunde",gx="Milliliter pro Stunde",vx="Esslöffel",bx="Kaffeelöffel",yx="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",_x="Milligramm",wx="Milligramm pro Millimeter",xx="meq",Ex="miu",Sx="iu",kx="mmol",Cx="effervescent-tablet",Dx="micrograms",Ix="{count, plural, one{bandage} other{bandagen}}",Tx="{count, plural, one{stück} other{stücke}}",Rx="schachteln",Ox="liter",Mx="{count, plural, one{spritze} other{spritzen}}",Nx="{count, plural, one{glühbirn} other{glühbirnen}}",Ax="{count, plural, one{Fläsche} other{Fläschchen}}",Px="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",fie={"00001":Mw,"00002":Nw,"00003":Aw,"00004":Pw,"00005":Lw,"00006":Fw,"00007":jw,"00008":Vw,"00009":zw,"00010":Bw,"00011":Hw,"00012":qw,"00013":$w,"00014":Gw,"00015":Uw,"00016":Ww,"00017":Zw,"00018":Yw,"00019":Kw,"00020":Qw,"00021":Xw,"00022":Jw,"00023":ex,"00024":tx,"00025":nx,"00026":rx,"00027":ax,"00028":ix,"00029":ox,"00030":sx,cm:lx,dropsperminute:ux,gm:cx,internationalunits:dx,"mck/h":hx,"mck/kg/minute":px,measure:mx,"mg/h":fx,"ml/h":gx,tbl:vx,tsp:bx,"unt/h":yx,mg:_x,"mg/ml":wx,meq:xx,miu:Ex,iu:Sx,mmol:kx,"effervescent-tablet":Cx,micrograms:Dx,bandage:Ix,piece:Tx,box:Rx,liter:Ox,syringe:Mx,ampoule:Nx,bottle:Ax,"syringe-ampoule":Px},Lx={};pe(Lx,{"00001":()=>Fx,"00002":()=>jx,"00003":()=>Vx,"00004":()=>zx,"00005":()=>Bx,"00006":()=>Hx,"00007":()=>qx,"00008":()=>$x,"00009":()=>Gx,"00010":()=>Ux,"00011":()=>Wx,"00012":()=>Zx,"00013":()=>Yx,"00014":()=>Kx,"00015":()=>Qx,"00016":()=>Xx,"00017":()=>Jx,"00018":()=>eE,"00019":()=>tE,"00020":()=>nE,"00021":()=>rE,"00022":()=>aE,"00023":()=>iE,"00024":()=>oE,"00025":()=>sE,"00026":()=>lE,"00027":()=>uE,"00028":()=>cE,"00029":()=>dE,"00030":()=>hE,ampoule:()=>jE,bandage:()=>NE,bottle:()=>VE,box:()=>PE,cm:()=>pE,default:()=>gie,dropsperminute:()=>mE,"effervescent-tablet":()=>OE,gm:()=>fE,internationalunits:()=>gE,iu:()=>TE,liter:()=>LE,"mck/h":()=>vE,"mck/kg/minute":()=>bE,measure:()=>yE,meq:()=>DE,mg:()=>kE,"mg/h":()=>_E,"mg/ml":()=>CE,micrograms:()=>ME,miu:()=>IE,"ml/h":()=>wE,mmol:()=>RE,piece:()=>AE,syringe:()=>FE,"syringe-ampoule":()=>zE,tbl:()=>xE,tsp:()=>EE,"unt/h":()=>SE});var Fx="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",jx="{count, plural, one{ampoule} other{ampoules}}",Vx="applic.",zx="{count, plural, one{capsule} other{capsules}}",Bx="{count, plural, one{tablet} other{tablets}}",Hx="{count, plural, one{dose} other{doses}}",qx="{count, plural, one{drop} other{drops}}",$x="{count, plural, one{bottle} other{bottles}}",Gx="{count, plural, one{implant} other{implants}}",Ux="{count, plural, one{perfusion} other{perfusions}}",Wx="{count, plural, one{inhalation} other{inhalations}}",Zx="insert",Yx="{count, plural, one{chewing gum} other{chewing gums}}",Kx="{count, plural, one{compress} other{compresses}}",Qx="enema",Xx="ml",Jx="{count, plural, one{ovule} other{ovules}}",eE="{count, plural, one{pearl} other{pearls}}",tE="{count, plural, one{pastille} other{pastilles}}",nE="{count, plural, one{patch} other{patches}}",rE="{count, plural, one{cartridge} other{cartridges}}",aE="{count, plural, one{pen} other{pens}}",iE="{count, plural, one{puff} other{puffs}}",oE="{count, plural, one{sponge} other{sponges}}",sE="{count, plural, one{stylo} other{stylos}}",lE="{count, plural, one{supository} other{supositories}}",uE="{count, plural, one{tube} other{tubes}}",cE="{count, plural, one{wick} other{wicks}}",dE="{count, plural, one{bag} other{bags}}",hE="{count, plural, one{small bag} other{small bags}}",pE="centimeter",mE="{count, plural, one{drop per minute} other{drops per minute}}",fE="gram",gE="international units",vE="microgram per hour",bE="microgram per kilogram per minute",yE="{count, plural, one{measure} other{measures}}",_E="milligram per hour",wE="milliliter per hour",xE="{count, plural, one{tablespoon} other{tablespoons}}",EE="{count, plural, one{teaspoon} other{teaspoons}}",SE="{count, plural, one{unit per hour} other{units per hour}}",kE="milligram",CE="milligram per milliliter",DE="milli-equivalent",IE="miu",TE="international units",RE="millimole",OE="{count, plural, one{effervescent tablet} other{effervescent tablets}}",ME="microgram",NE="{count, plural, one{bandage} other{bandages}}",AE="{count, plural, one{piece} other{pieces}}",PE="{count, plural, one{spray} other{sprays}}",LE="liter",FE="{count, plural, one{syringe} other{syringes}}",jE="{count, plural, one{ampoule} other{ampoules}}",VE="{count, plural, one{bottle} other{bottles}}",zE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",gie={"00001":Fx,"00002":jx,"00003":Vx,"00004":zx,"00005":Bx,"00006":Hx,"00007":qx,"00008":$x,"00009":Gx,"00010":Ux,"00011":Wx,"00012":Zx,"00013":Yx,"00014":Kx,"00015":Qx,"00016":Xx,"00017":Jx,"00018":eE,"00019":tE,"00020":nE,"00021":rE,"00022":aE,"00023":iE,"00024":oE,"00025":sE,"00026":lE,"00027":uE,"00028":cE,"00029":dE,"00030":hE,cm:pE,dropsperminute:mE,gm:fE,internationalunits:gE,"mck/h":vE,"mck/kg/minute":bE,measure:yE,"mg/h":_E,"ml/h":wE,tbl:xE,tsp:EE,"unt/h":SE,mg:kE,"mg/ml":CE,meq:DE,miu:IE,iu:TE,mmol:RE,"effervescent-tablet":OE,micrograms:ME,bandage:NE,piece:AE,box:PE,liter:LE,syringe:FE,ampoule:jE,bottle:VE,"syringe-ampoule":zE},BE={};pe(BE,{"00001":()=>HE,"00002":()=>qE,"00003":()=>$E,"00004":()=>GE,"00005":()=>UE,"00006":()=>WE,"00007":()=>ZE,"00008":()=>YE,"00009":()=>KE,"00010":()=>QE,"00011":()=>XE,"00012":()=>JE,"00013":()=>eS,"00014":()=>tS,"00015":()=>nS,"00016":()=>rS,"00017":()=>aS,"00018":()=>iS,"00019":()=>oS,"00020":()=>sS,"00021":()=>lS,"00022":()=>uS,"00023":()=>cS,"00024":()=>dS,"00025":()=>hS,"00026":()=>pS,"00027":()=>mS,"00028":()=>fS,"00029":()=>gS,"00030":()=>vS,ampoule:()=>qS,bandage:()=>jS,bottle:()=>$S,box:()=>zS,cm:()=>bS,default:()=>vie,dropsperminute:()=>yS,"effervescent-tablet":()=>LS,gm:()=>_S,internationalunits:()=>wS,iu:()=>AS,liter:()=>BS,"mck/h":()=>xS,"mck/kg/minute":()=>ES,measure:()=>SS,meq:()=>MS,mg:()=>RS,"mg/h":()=>kS,"mg/ml":()=>OS,micrograms:()=>FS,miu:()=>NS,"ml/h":()=>CS,mmol:()=>PS,piece:()=>VS,syringe:()=>HS,"syringe-ampoule":()=>GS,tbl:()=>DS,tsp:()=>IS,"unt/h":()=>TS});var HE="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",qE="amp.",$E="applic.",GE="caps.",UE="compr.",WE="{count, plural, one{dose} other{doses}}",ZE="{count, plural, one{goutte} other{gouttes}}",YE="flac.",KE="{count, plural, one{implant} other{implants}}",QE="{count, plural, one{perfusion} other{perfusions}}",XE="{count, plural, one{inhalation} other{inhalations}}",JE="insert",eS="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",tS="{count, plural, one{compres(se)} other{compres(ses)}}",nS="{count, plural, one{lavement} other{lavements}}",rS="ml",aS="ov.",iS="{count, plural, one{perle} other{perles}}",oS="{count, plural, one{pastille} other{pastilles}}",sS="{count, plural, one{patch} other{patchs}}",lS="patr.",uS="{count, plural, one{stylo} other{stylos}}",cS="{count, plural, one{puff} other{puffs}}",dS="{count, plural, one{éponge} other{éponges}}",hS="{count, plural, one{stylo} other{stylos}}",pS="suppo",mS="{count, plural, one{tube} other{tubes}}",fS="{count, plural, one{mèche} other{mèches}}",gS="{count, plural, one{sac} other{sacs}}",vS="{count, plural, one{sachet} other{sachets}}",bS="{count, plural, one{centimètre} other{centimètres}}",yS="{count, plural, one{goute par minute} other{goutes par minute}}",_S="{count, plural, one{gramme} other{grammes}}",wS="{count, plural, one{unité internationales} other{unités internationales}}",xS="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",ES="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",SS="{count, plural, one{mesure} other{mesures}}",kS="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",CS="{count, plural, one{millilitre par heure} other{millilitres par heure}}",DS="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",IS="{count, plural, one{cuillère à café} other{cuillères à café}}",TS="{count, plural, one{unité par heure} other{unités par heure}}",RS="{count, plural, one{miligramme} other{miligrammes}}",OS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",MS="milli-équivalent",NS="miu",AS="{count, plural, one{unité internationales} other{unités internationales}}",PS="millimol",LS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",FS="{count, plural, one{microgramme} other{microgrammes}}",jS="{count, plural, one{bandage} other{bandages}}",VS="{count, plural, one{pièce} other{pièces}}",zS="{count, plural, one{vaporisateur} other{vaporisateurs}}",BS="{count, plural, one{litre} other{litres}}",HS="{count, plural, one{seringue} other{seringues}}",qS="{count, plural, one{ampoule} other{ampoules}}",$S="{count, plural, one{fiole} other{fioles}}",GS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",vie={"00001":HE,"00002":qE,"00003":$E,"00004":GE,"00005":UE,"00006":WE,"00007":ZE,"00008":YE,"00009":KE,"00010":QE,"00011":XE,"00012":JE,"00013":eS,"00014":tS,"00015":nS,"00016":rS,"00017":aS,"00018":iS,"00019":oS,"00020":sS,"00021":lS,"00022":uS,"00023":cS,"00024":dS,"00025":hS,"00026":pS,"00027":mS,"00028":fS,"00029":gS,"00030":vS,cm:bS,dropsperminute:yS,gm:_S,internationalunits:wS,"mck/h":xS,"mck/kg/minute":ES,measure:SS,"mg/h":kS,"ml/h":CS,tbl:DS,tsp:IS,"unt/h":TS,mg:RS,"mg/ml":OS,meq:MS,miu:NS,iu:AS,mmol:PS,"effervescent-tablet":LS,micrograms:FS,bandage:jS,piece:VS,box:zS,liter:BS,syringe:HS,ampoule:qS,bottle:$S,"syringe-ampoule":GS},US={};pe(US,{"00001":()=>WS,"00002":()=>ZS,"00003":()=>YS,"00004":()=>KS,"00005":()=>QS,"00006":()=>XS,"00007":()=>JS,"00008":()=>ek,"00009":()=>tk,"00010":()=>nk,"00011":()=>rk,"00012":()=>ak,"00013":()=>ik,"00014":()=>ok,"00015":()=>sk,"00016":()=>lk,"00017":()=>uk,"00018":()=>ck,"00019":()=>dk,"00020":()=>hk,"00021":()=>pk,"00022":()=>mk,"00023":()=>fk,"00024":()=>gk,"00025":()=>vk,"00026":()=>bk,"00027":()=>yk,"00028":()=>_k,"00029":()=>wk,"00030":()=>xk,ampoule:()=>Zk,bandage:()=>qk,bottle:()=>Yk,box:()=>Gk,cm:()=>Ek,default:()=>bie,dropsperminute:()=>Sk,"effervescent-tablet":()=>Bk,gm:()=>kk,internationalunits:()=>Ck,iu:()=>Vk,liter:()=>Uk,"mck/h":()=>Dk,"mck/kg/minute":()=>Ik,measure:()=>Tk,meq:()=>Fk,mg:()=>Pk,"mg/h":()=>Rk,"mg/ml":()=>Lk,micrograms:()=>Hk,miu:()=>jk,"ml/h":()=>Ok,mmol:()=>zk,piece:()=>$k,syringe:()=>Wk,"syringe-ampoule":()=>Kk,tbl:()=>Mk,tsp:()=>Nk,"unt/h":()=>Ak});var WS="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",ZS="{count, plural, one{ampule} other{ampullen}}",YS="aanbrengen",KS="{count, plural, one{capsule} other{capsules}}",QS="{count, plural, one{tablet} other{tabletten}}",XS="{count, plural, one{dose} other{dosissen}}",JS="{count, plural, one{druppel} other{druppels}}",ek="{count, plural, one{flesje} other{flesjes}}",tk="{count, plural, one{implantaat} other{implantaten}}",nk="{count, plural, one{infuus} other{infusen}}",rk="{count, plural, one{inhalatie} other{inhalaties}}",ak="inbrengen",ik="{count, plural, one{kauwgom} other{kauwgommen}}",ok="{count, plural, one{kompres} other{kompressen}}",sk="lavement",lk="ml",uk="{count, plural, one{ovule} other{ovules}}",ck="{count, plural, one{parel} other{parels}}",dk="{count, plural, one{pastille} other{pastilles}}",hk="{count, plural, one{pleister} other{pleisters}}",pk="{count, plural, one{patroon} other{patronen}}",mk="{count, plural, one{pen} other{pennen}}",fk="{count, plural, one{puff} other{puffs}}",gk="{count, plural, one{spons} other{sponsen}}",vk="{count, plural, one{stylo} other{stylos}}",bk="{count, plural, one{zetpil} other{zetpillen}}",yk="{count, plural, one{tube} other{tubes}}",_k="{count, plural, one{wiek} other{wieken}}",wk="{count, plural, one{zak} other{zakken}}",xk="{count, plural, one{zakje} other{zakjes}}",Ek="centimeter",Sk="{count, plural, one{druppel per minuut} other{druppels per minuut}}",kk="gram",Ck="internationale eenheden",Dk="microgram per uur",Ik="microgram per kilogram per minuut",Tk="{count, plural, one{maat} other{maten}}",Rk="milligram per uur",Ok="milliliter per uur",Mk="{count, plural, one{eetlepel} other{eetlepels}}",Nk="{count, plural, one{koffielepel} other{koffielepels}}",Ak="{count, plural, one{eenheid per uur} other{eenheden per uur}}",Pk="miligram",Lk="miligram per milimeter",Fk="milli-equivalent",jk="miu",Vk="internationale eenheden",zk="millimol",Bk="{count, plural, one{bruistablet} other{bruistabletten}}",Hk="microgram",qk="{count, plural, one{verband} other{verbanden}}",$k="{count, plural, one{stuk} other{stuks}}",Gk="{count, plural, one{verstuiving} other{verstuivingen}}",Uk="liter",Wk="{count, plural, one{spuit} other{spuiten}}",Zk="{count, plural, one{ampul} other{ampullen}}",Yk="{count, plural, one{fles} other{flessen}}",Kk="{count, plural, one{spuitampul} other{spuitampullen}}",bie={"00001":WS,"00002":ZS,"00003":YS,"00004":KS,"00005":QS,"00006":XS,"00007":JS,"00008":ek,"00009":tk,"00010":nk,"00011":rk,"00012":ak,"00013":ik,"00014":ok,"00015":sk,"00016":lk,"00017":uk,"00018":ck,"00019":dk,"00020":hk,"00021":pk,"00022":mk,"00023":fk,"00024":gk,"00025":vk,"00026":bk,"00027":yk,"00028":_k,"00029":wk,"00030":xk,cm:Ek,dropsperminute:Sk,gm:kk,internationalunits:Ck,"mck/h":Dk,"mck/kg/minute":Ik,measure:Tk,"mg/h":Rk,"ml/h":Ok,tbl:Mk,tsp:Nk,"unt/h":Ak,mg:Pk,"mg/ml":Lk,meq:Fk,miu:jk,iu:Vk,mmol:zk,"effervescent-tablet":Bk,micrograms:Hk,bandage:qk,piece:$k,box:Gk,liter:Uk,syringe:Wk,ampoule:Zk,bottle:Yk,"syringe-ampoule":Kk},yie={nl:US,fr:BE,de:Ow,en:Lx},Qk={};pe(Qk,{default:()=>_ie,friday:()=>nC,monday:()=>Xk,saturday:()=>rC,sunday:()=>aC,thursday:()=>tC,tuesday:()=>Jk,wednesday:()=>eC});var Xk="Montag",Jk="Dienstag",eC="Mittwoch",tC="Donnerstag",nC="Freitag",rC="Samstag",aC="Sonntag",_ie={monday:Xk,tuesday:Jk,wednesday:eC,thursday:tC,friday:nC,saturday:rC,sunday:aC},iC={};pe(iC,{default:()=>wie,friday:()=>cC,monday:()=>oC,saturday:()=>dC,sunday:()=>hC,thursday:()=>uC,tuesday:()=>sC,wednesday:()=>lC});var oC="Monday",sC="Tuesday",lC="Wednesday",uC="Thursday",cC="Friday",dC="Saturday",hC="Sunday",wie={monday:oC,tuesday:sC,wednesday:lC,thursday:uC,friday:cC,saturday:dC,sunday:hC},pC={};pe(pC,{default:()=>xie,friday:()=>bC,monday:()=>mC,saturday:()=>yC,sunday:()=>_C,thursday:()=>vC,tuesday:()=>fC,wednesday:()=>gC});var mC="Lundi",fC="Mardi",gC="Mercredi",vC="Jeudi",bC="Vendredi",yC="Samedi",_C="Dimanche",xie={monday:mC,tuesday:fC,wednesday:gC,thursday:vC,friday:bC,saturday:yC,sunday:_C},wC={};pe(wC,{default:()=>Eie,friday:()=>CC,monday:()=>xC,saturday:()=>DC,sunday:()=>IC,thursday:()=>kC,tuesday:()=>EC,wednesday:()=>SC});var xC="Maandag",EC="Dinsdag",SC="Woensdag",kC="Donderdag",CC="Vrijdag",DC="Zaterdag",IC="Zondag",Eie={monday:xC,tuesday:EC,wednesday:SC,thursday:kC,friday:CC,saturday:DC,sunday:IC},Sie={nl:wC,fr:pC,de:Qk,en:iC},TC={};pe(TC,{VIDIS_0035:()=>RC,VIDIS_0050:()=>OC,VIDIS_0090:()=>MC,VIDIS_0100:()=>lD,VIDIS_0110:()=>cD,VIDIS_0120:()=>uD,VIDIS_0121:()=>NC,VIDIS_0122:()=>AC,VIDIS_0123:()=>PC,VIDIS_0124:()=>LC,VIDIS_0125:()=>FC,VIDIS_0126:()=>jC,VIDIS_0131:()=>VC,VIDIS_0132:()=>zC,VIDIS_0133:()=>BC,VIDIS_0134:()=>HC,VIDIS_0135:()=>qC,VIDIS_0136:()=>$C,VIDIS_0190:()=>GC,VIDIS_0200:()=>dD,VIDIS_0210:()=>UC,VIDIS_0211:()=>WC,VIDIS_0230:()=>ZC,VIDIS_0290:()=>YC,VIDIS_0330:()=>KC,VIDIS_0340:()=>hD,VIDIS_0341:()=>pD,VIDIS_0400:()=>oD,VIDIS_04001:()=>mD,VIDIS_0435:()=>QC,VIDIS_0440:()=>XC,VIDIS_3030:()=>sD,VIDIS_3090:()=>nD,VIDIS_3100:()=>aD,VIDIS_3120:()=>iD,VIDIS_3140:()=>rD,VIDIS_3150:()=>tD,VIDIS_5000:()=>JC,VIDIS_7000:()=>eD,"action-not-authorized-close-button":()=>PD,"action-not-authorized-title":()=>AD,"data-not-available-title":()=>ND,default:()=>kie,general:()=>gD,"has-hidden-prescriptions":()=>SD,"incorrect-elements-ms-detail":()=>FD,"incorrect-elements-ms-list":()=>LD,invalid_date_format:()=>wD,myHealth:()=>bD,myHealthUrl:()=>yD,network_error:()=>_D,"no-access":()=>vD,prescriptionList:()=>fD,"report-message-confirm-toast":()=>MD,"report-message-content":()=>DD,"report-message-explanation":()=>CD,"report-message-ignore-button":()=>OD,"report-message-link":()=>TD,"report-message-report-button":()=>RD,"report-message-term-use":()=>ID,"report-message-title":()=>kD,"status-message-content":()=>ED,"status-message-title":()=>xD});var RC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",OC="Die Patienten-INSS fehlt. (VIDIS_0050)",MC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",NC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",AC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",PC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",LC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",FC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",jC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",VC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",zC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",BC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",HC="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",qC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",$C="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",GC="Ungültige INSS-Patientennummer. (VIDIS_0190)",UC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",WC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",ZC="Der Vorgang ist ungültig (VIDIS_0230)",YC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',KC="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)",QC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",XC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",JC="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",eD="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",tD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",nD="Das Rezept ist abgelaufen.",rD="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",aD="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",iD="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",oD="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",sD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",lD="Vorgang nicht erlaubt.",uD="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",cD="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",dD="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",hD="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.",pD="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.",mD="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",fD="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",gD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",vD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",bD="Zurück zum Portal Meine Gesundheit",yD="https://wwwint.meinegesundheit.belgien.be/#/",_D="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",wD="Ungültiges Datumsformat.",xD="Dienst vorübergehend nicht verfügbar",ED=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
33
+ Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,SD="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",kD="Technisches Problem",CD="Bitte versuchen Sie es später noch einmal.",DD="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",ID="unsere Nutzungsbedingungen",TD="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",RD="Problem melden",OD="Nicht melden",MD="Das Problem wurde gemeldet",ND="Daten nicht verfügbar",AD="Aktion nicht erlaubt",PD="Schließen",LD="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",FD="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",kie={VIDIS_0035:RC,VIDIS_0050:OC,VIDIS_0090:MC,VIDIS_0121:NC,VIDIS_0122:AC,VIDIS_0123:PC,VIDIS_0124:LC,VIDIS_0125:FC,VIDIS_0126:jC,VIDIS_0131:VC,VIDIS_0132:zC,VIDIS_0133:BC,VIDIS_0134:HC,VIDIS_0135:qC,VIDIS_0136:$C,VIDIS_0190:GC,VIDIS_0210:UC,VIDIS_0211:WC,VIDIS_0230:ZC,VIDIS_0290:YC,VIDIS_0330:KC,VIDIS_0435:QC,VIDIS_0440:XC,VIDIS_5000:JC,VIDIS_7000:eD,VIDIS_3150:tD,VIDIS_3090:nD,VIDIS_3140:rD,VIDIS_3100:aD,VIDIS_3120:iD,VIDIS_0400:oD,VIDIS_3030:sD,VIDIS_0100:lD,VIDIS_0120:uD,VIDIS_0110:cD,VIDIS_0200:dD,VIDIS_0340:hD,VIDIS_0341:pD,VIDIS_04001:mD,prescriptionList:fD,general:gD,"no-access":vD,myHealth:bD,myHealthUrl:yD,network_error:_D,invalid_date_format:wD,"status-message-title":xD,"status-message-content":ED,"has-hidden-prescriptions":SD,"report-message-title":kD,"report-message-explanation":CD,"report-message-content":DD,"report-message-term-use":ID,"report-message-link":TD,"report-message-report-button":RD,"report-message-ignore-button":OD,"report-message-confirm-toast":MD,"data-not-available-title":ND,"action-not-authorized-title":AD,"action-not-authorized-close-button":PD,"incorrect-elements-ms-list":LD,"incorrect-elements-ms-detail":FD},jD={};pe(jD,{VIDIS_0035:()=>VD,VIDIS_0050:()=>zD,VIDIS_0090:()=>BD,VIDIS_0100:()=>v2,VIDIS_0110:()=>y2,VIDIS_0120:()=>b2,VIDIS_0121:()=>HD,VIDIS_0122:()=>qD,VIDIS_0123:()=>$D,VIDIS_0124:()=>GD,VIDIS_0125:()=>UD,VIDIS_0126:()=>WD,VIDIS_0131:()=>ZD,VIDIS_0132:()=>YD,VIDIS_0133:()=>KD,VIDIS_0134:()=>QD,VIDIS_0135:()=>XD,VIDIS_0136:()=>JD,VIDIS_0190:()=>e2,VIDIS_0200:()=>_2,VIDIS_0210:()=>t2,VIDIS_0211:()=>n2,VIDIS_0230:()=>r2,VIDIS_0290:()=>a2,VIDIS_0330:()=>i2,VIDIS_0340:()=>w2,VIDIS_0341:()=>x2,VIDIS_0400:()=>f2,VIDIS_04001:()=>E2,VIDIS_0435:()=>o2,VIDIS_0440:()=>s2,VIDIS_3030:()=>g2,VIDIS_3090:()=>d2,VIDIS_3100:()=>p2,VIDIS_3120:()=>m2,VIDIS_3140:()=>h2,VIDIS_3150:()=>c2,VIDIS_5000:()=>l2,VIDIS_7000:()=>u2,"action-not-authorized-close-button":()=>$2,"action-not-authorized-title":()=>q2,"data-not-available-title":()=>H2,default:()=>Cie,general:()=>k2,"has-hidden-prescriptions":()=>N2,"incorrect-elements-ms-detail":()=>U2,"incorrect-elements-ms-list":()=>G2,invalid_date_format:()=>R2,myHealth:()=>D2,myHealthUrl:()=>I2,network_error:()=>T2,"no-access":()=>C2,prescriptionList:()=>S2,"report-message-confirm-toast":()=>B2,"report-message-content":()=>L2,"report-message-explanation":()=>P2,"report-message-ignore-button":()=>z2,"report-message-link":()=>j2,"report-message-report-button":()=>V2,"report-message-term-use":()=>F2,"report-message-title":()=>A2,"status-message-content":()=>M2,"status-message-title":()=>O2});var VD="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",zD="The patient's NISS number is missing (VIDIS_0050)",BD="The personal information provided was not recognised. (VIDIS_0090)",HD="Consulting data of a Brussels patient is currently not authorised.",qD="Consulting data of a Walloon patient is currently not authorised.",$D="Consulting data of a Brussels child by a parent is currently not authorised.",GD="Consulting data of a Walloon child by a parent is currently not authorised.",UD="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",WD="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",ZD="Access to the data of a Brussels patient is currently not permitted.",YD="Access to the data of a Walloon patient is currently not permitted.",KD="A parent’s access to the data of a Brussels child is currently not permitted.",QD="A parent’s access to the data of a Walloon child is currently not permitted.",XD="A representative’s access to the data of a Brussels patient is currently not permitted.",JD="A representative’s access to the data of a Walloon patient is currently not permitted.",e2="The patient's NISS number is invalid. (VIDIS_0190)",t2="The login was unsuccessful. Please try again. (VIDIS_0210)",n2="The login was unsuccessful. Please try again. (VIDIS_0211)",r2="The request is invalid. (VIDIS_0230)",a2="User role must be citizen. (VIDIS_0290)",i2="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)",o2="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",s2="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",l2="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",u2="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",c2="No mandate found between patient and mandateholder.",d2="Prescription has expired.",h2="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",p2="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",m2="The patient in the session is different from the patient in the request.",f2="User is not authorized to make the request.",g2="No mandate found between patient and mandateholder.",v2="Operation is not allowed.",b2="A therapeutic relation between the requester and the patient is not available.",y2="There is no consent to share personal health information.",_2="User is not allowed to perform the operation due to an exclusion between requester and patient.",w2="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",x2="You are not authorized to consult this patient’s data. - Either your visa is not active. Please contact the FPS Public Health via: visa@health.belgium.be - Or the NIHDI number of the pharmacy is invalid. In that case, please contact NIHDI via: dossierpharma@riziv-inami.fgov.be",E2="Your request is invalid. Please try again later.",S2="Unfortunately the details of the prescription could not be retrieved. Please try again.",k2="An internal technical error has occured. Please try again later.",C2="An internal technical error has occured. Please try again later.",D2="Back to the MyHealth portal.",I2="https://www.myhealth.belgium.be/",T2="A network error unfortunately has occured. Please contact your network manager if the problem persists.",R2="Invalid date format.",O2="Service temporarily unavailable",M2=`We are currently having a problem connecting to the server.
34
+ Please try again later.`,N2="The patient has hidden one or more prescriptions.",A2="Technical problem",P2="Please try again later.",L2="Help us identify and resolve the issue. By reporting it, you accept ",F2="our terms of use",j2="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",V2="Report the problem",z2="Don't report",B2="The problem has been reported",H2="Data not available",q2="Action not authorized",$2="Close",G2="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",U2="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",Cie={VIDIS_0035:VD,VIDIS_0050:zD,VIDIS_0090:BD,VIDIS_0121:HD,VIDIS_0122:qD,VIDIS_0123:$D,VIDIS_0124:GD,VIDIS_0125:UD,VIDIS_0126:WD,VIDIS_0131:ZD,VIDIS_0132:YD,VIDIS_0133:KD,VIDIS_0134:QD,VIDIS_0135:XD,VIDIS_0136:JD,VIDIS_0190:e2,VIDIS_0210:t2,VIDIS_0211:n2,VIDIS_0230:r2,VIDIS_0290:a2,VIDIS_0330:i2,VIDIS_0435:o2,VIDIS_0440:s2,VIDIS_5000:l2,VIDIS_7000:u2,VIDIS_3150:c2,VIDIS_3090:d2,VIDIS_3140:h2,VIDIS_3100:p2,VIDIS_3120:m2,VIDIS_0400:f2,VIDIS_3030:g2,VIDIS_0100:v2,VIDIS_0120:b2,VIDIS_0110:y2,VIDIS_0200:_2,VIDIS_0340:w2,VIDIS_0341:x2,VIDIS_04001:E2,prescriptionList:S2,general:k2,"no-access":C2,myHealth:D2,myHealthUrl:I2,network_error:T2,invalid_date_format:R2,"status-message-title":O2,"status-message-content":M2,"has-hidden-prescriptions":N2,"report-message-title":A2,"report-message-explanation":P2,"report-message-content":L2,"report-message-term-use":F2,"report-message-link":j2,"report-message-report-button":V2,"report-message-ignore-button":z2,"report-message-confirm-toast":B2,"data-not-available-title":H2,"action-not-authorized-title":q2,"action-not-authorized-close-button":$2,"incorrect-elements-ms-list":G2,"incorrect-elements-ms-detail":U2},W2={};pe(W2,{VIDIS_0035:()=>Z2,VIDIS_0050:()=>Y2,VIDIS_0090:()=>K2,VIDIS_0100:()=>CI,VIDIS_0110:()=>II,VIDIS_0120:()=>DI,VIDIS_0121:()=>Q2,VIDIS_0122:()=>X2,VIDIS_0123:()=>J2,VIDIS_0124:()=>eI,VIDIS_0125:()=>tI,VIDIS_0126:()=>nI,VIDIS_0131:()=>rI,VIDIS_0132:()=>aI,VIDIS_0133:()=>iI,VIDIS_0134:()=>oI,VIDIS_0135:()=>sI,VIDIS_0136:()=>lI,VIDIS_0190:()=>uI,VIDIS_0200:()=>TI,VIDIS_0210:()=>cI,VIDIS_0211:()=>dI,VIDIS_0230:()=>hI,VIDIS_0290:()=>pI,VIDIS_0330:()=>mI,VIDIS_0340:()=>RI,VIDIS_0341:()=>OI,VIDIS_0400:()=>SI,VIDIS_04001:()=>MI,VIDIS_0435:()=>fI,VIDIS_0440:()=>gI,VIDIS_3030:()=>kI,VIDIS_3090:()=>_I,VIDIS_3100:()=>xI,VIDIS_3120:()=>EI,VIDIS_3140:()=>wI,VIDIS_3150:()=>yI,VIDIS_5000:()=>vI,VIDIS_7000:()=>bI,"action-not-authorized-close-button":()=>JI,"action-not-authorized-title":()=>XI,"data-not-available-title":()=>QI,default:()=>Die,general:()=>AI,"has-hidden-prescriptions":()=>HI,"incorrect-elements-ms-detail":()=>tT,"incorrect-elements-ms-list":()=>eT,invalid_date_format:()=>VI,myHealth:()=>LI,myHealthUrl:()=>FI,network_error:()=>jI,"no-access":()=>PI,prescriptionList:()=>NI,"report-message-confirm-toast":()=>KI,"report-message-content":()=>GI,"report-message-explanation":()=>$I,"report-message-ignore-button":()=>YI,"report-message-link":()=>WI,"report-message-report-button":()=>ZI,"report-message-term-use":()=>UI,"report-message-title":()=>qI,"status-message-content":()=>BI,"status-message-title":()=>zI});var Z2="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",Y2="Le NISS du patient est manquant. (VIDIS_0050)",K2="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",Q2="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",X2="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",J2="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",eI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",tI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",nI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",rI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",aI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",iI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",oI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",sI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",lI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",uI="Le NISS du patient n’est pas valide. (VIDIS_0190)",cI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",dI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",hI="L’opération n’est pas valide. (VIDIS_0230)",pI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",mI="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)",fI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",gI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",vI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",bI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",yI="Aucun mandat trouvé entre le patient et le mandataire.",_I="L’ordonnance est expirée.",wI="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",xI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",EI="Le patient dans la session est différent de celui dans la demande.",SI="L’utilisateur n’est pas autorisé à effectuer la requête.",kI="Aucun mandat trouvé entre le patient et le mandataire.",CI="Opération non autorisée.",DI="Aucune relation thérapeutique entre le demandeur et le patient.",II="Aucun consentement au partage des données de santé.",TI="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",RI="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",OI="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",MI="Votre requête est invalide. Veuillez réessayer plus tard.",NI="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",AI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",PI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",LI="Revenir au portail MaSanté",FI="https://wwwint.masante.belgique.be/#/",jI="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",VI="Le format de date est invalide.",zI="Service temporairement indisponible",BI=`Nous rencontrons actuellement un problème de connexion au serveur.
35
+ Veuillez réessayer plus tard.`,HI="Le patient a masqué une ou plusieurs prescriptions.",qI="Problème technique",$I="Veuillez réessayer plus tard.",GI="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",UI="conditions d'utilisation",WI="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",ZI="Signaler le problème",YI="Ignorer",KI="Le problème a été signalé",QI="Données non disponibles",XI="Action non autorisée",JI="Fermer",eT="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",tT="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",Die={VIDIS_0035:Z2,VIDIS_0050:Y2,VIDIS_0090:K2,VIDIS_0121:Q2,VIDIS_0122:X2,VIDIS_0123:J2,VIDIS_0124:eI,VIDIS_0125:tI,VIDIS_0126:nI,VIDIS_0131:rI,VIDIS_0132:aI,VIDIS_0133:iI,VIDIS_0134:oI,VIDIS_0135:sI,VIDIS_0136:lI,VIDIS_0190:uI,VIDIS_0210:cI,VIDIS_0211:dI,VIDIS_0230:hI,VIDIS_0290:pI,VIDIS_0330:mI,VIDIS_0435:fI,VIDIS_0440:gI,VIDIS_5000:vI,VIDIS_7000:bI,VIDIS_3150:yI,VIDIS_3090:_I,VIDIS_3140:wI,VIDIS_3100:xI,VIDIS_3120:EI,VIDIS_0400:SI,VIDIS_3030:kI,VIDIS_0100:CI,VIDIS_0120:DI,VIDIS_0110:II,VIDIS_0200:TI,VIDIS_0340:RI,VIDIS_0341:OI,VIDIS_04001:MI,prescriptionList:NI,general:AI,"no-access":PI,myHealth:LI,myHealthUrl:FI,network_error:jI,invalid_date_format:VI,"status-message-title":zI,"status-message-content":BI,"has-hidden-prescriptions":HI,"report-message-title":qI,"report-message-explanation":$I,"report-message-content":GI,"report-message-term-use":UI,"report-message-link":WI,"report-message-report-button":ZI,"report-message-ignore-button":YI,"report-message-confirm-toast":KI,"data-not-available-title":QI,"action-not-authorized-title":XI,"action-not-authorized-close-button":JI,"incorrect-elements-ms-list":eT,"incorrect-elements-ms-detail":tT},nT={};pe(nT,{VIDIS_0035:()=>rT,VIDIS_0050:()=>aT,VIDIS_0090:()=>iT,VIDIS_0100:()=>PT,VIDIS_0110:()=>FT,VIDIS_0120:()=>LT,VIDIS_0121:()=>oT,VIDIS_0122:()=>sT,VIDIS_0123:()=>lT,VIDIS_0124:()=>uT,VIDIS_0125:()=>cT,VIDIS_0126:()=>dT,VIDIS_0131:()=>hT,VIDIS_0132:()=>pT,VIDIS_0133:()=>mT,VIDIS_0134:()=>fT,VIDIS_0135:()=>gT,VIDIS_0136:()=>vT,VIDIS_0190:()=>bT,VIDIS_0200:()=>jT,VIDIS_0210:()=>yT,VIDIS_0211:()=>_T,VIDIS_0230:()=>wT,VIDIS_0290:()=>xT,VIDIS_0330:()=>ET,VIDIS_0340:()=>VT,VIDIS_0341:()=>zT,VIDIS_0400:()=>NT,VIDIS_04001:()=>BT,VIDIS_0435:()=>ST,VIDIS_0440:()=>kT,VIDIS_3030:()=>AT,VIDIS_3090:()=>TT,VIDIS_3100:()=>OT,VIDIS_3120:()=>MT,VIDIS_3140:()=>RT,VIDIS_3150:()=>IT,VIDIS_5000:()=>CT,VIDIS_7000:()=>DT,"action-not-authorized-close-button":()=>lR,"action-not-authorized-title":()=>sR,"data-not-available-title":()=>oR,default:()=>Iie,general:()=>qT,"has-hidden-prescriptions":()=>QT,"incorrect-elements-ms-detail":()=>cR,"incorrect-elements-ms-list":()=>uR,invalid_date_format:()=>ZT,myHealth:()=>GT,myHealthUrl:()=>UT,network_error:()=>WT,"no-access":()=>$T,prescriptionList:()=>HT,"report-message-confirm-toast":()=>iR,"report-message-content":()=>eR,"report-message-explanation":()=>JT,"report-message-ignore-button":()=>aR,"report-message-link":()=>nR,"report-message-report-button":()=>rR,"report-message-term-use":()=>tR,"report-message-title":()=>XT,"status-message-content":()=>KT,"status-message-title":()=>YT});var rT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",aT="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",iT="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",oT="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",sT="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",lT="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",uT="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",cT="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",dT="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",hT="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",pT="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",mT="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",fT="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",gT="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",vT="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",bT="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",yT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",_T="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",wT="Het verzoek is ongeldig. (VIDIS_0230)",xT="Gebruikersrol moet burger zijn. (VIDIS_0290)",ET="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)",ST="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",kT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",CT="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",DT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",IT="Geen mandaat gevonden tussen patiënt en mandataris.",TT="Voorschrift is verlopen.",RT="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",OT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",MT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",NT="De gebruiker is niet gemachtigd om de aanvraag te doen.",AT="Geen mandaat gevonden tussen patiënt en mandataris.",PT="Bewerking is niet toegestaan.",LT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",FT="Er is geen toestemming om gezondheidsgegevens te delen.",jT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",VT="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",zT="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",BT="Uw verzoek is ongeldig. Probeer later opnieuw.",HT="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",qT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",$T="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",GT="Terug naar het MijnGezondheid portaal",UT="http://wwwint.mijngezondheid.belgie.be/",WT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",ZT="Ongeldig datumformaat.",YT="Service tijdelijk niet beschikbaar",KT=`Er is momenteel een probleem met de verbinding met de server.
36
+ Probeer het later nog eens.`,QT="De patiënt heeft 1 of meerdere voorschriften verborgen.",XT="Technisch probleem",JT="Probeer het later opnieuw.",eR="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",tR="gebruiksvoorwaarden",nR="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",rR="Probleem melden",aR="Niet melden",iR="Het probleem is gemeld",oR="Gegevens niet beschikbaar",sR="Actie niet toegestaan",lR="Sluiten",uR="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",cR="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",Iie={VIDIS_0035:rT,VIDIS_0050:aT,VIDIS_0090:iT,VIDIS_0121:oT,VIDIS_0122:sT,VIDIS_0123:lT,VIDIS_0124:uT,VIDIS_0125:cT,VIDIS_0126:dT,VIDIS_0131:hT,VIDIS_0132:pT,VIDIS_0133:mT,VIDIS_0134:fT,VIDIS_0135:gT,VIDIS_0136:vT,VIDIS_0190:bT,VIDIS_0210:yT,VIDIS_0211:_T,VIDIS_0230:wT,VIDIS_0290:xT,VIDIS_0330:ET,VIDIS_0435:ST,VIDIS_0440:kT,VIDIS_5000:CT,VIDIS_7000:DT,VIDIS_3150:IT,VIDIS_3090:TT,VIDIS_3140:RT,VIDIS_3100:OT,VIDIS_3120:MT,VIDIS_0400:NT,VIDIS_3030:AT,VIDIS_0100:PT,VIDIS_0120:LT,VIDIS_0110:FT,VIDIS_0200:jT,VIDIS_0340:VT,VIDIS_0341:zT,VIDIS_04001:BT,prescriptionList:HT,general:qT,"no-access":$T,myHealth:GT,myHealthUrl:UT,network_error:WT,invalid_date_format:ZT,"status-message-title":YT,"status-message-content":KT,"has-hidden-prescriptions":QT,"report-message-title":XT,"report-message-explanation":JT,"report-message-content":eR,"report-message-term-use":tR,"report-message-link":nR,"report-message-report-button":rR,"report-message-ignore-button":aR,"report-message-confirm-toast":iR,"data-not-available-title":oR,"action-not-authorized-title":sR,"action-not-authorized-close-button":lR,"incorrect-elements-ms-list":uR,"incorrect-elements-ms-detail":cR},Tie={nl:nT,fr:W2,de:TC,en:jD},dR={};pe(dR,{1:()=>hR,10:()=>wR,11:()=>xR,12:()=>ER,13:()=>SR,14:()=>kR,15:()=>CR,16:()=>DR,17:()=>IR,18:()=>TR,19:()=>RR,2:()=>pR,20:()=>OR,21:()=>MR,22:()=>NR,23:()=>AR,24:()=>PR,25:()=>LR,26:()=>FR,27:()=>jR,28:()=>VR,29:()=>zR,3:()=>mR,30:()=>BR,31:()=>HR,32:()=>qR,33:()=>$R,34:()=>GR,4:()=>fR,40:()=>UR,41:()=>WR,5:()=>gR,6:()=>vR,7:()=>bR,71:()=>ZR,8:()=>yR,9:()=>_R,90:()=>YR,91:()=>KR,92:()=>QR,93:()=>XR,default:()=>Rie});var hR="Gelatinekapseln",pR="Tabletten",mR="Creme",fR="Gel",gR="Paste",vR="Fette Salbe",bR="Granulat",yR="Zäpfchen für Erwachsene",_R="Zäpfchen für Kinder",wR="Vaginalzäpfchen",xR="Rektiole",ER="nicht gespaltenes Pulver innerliche Anwendung",SR="nicht gespaltenes Pulver äußerliche Anwendung",kR="Inhalation",CR="Pulver Zum Spalten innerliche Anwendung",DR="Pulver Zum Spalten äußerliche Anwendung",IR="Nasentropfen",TR="Nasensalbe",RR="Sirup",OR="Lösung innerliche Anwendung",MR="Lösung äußerliche Anwendung",NR="Tropfen innerliche Anwendung",AR="Tropfen äußerliche Anwendung",PR="Emulsion innerliche Anwendung",LR="Emulsion äußerliche Anwendung",FR="Shampoo",jR="Augentropfen",VR="Augenlotion",zR="Augenbad",BR="Salbe",HR="Augensalbe ",qR="Ohrentropfen",$R="Suspension innerliche Anwendung",GR="Suspension äußerliche Anwendung",UR="Kräutermischung",WR="Tee",ZR="enterische Kapseln",YR="derartig",KR="Dermatologie (fest) derartig",QR="Pulver derartig",XR="Lösung derartig",Rie={1:hR,2:pR,3:mR,4:fR,5:gR,6:vR,7:bR,8:yR,9:_R,10:wR,11:xR,12:ER,13:SR,14:kR,15:CR,16:DR,17:IR,18:TR,19:RR,20:OR,21:MR,22:NR,23:AR,24:PR,25:LR,26:FR,27:jR,28:VR,29:zR,30:BR,31:HR,32:qR,33:$R,34:GR,40:UR,41:WR,71:ZR,90:YR,91:KR,92:QR,93:XR},JR={};pe(JR,{1:()=>eO,10:()=>uO,11:()=>cO,12:()=>dO,13:()=>hO,14:()=>pO,15:()=>mO,16:()=>fO,17:()=>gO,18:()=>vO,19:()=>bO,2:()=>tO,20:()=>yO,21:()=>_O,22:()=>wO,23:()=>xO,24:()=>EO,25:()=>SO,26:()=>kO,27:()=>CO,28:()=>DO,29:()=>IO,3:()=>nO,30:()=>TO,31:()=>RO,32:()=>OO,33:()=>MO,34:()=>NO,4:()=>rO,40:()=>AO,41:()=>PO,5:()=>aO,6:()=>iO,7:()=>oO,71:()=>LO,8:()=>sO,9:()=>lO,90:()=>FO,91:()=>jO,92:()=>VO,93:()=>zO,default:()=>Oie});var eO="Capsules",tO="Tablets",nO="Cream",rO="Gel",aO="Paste",iO="Fatty ointment",oO="Granulate",sO="Adult suppository",lO="Child suppository",uO="Vaginal ovules",cO="Rectiole",dO="Undivided powder for internal use",hO="Undivided powder for external use",pO="Inhalation",mO="Divided powders for internal use",fO="Divided powders for external use",gO="Nasal drops",vO="Nasal ointment",bO="Syrup",yO="Solution for internal use",_O="Solution for external use",wO="Drops for internal use",xO="Drops for external use",EO="Emulsion for internal use",SO="Emulsion for external use",kO="Shampoo",CO="Eye drops",DO="Eye lotion",IO="Eye bath",TO="Ointment",RO="Eye ointment",OO="Ear drops",MO="Suspension for internal use",NO="Suspension for external use",AO="Herbal mixture",PO="Tea",LO="Enteric-coated capsules",FO="As is",jO="Dermatology (solid) as is",VO="Powder as is",zO="Liquid as is",Oie={1:eO,2:tO,3:nO,4:rO,5:aO,6:iO,7:oO,8:sO,9:lO,10:uO,11:cO,12:dO,13:hO,14:pO,15:mO,16:fO,17:gO,18:vO,19:bO,20:yO,21:_O,22:wO,23:xO,24:EO,25:SO,26:kO,27:CO,28:DO,29:IO,30:TO,31:RO,32:OO,33:MO,34:NO,40:AO,41:PO,71:LO,90:FO,91:jO,92:VO,93:zO},BO={};pe(BO,{1:()=>HO,10:()=>QO,11:()=>XO,12:()=>JO,13:()=>eM,14:()=>tM,15:()=>nM,16:()=>rM,17:()=>aM,18:()=>iM,19:()=>oM,2:()=>qO,20:()=>sM,21:()=>lM,22:()=>uM,23:()=>cM,24:()=>dM,25:()=>hM,26:()=>pM,27:()=>mM,28:()=>fM,29:()=>gM,3:()=>$O,30:()=>vM,31:()=>bM,32:()=>yM,33:()=>_M,34:()=>wM,4:()=>GO,40:()=>xM,41:()=>EM,5:()=>UO,6:()=>WO,7:()=>ZO,71:()=>SM,8:()=>YO,9:()=>KO,90:()=>kM,91:()=>CM,92:()=>DM,93:()=>IM,default:()=>Mie});var HO="Gélules",qO="Cachets / comprimés",$O="Crème",GO="Gel",UO="Pâte",WO="Pommade grasse",ZO="Granulé",YO="Suppo adulte",KO="Suppo enfant",QO="Ovules vaginales",XO="Rectiole",JO="Poudre non-divisée usage interne",eM="Poudre non-divisée usage externe",tM="Inhalation",nM="Poudres à diviser usage interne",rM="Poudres à diviser usage externe",aM="Gouttes nasales",iM="Pommade nasale",oM="Sirop",sM="Solution usage interne",lM="Solution usage externe",uM="Gouttes usage interne",cM="Gouttes usage externe",dM="Emulsion usage interne",hM="Emulsion usage externe",pM="Shampooing",mM="Gouttes ophtalmiques",fM="Lotion ophtalmique",gM="Bain ophtalmique",vM="Pommade",bM="Pommade ophtalmique",yM="Gouttes auriculaires",_M="Suspension usage interne",wM="Suspension usage externe",xM="Mélange de plantes",EM="Thé",SM="Gélules à enrobage entérique / Gélules entériques",kM="en tant que tel/telle",CM="Dermatologie (solide) en tant que telle",DM="Poudre en tant que telle ",IM="Solution en tant que telle ",Mie={1:HO,2:qO,3:$O,4:GO,5:UO,6:WO,7:ZO,8:YO,9:KO,10:QO,11:XO,12:JO,13:eM,14:tM,15:nM,16:rM,17:aM,18:iM,19:oM,20:sM,21:lM,22:uM,23:cM,24:dM,25:hM,26:pM,27:mM,28:fM,29:gM,30:vM,31:bM,32:yM,33:_M,34:wM,40:xM,41:EM,71:SM,90:kM,91:CM,92:DM,93:IM},TM={};pe(TM,{1:()=>RM,10:()=>VM,11:()=>zM,12:()=>BM,13:()=>HM,14:()=>qM,15:()=>$M,16:()=>GM,17:()=>UM,18:()=>WM,19:()=>ZM,2:()=>OM,20:()=>YM,21:()=>KM,22:()=>QM,23:()=>XM,24:()=>JM,25:()=>eN,26:()=>tN,27:()=>nN,28:()=>rN,29:()=>aN,3:()=>MM,30:()=>iN,31:()=>oN,32:()=>sN,33:()=>lN,34:()=>uN,4:()=>NM,40:()=>cN,41:()=>dN,5:()=>AM,6:()=>PM,7:()=>LM,71:()=>hN,8:()=>FM,9:()=>jM,90:()=>pN,91:()=>mN,92:()=>fN,93:()=>gN,default:()=>Nie});var RM="Capsules",OM="Tabletten",MM="Creme",NM="Gel",AM="Pasta",PM="Vette zalf",LM="Granulaat",FM="Suppo volwassene",jM="Suppo kind",VM="Vaginale zetpillen / vaginale ovules",zM="Rektiool",BM="Niet-verdeeld poeder inwendig gebruik",HM="Niet-verdeeld poeder uitwendig gebruik",qM="Inhalatie",$M="Te verdelen poeders inwendig gebruik",GM="Te verdelen poeders uitwendig gebruik",UM="Neusdruppels",WM="Neuszalf",ZM="Siroop",YM="Oplossing inwendig gebruik",KM="Oplossing uitwendig gebruik",QM="Druppels inwendig gebruik",XM="Druppels uitwendig gebruik",JM="Emulsie inwendig gebruik",eN="Emulsie uitwendig gebruik",tN="Shampoo",nN="Oogdruppels",rN="Ooglotion",aN="Oogbad",iN="Zalf",oN="Oogzalf",sN="Oordruppels",lN="Suspensie inwendig gebruik",uN="Suspensie uitwendig gebruik",cN="Kruidenmengsel",dN="Thee",hN="enterisch omhulde capsules",pN="Als dusdanig",mN="Als dusdanig dermatologie (vast)",fN="Als dusdanig poeder",gN="Als dusdanig vloeistof",Nie={1:RM,2:OM,3:MM,4:NM,5:AM,6:PM,7:LM,8:FM,9:jM,10:VM,11:zM,12:BM,13:HM,14:qM,15:$M,16:GM,17:UM,18:WM,19:ZM,20:YM,21:KM,22:QM,23:XM,24:JM,25:eN,26:tN,27:nN,28:rN,29:aN,30:iN,31:oN,32:sN,33:lN,34:uN,40:cN,41:dN,71:hN,90:pN,91:mN,92:fN,93:gN},Aie={nl:TM,fr:BO,de:dR,en:JR},vN={};pe(vN,{close:()=>bN,default:()=>Pie,downloadLeaflet:()=>yN,file:()=>_N,notSpecified:()=>wN,patient:()=>EN,prescribedOn:()=>kN,prescriber:()=>SN,prescription:()=>xN});var bN="Schließen",yN="Download Packungsbeilage (pdf)",_N="feile",wN="Nicht angegeben",xN="Rezept",EN="Patient",SN="Verordnende Person",kN="Drucken",Pie={close:bN,downloadLeaflet:yN,file:_N,notSpecified:wN,prescription:xN,patient:EN,prescriber:SN,prescribedOn:kN},CN={};pe(CN,{close:()=>DN,default:()=>Lie,downloadLeaflet:()=>IN,file:()=>TN,notSpecified:()=>RN,patient:()=>MN,prescribedOn:()=>AN,prescriber:()=>NN,prescription:()=>ON});var DN="Close",IN="Download leaflet (pdf)",TN="file",RN="Not specified",ON="Prescription",MN="Patient",NN="Prescriber",AN="Prescribed on",Lie={close:DN,downloadLeaflet:IN,file:TN,notSpecified:RN,prescription:ON,patient:MN,prescriber:NN,prescribedOn:AN},PN={};pe(PN,{close:()=>LN,default:()=>Fie,downloadLeaflet:()=>FN,file:()=>jN,notSpecified:()=>VN,patient:()=>BN,prescribedOn:()=>qN,prescriber:()=>HN,prescription:()=>zN});var LN="Fermer",FN="Télécharger la notice (pdf)",jN="fichier",VN="Non spécifié",zN="Prescription",BN="Patient",HN="Prescripteur",qN="Prescrit le",Fie={close:LN,downloadLeaflet:FN,file:jN,notSpecified:VN,prescription:zN,patient:BN,prescriber:HN,prescribedOn:qN},$N={};pe($N,{close:()=>GN,default:()=>jie,downloadLeaflet:()=>UN,file:()=>WN,notSpecified:()=>ZN,patient:()=>KN,prescribedOn:()=>XN,prescriber:()=>QN,prescription:()=>YN});var GN="Sluiten",UN="Download bijsluiter (pdf)",WN="bestand",ZN="Niet gespecificeerd",YN="Voorschrift",KN="Patiënt",QN="Voorschrijver",XN="Voorgeschreven op",jie={close:GN,downloadLeaflet:UN,file:WN,notSpecified:ZN,prescription:YN,patient:KN,prescriber:QN,prescribedOn:XN},Vie={nl:$N,fr:PN,de:vN,en:CN},JN={};pe(JN,{afterbreakfast:()=>eA,afterdinner:()=>tA,afterlunch:()=>nA,aftermeal:()=>rA,afternoon:()=>aA,beforebreakfast:()=>iA,beforedinner:()=>oA,beforelunch:()=>sA,betweenbreakfastandlunch:()=>lA,betweendinnerandsleep:()=>uA,betweenlunchanddinner:()=>cA,betweenmeals:()=>dA,breakfast:()=>hA,default:()=>zie,dinner:()=>pA,duringbreakfast:()=>mA,duringdinner:()=>fA,duringlunch:()=>gA,evening:()=>vA,lunch:()=>bA,morning:()=>yA,night:()=>_A,thehourofsleep:()=>wA});var eA="nach dem Frühstück",tA="nach dem Abendessen",nA="nach dem Mittagessen",rA="nach dem Essen",aA="Nachmittag",iA="vor dem Frühstück",oA="vor dem Abendessen",sA="vor dem Mittagessen",lA="zwischen Frühstück und Mittagessen",uA="zwischen Abendessen und Nachtruhe",cA="zwischen Mittagessen und Abendessen",dA="zwischen den Mahlzeiten",hA="Frühstück",pA="Abendessen",mA="zum Frühstück",fA="zum Abendessen",gA="zum Mittagessen",vA="Abend",bA="Mittagessen",yA="Vormittag",_A="Nacht",wA="Nachtruhe",zie={afterbreakfast:eA,afterdinner:tA,afterlunch:nA,aftermeal:rA,afternoon:aA,beforebreakfast:iA,beforedinner:oA,beforelunch:sA,betweenbreakfastandlunch:lA,betweendinnerandsleep:uA,betweenlunchanddinner:cA,betweenmeals:dA,breakfast:hA,dinner:pA,duringbreakfast:mA,duringdinner:fA,duringlunch:gA,evening:vA,lunch:bA,morning:yA,night:_A,thehourofsleep:wA},xA={};pe(xA,{afterbreakfast:()=>EA,afterdinner:()=>SA,afterlunch:()=>kA,aftermeal:()=>CA,afternoon:()=>DA,beforebreakfast:()=>IA,beforedinner:()=>TA,beforelunch:()=>RA,betweenbreakfastandlunch:()=>OA,betweendinnerandsleep:()=>MA,betweenlunchanddinner:()=>NA,betweenmeals:()=>AA,breakfast:()=>PA,default:()=>Bie,dinner:()=>LA,duringbreakfast:()=>FA,duringdinner:()=>jA,duringlunch:()=>VA,evening:()=>zA,lunch:()=>BA,morning:()=>HA,night:()=>qA,thehourofsleep:()=>$A});var EA="after breakfast",SA="after dinner",kA="after lunch",CA="after meal",DA="afternoon",IA="before breakfast",TA="before dinner",RA="before lunch",OA="between breakfast and lunch",MA="between dinner and the hour of sleep",NA="between lunch and dinner",AA="between meals",PA="breakfast",LA="dinner",FA="during breakfast",jA="during dinner",VA="during lunch",zA="evening",BA="lunch",HA="morning",qA="night",$A="the hour of sleep",Bie={afterbreakfast:EA,afterdinner:SA,afterlunch:kA,aftermeal:CA,afternoon:DA,beforebreakfast:IA,beforedinner:TA,beforelunch:RA,betweenbreakfastandlunch:OA,betweendinnerandsleep:MA,betweenlunchanddinner:NA,betweenmeals:AA,breakfast:PA,dinner:LA,duringbreakfast:FA,duringdinner:jA,duringlunch:VA,evening:zA,lunch:BA,morning:HA,night:qA,thehourofsleep:$A},GA={};pe(GA,{afterbreakfast:()=>UA,afterdinner:()=>WA,afterlunch:()=>ZA,aftermeal:()=>YA,afternoon:()=>KA,beforebreakfast:()=>QA,beforedinner:()=>XA,beforelunch:()=>JA,betweenbreakfastandlunch:()=>eP,betweendinnerandsleep:()=>tP,betweenlunchanddinner:()=>nP,betweenmeals:()=>rP,breakfast:()=>aP,default:()=>Hie,dinner:()=>iP,duringbreakfast:()=>oP,duringdinner:()=>sP,duringlunch:()=>lP,evening:()=>uP,lunch:()=>cP,morning:()=>dP,night:()=>hP,thehourofsleep:()=>pP});var UA="après le petit-déjeuner",WA="après le repas du soir",ZA="après le repas du midi",YA="après le repas",KA="après-midi",QA="avant le petit-déjeuner",XA="avant le repas du soir",JA="avant le repas du midi",eP="entre le petit-déjeuner et le repas du midi",tP="entre le repas du soir et l’heure du coucher",nP="entre le repas du midi et le repas du soir",rP="entre les repas",aP="petit-déjeuner",iP="repas du soir",oP="pendant le petit-déjeuner",sP="pendant le repas du soir",lP="pendant le repas du midi",uP="soir",cP="repas du midi",dP="matin",hP="nuit",pP="heure du coucher",Hie={afterbreakfast:UA,afterdinner:WA,afterlunch:ZA,aftermeal:YA,afternoon:KA,beforebreakfast:QA,beforedinner:XA,beforelunch:JA,betweenbreakfastandlunch:eP,betweendinnerandsleep:tP,betweenlunchanddinner:nP,betweenmeals:rP,breakfast:aP,dinner:iP,duringbreakfast:oP,duringdinner:sP,duringlunch:lP,evening:uP,lunch:cP,morning:dP,night:hP,thehourofsleep:pP},mP={};pe(mP,{afterbreakfast:()=>fP,afterdinner:()=>gP,afterlunch:()=>vP,aftermeal:()=>bP,afternoon:()=>yP,beforebreakfast:()=>_P,beforedinner:()=>wP,beforelunch:()=>xP,betweenbreakfastandlunch:()=>EP,betweendinnerandsleep:()=>SP,betweenlunchanddinner:()=>kP,betweenmeals:()=>CP,breakfast:()=>DP,default:()=>qie,dinner:()=>IP,duringbreakfast:()=>TP,duringdinner:()=>RP,duringlunch:()=>OP,evening:()=>MP,lunch:()=>NP,morning:()=>AP,night:()=>PP,thehourofsleep:()=>LP});var fP="na het ontbijt",gP="na het avondmaal",vP="na het middagmaal",bP="na de maaltijd",yP="namiddag",_P="voor het ontbijt",wP="voor het avondmaal",xP="voor het middagmaal",EP="tussen het ontbijt en het middagmaal",SP="tussen het avondmaal en het slapen gaan",kP="tussen het middagmaal en het avondmaal",CP="tussen de maaltijden",DP="ontbijt",IP="avondmaal",TP="tijdens het ontbijt",RP="tijdens het avondmaal",OP="tijdens het middagmaal",MP="'s avonds",NP="middagmaal",AP="'s ochtends",PP="'s nachts",LP="voor het slapen gaan",qie={afterbreakfast:fP,afterdinner:gP,afterlunch:vP,aftermeal:bP,afternoon:yP,beforebreakfast:_P,beforedinner:wP,beforelunch:xP,betweenbreakfastandlunch:EP,betweendinnerandsleep:SP,betweenlunchanddinner:kP,betweenmeals:CP,breakfast:DP,dinner:IP,duringbreakfast:TP,duringdinner:RP,duringlunch:OP,evening:MP,lunch:NP,morning:AP,night:PP,thehourofsleep:LP},$ie={nl:mP,fr:GA,de:JN,en:xA},FP={};pe(FP,{day:()=>jP,default:()=>Gie,during:()=>BP,on:()=>zP,week:()=>VP});var jP="Tag",VP="Woche",zP="am",BP="für",Gie={day:jP,week:VP,on:zP,during:BP},HP={};pe(HP,{day:()=>qP,default:()=>Uie,during:()=>UP,on:()=>GP,week:()=>$P});var qP="day",$P="week",GP="on",UP="during",Uie={day:qP,week:$P,on:GP,during:UP},WP={};pe(WP,{day:()=>ZP,default:()=>Wie,during:()=>QP,on:()=>KP,week:()=>YP});var ZP="jour",YP="semaine",KP="le",QP="durant",Wie={day:ZP,week:YP,on:KP,during:QP},XP={};pe(XP,{day:()=>JP,default:()=>Zie,during:()=>nL,on:()=>tL,week:()=>eL});var JP="dag",eL="week",tL="op",nL="gedurende",Zie={day:JP,week:eL,on:tL,during:nL},Yie={nl:XP,fr:WP,de:FP,en:HP},rL={};pe(rL,{a:()=>aL,d:()=>sL,default:()=>Kie,hr:()=>lL,min:()=>uL,mo:()=>iL,ms:()=>dL,ns:()=>pL,s:()=>cL,us:()=>hL,wk:()=>oL});var aL="{count} {count, plural, one{Jahr} other{Jahre}}",iL="{count} {count, plural, one{Monat} other{Monate}}",oL="{count} {count, plural, one{Woche} other{Wochen}}",sL="{count} {count, plural, one{Tag} other{Tage}}",lL="{count} {count, plural, one{Stunde} other{Stunden}}",uL="{count} {count, plural, one{Minute} other{Minuten}}",cL="{count} {count, plural, one{Sekunde} other{Sekunden}} ",dL="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",hL="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",pL="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",Kie={a:aL,mo:iL,wk:oL,d:sL,hr:lL,min:uL,s:cL,ms:dL,us:hL,ns:pL},mL={};pe(mL,{a:()=>fL,d:()=>bL,default:()=>Qie,hr:()=>yL,min:()=>_L,mo:()=>gL,ms:()=>xL,ns:()=>SL,s:()=>wL,us:()=>EL,wk:()=>vL});var fL="{count} {count, plural, one{year} other{years}}",gL="{count} {count, plural, one{month} other{months}}",vL="{count} {count, plural, one{week} other{weeks}}",bL="{count} {count, plural, one{day} other{days}}",yL="{count} {count, plural, one{hour} other{hours}}",_L="{count} {count, plural, one{minute} other{minutes}}",wL="{count} {count, plural, one{second} other{seconds}}",xL="{count} {count, plural, one{millisecond} other{millisecondes}}",EL="{count} {count, plural, one{microsecond} other{microsecondes}}",SL="{count} {count, plural, one{nanosecond} other{nanosecondes}}",Qie={a:fL,mo:gL,wk:vL,d:bL,hr:yL,min:_L,s:wL,ms:xL,us:EL,ns:SL},kL={};pe(kL,{a:()=>CL,d:()=>TL,default:()=>Xie,hr:()=>RL,min:()=>OL,mo:()=>DL,ms:()=>NL,ns:()=>PL,s:()=>ML,us:()=>AL,wk:()=>IL});var CL="{count} {count, plural, one{année} other{années}}",DL="{count} {count, plural, one{mois} other{mois}}",IL="{count} {count, plural, one{semaine} other{semaines}}",TL="{count} {count, plural, one{jour} other{jours}}",RL="{count} {count, plural, one{heure} other{heures}}",OL="{count} {count, plural, one{minute} other{minutes}}",ML="{count} {count, plural, one{seconde} other{secondes}}",NL="{count} {count, plural, one{milliseconde} other{millisecondes}}",AL="{count} {count, plural, one{microseconde} other{microsecondes}}",PL="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",Xie={a:CL,mo:DL,wk:IL,d:TL,hr:RL,min:OL,s:ML,ms:NL,us:AL,ns:PL},LL={};pe(LL,{a:()=>FL,d:()=>zL,default:()=>Jie,hr:()=>BL,min:()=>HL,mo:()=>jL,ms:()=>$L,ns:()=>UL,s:()=>qL,us:()=>GL,wk:()=>VL});var FL="{count} {count, plural, one{jaar} other{jaren}}",jL="{count} {count, plural, one{maand} other{maanden}}",VL="{count} {count, plural, one{week} other{weken}}",zL="{count} {count, plural, one{dag} other{dagen}}",BL="{count} {count, plural, one{uur} other{uren}}",HL="{count} {count, plural, one{minuut} other{minuten}}",qL="{count} {count, plural, one{seconde} other{seconden}}",$L="{count} {count, plural, one{milliseconde} other{milliseconden}}",GL="{count} {count, plural, one{microseconde} other{microseconden}}",UL="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",Jie={a:FL,mo:jL,wk:VL,d:zL,hr:BL,min:HL,s:qL,ms:$L,us:GL,ns:UL},eoe={nl:LL,fr:kL,de:rL,en:mL},WL={};pe(WL,{"%":()=>ZL,"%vv":()=>r3,"%wv":()=>a3,"%ww":()=>i3,"1000/mm3":()=>yF,amp:()=>YL,atptreatment:()=>J3,bag:()=>KL,bitperminute:()=>o3,bol:()=>s3,bot:()=>l3,box:()=>QL,c:()=>V3,can:()=>u3,cap:()=>c3,cc:()=>d3,cm:()=>h3,cmm:()=>_F,cnt:()=>z3,ctg:()=>jF,ctr:()=>p3,daily:()=>j3,day:()=>wF,default:()=>toe,degree:()=>bF,dis:()=>kF,drm:()=>B3,fl:()=>XL,fld:()=>CF,flo:()=>DF,ftc:()=>IF,fts:()=>TF,"g/dl":()=>JL,gal:()=>VF,gm:()=>eF,goutte:()=>FF,gr:()=>m3,hour:()=>LF,in:()=>f3,inc:()=>g3,jar:()=>v3,kg:()=>tF,"kg/m2":()=>nF,kit:()=>b3,l:()=>rF,lb:()=>aF,lm:()=>H3,loz:()=>L3,mcg:()=>iF,mcl:()=>oF,mcm:()=>zF,mcn:()=>y3,meq:()=>sF,mg:()=>lF,"mg/dl":()=>uF,"mg/l":()=>cF,"mg/m2":()=>dF,"mg/ml":()=>hF,mgper100ml:()=>HF,mic:()=>_3,mil:()=>w3,millisecond:()=>PF,min:()=>x3,minute:()=>RF,mis:()=>q3,ml:()=>pF,"ml/min":()=>mF,"ml/min/1.73m2":()=>A3,mm:()=>OF,"mm/h":()=>MF,mmhg:()=>NF,mmo:()=>E3,mol:()=>fF,month:()=>SF,nl:()=>S3,nmg:()=>$3,nmo:()=>G3,ns:()=>YF,ondemand:()=>BF,oz:()=>gF,pel:()=>k3,pg:()=>ZF,pkg:()=>C3,pnu:()=>U3,ppm:()=>vF,pt:()=>D3,qs:()=>I3,qt:()=>T3,sap:()=>ej,sat:()=>W3,second:()=>AF,shock:()=>P3,spoon:()=>xF,spr:()=>qF,sqc:()=>R3,stp:()=>Z3,sup:()=>KF,syr:()=>GF,tab:()=>QF,tbl:()=>XF,tes:()=>JF,ton:()=>n3,tpn:()=>UF,trc:()=>Y3,tro:()=>F3,tsp:()=>t3,tub:()=>WF,umg:()=>O3,unt:()=>e3,vil:()=>$F,vpr:()=>K3,waf:()=>Q3,week:()=>EF,x:()=>X3,ydl:()=>M3,yds:()=>N3});var ZL="%",YL="{count, plural, one{Glühbirn} other{Glühbirnen}}",KL="Beutel",QL="schachteln",XL="fl",JL="g/dl",eF="g",tF="kg",nF="kg/m²",rF="l",aF="lb",iF="µg",oF="µl",sF="meq",lF="mg",uF="mg/dl",cF="mg/l",dF="mg/m²",hF="mg/ml",pF="ml",mF="ml/min",fF="mol",gF="oz",vF="ppm",bF="°",yF="1000/mm³",_F="mm³",wF="{count, plural, one{Tag} other{Tage}}",xF="Löffel",EF="{count, plural, one{Woche} other{Wochen}}",SF="{count, plural, one{Monat} other{Monate}}",kF="{count, plural, one{Platte} other{Platten}}",CF="fl dr",DF="fl oz",IF="cu ft",TF="sq ft",RF="{count, plural, one{Minute} other{Minuten}}",OF="mm",MF="mm/h",NF="mmHg",AF="{count, plural, one{Sekunde} other{Sekunden}}",PF="{count, plural, one{Millisekunde} other{Millisekunden}}",LF="{count, plural, one{Stunde} other{Stunden}}",FF="{count, plural, one{Tropf} other{Tropfen}}",jF="{count, plural, one{Kartusche} other{Kartuschen}}",VF="gal",zF="mmol",BF="auf Antrag",HF="mg/100mL",qF="{count, plural, one{Sprühe} other{Sprühen}}",$F="{count, plural, one{Phiole} other{Phiolen}}",GF="{count, plural, one{Spritze} other{Spritzen}}",UF="Tampon",WF="{count, plural, one{Rohr} other{Rohre}}",ZF="pg",YF="nicht spezifiziert",KF="{count, plural, one{Zäpfch} other{Zäpfchen}}",QF="{count, plural, one{Tablette} other{Tabletten}}",XF="Esslöffel",JF="Test",e3="{count, plural, one{Einheit} other{Einheiten}}",t3="teelöffel",n3="ton",r3="% v/v",a3="% w/v",i3="% w/w",o3="Schläge pro Minute",s3="Bolus",l3="{count, plural, one{Flasche} other{Fläschchen}}",u3="Dose",c3="{count, plural, one{Kapsel} other{Kapseln}}",d3="cm3",h3="cm",p3="Halter",m3="Körnchen",f3="in",g3="in²",v3="Glas",b3="Kitt",y3="Micron",_3="µCi",w3="mCi",x3="minim",E3="μmol",S3="normal",k3="{count, plural, one{Pille} other{Pillen}}",C3="{count, plural, one{Paket} other{Pakete}}",D3="Pinte",I3="ausreichende Menge",T3="qt",R3="cm²",O3="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",M3="yd",N3="yd²",A3="mL/min/1.73m²",P3="{count, plural, one{Schock} other{Schocks}}",L3="{count, plural, one{Pastille} other{Pastillen}}",F3="{count, plural, one{Pastille} other{Pastillen}}",j3="täglich",V3="homöopathische Verdünnung (Centesimal 1/100)",z3="cnt",B3="Fass",H3="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",q3="verschiedene",$3="ng",G3="nmol",U3="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",W3="gesättigt",Z3="Strip",Y3="Spur",K3="Therapieschema abhängig",Q3="{count, plural, one{Oblate} other{Oblaten}}",X3="homöopathische Verdünnung (dezimal 1/10)",J3="anzahl der antitachykardie-stimulationsbehandlungen",ej="Kumulativer sap wert",toe={"%":ZL,amp:YL,bag:KL,box:QL,fl:XL,"g/dl":JL,gm:eF,kg:tF,"kg/m2":nF,l:rF,lb:aF,mcg:iF,mcl:oF,meq:sF,mg:lF,"mg/dl":uF,"mg/l":cF,"mg/m2":dF,"mg/ml":hF,ml:pF,"ml/min":mF,mol:fF,oz:gF,ppm:vF,degree:bF,"1000/mm3":yF,cmm:_F,day:wF,spoon:xF,week:EF,month:SF,dis:kF,fld:CF,flo:DF,ftc:IF,fts:TF,minute:RF,mm:OF,"mm/h":MF,mmhg:NF,second:AF,millisecond:PF,hour:LF,goutte:FF,ctg:jF,gal:VF,mcm:zF,ondemand:BF,mgper100ml:HF,spr:qF,vil:$F,syr:GF,tpn:UF,tub:WF,pg:ZF,ns:YF,sup:KF,tab:QF,tbl:XF,tes:JF,unt:e3,tsp:t3,ton:n3,"%vv":r3,"%wv":a3,"%ww":i3,bitperminute:o3,bol:s3,bot:l3,can:u3,cap:c3,cc:d3,cm:h3,ctr:p3,gr:m3,in:f3,inc:g3,jar:v3,kit:b3,mcn:y3,mic:_3,mil:w3,min:x3,mmo:E3,nl:S3,pel:k3,pkg:C3,pt:D3,qs:I3,qt:T3,sqc:R3,umg:O3,ydl:M3,yds:N3,"ml/min/1.73m2":A3,shock:P3,loz:L3,tro:F3,daily:j3,c:V3,cnt:z3,drm:B3,lm:H3,mis:q3,nmg:$3,nmo:G3,pnu:U3,sat:W3,stp:Z3,trc:Y3,vpr:K3,waf:Q3,x:X3,atptreatment:J3,sap:ej},tj={};pe(tj,{"%":()=>nj,"%vv":()=>rj,"%wv":()=>aj,"%ww":()=>ij,"1000/mm3":()=>oj,amp:()=>sj,atptreatment:()=>lj,bag:()=>uj,bitperminute:()=>cj,bol:()=>dj,bot:()=>hj,box:()=>pj,c:()=>mj,can:()=>fj,cap:()=>gj,cc:()=>vj,cm:()=>bj,cmm:()=>yj,cnt:()=>_j,ctg:()=>wj,ctr:()=>xj,daily:()=>Ej,day:()=>Sj,default:()=>noe,degree:()=>kj,dis:()=>Cj,drm:()=>Dj,fl:()=>Ij,fld:()=>Tj,flo:()=>Rj,ftc:()=>Oj,fts:()=>Mj,"g/dl":()=>Nj,gal:()=>Aj,gm:()=>Pj,goutte:()=>Lj,gr:()=>Fj,hour:()=>jj,in:()=>Vj,inc:()=>zj,jar:()=>Bj,kg:()=>Hj,"kg/m2":()=>qj,kit:()=>$j,l:()=>Gj,lb:()=>Uj,lm:()=>Wj,loz:()=>Zj,mcg:()=>Yj,mcl:()=>Kj,mcm:()=>Qj,mcn:()=>Xj,meq:()=>Jj,mg:()=>e5,"mg/dl":()=>t5,"mg/l":()=>n5,"mg/m2":()=>r5,"mg/ml":()=>a5,mgper100ml:()=>i5,mic:()=>o5,mil:()=>s5,millisecond:()=>l5,min:()=>u5,minute:()=>c5,mis:()=>d5,ml:()=>h5,"ml/min":()=>p5,"ml/min/1.73m2":()=>m5,mm:()=>f5,"mm/h":()=>g5,mmhg:()=>v5,mmo:()=>b5,mol:()=>y5,month:()=>_5,nl:()=>w5,nmg:()=>x5,nmo:()=>E5,ns:()=>S5,ondemand:()=>k5,oz:()=>C5,pel:()=>D5,pg:()=>I5,pkg:()=>T5,pnu:()=>R5,ppm:()=>O5,pt:()=>M5,qs:()=>N5,qt:()=>lV,sap:()=>A5,sat:()=>P5,second:()=>L5,shock:()=>F5,spoon:()=>j5,spr:()=>V5,sqc:()=>z5,stp:()=>B5,sup:()=>H5,syr:()=>q5,tab:()=>$5,tbl:()=>G5,tes:()=>U5,ton:()=>W5,tpn:()=>Z5,trc:()=>Y5,tro:()=>K5,tsp:()=>Q5,tub:()=>X5,umg:()=>J5,unt:()=>eV,vil:()=>tV,vpr:()=>nV,waf:()=>rV,week:()=>aV,x:()=>iV,ydl:()=>oV,yds:()=>sV});var nj="%",rj="% v/v",aj="% w/v",ij="% w/w",oj="1000/mm³",sj="{count, plural, one{ampule} other{ampules}}",lj="Number of treatments by anti-tachycardia pacing",uj="{count, plural, one{bag} other{bags}}",cj="{count, plural, one{bit per minute} other{bits per minute}}",dj="bolus",hj="{count, plural, one{bottle} other{bottles}}",pj="{count, plural, one{box} other{boxes}}",mj="homeopathic dilution (centesimal 1/100)",fj="{count, plural, one{can} other{cans}}",gj="{count, plural, one{capsule} other{capsules}}",vj="cm³",bj="cm",yj="mm³",_j="cnt",wj="{count, plural, one{cartridge} other{cartridges}}",xj="{count, plural, one{container} other{containers}}",Ej="daily",Sj="{count, plural, one{day} other{days}}",kj="°",Cj="{count, plural, one{disk} other{disks}}",Dj="drum",Ij="{count, plural, one{fluid} other{fluids}}",Tj="fl dr",Rj="{count, plural, one{fluid ounce} other{fluid ounces}}",Oj="cu ft",Mj="sq ft",Nj="g/dl",Aj="{count, plural, one{gallon} other{gallons}}",Pj="g",Lj="{count, plural, one{drop} other{drops}}",Fj="{count, plural, one{grain} other{grains}}",jj="{count, plural, one{hour} other{hours}}",Vj="{count, plural, one{inch} other{inches}}",zj="in²",Bj="{count, plural, one{jar} other{jars}}",Hj="kg",qj="kg/m²",$j="kit",Gj="{count, plural, one{liter} other{liters}}",Uj="{count, plural, one{pound} other{pounds}}",Wj="homeopathic dilution (fifty millesimal 1/50,000)",Zj="{count, plural, one{lozenge} other{lozenges}}",Yj="µg",Kj="µl",Qj="mmol",Xj="micron",Jj="milliequivalent",e5="mg",t5="mg/dl",n5="mg/l",r5="mg/m²",a5="mg/ml",i5="mg/100mL",o5="µCi",s5="mCi",l5="{count, plural, one{millisecond} other{milliseconds}}",u5="minim",c5="{count, plural, one{minute} other{minutes}}",d5="miscellaneous",h5="{count, plural, one{milliliter} other{milliliters}}",p5="ml/min",m5="mL/min/1.73m²",f5="mm",g5="mm/h",v5="mmHg",b5="μmol",y5="mol",_5="{count, plural, one{month} other{months}}",w5="normal",x5="ng",E5="nmol",S5="not stated",k5="on demand",C5="{count, plural, one{ounce} other{ounces}}",D5="{count, plural, one{pellet} other{pellets}}",I5="pg",T5="{count, plural, one{package} other{packages}}",R5="{count, plural, one{protein unit} other{protein unit}}",O5="ppm",M5="{count, plural, one{pint} other{pints}}",N5="quantity sufficient",A5="Cumulative sap value",P5="saturated",L5="{count, plural, one{second} other{seconds}}",F5="shock",j5="{count, plural, one{spoon} other{spoons}}",V5="{count, plural, one{spray} other{sprays}}",z5="cm²",B5="{count, plural, one{strip} other{strips}}",H5="{count, plural, one{suppository} other{suppositories}}",q5="{count, plural, one{syrynge} other{syrynges}}",$5="{count, plural, one{tablet} other{tablets}}",G5="{count, plural, one{tablespoon} other{tablespoons}}",U5="{count, plural, one{test} other{tests}}",W5="{count, plural, one{ton} other{tons}}",Z5="{count, plural, one{tampon} other{tampons}}",Y5="{count, plural, one{trace} other{traces}}",K5="{count, plural, one{troche} other{troches}}",Q5="{count, plural, one{teaspoon} other{teaspoons}}",X5="{count, plural, one{tube} other{tubes}}",J5="UNITS PER MILLIGRAM",eV="{count, plural, one{unit} other{units}}",tV="{count, plural, one{vial} other{vials}}",nV="varies per regimen",rV="{count, plural, one{wafer} other{wafers}}",aV="{count, plural, one{week} other{weeks}}",iV="homeopathic dilution (decimal 1/10)",oV="yd",sV="yd²",lV="qt",noe={"%":nj,"%vv":rj,"%wv":aj,"%ww":ij,"1000/mm3":oj,amp:sj,atptreatment:lj,bag:uj,bitperminute:cj,bol:dj,bot:hj,box:pj,c:mj,can:fj,cap:gj,cc:vj,cm:bj,cmm:yj,cnt:_j,ctg:wj,ctr:xj,daily:Ej,day:Sj,degree:kj,dis:Cj,drm:Dj,fl:Ij,fld:Tj,flo:Rj,ftc:Oj,fts:Mj,"g/dl":Nj,gal:Aj,gm:Pj,goutte:Lj,gr:Fj,hour:jj,in:Vj,inc:zj,jar:Bj,kg:Hj,"kg/m2":qj,kit:$j,l:Gj,lb:Uj,lm:Wj,loz:Zj,mcg:Yj,mcl:Kj,mcm:Qj,mcn:Xj,meq:Jj,mg:e5,"mg/dl":t5,"mg/l":n5,"mg/m2":r5,"mg/ml":a5,mgper100ml:i5,mic:o5,mil:s5,millisecond:l5,min:u5,minute:c5,mis:d5,ml:h5,"ml/min":p5,"ml/min/1.73m2":m5,mm:f5,"mm/h":g5,mmhg:v5,mmo:b5,mol:y5,month:_5,nl:w5,nmg:x5,nmo:E5,ns:S5,ondemand:k5,oz:C5,pel:D5,pg:I5,pkg:T5,pnu:R5,ppm:O5,pt:M5,qs:N5,sap:A5,sat:P5,second:L5,shock:F5,spoon:j5,spr:V5,sqc:z5,stp:B5,sup:H5,syr:q5,tab:$5,tbl:G5,tes:U5,ton:W5,tpn:Z5,trc:Y5,tro:K5,tsp:Q5,tub:X5,umg:J5,unt:eV,vil:tV,vpr:nV,waf:rV,week:aV,x:iV,ydl:oV,yds:sV,qt:lV},uV={};pe(uV,{"%":()=>cV,"%vv":()=>yz,"%wv":()=>_z,"%ww":()=>wz,"1000/mm3":()=>PV,amp:()=>dV,atptreatment:()=>fB,bag:()=>hV,bitperminute:()=>xz,bol:()=>Ez,bot:()=>Sz,box:()=>pV,c:()=>tB,can:()=>kz,cap:()=>Cz,cc:()=>Dz,cm:()=>Iz,cmm:()=>LV,cnt:()=>nB,ctg:()=>ez,ctr:()=>Tz,daily:()=>eB,day:()=>FV,default:()=>roe,degree:()=>AV,dis:()=>BV,drm:()=>rB,fl:()=>mV,fld:()=>HV,flo:()=>qV,ftc:()=>$V,fts:()=>GV,"g/dl":()=>fV,gal:()=>tz,gm:()=>gV,goutte:()=>JV,gr:()=>Rz,hour:()=>XV,in:()=>Oz,inc:()=>Mz,jar:()=>Nz,kg:()=>vV,"kg/m2":()=>bV,kit:()=>Az,l:()=>yV,lb:()=>_V,lm:()=>aB,loz:()=>Xz,mcg:()=>wV,mcl:()=>xV,mcm:()=>nz,mcn:()=>Pz,meq:()=>EV,mg:()=>SV,"mg/dl":()=>kV,"mg/l":()=>CV,"mg/m2":()=>DV,"mg/ml":()=>IV,mgper100ml:()=>az,mic:()=>Lz,mil:()=>Fz,millisecond:()=>QV,min:()=>jz,minute:()=>UV,mis:()=>iB,ml:()=>TV,"ml/min":()=>RV,"ml/min/1.73m2":()=>Kz,mm:()=>WV,"mm/h":()=>ZV,mmhg:()=>YV,mmo:()=>Vz,mol:()=>OV,month:()=>zV,nl:()=>zz,nmg:()=>oB,nmo:()=>sB,ns:()=>dz,ondemand:()=>rz,oz:()=>MV,pel:()=>Bz,pg:()=>cz,pkg:()=>Hz,pnu:()=>lB,ppm:()=>NV,pt:()=>qz,qs:()=>$z,qt:()=>Gz,sap:()=>gB,sat:()=>uB,second:()=>KV,shock:()=>Qz,spoon:()=>jV,spr:()=>iz,sqc:()=>Uz,stp:()=>cB,sup:()=>hz,syr:()=>sz,tab:()=>pz,tbl:()=>mz,tes:()=>fz,ton:()=>bz,tpn:()=>lz,trc:()=>dB,tro:()=>Jz,tsp:()=>vz,tub:()=>uz,umg:()=>Wz,unt:()=>gz,vil:()=>oz,vpr:()=>hB,waf:()=>pB,week:()=>VV,x:()=>mB,ydl:()=>Zz,yds:()=>Yz});var cV="%",dV="{count, plural, one{ampoule} other{ampoules}}",hV="{count, plural, one{sac} other{sacs}}",pV="{count, plural, one{vaporisateur} other{vaporisateurs}}",mV="fl",fV="g/dl",gV="g",vV="kg",bV="kg/m²",yV="l",_V="lb",wV="µg",xV="µl",EV="milli-equivalent",SV="mg",kV="mg/dl",CV="mg/l",DV="mg/m²",IV="mg/ml",TV="ml",RV="ml/min",OV="mol",MV="oz",NV="ppm",AV="°",PV="1000/mm³",LV="mm³",FV="{count, plural, one{jour(s)} other{jours}}",jV="{count, plural, one{cuillère} other{cuillères}}",VV="{count, plural, one{semaine} other{semaines}}",zV="mois",BV="{count, plural, one{disque} other{disques}}",HV="fl dr",qV="fl oz",$V="cu ft",GV="sq ft",UV="{count, plural, one{minute} other{minutes}}",WV="mm",ZV="mm/h",YV="mmHg",KV="{count, plural, one{seconde} other{secondes}}",QV="{count, plural, one{milliseconde} other{millisecondes}}",XV="{count, plural, one{heure} other{heures}}",JV="{count, plural, one{goutte} other{gouttes}}",ez="{count, plural, one{cartouche} other{cartouches}}",tz="gal",nz="mmol",rz="sur demande",az="mg/100mL",iz="spray",oz="{count, plural, one{fiole} other{fioles}}",sz="{count, plural, one{seringue} other{seringues}}",lz="{count, plural, one{tampon} other{tampons}}",uz="{count, plural, one{tube} other{tubes}}",cz="pg",dz="non spécifié",hz="{count, plural, one{suppositoire} other{suppositoires}}",pz="{count, plural, one{tablette} other{tablettes}}",mz="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",fz="{count, plural, one{test} other{tests}}",gz="{count, plural, one{unité} other{unités}}",vz="{count, plural, one{cuillère à café} other{cuillères à café}}",bz="{count, plural, one{ton} other{tons}}",yz="% v/v",_z="% w/v",wz="% w/w",xz="{count, plural, one{battement par minute} other{battements par minute}}",Ez="{count, plural, one{bolus} other{bolus}}",Sz="{count, plural, one{bouteille} other{bouteilles}}",kz="{count, plural, one{canette} other{canettes}}",Cz="{count, plural, one{capsule} other{capsules}}",Dz="cm3",Iz="cm",Tz="{count, plural, one{conteneur} other{conteneurs}}",Rz="{count, plural, one{granule} other{granules}}",Oz="in",Mz="in²",Nz="pot",Az="{count, plural, one{kit} other{kits}}",Pz="micron",Lz="µCi",Fz="mCi",jz="minim",Vz="μmol",zz="normal",Bz="{count, plural, one{pilule} other{pilules}}",Hz="{count, plural, one{paquet} other{paquets}}",qz="pinte",$z="quantité suffisante",Gz="qt",Uz="cm²",Wz="{count, plural, one{unité / mg} other{unités / mg}}",Zz="yd",Yz="yd²",Kz="mL/min/1.73m²",Qz="choc",Xz="{count, plural, one{pastille} other{pastilles}}",Jz="{count, plural, one{pastille} other{pastilles}}",eB="journalier",tB="dilution homéopathique (centésimal 1/100)",nB="cnt",rB="fût",aB="dilution homéopathique (50 millisimaux au ratio 1:50,000)",iB="divers",oB="ng",sB="nmol",lB="{count, plural, one{unité protéique} other{unités protéiques}}",uB="saturé",cB="strip",dB="trace",hB="dépendant du schéma thérapeutique",pB="{count, plural, one{hostie} other{hosties}}",mB="dilution homéopathique (décimal 1/10)",fB="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",gB="Valeur sap cumulative",roe={"%":cV,amp:dV,bag:hV,box:pV,fl:mV,"g/dl":fV,gm:gV,kg:vV,"kg/m2":bV,l:yV,lb:_V,mcg:wV,mcl:xV,meq:EV,mg:SV,"mg/dl":kV,"mg/l":CV,"mg/m2":DV,"mg/ml":IV,ml:TV,"ml/min":RV,mol:OV,oz:MV,ppm:NV,degree:AV,"1000/mm3":PV,cmm:LV,day:FV,spoon:jV,week:VV,month:zV,dis:BV,fld:HV,flo:qV,ftc:$V,fts:GV,minute:UV,mm:WV,"mm/h":ZV,mmhg:YV,second:KV,millisecond:QV,hour:XV,goutte:JV,ctg:ez,gal:tz,mcm:nz,ondemand:rz,mgper100ml:az,spr:iz,vil:oz,syr:sz,tpn:lz,tub:uz,pg:cz,ns:dz,sup:hz,tab:pz,tbl:mz,tes:fz,unt:gz,tsp:vz,ton:bz,"%vv":yz,"%wv":_z,"%ww":wz,bitperminute:xz,bol:Ez,bot:Sz,can:kz,cap:Cz,cc:Dz,cm:Iz,ctr:Tz,gr:Rz,in:Oz,inc:Mz,jar:Nz,kit:Az,mcn:Pz,mic:Lz,mil:Fz,min:jz,mmo:Vz,nl:zz,pel:Bz,pkg:Hz,pt:qz,qs:$z,qt:Gz,sqc:Uz,umg:Wz,ydl:Zz,yds:Yz,"ml/min/1.73m2":Kz,shock:Qz,loz:Xz,tro:Jz,daily:eB,c:tB,cnt:nB,drm:rB,lm:aB,mis:iB,nmg:oB,nmo:sB,pnu:lB,sat:uB,stp:cB,trc:dB,vpr:hB,waf:pB,x:mB,atptreatment:fB,sap:gB},vB={};pe(vB,{"%":()=>bB,"%vv":()=>D4,"%wv":()=>I4,"%ww":()=>T4,"1000/mm3":()=>qB,amp:()=>yB,atptreatment:()=>E7,bag:()=>_B,bitperminute:()=>R4,bol:()=>O4,bot:()=>M4,box:()=>wB,c:()=>u7,can:()=>N4,cap:()=>A4,cc:()=>P4,cm:()=>L4,cmm:()=>$B,cnt:()=>c7,ctg:()=>l4,ctr:()=>F4,daily:()=>l7,day:()=>GB,default:()=>aoe,degree:()=>HB,dis:()=>YB,drm:()=>d7,fl:()=>xB,fld:()=>KB,flo:()=>QB,ftc:()=>XB,fts:()=>JB,"g/dl":()=>EB,gal:()=>u4,gm:()=>SB,goutte:()=>s4,gr:()=>j4,hour:()=>o4,in:()=>V4,inc:()=>z4,jar:()=>B4,kg:()=>kB,"kg/m2":()=>CB,kit:()=>H4,l:()=>DB,lb:()=>IB,lm:()=>h7,loz:()=>o7,mcg:()=>TB,mcl:()=>RB,mcm:()=>c4,mcn:()=>q4,meq:()=>OB,mg:()=>MB,"mg/dl":()=>NB,"mg/l":()=>AB,"mg/m2":()=>PB,"mg/ml":()=>LB,mgper100ml:()=>h4,mic:()=>$4,mil:()=>G4,millisecond:()=>i4,min:()=>U4,minute:()=>e4,mis:()=>p7,ml:()=>FB,"ml/min":()=>jB,"ml/min/1.73m2":()=>a7,mm:()=>t4,"mm/h":()=>n4,mmhg:()=>r4,mmo:()=>W4,mol:()=>VB,month:()=>ZB,nl:()=>Z4,nmg:()=>m7,nmo:()=>f7,ns:()=>y4,ondemand:()=>d4,oz:()=>zB,pel:()=>Y4,pg:()=>b4,pkg:()=>K4,pnu:()=>g7,ppm:()=>BB,pt:()=>Q4,qs:()=>X4,qt:()=>J4,sap:()=>S7,sat:()=>v7,second:()=>a4,shock:()=>i7,spoon:()=>UB,spr:()=>p4,sqc:()=>e7,stp:()=>b7,sup:()=>_4,syr:()=>f4,tab:()=>w4,tbl:()=>x4,tes:()=>E4,ton:()=>C4,tpn:()=>g4,trc:()=>y7,tro:()=>s7,tsp:()=>k4,tub:()=>v4,umg:()=>t7,unt:()=>S4,vil:()=>m4,vpr:()=>_7,waf:()=>w7,week:()=>WB,x:()=>x7,ydl:()=>n7,yds:()=>r7});var bB="%",yB="{count, plural, one{ampule} other{ampullen}}",_B="{count, plural, one{zak} other{zakken}}",wB="{count, plural, one{verstuiver} other{verstuivers}}",xB="fl",EB="g/dl",SB="g",kB="kg",CB="kg/m²",DB="l",IB="lb",TB="µg",RB="µl",OB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",MB="mg",NB="mg/dl",AB="mg/l",PB="mg/m²",LB="mg/ml",FB="ml",jB="ml/min",VB="mol",zB="oz",BB="ppm",HB="°",qB="1000/mm³",$B="mm³",GB="{count, plural, one{dag} other{dagen}}",UB="{count, plural, one{lepel} other{lepels}}",WB="{count, plural, one{week} other{weken}}",ZB="{count, plural, one{maand} other{maanden}}",YB="{count, plural, one{schijf} other{schijven}}",KB="fl dr",QB="fl oz",XB="cu ft",JB="sq ft",e4="{count, plural, one{minuut} other{minuten}}",t4="mm",n4="mm/h",r4="mmHg",a4="{count, plural, one{seconde} other{seconden}}",i4="{count, plural, one{milliseconde} other{milliseconden}}",o4="{count, plural, one{uur} other{uren}}",s4="{count, plural, one{druppel} other{druppels}}",l4="{count, plural, one{patroon} other{patronen}}",u4="gal",c4="mmol",d4="op aanvraag",h4="mg/100mL",p4="{count, plural, one{spray} other{sprays}}",m4="{count, plural, one{flesje} other{flesjes}}",f4="{count, plural, one{spuit} other{spuiten}}",g4="{count, plural, one{tampon} other{tampons}}",v4="{count, plural, one{buis} other{buizen}}",b4="pg",y4="niet gespecificeerd",_4="{count, plural, one{zetpil} other{zetpillen}}",w4="{count, plural, one{tablet} other{tabletten}}",x4="{count, plural, one{eetlepel} other{eetlepels}}",E4="{count, plural, one{test} other{tests}}",S4="{count, plural, one{eenheid} other{eenheden}}",k4="{count, plural, one{theelepel} other{theelepels}}",C4="{count, plural, one{ton} other{tonnen}}",D4="% v/v",I4="% w/v",T4="% w/w",R4="{count, plural, one{slag per minuut} other{slagen per minuut}}",O4="bolus",M4="{count, plural, one{fles} other{flessen}}",N4="{count, plural, one{blikje} other{blikjes}}",A4="{count, plural, one{capsule} other{capsules}}",P4="cm3",L4="cm",F4="{count, plural, one{houder} other{houders}}",j4="{count, plural, one{korrel} other{korrels}}",V4="in",z4="in²",B4="{count, plural, one{pot} other{potten}}",H4="{count, plural, one{kit} other{kits}}",q4="micron",$4="µCi",G4="mCi",U4="minim",W4="μmol",Z4="normaal",Y4="{count, plural, one{pil} other{pillen}}",K4="{count, plural, one{pakket} other{pakketten}}",Q4="{count, plural, one{pint} other{pinten}}",X4="voldoende hoeveelheid",J4="qt",e7="cm²",t7="{count, plural, one{eenheid / mg} other{eenheden / mg}}",n7="yd",r7="yd²",a7="mL/min/1.73m²",i7="{count, plural, one{schok} other{schokken}}",o7="{count, plural, one{zuigtablet} other{zuigtabletten}}",s7="{count, plural, one{zuigtablet} other{zuigtabletten}}",l7="dagelijks",u7="homeopathische verdunning (centesimal 1/100)",c7="cnt",d7="vat",h7="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",p7="diverse",m7="ng",f7="nmol",g7="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",v7="verzadigd",b7="{count, plural, one{strip} other{strips}}",y7="{count, plural, one{spoor} other{sporen}}",_7="behandelingsschema-afhankelijk",w7="{count, plural, one{ouwel} other{ouwels}}",x7="homeopathische verdunning (decimaal 1/10)",E7="aantal anti-tachycardie-stimulatiebehandelingen",S7="Cumulatieve sap waarde",aoe={"%":bB,amp:yB,bag:_B,box:wB,fl:xB,"g/dl":EB,gm:SB,kg:kB,"kg/m2":CB,l:DB,lb:IB,mcg:TB,mcl:RB,meq:OB,mg:MB,"mg/dl":NB,"mg/l":AB,"mg/m2":PB,"mg/ml":LB,ml:FB,"ml/min":jB,mol:VB,oz:zB,ppm:BB,degree:HB,"1000/mm3":qB,cmm:$B,day:GB,spoon:UB,week:WB,month:ZB,dis:YB,fld:KB,flo:QB,ftc:XB,fts:JB,minute:e4,mm:t4,"mm/h":n4,mmhg:r4,second:a4,millisecond:i4,hour:o4,goutte:s4,ctg:l4,gal:u4,mcm:c4,ondemand:d4,mgper100ml:h4,spr:p4,vil:m4,syr:f4,tpn:g4,tub:v4,pg:b4,ns:y4,sup:_4,tab:w4,tbl:x4,tes:E4,unt:S4,tsp:k4,ton:C4,"%vv":D4,"%wv":I4,"%ww":T4,bitperminute:R4,bol:O4,bot:M4,can:N4,cap:A4,cc:P4,cm:L4,ctr:F4,gr:j4,in:V4,inc:z4,jar:B4,kit:H4,mcn:q4,mic:$4,mil:G4,min:U4,mmo:W4,nl:Z4,pel:Y4,pkg:K4,pt:Q4,qs:X4,qt:J4,sqc:e7,umg:t7,ydl:n7,yds:r7,"ml/min/1.73m2":a7,shock:i7,loz:o7,tro:s7,daily:l7,c:u7,cnt:c7,drm:d7,lm:h7,mis:p7,nmg:m7,nmo:f7,pnu:g7,sat:v7,stp:b7,trc:y7,vpr:_7,waf:w7,x:x7,atptreatment:E7,sap:S7},ioe={nl:vB,fr:uV,de:WL,en:tj},k7={};pe(k7,{default:()=>ooe,header:()=>C7,patient:()=>D7,professional:()=>I7});var C7="Ausgegebene Medikamente?",D7={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."}},I7={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."}},ooe={header:C7,patient:D7,professional:I7},T7={};pe(T7,{default:()=>soe,header:()=>R7,patient:()=>O7,professional:()=>M7});var R7="How to interpret the list?",O7={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."},part3:{1:"If in doubt, always consult your doctor or pharmacist. This information is provided",2:"for informational purposes and is not a substitute for professional medical advice."}},M7={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."}},soe={header:R7,patient:O7,professional:M7},N7={};pe(N7,{default:()=>loe,header:()=>A7,patient:()=>P7,professional:()=>L7});var A7="Comment interpréter la liste?",P7={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."}},L7={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)."}},loe={header:A7,patient:P7,professional:L7},F7={};pe(F7,{default:()=>uoe,header:()=>j7,patient:()=>V7,professional:()=>z7});var j7="Hoe de lijst interpreteren?",V7={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."}},z7={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)."}},uoe={header:j7,patient:V7,professional:z7},coe={nl:F7,fr:N7,de:k7,en:T7},B7={};pe(B7,{default:()=>doe,headers:()=>H7,magisterialPreparation:()=>q7,noContent:()=>$7});var H7={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},q7="Verschreibungurarzneimittel",$7="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",doe={headers:H7,magisterialPreparation:q7,noContent:$7},G7={};pe(G7,{default:()=>hoe,headers:()=>U7,magisterialPreparation:()=>W7,noContent:()=>Z7});var U7={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},W7="Magistral preparation",Z7="There is no delivered medication found for this patient.",hoe={headers:U7,magisterialPreparation:W7,noContent:Z7},Y7={};pe(Y7,{default:()=>poe,headers:()=>K7,magisterialPreparation:()=>Q7,noContent:()=>X7});var K7={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},Q7="Préparation magistrale",X7="Aucun médicament délivré n'a été retrouvé pour ce patient.",poe={headers:K7,magisterialPreparation:Q7,noContent:X7},J7={};pe(J7,{default:()=>moe,headers:()=>eH,magisterialPreparation:()=>tH,noContent:()=>nH});var eH={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},tH="Magistrale bereiding",nH="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",moe={headers:eH,magisterialPreparation:tH,noContent:nH},foe={nl:J7,fr:Y7,de:B7,en:G7},rH={};pe(rH,{composition:()=>aH,default:()=>goe,"delivered-by":()=>cH,"delivery-date":()=>uH,dguid:()=>oH,"is-prescribed":()=>sH,leaflet:()=>vH,"magisterial-preparation":()=>gH,medication:()=>yH,"no-pharmacy":()=>mH,noDetails:()=>_H,package:()=>bH,patient:()=>fH,posologie:()=>iH,quantity:()=>lH,"return-delivery-date":()=>hH,"returned-by":()=>pH,"returned-quantity":()=>dH});var aH="Zusammensetzung",iH="Dosierung",oH="ID Ausgabe",sH={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},lH="Gelieferte Menge",uH="Lieferdatum",cH="Geliefert von",dH="Zurückgenommene Menge",hH="Rücknahme am",pH="Rücknahme durch",mH="Apotheke mit LIKIV-Erkennungsnummer",fH="Patient",gH="Verschreibungurarzneimittel",vH="Packungsbeilage",bH="{count, plural, one{Verpackung} other{Verpackungen}}",yH="Arzneimittel",_H="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",goe={composition:aH,posologie:iH,dguid:oH,"is-prescribed":sH,quantity:lH,"delivery-date":uH,"delivered-by":cH,"returned-quantity":dH,"return-delivery-date":hH,"returned-by":pH,"no-pharmacy":mH,patient:fH,"magisterial-preparation":gH,leaflet:vH,package:bH,medication:yH,noDetails:_H},wH={};pe(wH,{composition:()=>xH,default:()=>voe,"delivered-by":()=>EH,"delivery-date":()=>SH,dguid:()=>kH,"is-prescribed":()=>CH,leaflet:()=>DH,"magisterial-preparation":()=>IH,medication:()=>TH,"no-pharmacy":()=>RH,noDetails:()=>OH,package:()=>MH,patient:()=>NH,posologie:()=>AH,quantity:()=>PH,"return-delivery-date":()=>jH,"returned-by":()=>VH,"returned-quantity":()=>FH,title:()=>LH});var xH="Composition",EH="Dispensed by",SH="Date dispensed",kH="Dispensing ID",CH={no:"No",title:"Was prescribed",yes:"Yes"},DH="Package leaflet",IH="Compounded preparation",TH="Medication",RH="Pharmacy with NIHDI number",OH="The requested information has been deleted or doesn't exist.",MH="{count, plural, one{package} other{packages}}",NH="Patient",AH="Dosage",PH="Dispensed quality",LH="Detail of the dispensed medication",FH="Returned quantity",jH="Return on",VH="Return by",voe={composition:xH,"delivered-by":EH,"delivery-date":SH,dguid:kH,"is-prescribed":CH,leaflet:DH,"magisterial-preparation":IH,medication:TH,"no-pharmacy":RH,noDetails:OH,package:MH,patient:NH,posologie:AH,quantity:PH,title:LH,"returned-quantity":FH,"return-delivery-date":jH,"returned-by":VH},zH={};pe(zH,{composition:()=>BH,default:()=>boe,"delivered-by":()=>WH,"delivery-date":()=>UH,dguid:()=>qH,"is-prescribed":()=>$H,leaflet:()=>e9,"magisterial-preparation":()=>JH,medication:()=>n9,"no-pharmacy":()=>QH,noDetails:()=>r9,package:()=>t9,patient:()=>XH,posologie:()=>HH,quantity:()=>GH,"return-delivery-date":()=>YH,"returned-by":()=>KH,"returned-quantity":()=>ZH});var BH="Composition",HH="Posologie",qH="ID délivrance",$H={title:"A été prescrit",yes:"Oui",no:"Non"},GH="Quantité délivrée",UH="Date de délivrance",WH="Délivré par",ZH="Quantité retournée",YH="Retour le",KH="Retour par",QH="Pharmacie avec numéro INAMI",XH="Patient",JH="Préparation magistrale",e9="Notice d'information",t9="{count, plural, one{emballage} other{emballages}}",n9="Médicament",r9="La prescription demandée a été supprimée ou n'existe pas.",boe={composition:BH,posologie:HH,dguid:qH,"is-prescribed":$H,quantity:GH,"delivery-date":UH,"delivered-by":WH,"returned-quantity":ZH,"return-delivery-date":YH,"returned-by":KH,"no-pharmacy":QH,patient:XH,"magisterial-preparation":JH,leaflet:e9,package:t9,medication:n9,noDetails:r9},a9={};pe(a9,{composition:()=>i9,default:()=>yoe,"delivered-by":()=>d9,"delivery-date":()=>c9,dguid:()=>s9,"is-prescribed":()=>l9,leaflet:()=>b9,"magisterial-preparation":()=>v9,medication:()=>_9,"no-pharmacy":()=>f9,noDetails:()=>w9,package:()=>y9,patient:()=>g9,posologie:()=>o9,quantity:()=>u9,"return-delivery-date":()=>p9,"returned-by":()=>m9,"returned-quantity":()=>h9});var i9="Samenstelling",o9="Posologie",s9="ID aflevering",l9={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},u9="Afgeleverde hoeveelheid",c9="Datum afgeleverd",d9="Afgeleverd door",h9="Teruggenomen hoeveelheid",p9="Terugname op",m9="Terugname door",f9="Apotheek met RIZIV-nummer",g9="Patiënt",v9="Magistrale bereiding",b9="Bijsluiter",y9="{count, plural, one{verpakking} other{verpakkingen}}",_9="Geneesmiddel(en)",w9="Het gevraagde voorschrift is verwijderd of bestaat niet.",yoe={composition:i9,posologie:o9,dguid:s9,"is-prescribed":l9,quantity:u9,"delivery-date":c9,"delivered-by":d9,"returned-quantity":h9,"return-delivery-date":p9,"returned-by":m9,"no-pharmacy":f9,patient:g9,"magisterial-preparation":v9,leaflet:b9,package:y9,medication:_9,noDetails:w9},_oe={nl:a9,fr:zH,de:rH,en:wH},woe=class extends bs{getTranslation(e){return tt({commons:Qt(ce({},Vie[e]),{units:ioe[e],galenicFormCodes:Aie[e],timeUnits:eoe[e],administrationUnits:yie[e],periods:$ie[e],days:Sie[e],posology:Yie[e],errors:Tie[e]}),deliveredMedicationsList:foe[e],deliveredMedicationsDisclaimer:coe[e],deliveredMedicationDetails:_oe[e]})}},xoe=[lie,FX({defaultLanguage:"fr",loader:{provide:bs,useClass:woe},compiler:{provide:_s,useClass:hie}})];function uh(e){return(e==null?void 0:e.medication)!=null}var Eoe=(()=>{const t=class t{transform(n){return uh(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=vr({name:"canDisplayDeliveredMedication",type:t,pure:!0});let e=t;return e})(),x9=(()=>{const t=class t{constructor(){this.http=S(eo)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Soe={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Ei.CNK},name:[{value:"Novyra 50 mg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 comprimé le matin"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Ei.CNK},name:[{value:"Meldiora 10 ml"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-06-30T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 goutte dans chaque narine 3x/j"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Ei.CNK},name:[{value:"Cymelune 200 µg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"2 inhalations si nécessaire (max 4/j)"}]}],isPrescribed:!0}]},E9=(()=>{const t=class t{constructor(){this.demoService=S(Tae)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Soe)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),S9=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),koe=(e,t)=>e.getEnvironmentVariable("env")===ea.DEMO?t.get(E9):t.get(x9),Coe={provide:S9,useFactory:koe,deps:[no,ht]},tv=(()=>{const t=class t extends Sw{constructor(n,a){super(n.getServices(),Yo.DELIVERED_MEDICATIONS,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Yo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=S(S9),this.authServiceSelector=S(Vi),this.deliveredMedicationsStateSubject$=new Aa({status:Si.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return Rt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),a=this.deliveredMedicationsApiService.get(n);return x6(a)})}getDeliveredMedications(n=!0){return Rt(this,null,function*(){return Oae(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(oe(qu),oe(Vi))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),Doe=(()=>{const t=class t{constructor(){this.authService=S(Vi).getInstance(),this.templateRef=S(an),this.viewContainer=S(jn),this.cdRef=S(br)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(n){return new(n||t)},t.ɵdir=be({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})();function k9(e){e||(fu(),e=S(ma));let t=new mt(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(oa(t))}var C9={"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.blockfact.facti":["facti"],"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(C9);var Ioe=C9,D9={"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(D9);var Toe=D9,On=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)},si,_o,Ta,Roe=class{constructor(...e){si.set(this,new Map),_o.set(this,new Map),Ta.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()),On(this,Ta,"f").has(r)||On(this,Ta,"f").set(r,new Set);let a=On(this,Ta,"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&&On(this,_o,"f").set(r,o),i=!1,l)continue;let u=On(this,si,"f").get(o);if(u&&u!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);On(this,si,"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:On(this,si,"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&&On(this,_o,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:On(this,Ta,"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 On(this,Ta,"f").values())Object.freeze(e);return this}_getTestState(){return{types:On(this,si,"f"),extensions:On(this,_o,"f")}}};si=new WeakMap,_o=new WeakMap,Ta=new WeakMap;var Ooe=Roe;new Ooe(Toe,Ioe)._freeze();var Moe=(()=>{const t=class t{transform(n){return Dw(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=vr({name:"fullname",type:t,pure:!0});let e=t;return e})(),vm=(()=>{const t=class t{constructor(){this.ingredientLabelService=S(Pae),this.translate=S(Xn),this.destroyRef=S(ma),this.cd=S(br),this.translate.onLangChange.pipe(k9(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=vr({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),Noe=(()=>{const t=class t{transform(n,a){return this.sortFn([...n],a.sortProperty,a.isAscending)}sortFn(n,a,i){return[...n].sort((o,l)=>{var d,m;let u=i?o:l,c=i?l:o;if(a==="deliveryDate"){let v=u[a]?(d=new Date(u[a]))==null?void 0:d.getTime():0,g=c[a]?(m=new Date(c[a]))==null?void 0:m.getTime():0;return this.compareData(v,g,i)}return this.compareData(u[a],c[a],i)})}compareData(n,a,i){return n==null&&a==null||n===a?0:n==null?i?-1:1:a==null?i?1:-1:n>a?1:-1}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=vr({name:"sortOn",type:t,pure:!0});let e=t;return e})(),bm=(()=>{const t=class t{constructor(){this.translate=S(Xn)}transform(n){return Xl(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=vr({name:"translateValue",type:t,pure:!0});let e=t;return e})(),Aoe=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=vr({name:"absolute",type:t,pure:!0});let e=t;return e})();Iv(I$());var Js;function Poe(){if(Js===void 0&&(Js=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Js=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Js}function fo(e){var t;return((t=Poe())==null?void 0:t.createHTML(e))||e}function nv(e){return Error(`Unable to find icon with the name "${e}"`)}function Loe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function rv(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function av(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Ca=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}},Foe=(()=>{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 Ca(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,i,o){let l=this._sanitizer.sanitize(xn.HTML,i);if(!l)throw av(i);let u=fo(l);return this._addSvgIconConfig(n,a,new Ca("",u,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 Ca(a,null,i))}addSvgIconSetLiteralInNamespace(n,a,i){let o=this._sanitizer.sanitize(xn.HTML,a);if(!o)throw av(a);let l=fo(o);return this._addSvgIconSetConfig(n,new Ca("",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(xn.RESOURCE_URL,n);if(!a)throw rv(n);let i=this._cachedIconsByUrl.get(a);return i?tt(el(i)):this._loadSvgIconFromConfig(new Ca(n,null)).pipe(tc(o=>this._cachedIconsByUrl.set(a,o)),Pt(o=>el(o)))}getNamedSvgIcon(n,a=""){let i=iv(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):p0(nv(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?tt(el(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Pt(a=>el(a)))}_getSvgFromIconSetConfigs(n,a){let i=this._extractIconWithNameFromAnySet(n,a);if(i)return tt(i);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Th(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(xn.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),tt(null)})));return b0(o).pipe(Pt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw nv(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),u=this._extractSvgIconFromSet(l,n,o.options);if(u)return u}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(tc(a=>n.svgText=a),Pt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?tt(null):this._fetchIcon(n).pipe(tc(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 u=this._svgElementFromString(fo("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,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(fo("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:u}=i[o];l!=="id"&&a.setAttribute(l,u)}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 Loe();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(xn.RESOURCE_URL,a);if(!l)throw rv(a);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Pt(d=>fo(d)),w0(()=>this._inProgressUrlFetches.delete(l)),x0());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,a,i){return this._svgIconConfigs.set(iv(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 joe(o)?new Ca(o.url,null,o.options):new Ca(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(oe(eo,8),oe(X_),oe(Ve,8),oe(Yn))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function el(e){return e.cloneNode(!0)}function iv(e,t){return e+":"+t}function joe(e){return!!(e.url&&e.options)}var Voe=["*"],zoe=new K("MAT_ICON_DEFAULT_OPTIONS"),Boe=new K("mat-icon-location",{providedIn:"root",factory:Hoe});function Hoe(){let e=S(Ve),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var I9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],qoe=I9.map(e=>`[${e}]`).join(", "),$oe=/^url\(['"]?#(.*?)['"]?\)$/,$u=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(Xe));s(this,"_iconRegistry",S(Foe));s(this,"_location",S(Boe));s(this,"_errorHandler",S(Yn));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",Kt.EMPTY);let n=S(new np("aria-hidden"),{optional:!0}),a=S(zoe,{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(qoe),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)I9.forEach(l=>{let u=a[o],c=u.getAttribute(l),d=c?c.match($oe):null;if(d){let m=i.get(u);m||(m=[],i.set(u,m)),m.push({name:l,value:d[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(tn(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",Ae({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&($t("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),Mu(a.color?"mat-"+a.color:""),jt("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",Lt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Voe,decls:1,vars:0,template:function(n,a){n&1&&(Vn(),pt(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}
37
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Goe=(()=>{const t=class t{constructor(){this.leaflet=ze.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-download-link"]],inputs:{leaflet:[1,"leaflet"]},decls:4,vars:4,consts:[["mat-button","","target","_blank",3,"href"],["fontIcon","download"]],template:function(n,a){n&1&&(j(0,"a",0),Qe(1,"mat-icon",1),ee(2),te(3,"translate"),V()),n&2&&(Ie("href",a.leaflet(),ty),P(2),Ue(" ",re(3,2,"commons.downloadLeaflet")," "))},dependencies:[Hu,V1,$u,$r],encapsulation:2});let e=t;return e})(),Uoe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()(),j(8,"p")(9,"span"),ee(10),te(11,"translate"),V(),j(12,"a",1),te(13,"translate"),ee(14),te(15,"translate"),V(),ee(16,"."),V()(),j(17,"mat-dialog-actions")(18,"button",2),ee(19),te(20,"translate"),V(),j(21,"button",3),ee(22),te(23,"translate"),V()()),n&2&&(P(),Ne(re(2,9,"commons.errors.report-message-title")),P(5),Ne(re(7,11,"commons.errors.report-message-explanation")),P(4),Ne(re(11,13,"commons.errors.report-message-content")),P(2),Ie("href",re(13,15,"commons.errors.report-message-link"),ty),P(2),Ne(re(15,17,"commons.errors.report-message-term-use")),P(4),Ie("mat-dialog-close",!0),P(),Ue(" ",re(20,19,"commons.errors.report-message-report-button")," "),P(2),Ie("mat-dialog-close",!1),P(),Ue(" ",re(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[N1,D1,T1,O1,R1,Hu,ws,$r],encapsulation:2});let e=t;return e})(),Woe=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(k1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()()(),j(8,"mat-dialog-actions")(9,"button",1),ee(10),te(11,"translate"),V()()),n&2&&(P(),Ne(re(2,4,"commons.errors.action-not-authorized-title")),P(5),Ne(re(7,6,"commons.errors."+a.vidisErrorCode)),P(3),Ie("mat-dialog-close",!1),P(),Ue(" ",re(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[N1,D1,T1,O1,R1,Hu,ws,$r],encapsulation:2});let e=t;return e})();function ov(e,t,r){let n=vw(),a=Koe(e,r.timeZone,r.locale??n.locale);return"formatToParts"in a?Zoe(a,t):Yoe(a,t)}function Zoe(e,t){let r=e.formatToParts(t);for(let n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function Yoe(e,t){let r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function Koe(e,t,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Qoe(e,t){let r=nse(t);return"formatToParts"in r?Joe(r,e):ese(r,e)}var Xoe={year:0,month:1,day:2,hour:3,minute:4,second:5};function Joe(e,t){try{let r=e.formatToParts(t),n=[];for(let a=0;a<r.length;a++){let i=Xoe[r[a].type];i!==void 0&&(n[i]=parseInt(r[a].value,10))}return n}catch(r){if(r instanceof RangeError)return[NaN];throw r}}function ese(e,t){let r=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}var Wc={},sv=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),tse=sv==="06/25/2014, 00:00:00"||sv==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function nse(e){return Wc[e]||(Wc[e]=tse?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Wc[e]}function T9(e,t,r,n,a,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,r),l.setUTCHours(n,a,i,o),l}var lv=36e5,rse=6e4,Zc={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function R9(e,t,r){if(!e)return 0;let n=Zc.timezoneZ.exec(e);if(n)return 0;let a,i;if(n=Zc.timezoneHH.exec(e),n)return a=parseInt(n[1],10),uv(a)?-(a*lv):NaN;if(n=Zc.timezoneHHMM.exec(e),n){a=parseInt(n[2],10);let o=parseInt(n[3],10);return uv(a,o)?(i=Math.abs(a)*lv+o*rse,n[1]==="+"?-i:i):NaN}if(ose(e)){t=new Date(t||Date.now());let o=r?t:ase(t),l=ch(o,e);return-(r?l:ise(t,l,e))}return NaN}function ase(e){return T9(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ch(e,t){let r=Qoe(e,t),n=T9(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime(),a=e.getTime(),i=a%1e3;return a-=i>=0?i:1e3+i,n-a}function ise(e,t,r){let n=e.getTime()-t,a=ch(new Date(n),r);if(t===a)return t;n-=a-t;let i=ch(new Date(n),r);return a===i?a:Math.max(a,i)}function uv(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var cv={};function ose(e){if(cv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),cv[e]=!0,!0}catch{return!1}}var sse=60*1e3,lse={X:function(e,t,r){let n=Yc(r.timeZone,e);if(n===0)return"Z";switch(t){case"X":return dv(n);case"XXXX":case"XX":return li(n);case"XXXXX":case"XXX":default:return li(n,":")}},x:function(e,t,r){let n=Yc(r.timeZone,e);switch(t){case"x":return dv(n);case"xxxx":case"xx":return li(n);case"xxxxx":case"xxx":default:return li(n,":")}},O:function(e,t,r){let n=Yc(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+use(n,":");case"OOOO":default:return"GMT"+li(n,":")}},z:function(e,t,r){switch(t){case"z":case"zz":case"zzz":return ov("short",e,r);case"zzzz":default:return ov("long",e,r)}}};function Yc(e,t){let r=e?R9(e,t,!0)/sse:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function eu(e,t){let r=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return r+n}function li(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=eu(Math.floor(n/60),2),i=eu(Math.floor(n%60),2);return r+a+t+i}function dv(e,t){return e%60===0?(e>0?"-":"+")+eu(Math.abs(e)/60,2):li(e,t)}function use(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+eu(i,2)}function hv(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var cse=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Kc=36e5,pv=6e4,dse=2,dn={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:cse};function hse(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let r=t.additionalDigits==null?dse:Number(t.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let n=pse(e),{year:a,restDateString:i}=mse(n.date,r),o=fse(i,a);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=gse(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=R9(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=hv(new Date(l+u)),c=hv(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function pse(e){let t={},r=dn.dateTimePattern.exec(e),n;if(r?(t.date=r[1],n=r[3]):(r=dn.datePattern.exec(e),r?(t.date=r[1],n=r[2]):(t.date=null,n=e)),n){let a=dn.timeZone.exec(n);a?(t.time=n.replace(a[1],""),t.timeZone=a[1].trim()):t.time=n}return t}function mse(e,t){if(e){let r=dn.YYY[t],n=dn.YYYYY[t],a=dn.YYYY.exec(e)||n.exec(e);if(a){let i=a[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(a=dn.YY.exec(e)||r.exec(e),a){let i=a[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function fse(e,t){if(t===null)return null;let r,n,a;if(!e||!e.length)return r=new Date(0),r.setUTCFullYear(t),r;let i=dn.MM.exec(e);if(i)return r=new Date(0),n=parseInt(i[1],10)-1,fv(t,n)?(r.setUTCFullYear(t,n),r):new Date(NaN);if(i=dn.DDD.exec(e),i){r=new Date(0);let o=parseInt(i[1],10);return yse(t,o)?(r.setUTCFullYear(t,0,o),r):new Date(NaN)}if(i=dn.MMDD.exec(e),i){r=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return fv(t,n,o)?(r.setUTCFullYear(t,n,o),r):new Date(NaN)}if(i=dn.Www.exec(e),i)return a=parseInt(i[1],10)-1,gv(a)?mv(t,a):new Date(NaN);if(i=dn.WwwD.exec(e),i){a=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return gv(a,o)?mv(t,a,o):new Date(NaN)}return null}function gse(e){let t,r,n=dn.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Qc(t)?t%24*Kc:NaN;if(n=dn.HHMM.exec(e),n)return t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")),Qc(t,r)?t%24*Kc+r*pv:NaN;if(n=dn.HHMMSS.exec(e),n){t=parseInt(n[1],10),r=parseInt(n[2],10);let a=parseFloat(n[3].replace(",","."));return Qc(t,r,a)?t%24*Kc+r*pv+a*1e3:NaN}return null}function mv(e,t,r){t=t||0,r=r||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let a=n.getUTCDay()||7,i=t*7+r+1-a;return n.setUTCDate(n.getUTCDate()+i),n}var vse=[31,28,31,30,31,30,31,31,30,31,30,31],bse=[31,29,31,30,31,30,31,31,30,31,30,31];function O9(e){return e%400===0||e%4===0&&e%100!==0}function fv(e,t,r){if(t<0||t>11)return!1;if(r!=null){if(r<1)return!1;let n=O9(e);if(n&&r>bse[t]||!n&&r>vse[t])return!1}return!0}function yse(e,t){if(t<1)return!1;let r=O9(e);return!(r&&t>366||!r&&t>365)}function gv(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Qc(e,t,r){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||r!=null&&(r<0||r>=60))}var _se=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function wse(e,t,r={}){t=String(t);let n=t.match(_se);if(n){let a=hse(r.originalDate||e,r);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),u=i[l-1]==="'",c=i.replace(o,"'"+lse[o[0]](a,o,r)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return gw(e,t,r)}var xse=(()=>{const t=class t{reportError(n){return tt({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ese=(()=>{const t=class t{constructor(){this.http=S(eo),this.authService=S(Vi).getInstance(),this.apiUrl=S(no).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Do.userType]:Na.getUserType({isProfessional:this.authService.isProfessional}),[Do.clientType]:kw()?Na.clientType.mobileApp:Na.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Sse=(()=>{const t=class t{constructor(){this.config=S(no),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(xse):this.injector.get(Ese)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),kse=(()=>{const t=class t extends _ae{constructor(){super(...arguments),this.version=sh,this.authServiceSelector=S(Vi),this.translateService=S(Xn),this.webComponentConfig=S(no),this.injector=S(ht),this.servicesStore=S(qu),this.matDialog=S(Bu),this.destroyRef=S(ma),this.errorServiceSelector=S(Sse),this.snackbarService=S(Rw),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Rt(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(n=>Rt(this,null,function*(){yield this.fetchData(!0),n()}))})}onPropsChanged(n){n.language&&this.translateService.use(this.language)}checkError(n){(n==null?void 0:n.group)===Lr.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===Lr.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(Uoe,{data:{error:n}}).beforeClosed().pipe(Sn(a=>a),k9(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let a={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:i=>{i.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(n){this.matDialog.open(Woe,{data:n})}formatDateWithZone(){return wse(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})(),t.ɵcmp=Ae({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ye],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),Cse=["*"];function Dse(e,t){e&1&&Yt(0)}function Ise(e,t){if(e&1&&(j(0,"div",3),he(1,Dse,1,0,"ng-container",5),V()),e&2){le();let r=Nu(5);P(),Ie("ngTemplateOutlet",r)}}function Tse(e,t){e&1&&Yt(0)}function Rse(e,t){if(e&1){let r=qr();j(0,"div",6),hn("click",function(){kn(r);let n=le();return Cn(n.toggleExpanded())})("keydown.enter",function(){kn(r);let n=le();return Cn(n.toggleExpanded())})("keydown.space",function(){kn(r);let n=le();return Cn(n.toggleExpanded())}),he(1,Tse,1,0,"ng-container",5),V()}if(e&2){let r=le(),n=Nu(5);$t("aria-label",r.currentExpandIconAriaLabel()),P(),Ie("ngTemplateOutlet",n)}}function Ose(e,t){e&1&&Yt(0)}function Mse(e,t){if(e&1&&he(0,Ose,1,0,"ng-container",5),e&2){le();let r=Nu(7);Ie("ngTemplateOutlet",r)}}function Nse(e,t){if(e&1&&(j(0,"h2"),ee(1),V()),e&2){let r=le(3);P(),Ne(r.alertTitle())}}function Ase(e,t){if(e&1&&(j(0,"p"),ee(1),V()),e&2){let r=le(3);P(),Ne(r.alertSubtitle())}}function Pse(e,t){if(e&1&&(j(0,"div"),he(1,Nse,2,1,"h2")(2,Ase,2,1,"p"),V()),e&2){let r=le(2);P(),je(r.alertTitle()?1:-1),P(),je(r.alertSubtitle()?2:-1)}}function Lse(e,t){e&1&&Yt(0)}function Fse(e,t){if(e&1&&he(0,Lse,1,0,"ng-container",5),e&2){le(2);let r=Nu(7);Ie("ngTemplateOutlet",r)}}function jse(e,t){if(e&1){let r=qr();j(0,"mat-icon",11),hn("click",function(){kn(r);let n=le(2);return Cn(n.onCloseButtonClick())})("keydown.enter",function(){kn(r);let n=le(2);return Cn(n.onCloseButtonClick())})("keydown.space",function(){kn(r);let n=le(2);return Cn(n.onCloseButtonClick())}),V()}if(e&2){let r=le(2);$t("aria-label",r.closeButtonAriaLabel())}}function Vse(e,t){if(e&1&&Qe(0,"mat-icon",10),e&2){let r=le(2);Ie("fontIcon",r.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function zse(e,t){if(e&1&&(Qe(0,"mat-icon",7),j(1,"div",8),he(2,Pse,3,2,"div")(3,Fse,1,1,"ng-container"),V(),he(4,jse,1,1,"mat-icon",9)(5,Vse,1,1,"mat-icon",10)),e&2){let r=le();Ie("fontIcon",r.fontIcon()),P(2),je(r.alertTitle()||r.alertSubtitle()?2:r.dismissMode()!=="expandable"?3:-1),P(2),je(r.dismissMode()==="closable"?4:r.dismissMode()==="expandable"?5:-1)}}function Bse(e,t){if(e&1){let r=qr();j(0,"button",14),hn("click",function(){kn(r);let n=le(2);return Cn(n.onActionButtonClicked())}),ee(1),V()}if(e&2){let r=le(2);Ie("disabled",r.buttonDisabled()),P(),Ue(" ",r.buttonLabel()," ")}}function Hse(e,t){if(e&1&&(j(0,"span",12),pt(1),V(),he(2,Bse,2,2,"button",13)),e&2){let r=le();P(2),je(r.actionButton()?2:-1)}}var qse=(()=>{const t=class t{constructor(){s(this,"usage",ze("info"));s(this,"backgroundColor",ze("color"));s(this,"alertTitle",ze());s(this,"alertSubtitle",ze());s(this,"actionButton",ze(!1));s(this,"buttonDisabled",ze(!1));s(this,"buttonLabel",ze());s(this,"dismissMode",ze("pinned"));s(this,"closeButtonAriaLabel",ze(""));s(this,"startExpanded",ze(!1));s(this,"expandedButtonAriaLabel",ze(""));s(this,"collapsedButtonAriaLabel",ze(""));s(this,"closeButtonClicked",Ll());s(this,"actionButtonClicked",Ll());s(this,"expanded",NK(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",mi(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",mi(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",mi(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",mi(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:Cse,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(n,a){n&1&&(Vn(),j(0,"div",2),he(1,Ise,2,1,"div",3)(2,Rse,2,2,"div",4)(3,Mse,1,1,"ng-container"),V(),he(4,zse,6,3,"ng-template",null,0,Pf)(6,Hse,3,1,"ng-template",null,1,Pf)),n&2&&(Mu(a.usage()),jt("white",a.backgroundColor()==="white"),P(),je(a.dismissMode()!=="expandable"?1:2),P(2),je(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[T_,xQ,$u,ws],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function $se(e,t){if(e&1&&(j(0,"mh-alert",0),te(1,"translate"),j(2,"div",1),ee(3),te(4,"translate"),V()()),e&2){let r=le();Ie("alertTitle",re(1,2,"commons.errors.data-not-available-title")),P(3),Ne(re(4,4,"commons.errors."+r.error().code))}}var Gse=(()=>{const t=class t{constructor(){this.error=ze.required(),this.vidisErrorGroup=Lr}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,a){n&1&&he(0,$se,5,6,"mh-alert",0),n&2&&je(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[$r,qse],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})(),Use=["*"],Wse=(()=>{const t=class t{constructor(){this.item=ze.required(),this.expandedElement=DZ.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:Use,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(n,a){n&1&&(Vn(),j(0,"button",0),hn("click",function(){return a.expandedElement.set(a.expandedElement()===a.item()?null:a.item())}),Qe(1,"mat-icon",1),pt(2),V()),n&2&&(P(),Ie("fontIcon",a.item()===a.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Hu,ws,$u],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})(),Zse=e=>({count:e});function Yse(e,t){e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V()),e&2&&(P(),Ne(re(2,1,"deliveredMedicationDetails.leaflet")))}function Kse(e,t){if(e&1&&(j(0,"span",2),Qe(1,"vidis-download-link",5),V()),e&2){let r=le(3);P(),Ie("leaflet",r.leafletUrl())}}function Qse(e,t){e&1&&he(0,Yse,3,3,"span",3)(1,Kse,2,1,"span",4)}function Xse(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"translateValue"),V(),he(6,Qse,2,0)),e&2){let r=le();P(),Ne(re(2,3,"deliveredMedicationDetails.medication")),P(3),Ne(re(5,5,r.item().medication.name)),P(2),je(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function Jse(e,t){if(e&1&&(ee(0),te(1,"ingredientLabel")),e&2){let r=t.$implicit;Ue(" ",re(1,1,r)," ")}}function ele(e,t){if(e&1&&(j(0,"span",1)(1,"strong"),ee(2),te(3,"translate"),V()(),j(4,"span",2),Qi(5,Jse,2,3,null,null,Rp),V()),e&2){let r=le();P(2),Ne(re(3,1,"deliveredMedicationsList.magisterialPreparation")),P(3),Xi(r.item().medication.ingredients)}}function tle(e,t){if(e&1&&(j(0,"li"),ee(1),te(2,"translateValue"),V()),e&2){let r=t.$implicit;P(),Ue(" ",re(2,1,r.texts)," ")}}function nle(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2)(4,"ul"),Qi(5,tle,3,3,"li",null,Rp),V()()),e&2){let r=le();P(),Ne(re(2,1,"deliveredMedicationDetails.posologie")),P(4),Xi(r.item().dosageInstructions)}}function rle(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"date"),V()),e&2){let r=le(),n=le();P(),Ne(re(2,2,r<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),P(3),Ne(vs(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function ale(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"absolute"),te(6,"absolute"),te(7,"translate"),V(),he(8,rle,6,7),j(9,"span",1),ee(10),te(11,"translate"),V()),e&2){let r=t,n=le();P(),Ne(re(2,5,r<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),P(3),Np("",re(5,7,r)," ",vs(7,11,"deliveredMedicationDetails.package",m_(16,Zse,re(6,9,r))),""),P(4),je(n.displayAllDetails()?8:-1),P(2),Ne(re(11,14,r<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function ile(e,t){if(e&1&&(ee(0),te(1,"translateValue"),Qe(2,"br"),ee(3)),e&2){let r=le();Ue(" ",re(1,2,t)," "),P(3),Ue(" ",r.item().pharmacy.nihdi," ")}}function ole(e,t){if(e&1&&(ee(0),te(1,"translate")),e&2){let r=le();Np(" ",re(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function sle(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"fullname"),V()),e&2){let r=le();P(),Ne(re(2,2,"deliveredMedicationDetails.patient")),P(3),Ne(re(5,4,r.item().person))}}var lle=(()=>{const t=class t{constructor(){this.translate=S(Xn),this.leafletService=S(Iw),this.leafletUrl=wu(""),this.item=ze.required(),this.displayAllDetails=ze(!1),this.isProfessional=ze.required(),this.identifierType=Ei}ngOnInit(){this.displayAllDetails()&&this.item().medication.identifier&&this.item().medication.identifier.type===this.identifierType.CNK&&this.updateLeafletUrl()}updateLeafletUrl(){this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value).pipe(tn(1)).subscribe({next:n=>{this.leafletUrl.set(n)},error:n=>{console.error("Error fetching leaflet URL:",n),this.leafletUrl.set("")}})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],[3,"leaflet"]],template:function(n,a){if(n&1&&(j(0,"span",0),he(1,Xse,7,7)(2,ele,7,3)(3,nle,7,3),j(4,"span",1),ee(5),te(6,"translate"),V(),j(7,"span",2),ee(8),te(9,"translate"),V(),he(10,ale,12,18),j(11,"span",2),he(12,ile,4,4)(13,ole,2,4),V(),he(14,sle,6,6),j(15,"span",1),ee(16),te(17,"translate"),V(),j(18,"span",2),ee(19),V()()),n&2){let i,o,l;P(),je(a.item().medication.name?1:2),P(2),je((i=a.item().dosageInstructions)!=null&&i.length?3:-1),P(2),Ne(re(6,9,"deliveredMedicationDetails.is-prescribed.title")),P(3),Ne(re(9,11,"deliveredMedicationDetails.is-prescribed."+(a.item().isPrescribed?"yes":"no"))),P(2),je((o=(o=a.item().medication.quantity)==null?null:o.value)?10:-1,o),P(2),je((l=(l=a.item().pharmacy)==null?null:l.name)?12:13,l),P(2),je(a.displayAllDetails()&&!a.isProfessional()?14:-1),P(2),Ne(re(17,13,"deliveredMedicationDetails.dguid")),P(3),Ne(a.item().dguid)}},dependencies:[$r,bm,vm,zp,Moe,Aoe,Doe,Goe],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}.details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"]});let e=t;return e})(),vv=new K("CdkAccordion"),ule=(()=>{const t=class t{constructor(){s(this,"accordion",S(vv,{optional:!0,skipSelf:!0}));s(this,"_changeDetectorRef",S(br));s(this,"_expansionDispatcher",S(A1));s(this,"_openCloseAllSubscription",Kt.EMPTY);s(this,"closed",new ot);s(this,"opened",new ot);s(this,"destroyed",new ot);s(this,"expandedChange",new ot);s(this,"id",S(Qa).getId("cdk-accordion-child-"));s(this,"_expanded",!1);s(this,"disabled",!1);s(this,"_removeUniqueSelectionListener",()=>{})}get expanded(){return this._expanded}set expanded(n){if(this._expanded!==n){if(this._expanded=n,this.expandedChange.emit(n),n){this.opened.emit();let a=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,a)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((n,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==n&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(n=>{this.disabled||(this.expanded=n)})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Lt],disabled:[2,"disabled","disabled",Lt]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Tn([{provide:vv,useValue:void 0}])]}));let e=t;return e})(),cle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),dle=["body"],hle=["bodyWrapper"],ple=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],mle=["mat-expansion-panel-header","*","mat-action-row"];function fle(e,t){}var gle=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],vle=["mat-panel-title","mat-panel-description","*"];function ble(e,t){e&1&&(j(0,"span",1),fb(),j(1,"svg",2),Qe(2,"path",3),V()())}var bv=new K("MAT_ACCORDION"),M9=new K("MAT_EXPANSION_PANEL"),yle=(()=>{const t=class t{constructor(){s(this,"_template",S(an));s(this,"_expansionPanel",S(M9,{optional:!0}))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}));let e=t;return e})(),N9=new K("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),A9=(()=>{const t=class t extends ule{constructor(){super();s(this,"_viewContainerRef",S(jn));s(this,"_animationsDisabled",S(fa,{optional:!0})==="NoopAnimations");s(this,"_document",S(Ve));s(this,"_ngZone",S(He));s(this,"_elementRef",S(Xe));s(this,"_renderer",S(Ka));s(this,"_cleanupTransitionEnd");s(this,"_hideToggle",!1);s(this,"_togglePosition");s(this,"afterExpand",new ot);s(this,"afterCollapse",new ot);s(this,"_inputChanges",new ve);s(this,"accordion",S(bv,{optional:!0,skipSelf:!0}));s(this,"_lazyContent");s(this,"_body");s(this,"_bodyWrapper");s(this,"_portal");s(this,"_headerId",S(Qa).getId("mat-expansion-panel-header-"));s(this,"_transitionEndListener",({target:a,propertyName:i})=>{var o;a===((o=this._bodyWrapper)==null?void 0:o.nativeElement)&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})});let a=S(N9,{optional:!0});this._expansionDispatcher=S(A1),a&&(this.hideToggle=a.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(a){this._hideToggle=a}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(a){this._togglePosition=a}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(du(null),Sn(()=>this.expanded&&!this._portal),tn(1)).subscribe(()=>{this._portal=new Vu(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(a){this._inputChanges.next(a)}ngOnDestroy(){var a;super.ngOnDestroy(),(a=this._cleanupTransitionEnd)==null||a.call(this),this._inputChanges.complete()}_containsFocus(){if(this._body){let a=this._document.activeElement,i=this._body.nativeElement;return a===i||i.contains(a)}return!1}_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let a=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(a,"transitionend",this._transitionEndListener),a.classList.add("mat-expansion-panel-animations-enabled")},200)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(a,i,o){if(a&1&&Mr(o,yle,5),a&2){let l;un(l=cn())&&(i._lazyContent=l.first)}},viewQuery:function(a,i){if(a&1&&(Pi(dle,5),Pi(hle,5)),a&2){let o;un(o=cn())&&(i._body=o.first),un(o=cn())&&(i._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(a,i){a&2&&jt("mat-expanded",i.expanded)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Lt],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Tn([{provide:bv,useValue:void 0},{provide:M9,useExisting:t}]),Ye,ha],ngContentSelectors:mle,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(a,i){a&1&&(Vn(ple),pt(0),j(1,"div",2,0)(3,"div",3,1)(5,"div",4),pt(6,1),he(7,fle,0,0,"ng-template",5),V(),pt(8,2),V()()),a&2&&(P(),$t("inert",i.expanded?null:""),P(2),Ie("id",i.id),$t("aria-labelledby",i._headerId),P(4),Ie("cdkPortalOutlet",i._portal))},dependencies:[Fi],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
38
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),_le=(()=>{const t=class t{constructor(){s(this,"panel",S(A9,{host:!0}));s(this,"_element",S(Xe));s(this,"_focusMonitor",S(ju));s(this,"_changeDetectorRef",S(br));s(this,"_parentChangeSubscription",Kt.EMPTY);s(this,"expandedHeight");s(this,"collapsedHeight");s(this,"tabIndex",0);S(ga).load(Qp);let n=this.panel,a=S(N9,{optional:!0}),i=S(new np("tabindex"),{optional:!0}),o=n.accordion?n.accordion._stateChanges.pipe(Sn(l=>!!(l.hideToggle||l.togglePosition))):Dh;this.tabIndex=parseInt(i||"")||0,this._parentChangeSubscription=La(n.opened,n.closed,o,n._inputChanges.pipe(Sn(l=>!!(l.hideToggle||l.disabled||l.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),n.closed.pipe(Sn(()=>n._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let n=this._isExpanded();return n&&this.expandedHeight?this.expandedHeight:!n&&this.collapsedHeight?this.collapsedHeight:null}_keydown(n){switch(n.keyCode){case 32:case 13:Kp(n)||(n.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n);return}}focus(n,a){n?this._focusMonitor.focusVia(this._element,n,a):this._element.nativeElement.focus(a)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(n=>{n&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(n,a){n&1&&hn("click",function(){return a._toggle()})("keydown",function(i){return a._keydown(i)}),n&2&&($t("id",a.panel._headerId)("tabindex",a.disabled?-1:a.tabIndex)("aria-controls",a._getPanelId())("aria-expanded",a._isExpanded())("aria-disabled",a.panel.disabled),t_("height",a._getHeaderHeight()),jt("mat-expanded",a._isExpanded())("mat-expansion-toggle-indicator-after",a._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",a._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:Lp(n)]},ngContentSelectors:vle,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,a){n&1&&(Vn(gle),j(0,"span",0),pt(1),pt(2,1),pt(3,2),V(),he(4,ble,3,0,"span",1)),n&2&&(jt("mat-content-hide-toggle",!a._showToggle()),P(4),je(a._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}
39
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),wle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}));let e=t;return e})(),xle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[mr,cle,Go]}));let e=t;return e})(),Ele=(()=>{const t=class t{constructor(){this.disclaimer=wu(!1)}get disclaimerRead(){return this.disclaimer}setDisclaimer(n){this.disclaimer.set(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Sle(e,t){e&1&&(j(0,"p",3),ee(1),te(2,"translate"),j(3,"strong"),ee(4),te(5,"translate"),V()()),e&2&&(P(),Ue(" ",re(2,2,"deliveredMedicationsDisclaimer.patient.part3.1")," "),P(3),Ne(re(5,4,"deliveredMedicationsDisclaimer.patient.part3.2")))}var kle=(()=>{const t=class t{constructor(){this.deliveredMedicationsDisclaimerService=S(Ele),this.isProfessional=ze.required(),this.hideDisclaimer=this.deliveredMedicationsDisclaimerService.disclaimerRead}get prefix(){return"deliveredMedicationsDisclaimer."+(this.isProfessional()?"professional":"patient")}toggleDisclaimer(){this.deliveredMedicationsDisclaimerService.setDisclaimer(!this.hideDisclaimer())}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-disclaimer"]],inputs:{isProfessional:[1,"isProfessional"]},decls:22,vars:23,consts:[["togglePosition","before",3,"click","expanded"],["data-cy","delivered-medications-disclaimer-body-patient-part1"],["data-cy","delivered-medications-disclaimer-body-patient-part2"],["data-cy","delivered-medications-disclaimer-body-patient-part3"]],template:function(n,a){n&1&&(j(0,"mat-expansion-panel",0),hn("click",function(){return a.toggleDisclaimer()}),j(1,"mat-expansion-panel-header")(2,"mat-panel-title"),ee(3),te(4,"translate"),V()(),j(5,"p",1),ee(6),te(7,"translate"),j(8,"strong"),ee(9),te(10,"translate"),V(),ee(11),te(12,"translate"),V(),j(13,"p",2),ee(14),te(15,"translate"),j(16,"strong"),ee(17),te(18,"translate"),V(),ee(19),te(20,"translate"),V(),he(21,Sle,6,6,"p",3),V()),n&2&&(Ie("expanded",!a.hideDisclaimer()),P(3),Ne(re(4,9,"deliveredMedicationsDisclaimer.header")),P(3),Ue(" ",re(7,11,a.prefix+".part1.1")," "),P(3),Ne(re(10,13,a.prefix+".part1.2")),P(2),Ue(" ",re(12,15,a.prefix+".part1.3")," "),P(3),Ue(" ",re(15,17,a.prefix+".part2.1")," "),P(3),Ne(re(18,19,a.prefix+".part2.2")),P(2),Ue(" ",re(20,21,a.prefix+".part2.3")," "),P(2),je(a.isProfessional()?-1:21))},dependencies:[xle,A9,_le,wle,$r],styles:["mat-expansion-panel[_ngcontent-%COMP%]{--mat-expansion-container-background-color: #ffeee0}"],changeDetection:0});let e=t;return e})(),Cle=["*"];function Dle(e,t){e&1&&(j(0,"div",2),fb(),j(1,"svg",3),Qe(2,"path",4),V()())}var P9=new K("MAT_SORT_DEFAULT_OPTIONS"),dh=(()=>{const t=class t{constructor(n){s(this,"_defaultOptions");s(this,"_initializedStream",new kh(1));s(this,"sortables",new Map);s(this,"_stateChanges",new ve);s(this,"active");s(this,"start","asc");s(this,"_direction","");s(this,"disableClear");s(this,"disabled",!1);s(this,"sortChange",new ot);s(this,"initialized",this._initializedStream);this._defaultOptions=n}get direction(){return this._direction}set direction(n){this._direction=n}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){var l;if(!n)return"";let a=(n==null?void 0:n.disableClear)??this.disableClear??!!((l=this._defaultOptions)!=null&&l.disableClear),i=Ile(n.start||this.start,a),o=i.indexOf(this.direction)+1;return o>=i.length&&(o=0),i[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};s(t,"ɵfac",function(n){return new(n||t)(Zt(P9,8))}),s(t,"ɵdir",be({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Lt],disabled:[2,"matSortDisabled","disabled",Lt]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[ha]}));let e=t;return e})();function Ile(e,t){let r=["asc","desc"];return e=="desc"&&r.reverse(),t||r.push(""),r}var tu=(()=>{const t=class t{constructor(){s(this,"changes",new ve)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Tle(e){return e||new tu}var Rle={provide:tu,deps:[[new Mh,new Nh,tu]],useFactory:Tle},Ole=(()=>{const t=class t{constructor(){s(this,"_intl",S(tu));s(this,"_sort",S(dh,{optional:!0}));s(this,"_columnDef",S("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0}));s(this,"_changeDetectorRef",S(br));s(this,"_focusMonitor",S(ju));s(this,"_elementRef",S(Xe));s(this,"_ariaDescriber",S(gJ,{optional:!0}));s(this,"_renderChanges");s(this,"_animationModule",S(fa,{optional:!0}));s(this,"_recentlyCleared",wu(null));s(this,"_sortButton");s(this,"id");s(this,"arrowPosition","after");s(this,"start");s(this,"disabled",!1);s(this,"_sortActionDescription","Sort");s(this,"disableClear");S(ga).load(Qp);let n=S(P9,{optional:!0});this._sort,n!=null&&n.arrowPosition&&(this.arrowPosition=n==null?void 0:n.arrowPosition)}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(n){this._updateSortActionDescription(n)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=La(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>this._recentlyCleared.set(null))}ngOnDestroy(){var n,a;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),(n=this._renderChanges)==null||n.unsubscribe(),this._sortButton&&((a=this._ariaDescriber)==null||a.removeDescription(this._sortButton,this._sortActionDescription))}_toggleOnInteraction(){if(!this._isDisabled()){let n=this._isSorted(),a=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(n&&!this._isSorted()?a:null)}}_handleKeydown(n){(n.keyCode===32||n.keyCode===13)&&(n.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(n){var a,i;this._sortButton&&((a=this._ariaDescriber)==null||a.removeDescription(this._sortButton,this._sortActionDescription),(i=this._ariaDescriber)==null||i.describe(this._sortButton,n)),this._sortActionDescription=n}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,a){n&1&&hn("click",function(){return a._toggleOnInteraction()})("keydown",function(i){return a._handleKeydown(i)})("mouseleave",function(){return a._recentlyCleared.set(null)}),n&2&&($t("aria-sort",a._getAriaSortAttribute()),jt("mat-sort-header-disabled",a._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",Lt],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Lt]},exportAs:["matSortHeader"],ngContentSelectors:Cle,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,a){n&1&&(Vn(),j(0,"div",0)(1,"div",1),pt(2),V(),he(3,Dle,3,0,"div",2),V()),n&2&&(jt("mat-sort-header-sorted",a._isSorted())("mat-sort-header-position-before",a.arrowPosition==="before")("mat-sort-header-descending",a._sort.direction==="desc")("mat-sort-header-ascending",a._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",a._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",a._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",a._animationModule==="NoopAnimations"),$t("tabindex",a._isDisabled()?null:0)("role",a._isDisabled()?null:"button"),P(3),je(a._renderArrow()?3:-1))},styles:[`.mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}
40
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Mle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[Rle],imports:[mr]}));let e=t;return e})(),Nle=[[["caption"]],[["colgroup"],["col"]],"*"],Ale=["caption","colgroup, col","*"];function Ple(e,t){e&1&&pt(0,2)}function Lle(e,t){e&1&&(j(0,"thead",0),Yt(1,1),V(),j(2,"tbody",0),Yt(3,2)(4,3),V(),j(5,"tfoot",0),Yt(6,4),V())}function Fle(e,t){e&1&&Yt(0,1)(1,2)(2,3)(3,4)}var yr=new K("CDK_TABLE"),hh=(()=>{const t=class t{constructor(){s(this,"template",S(an))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),ph=(()=>{const t=class t{constructor(){s(this,"template",S(an))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),jle=(()=>{const t=class t{constructor(){s(this,"template",S(an))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Ko=(()=>{const t=class t{constructor(){s(this,"_table",S(yr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_name");s(this,"_sticky",!1);s(this,"_stickyEnd",!1);s(this,"cell");s(this,"headerCell");s(this,"footerCell");s(this,"cssClassFriendlyName");s(this,"_columnCssClassName")}get name(){return this._name}set name(n){this._setNameInput(n)}get sticky(){return this._sticky}set sticky(n){n!==this._sticky&&(this._sticky=n,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(n){n!==this._stickyEnd&&(this._stickyEnd=n,this._hasStickyChanged=!0)}hasStickyChanged(){let n=this._hasStickyChanged;return this.resetStickyChanged(),n}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(n){n&&(this._name=n,this.cssClassFriendlyName=n.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,a,i){if(n&1&&(Mr(i,hh,5),Mr(i,ph,5),Mr(i,jle,5)),n&2){let o;un(o=cn())&&(a.cell=o.first),un(o=cn())&&(a.headerCell=o.first),un(o=cn())&&(a.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Lt],stickyEnd:[2,"stickyEnd","stickyEnd",Lt]},features:[Tn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),L9=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},Vle=(()=>{const t=class t extends L9{constructor(){super(S(Ko),S(Xe))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ye]}));let e=t;return e})(),zle=(()=>{const t=class t extends L9{constructor(){var o;let n=S(Ko),a=S(Xe);super(n,a);let i=(o=n._table)==null?void 0:o._getCellRole();i&&a.nativeElement.setAttribute("role",i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ye]}));let e=t;return e})(),yv=class{constructor(){s(this,"tasks",[]);s(this,"endTasks",[])}},mh=new K("_COALESCED_STYLE_SCHEDULER"),F9=(()=>{const t=class t{constructor(){s(this,"_currentSchedule",null);s(this,"_ngZone",S(He))}schedule(n){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(n)}scheduleEnd(n){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(n)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new yv,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let n=this._currentSchedule;this._currentSchedule=new yv;for(let a of n.tasks)a();for(let a of n.endTasks)a()}this._currentSchedule=null})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),ym=(()=>{const t=class t{constructor(){s(this,"template",S(an));s(this,"_differs",S(Ji));s(this,"columns");s(this,"_columnsDiffer")}ngOnChanges(n){if(!this._columnsDiffer){let a=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(n){return this instanceof nu?n.headerCell.template:this instanceof j9?n.footerCell.template:n.cell.template}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,features:[ha]}));let e=t;return e})(),nu=(()=>{const t=class t extends ym{constructor(){super(S(an),S(Ji));s(this,"_table",S(yr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}ngOnChanges(a){super.ngOnChanges(a)}hasStickyChanged(){let a=this._hasStickyChanged;return this.resetStickyChanged(),a}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Lt]},features:[Ye,ha]}));let e=t;return e})(),j9=(()=>{const t=class t extends ym{constructor(){super(S(an),S(Ji));s(this,"_table",S(yr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}ngOnChanges(a){super.ngOnChanges(a)}hasStickyChanged(){let a=this._hasStickyChanged;return this.resetStickyChanged(),a}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Lt]},features:[Ye,ha]}));let e=t;return e})(),fh=(()=>{const t=class t extends ym{constructor(){super(S(an),S(Ji));s(this,"_table",S(yr,{optional:!0}));s(this,"when")}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Ye]}));let e=t;return e})(),zi=(()=>{const t=class t{constructor(){s(this,"_viewContainer",S(jn));s(this,"cells");s(this,"context");t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};s(t,"mostRecentCellOutlet",null),s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),_v=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),wv=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),Ble=(()=>{const t=class t{constructor(){s(this,"templateRef",S(an));s(this,"_contentClassName","cdk-no-data-row")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),xv=["top","bottom","left","right"],Hle=class{constructor(e,t,r,n,a=!0,i=!0,o,l){s(this,"_isNativeHtmlTable");s(this,"_stickCellCss");s(this,"direction");s(this,"_coalescedStyleScheduler");s(this,"_isBrowser");s(this,"_needsPositionStickyOnElement");s(this,"_positionListener");s(this,"_tableInjector");s(this,"_elemSizeCache",new WeakMap);s(this,"_resizeObserver",globalThis!=null&&globalThis.ResizeObserver?new globalThis.ResizeObserver(e=>this._updateCachedSizes(e)):null);s(this,"_updatedStickyColumnsParamsToReplay",[]);s(this,"_stickyColumnsReplayTimeout",null);s(this,"_cachedCellWidths",[]);s(this,"_borderCellCss");s(this,"_destroyed",!1);this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=r,this._coalescedStyleScheduler=n,this._isBrowser=a,this._needsPositionStickyOnElement=i,this._positionListener=o,this._tableInjector=l,this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(e,t){(t.includes("left")||t.includes("right"))&&this._removeFromStickyColumnReplayQueue(e);let r=[];for(let n of e)n.nodeType===n.ELEMENT_NODE&&r.push(n,...Array.from(n.children));this._afterNextRender({write:()=>{for(let n of r)this._removeStickyStyle(n,t)}})}updateStickyColumns(e,t,r,n=!0,a=!0){var x,k;if(!e.length||!this._isBrowser||!(t.some(D=>D)||r.some(D=>D))){(x=this._positionListener)==null||x.stickyColumnsUpdated({sizes:[]}),(k=this._positionListener)==null||k.stickyEndColumnsUpdated({sizes:[]});return}let i=e[0],o=i.children.length,l=this.direction==="rtl",u=l?"right":"left",c=l?"left":"right",d=t.lastIndexOf(!0),m=r.indexOf(!0),v,g,w;a&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...r]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(i,n),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,r)},write:()=>{for(let D of e)for(let O=0;O<o;O++){let M=D.children[O];t[O]&&this._addStickyStyle(M,u,g[O],O===d),r[O]&&this._addStickyStyle(M,c,w[O],O===m)}this._positionListener&&v.some(D=>!!D)&&(this._positionListener.stickyColumnsUpdated({sizes:d===-1?[]:v.slice(0,d+1).map((D,O)=>t[O]?D:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:m===-1?[]:v.slice(m).map((D,O)=>r[O+m]?D:null).reverse()}))}})}stickRows(e,t,r){if(!this._isBrowser)return;let n=r==="bottom"?e.slice().reverse():e,a=r==="bottom"?t.slice().reverse():t,i=[],o=[],l=[];this._afterNextRender({earlyRead:()=>{for(let u=0,c=0;u<n.length;u++){if(!a[u])continue;i[u]=c;let d=n[u];l[u]=this._isNativeHtmlTable?Array.from(d.children):[d];let m=this._retrieveElementSize(d).height;c+=m,o[u]=m}},write:()=>{var c,d;let u=a.lastIndexOf(!0);for(let m=0;m<n.length;m++){if(!a[m])continue;let v=i[m],g=m===u;for(let w of l[m])this._addStickyStyle(w,r,v,g)}r==="top"?(c=this._positionListener)==null||c.stickyHeaderRowsUpdated({sizes:o,offsets:i,elements:l}):(d=this._positionListener)==null||d.stickyFooterRowsUpdated({sizes:o,offsets:i,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let r=e.querySelector("tfoot");r&&(t.some(n=>!n)?this._removeStickyStyle(r,["bottom"]):this._addStickyStyle(r,"bottom",0,!1))}})}destroy(){var e;this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),(e=this._resizeObserver)==null||e.disconnect(),this._destroyed=!0}_removeStickyStyle(e,t){if(e.classList.contains(this._stickCellCss)){for(let r of t)e.style[r]="",e.classList.remove(this._borderCellCss[r]);xv.some(r=>t.indexOf(r)===-1&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,r,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${r}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let t={top:100,bottom:10,left:1,right:1},r=0;for(let n of xv)e.style[n]&&(r+=t[n]);return r?`${r}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let r=[],n=e.children;for(let a=0;a<n.length;a++){let i=n[a];r.push(this._retrieveElementSize(i).width)}return this._cachedCellWidths=r,r}_getStickyStartColumnPositions(e,t){let r=[],n=0;for(let a=0;a<e.length;a++)t[a]&&(r[a]=n,n+=e[a]);return r}_getStickyEndColumnPositions(e,t){let r=[],n=0;for(let a=e.length;a>0;a--)t[a]&&(r[a]=n,n+=e[a]);return r}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let r=e.getBoundingClientRect(),n={width:r.width,height:r.height};return this._resizeObserver&&(this._elemSizeCache.set(e,n),this._resizeObserver.observe(e,{box:"border-box"})),n}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let t=new Set(e);for(let r of this._updatedStickyColumnsParamsToReplay)r.rows=r.rows.filter(n=>!t.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(r=>!!r.rows.length)}_updateCachedSizes(e){var r,n;let t=!1;for(let a of e){let i=(r=a.borderBoxSize)!=null&&r.length?{width:a.borderBoxSize[0].inlineSize,height:a.borderBoxSize[0].blockSize}:{width:a.contentRect.width,height:a.contentRect.height};i.width!==((n=this._elemSizeCache.get(a.target))==null?void 0:n.width)&&qle(a.target)&&(t=!0),this._elemSizeCache.set(a.target,i)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let a of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(a.rows,a.stickyStartStates,a.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(e){this._tableInjector?Su(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function qle(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var gh=new K("CDK_SPL"),V9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(yr);n._rowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),z9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(yr);n._headerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),B9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(yr);n._footerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),H9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(yr);n._noDataRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),Ev=(()=>{const t=class t{constructor(){s(this,"_differs",S(Ji));s(this,"_changeDetectorRef",S(br));s(this,"_elementRef",S(Xe));s(this,"_dir",S(Ho,{optional:!0}));s(this,"_platform",S(pn));s(this,"_viewRepeater",S(Yd));s(this,"_coalescedStyleScheduler",S(mh));s(this,"_viewportRuler",S(Jp));s(this,"_stickyPositioningListener",S(gh,{optional:!0,skipSelf:!0}));s(this,"_document",S(Ve));s(this,"_data");s(this,"_onDestroy",new ve);s(this,"_renderRows");s(this,"_renderChangeSubscription");s(this,"_columnDefsByName",new Map);s(this,"_rowDefs");s(this,"_headerRowDefs");s(this,"_footerRowDefs");s(this,"_dataDiffer");s(this,"_defaultRowDef");s(this,"_customColumnDefs",new Set);s(this,"_customRowDefs",new Set);s(this,"_customHeaderRowDefs",new Set);s(this,"_customFooterRowDefs",new Set);s(this,"_customNoDataRow");s(this,"_headerRowDefChanged",!0);s(this,"_footerRowDefChanged",!0);s(this,"_stickyColumnStylesNeedReset",!0);s(this,"_forceRecalculateCellWidths",!0);s(this,"_cachedRenderRowsMap",new Map);s(this,"_isNativeHtmlTable");s(this,"_stickyStyler");s(this,"stickyCssClass","cdk-table-sticky");s(this,"needsPositionStickyOnElement",!0);s(this,"_isServer");s(this,"_isShowingNoDataRow",!1);s(this,"_hasAllOutlets",!1);s(this,"_hasInitialized",!1);s(this,"_cellRoleInternal");s(this,"_trackByFn");s(this,"_dataSource");s(this,"_multiTemplateDataRows",!1);s(this,"_fixedLayout",!1);s(this,"contentChanged",new ot);s(this,"viewChange",new Aa({start:0,end:Number.MAX_VALUE}));s(this,"_rowOutlet");s(this,"_headerRowOutlet");s(this,"_footerRowOutlet");s(this,"_noDataRowOutlet");s(this,"_contentColumnDefs");s(this,"_contentRowDefs");s(this,"_contentHeaderRowDefs");s(this,"_contentFooterRowDefs");s(this,"_noDataRow");s(this,"_injector",S(ht));S(new np("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,a)=>this.trackBy?this.trackBy(a.dataIndex,a.data):a)}_getCellRole(){if(this._cellRoleInternal===void 0){let n=this._elementRef.nativeElement.getAttribute("role");return n==="grid"||n==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(n){this._trackByFn=n}get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(n){this._multiTemplateDataRows=n,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(n){this._fixedLayout=n,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(oa(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var n,a,i,o;(n=this._stickyStyler)==null||n.destroy(),[(a=this._rowOutlet)==null?void 0:a.viewContainer,(i=this._headerRowOutlet)==null?void 0:i.viewContainer,(o=this._footerRowOutlet)==null?void 0:o.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l==null||l.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Ac(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let n=this._dataDiffer.diff(this._renderRows);if(!n){this._updateNoDataRow(),this.contentChanged.next();return}let a=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(n,a,(i,o,l)=>this._getEmbeddedViewArgs(i.item,l),i=>i.item.data,i=>{i.operation===ko.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),n.forEachIdentityChange(i=>{let o=a.get(i.currentIndex);o.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(n){this._customColumnDefs.add(n)}removeColumnDef(n){this._customColumnDefs.delete(n)}addRowDef(n){this._customRowDefs.add(n)}removeRowDef(n){this._customRowDefs.delete(n)}addHeaderRowDef(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0}removeHeaderRowDef(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0}addFooterRowDef(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0}removeFooterRowDef(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0}setNoDataRow(n){this._customNoDataRow=n}updateStickyHeaderRowStyles(){let n=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=Sv(this._headerRowOutlet,"thead");i&&(i.style.display=n.length?"":"none")}let a=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,a,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let n=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=Sv(this._footerRowOutlet,"tfoot");i&&(i.style.display=n.length?"":"none")}let a=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let n=this._getRenderedRows(this._headerRowOutlet),a=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...n,...a,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),n.forEach((o,l)=>{this._addStickyColumnStyles([o],this._headerRowDefs[l])}),this._rowDefs.forEach(o=>{let l=[];for(let u=0;u<a.length;u++)this._renderRows[u].rowDef===o&&l.push(a[u]);this._addStickyColumnStyles(l,o)}),i.forEach((o,l)=>{this._addStickyColumnStyles([o],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let n=[],a=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return n;for(let i=0;i<this._data.length;i++){let o=this._data[i],l=this._getRenderRowsForData(o,i,a.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let u=0;u<l.length;u++){let c=l[u],d=this._cachedRenderRowsMap.get(c.data);d.has(c.rowDef)?d.get(c.rowDef).push(c):d.set(c.rowDef,[c]),n.push(c)}}return n}_getRenderRowsForData(n,a,i){return this._getRowDefs(n,a).map(o=>{let l=i&&i.has(o)?i.get(o):[];if(l.length){let u=l.shift();return u.dataIndex=a,u}else return{data:n,rowDef:o,dataIndex:a}})}_cacheColumnDefs(){this._columnDefsByName.clear(),tl(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=tl(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=tl(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=tl(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let n=this._rowDefs.filter(a=>!a.when);!this.multiTemplateDataRows&&n.length>1,this._defaultRowDef=n[0]}_renderUpdatedColumns(){let n=(l,u)=>{let c=!!u.getColumnsDiff();return l||c},a=this._rowDefs.reduce(n,!1);a&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(n,!1);i&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(n,!1);return o&&this._forceRenderFooterRows(),a||i||o}_switchDataSource(n){this._data=[],Ac(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),n||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=n}_observeRenderChanges(){if(!this.dataSource)return;let n;Ac(this.dataSource)?n=this.dataSource.connect(this):vi(this.dataSource)?n=this.dataSource:Array.isArray(this.dataSource)&&(n=tt(this.dataSource)),this._renderChangeSubscription=n.pipe(oa(this._onDestroy)).subscribe(a=>{this._data=a||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((n,a)=>this._renderRow(this._headerRowOutlet,n,a)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((n,a)=>this._renderRow(this._footerRowOutlet,n,a)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(n,a){let i=Array.from((a==null?void 0:a.columns)||[]).map(u=>this._columnDefsByName.get(u)),o=i.map(u=>u.sticky),l=i.map(u=>u.stickyEnd);this._stickyStyler.updateStickyColumns(n,o,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(n){let a=[];for(let i=0;i<n.viewContainer.length;i++){let o=n.viewContainer.get(i);a.push(o.rootNodes[0])}return a}_getRowDefs(n,a){if(this._rowDefs.length==1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(o=>!o.when||o.when(a,n));else{let o=this._rowDefs.find(l=>l.when&&l.when(a,n))||this._defaultRowDef;o&&i.push(o)}return i.length,i}_getEmbeddedViewArgs(n,a){let i=n.rowDef,o={$implicit:n.data};return{templateRef:i.template,context:o,index:a}}_renderRow(n,a,i,o={}){let l=n.viewContainer.createEmbeddedView(a.template,o,i);return this._renderCellTemplateForItem(a,o),l}_renderCellTemplateForItem(n,a){for(let i of this._getCellTemplates(n))zi.mostRecentCellOutlet&&zi.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,a);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let n=this._rowOutlet.viewContainer;for(let a=0,i=n.length;a<i;a++){let o=n.get(a).context;o.count=i,o.first=a===0,o.last=a===i-1,o.even=a%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[a].dataIndex,o.renderIndex=a):o.index=this._renderRows[a].dataIndex}}_getCellTemplates(n){return!n||!n.columns?[]:Array.from(n.columns,a=>{let i=this._columnDefsByName.get(a);return n.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let n=(a,i)=>a||i.hasStickyChanged();this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let n=this._dir?this._dir.value:"ltr";this._stickyStyler=new Hle(this._isNativeHtmlTable,this.stickyCssClass,n,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:tt()).pipe(oa(this._onDestroy)).subscribe(a=>{this._stickyStyler.direction=a,this.updateStickyColumnStyles()})}_getOwnDefs(n){return n.filter(a=>!a._table||a._table===this)}_updateNoDataRow(){let n=this._customNoDataRow||this._noDataRow;if(!n)return;let a=this._rowOutlet.viewContainer.length===0;if(a===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(a){let o=i.createEmbeddedView(n.templateRef),l=o.rootNodes[0];o.rootNodes.length===1&&(l==null?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(n._contentClassName))}else i.clear();this._isShowingNoDataRow=a,this._changeDetectorRef.markForCheck()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,a,i){if(n&1&&(Mr(i,Ble,5),Mr(i,Ko,5),Mr(i,fh,5),Mr(i,nu,5),Mr(i,j9,5)),n&2){let o;un(o=cn())&&(a._noDataRow=o.first),un(o=cn())&&(a._contentColumnDefs=o),un(o=cn())&&(a._contentRowDefs=o),un(o=cn())&&(a._contentHeaderRowDefs=o),un(o=cn())&&(a._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,a){n&2&&jt("cdk-table-fixed-layout",a.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Lt],fixedLayout:[2,"fixedLayout","fixedLayout",Lt]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Tn([{provide:yr,useExisting:t},{provide:Yd,useClass:P1},{provide:mh,useClass:F9},{provide:gh,useValue:null}])],ngContentSelectors:Ale,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,a){n&1&&(Vn(Nle),pt(0),pt(1,1),he(2,Ple,1,0)(3,Lle,7,0)(4,Fle,4,0)),n&2&&(P(2),je(a._isServer?2:-1),P(),je(a._isNativeHtmlTable?3:4))},dependencies:[z9,V9,H9,B9],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
41
+ `],encapsulation:2}));let e=t;return e})();function tl(e,t){return e.concat(Array.from(t))}function Sv(e,t){let r=t.toUpperCase(),n=e.viewContainer.element.nativeElement;for(;n;){let a=n.nodeType===1?n.nodeName:null;if(a===r)return n;if(a==="TABLE")break;n=n.parentNode}return null}var $le=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[Kd]}));let e=t;return e})(),Gle=[[["caption"]],[["colgroup"],["col"]],"*"],Ule=["caption","colgroup, col","*"];function Wle(e,t){e&1&&pt(0,2)}function Zle(e,t){e&1&&(j(0,"thead",0),Yt(1,1),V(),j(2,"tbody",2),Yt(3,3)(4,4),V(),j(5,"tfoot",0),Yt(6,5),V())}function Yle(e,t){e&1&&Yt(0,1)(1,3)(2,4)(3,5)}var Kle=(()=>{const t=class t extends Ev{constructor(){super(...arguments);s(this,"stickyCssClass","mat-mdc-table-sticky");s(this,"needsPositionStickyOnElement",!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=nt(t)))(i||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,i){a&2&&jt("mdc-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[Tn([{provide:Ev,useExisting:t},{provide:yr,useExisting:t},{provide:mh,useClass:F9},{provide:Yd,useClass:P1},{provide:gh,useValue:null}]),Ye],ngContentSelectors:Ule,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,i){a&1&&(Vn(Gle),pt(0),pt(1,1),he(2,Wle,1,0)(3,Zle,7,0)(4,Yle,4,0)),a&2&&(P(2),je(i._isServer?2:-1),P(),je(i._isNativeHtmlTable?3:4))},dependencies:[z9,V9,H9,B9],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
42
+ `],encapsulation:2}));let e=t;return e})(),Qle=(()=>{const t=class t extends hh{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matCellDef",""]],features:[Tn([{provide:hh,useExisting:t}]),Ye]}));let e=t;return e})(),Xle=(()=>{const t=class t extends ph{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matHeaderCellDef",""]],features:[Tn([{provide:ph,useExisting:t}]),Ye]}));let e=t;return e})(),Jle=(()=>{const t=class t extends Ko{get name(){return this._name}set name(n){this._setNameInput(n)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Tn([{provide:Ko,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Ye]}));let e=t;return e})(),eue=(()=>{const t=class t extends Vle{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ye]}));let e=t;return e})(),tue=(()=>{const t=class t extends zle{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ye]}));let e=t;return e})(),nue=(()=>{const t=class t extends nu{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Lt]},features:[Tn([{provide:nu,useExisting:t}]),Ye]}));let e=t;return e})(),rue=(()=>{const t=class t extends fh{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Tn([{provide:fh,useExisting:t}]),Ye]}));let e=t;return e})(),aue=(()=>{const t=class t extends _v{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Tn([{provide:_v,useExisting:t}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),iue=(()=>{const t=class t extends wv{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Tn([{provide:wv,useExisting:t}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),oue=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[mr,$le,mr]}));let e=t;return e})(),sue=9007199254740991,lue=class extends VJ{constructor(t=[]){super();s(this,"_data");s(this,"_renderData",new Aa([]));s(this,"_filter",new Aa(""));s(this,"_internalPageChanges",new ve);s(this,"_renderChangesSubscription",null);s(this,"filteredData");s(this,"_sort");s(this,"_paginator");s(this,"sortingDataAccessor",(t,r)=>{let n=t[r];if(o1(n)){let a=Number(n);return a<sue?a:n}return n});s(this,"sortData",(t,r)=>{let n=r.active,a=r.direction;return!n||a==""?t:t.sort((i,o)=>{let l=this.sortingDataAccessor(i,n),u=this.sortingDataAccessor(o,n),c=typeof l,d=typeof u;c!==d&&(c==="number"&&(l+=""),d==="number"&&(u+=""));let m=0;return l!=null&&u!=null?l>u?m=1:l<u&&(m=-1):l!=null?m=1:u!=null&&(m=-1),m*(a=="asc"?1:-1)})});s(this,"filterPredicate",(t,r)=>{let n=r.trim().toLowerCase();return Object.values(t).some(a=>`${a}`.toLowerCase().includes(n))});this._data=new Aa(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var l;let t=this._sort?La(this._sort.sortChange,this._sort.initialized):tt(null),r=this._paginator?La(this._paginator.page,this._internalPageChanges,this._paginator.initialized):tt(null),n=this._data,a=il([n,this._filter]).pipe(Pt(([u])=>this._filterData(u))),i=il([a,t]).pipe(Pt(([u])=>this._orderData(u))),o=il([i,r]).pipe(Pt(([u])=>this._pageData(u)));(l=this._renderChangesSubscription)==null||l.unsubscribe(),this._renderChangesSubscription=o.subscribe(u=>this._renderData.next(u))}_filterData(t){return this.filteredData=this.filter==null||this.filter===""?t:t.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;let r=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(r,r+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=t,r.pageIndex>0)){let n=Math.ceil(r.length/r.pageSize)-1||0,a=Math.min(r.pageIndex,n);a!==r.pageIndex&&(r.pageIndex=a,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}},uue=["*"],cue=(e,t,r,n,a)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:a});function due(e,t){e&1&&pt(0)}function hue(e,t){if(e&1&&(j(0,"div",0),he(1,due,1,0),V()),e&2){let r=le(),n=Af(0),a=Af(1);Ie("ngClass",QY(5,cue,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",r.styles()),$t("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),P(),je(n==="custom-content"?1:-1)}}var q9=new K("ngx-skeleton-loader.config"),$9=(()=>{var t;const r=class r{constructor(){Am(this,t);var a,i,o,l,u,c;Pm(this,t,S(q9,{optional:!0})),this.count=ze(((a=Tr(this,t))==null?void 0:a.count)||1,{transform:Lp}),this.loadingText=ze(((i=Tr(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=ze(((o=Tr(this,t))==null?void 0:o.appearance)||"line"),this.animation=ze(((l=Tr(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=ze(((u=Tr(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=ze(((c=Tr(this,t))==null?void 0:c.theme)||null),this.items=mi(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&mK(),[...Array(d)].map((m,v)=>v)}),this.styles=mi(()=>{var m,v,g;let d=this.theme();return(v=(m=Tr(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ce(ce({},(g=Tr(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,r.ɵfac=function(a){return new(a||r)},r.ɵcmp=Ae({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:uue,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&&(Vn(),h_(0)(1),Qi(2,hue,2,11,"div",0,Op)),a&2&&(Nf(i.appearance()),P(),Nf(i.animation()),P(),Xi(i.items()))},dependencies:[jp,wQ],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})(),G9=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:q9,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=Bt({type:t}),t.ɵinj=zt({imports:[T_]});let e=t;return e})();function pue(e,t){if(e&1){let r=qr();j(0,"a",1),hn("click",function(n){kn(r);let a=le();return Cn(a.onDownloadClick(n))}),Qe(1,"mat-icon",2),V()}}var mue=(()=>{const t=class t{constructor(){this.translateService=S(Xn),this.leafletService=S(Iw),this.item=ze(),this.identifierType=Ei}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translateService.currentLang,this.item().medication.identifier.value).pipe(tn(1)).subscribe(a=>{window.open(a,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-leaflet-download"]],inputs:{item:[1,"item"]},decls:1,vars:1,consts:[["mat-button","","target","_blank"],["mat-button","","target","_blank",3,"click"],["fontIcon","menu_book"]],template:function(n,a){n&1&&he(0,pue,2,0,"a",0),n&2&&je(a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?0:-1)},dependencies:[$u,V1],encapsulation:2});let e=t;return e})(),fue=()=>["error"],gue=()=>["expandDetails"],vue=(e,t)=>({"more-than-one-quantity":e,"negative-quantity":t}),bue=()=>({height:"47px",margin:"0px"});function yue(e,t){e&1&&(j(0,"th",23),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",re(2,1,"deliveredMedicationsList.headers.medicationName")," "))}function _ue(e,t){if(e&1&&(j(0,"div",26),ee(1),te(2,"translateValue"),V()),e&2){let r=le().$implicit;P(),Ne(re(2,1,r.medication.name))}}function wue(e,t){if(e&1&&(j(0,"div",28),ee(1),te(2,"ingredientLabel"),V()),e&2){let r=t.$implicit;P(),Ue(" ",re(2,1,r)," ")}}function xue(e,t){if(e&1&&(j(0,"div",27)(1,"strong"),ee(2),te(3,"translate"),V()(),Qi(4,wue,3,3,"div",28,Rp),te(6,"slice")),e&2){let r=le().$implicit;P(2),Ne(re(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Xi(v_(6,3,r.medication.ingredients,0,2))}}function Eue(e,t){if(e&1){let r=qr();j(0,"td",24)(1,"vidis-table-detail-button",25),c_("expandedElementChange",function(n){kn(r);let a=le();return GY(a.expandedElement,n)||(a.expandedElement=n),Cn(n)}),he(2,_ue,3,3,"div",26)(3,xue,7,7),V()()}if(e&2){let r=t.$implicit,n=le();P(),Ie("item",r),u_("expandedElement",n.expandedElement),P(),je(r.medication.name?2:3)}}function Sue(e,t){e&1&&(j(0,"th",29),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",re(2,1,"deliveredMedicationsList.headers.deliveredOn")," "))}function kue(e,t){if(e&1&&(j(0,"td",30),ee(1),te(2,"date"),V()),e&2){let r=t.$implicit;P(),Ue(" ",vs(2,1,r.deliveryDate," dd/MM/yyy")," ")}}function Cue(e,t){e&1&&(j(0,"th",31),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",re(2,1,"deliveredMedicationsList.headers.quantity")," "))}function Due(e,t){if(e&1&&(j(0,"td",32)(1,"span",33),ee(2),V()()),e&2){let r=t.$implicit;P(),Ie("ngClass",KY(2,vue,(r.medication.quantity==null?null:r.medication.quantity.value)>1,(r.medication.quantity==null?null:r.medication.quantity.value)<0)),P(),Ue(" ",r.medication.quantity.value," ")}}function Iue(e,t){e&1&&(j(0,"th",34),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",re(2,1,"deliveredMedicationsList.headers.leaflet")," "))}function Tue(e,t){if(e&1&&(j(0,"td",35),Qe(1,"vidis-leaflet-download",36),V()),e&2){let r=t.$implicit;P(),Ie("item",r)}}function Rue(e,t){if(e&1&&(j(0,"td",37),ee(1),te(2,"translate"),Qe(3,"br"),ee(4),V()),e&2){let r=t.$implicit;$t("colspan",4),P(),Ue(" ",re(2,3,"error.deliveredMedication")," "),P(3),Ue(" ( ",r.dguid," ) ")}}function Oue(e,t){if(e&1&&(j(0,"td",38)(1,"div"),Qe(2,"vidis-delivered-medication-details-row",36),V()()),e&2){let r=t.$implicit,n=le();jt("mh-detail-row--expanded",r===n.expandedElement()),Ie("colSpan",n.columns.length),P(2),Ie("item",r)}}function Mue(e,t){e&1&&Qe(0,"tr",39)}function Nue(e,t){if(e&1&&Qe(0,"tr",40),e&2){let r=le();Ie("hidden",r.isLoading())}}function Aue(e,t){e&1&&Qe(0,"tr",41)}function Pue(e,t){e&1&&Qe(0,"tr",42)}function Lue(e,t){e&1&&Qe(0,"ngx-skeleton-loader",21),e&2&&Ie("count",3)("theme",Bo(2,bue))}function Fue(e,t){e&1&&(j(0,"p",22),ee(1),te(2,"translate"),V()),e&2&&(P(),Ne(re(2,1,"deliveredMedicationsList.noContent")))}var jue=(()=>{const t=class t{set sort(n){this.dataSource.sort=n,this.dataSource.sortingDataAccessor=(a,i)=>this.getSortingAccessor(a,i)}constructor(){this.translateService=S(Xn),this.data=ze(),this.isLoading=ze(),this.isProfessional=ze.required(),this.expandedElement=wu(null),this.dataSource=new lue,this.columns=["medicationName","deliveryDate","quantity","leaflet"],this.canDisplayDeliveredMedication=(n,a)=>uh(a),this.canNotDisplayDeliveredMedication=(n,a)=>!uh(a),DK(()=>{var n;return this.dataSource.data=(n=this.data())==null?void 0:n.items})}getSortingAccessor(n,a){var i;switch(a){case"medicationName":return n.medication?n.medication.name?Xl(n.medication.name,this.translateService.currentLang):Xl(n.medication.ingredients[0].name,this.translateService.currentLang):"";case"quantity":return((i=n.medication.quantity)==null?void 0:i.value)||0;case"patientName":return Dw(n.person);default:return n[a]}}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-table"]],viewQuery:function(n,a){if(n&1&&Pi(dh,7),n&2){let i;un(i=cn())&&(a.sort=i.first)}},inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:24,vars:13,consts:[["mat-table","","matSort","","matSortActive","deliveryDate","matSortDirection","desc","matSortDisableClear","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","medicationName"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name",4,"matCellDef"],["matColumnDef","deliveryDate"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on",4,"matCellDef"],["matColumnDef","quantity"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity",4,"matCellDef"],["matColumnDef","leaflet"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","error"],["mat-cell","","class","error-text",4,"matCellDef"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["class","mh-detail-row","mat-row","",4,"matRowDef","matRowDefColumns"],["appearance","line",3,"count","theme"],[1,"no-content"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name"],[3,"expandedElementChange","item","expandedElement"],[1,"textOverflow","align-left"],["data-cy","delivered-medications-overview-table-magistral-preparation-label",1,"align-left"],["data-cy","delivered-medications-overview-table-ingredient",1,"textOverflow","align-left"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity"],[3,"ngClass"],["mat-header-cell",""],["mat-cell",""],[3,"item"],["mat-cell","",1,"error-text"],["mat-cell","",3,"colSpan"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row",""],["mat-row","",1,"mh-detail-row"]],template:function(n,a){n&1&&(j(0,"table",0),te(1,"translate"),Kr(2,1),he(3,yue,3,3,"th",2)(4,Eue,4,3,"td",3),Qr(),Kr(5,4),he(6,Sue,3,3,"th",5)(7,kue,3,4,"td",6),Qr(),Kr(8,7),he(9,Cue,3,3,"th",8)(10,Due,3,5,"td",9),Qr(),Kr(11,10),he(12,Iue,3,3,"th",11)(13,Tue,2,1,"td",12),Qr(),Kr(14,13),he(15,Rue,5,5,"td",14),Qr(),Kr(16,15),he(17,Oue,3,4,"td",16),Qr(),he(18,Mue,1,0,"tr",17)(19,Nue,1,1,"tr",18)(20,Aue,1,0,"tr",19)(21,Pue,1,0,"tr",20),V(),he(22,Lue,1,3,"ngx-skeleton-loader",21)(23,Fue,3,3,"p",22)),n&2&&(Ie("dataSource",a.dataSource),$t("aria-label",re(1,9,"deliveredMedicationsList.title")),P(18),Ie("matHeaderRowDef",a.columns),P(),Ie("matRowDefColumns",a.columns)("matRowDefWhen",a.canDisplayDeliveredMedication),P(),Ie("matRowDefColumns",Bo(11,fue))("matRowDefWhen",a.canNotDisplayDeliveredMedication),P(),Ie("matRowDefColumns",Bo(12,gue)),P(),je(a.isLoading()?22:a.dataSource.data.length<=0?23:-1))},dependencies:[oue,Kle,Xle,nue,Jle,Qle,rue,eue,tue,aue,iue,Mle,dh,Ole,bm,zp,vm,$r,G9,$9,I_,lle,Wse,mue,jp],styles:["table[_ngcontent-%COMP%]{width:100%}.font[_ngcontent-%COMP%]{font-size:1rem}.negative-quantity[_ngcontent-%COMP%]{background-color:#e68619}.more-than-one-quantity[_ngcontent-%COMP%], .different-patient-name[_ngcontent-%COMP%]{font-weight:bolder}"],changeDetection:0});let e=t;return e})(),Vue=["*"],zue=new K("MAT_CARD_CONFIG"),Bue=(()=>{const t=class t{constructor(){s(this,"appearance");let n=S(zue,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,a){n&2&&jt("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Vue,decls:1,vars:0,template:function(n,a){n&1&&(Vn(),pt(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}
43
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hue=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),que=e=>({"negative-quantity":e});function $ue(e,t){e&1&&(j(0,"strong",3),ee(1),te(2,"translateValue"),V()),e&2&&(P(),Ne(re(2,1,t)))}function Gue(e,t){if(e&1&&(j(0,"div",3),ee(1),te(2,"ingredientLabel"),V()),e&2){let r=t.$implicit;P(),Ne(re(2,1,r))}}function Uue(e,t){if(e&1&&(j(0,"div")(1,"strong"),ee(2),te(3,"translate"),V()(),Qi(4,Gue,3,3,"div",3,Op),te(6,"slice")),e&2){let r=le(2);P(2),Ne(re(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Xi(v_(6,3,r.item().medication.ingredients,0,2))}}function Wue(e,t){if(e&1){let r=qr();j(0,"mat-card",1),hn("click",function(){kn(r);let n=le();return Cn(n.clickDetails.emit(null))}),j(1,"mat-card-content")(2,"div",2)(3,"div"),ee(4),te(5,"date"),V()(),j(6,"div"),he(7,$ue,3,3,"strong",3)(8,Uue,7,7),V(),j(9,"div",4)(10,"span",5),ee(11),V()()()()}if(e&2){let r,n,a,i=le();P(4),Ne(vs(5,4,i.item().deliveryDate,"dd/MM/yyyy")),P(3),je((r=i.item().medication.name)?7:8,r),P(3),Ie("ngClass",m_(7,que,((n=i.item().medication.quantity)==null?null:n.value)<0)),P(),Ue(" ",(a=i.item().medication.quantity)==null?null:a.value," ")}}function Zue(e,t){if(e&1&&(j(0,"mat-card")(1,"mat-card-content",6)(2,"div"),ee(3),te(4,"translate"),V(),j(5,"div"),ee(6),V()()()),e&2){let r,n=le();P(3),Ne(re(4,2,"error.deliveredMedication")),P(3),Ue("( ",(r=n.item())==null?null:r.dguid," )")}}var Yue=(()=>{const t=class t{constructor(){this.item=ze(),this.clickDetails=Ll()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-card"]],inputs:{item:[1,"item"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[["role","button"],["role","button",3,"click"],[1,"card__top"],[1,"textOverflow"],[1,"quantity"],[3,"ngClass"],[1,"error-text"]],template:function(n,a){n&1&&(he(0,Wue,12,9,"mat-card",0),te(1,"canDisplayDeliveredMedication"),he(2,Zue,7,4,"mat-card")),n&2&&je(re(1,1,a.item())?0:2)},dependencies:[Bue,Hue,zp,Eoe,vm,bm,$r,I_,jp],styles:["mat-card[_ngcontent-%COMP%]{margin-bottom:10px}.card__top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;color:#8f8f8f}.card__top[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:700}.quantity[_ngcontent-%COMP%]{display:flex;justify-content:end}.negative-quantity[_ngcontent-%COMP%]{background-color:#e68619}.patient-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}.error-text[_ngcontent-%COMP%]{color:#c41c0d}.different-patient-name[_ngcontent-%COMP%]{border:2px solid #245bb4;padding:6px 8px;border-radius:6px;display:inline-block;font-weight:700}"]});let e=t;return e})(),Kue=()=>({sortProperty:"deliveryDate",isAscending:!1}),Que=()=>({height:"47px",margin:"0px"});function Xue(e,t){if(e&1){let r=qr();j(0,"vidis-delivered-medications-card",1),hn("clickDetails",function(){let n=kn(r).$implicit,a=le(2);return Cn(a.clickDetails.emit(n.dguid))}),V()}if(e&2){let r=t.$implicit;Ie("item",r)}}function Jue(e,t){if(e&1&&(Qi(0,Xue,1,1,"vidis-delivered-medications-card",0,Op),te(2,"sortOn")),e&2){let r=le();Xi(vs(2,0,r.data().items,Bo(3,Kue)))}}function ece(e,t){e&1&&Qe(0,"ngx-skeleton-loader",2),e&2&&Ie("count",10)("theme",Bo(2,Que))}function tce(e,t){e&1&&(j(0,"div",3),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",re(2,1,"deliveredMedicationsList.noContent")," "))}function nce(e,t){if(e&1&&he(0,ece,1,3,"ngx-skeleton-loader",2)(1,tce,3,3,"div",3),e&2){let r=le();je(r.isLoading()?0:1)}}var rce=(()=>{const t=class t{constructor(){this.data=ze(),this.isLoading=ze(),this.isProfessional=ze.required(),this.clickDetails=Ll()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-mobile"]],inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},outputs:{clickDetails:"clickDetails"},decls:2,vars:1,consts:[[3,"item"],[3,"clickDetails","item"],["appearance","line",3,"count","theme"],["data-cy","no-deliverd-medications",1,"no-deliverd-medications"]],template:function(n,a){if(n&1&&he(0,Jue,3,4)(1,nce,2,1),n&2){let i;je(((i=a.data())==null||i.items==null?null:i.items.length)>0?0:1)}},dependencies:[Yue,$r,Noe,G9,$9],styles:[".delivered-medications-title[_ngcontent-%COMP%]{font-size:1.467rem;font-weight:700;margin:0!important}.no-deliverd-medications[_ngcontent-%COMP%]{font-size:1.3rem;text-align:center;padding:3rem 0}"],changeDetection:0});let e=t;return e})();function ace(e,t){e&1&&(j(0,"div"),ee(1,"Component not properly initialized!"),V())}function ice(e,t){if(e&1&&Qe(0,"vidis-status-message",0),e&2){let r=le();Ie("error",r.error)}}function oce(e,t){if(e&1){let r=qr();j(0,"div",1),Qe(1,"vidis-delivered-medications-disclaimer",2),V(),Qe(2,"vidis-delivered-medications-table",3),j(3,"vidis-delivered-medications-mobile",4),hn("clickDetails",function(n){kn(r);let a=le(3);return Cn(a.onSelectMedication.emit(n))}),V()}if(e&2){let r=le(),n=le(2);P(),Ie("isProfessional",n.professional),P(),Ie("isLoading",r.status===n.loadingStatus.LOADING)("data",r==null?null:r.data)("isProfessional",n.professional),P(),Ie("isLoading",r.status===n.loadingStatus.LOADING)("data",r==null?null:r.data)("isProfessional",n.professional)}}function sce(e,t){if(e&1&&he(0,ice,1,1,"vidis-status-message",0)(1,oce,4,7),e&2){let r=le(2);je(t.status===r.loadingStatus.ERROR?0:1)}}function lce(e,t){if(e&1&&(he(0,sce,2,1),te(1,"async")),e&2){let r,n=le();je((r=re(1,1,n.deliveredMedicationsState$))?0:-1,r)}}var uce=(()=>{const t=class t extends kse{constructor(){super(...arguments),this.onSelectMedication=new ot,this.loadingStatus=Si}fetchData(n){return Rt(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(n)})}injectService(){this.deliveredMedicationsService=this.injector.get(tv),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$,this.deliveredMedicationsState$.subscribe(n=>{n.status===this.loadingStatus.ERROR&&this.checkError(n.error)})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=nt(t)))(a||t)}})(),t.ɵcmp=Ae({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[Tn([tv,x9,E9,Coe]),Ye],decls:2,vars:1,consts:[[3,"error"],[1,"disclaimer"],[3,"isProfessional"],[3,"isLoading","data","isProfessional"],[3,"clickDetails","isLoading","data","isProfessional"]],template:function(n,a){n&1&&he(0,ace,2,0,"div")(1,lce,2,3),n&2&&je(a.isCorrectlySetup()?1:0)},dependencies:[jue,rce,kle,DQ,Gse],styles:[".disclaimer[_ngcontent-%COMP%]{padding-bottom:16px}@media only screen and (max-width: 960px){vidis-delivered-medications-table[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 960px){vidis-delivered-medications-mobile[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})();YQ({providers:[xoe]}).then(e=>{let t=UK(uce,{injector:e.injector});customElements.define("vidis-delivered-medication-list",t)}).catch(e=>console.error(e));