@smals-belgium-shared/vidis-delivered-medication-list 3.4.2 → 3.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,43 @@
1
+ var mq=Object.defineProperty;var Mm=e=>{throw TypeError(e)};var fq=(e,t,a)=>t in e?mq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var s=(e,t,a)=>fq(e,typeof t!="symbol"?t+"":t,a),Nm=(e,t,a)=>t.has(e)||Mm("Cannot "+a);var Ta=(e,t,a)=>(Nm(e,t,"read from private field"),a?a.call(e):t.get(e)),Am=(e,t,a)=>t.has(e)?Mm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),Pm=(e,t,a,n)=>(Nm(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var gq=Object.create,au=Object.defineProperty,vq=Object.defineProperties,bq=Object.getOwnPropertyDescriptor,yq=Object.getOwnPropertyDescriptors,_q=Object.getOwnPropertyNames,yl=Object.getOwnPropertySymbols,wq=Object.getPrototypeOf,vh=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable,Lm=(e,t,a)=>t in e?au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ce=(e,t)=>{for(var a in t||(t={}))vh.call(t,a)&&Lm(e,a,t[a]);if(yl)for(var a of yl(t))Dv.call(t,a)&&Lm(e,a,t[a]);return e},Qt=(e,t)=>vq(e,yq(t)),xq=(e,t)=>{var a={};for(var n in e)vh.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&yl)for(var n of yl(e))t.indexOf(n)<0&&Dv.call(e,n)&&(a[n]=e[n]);return a},se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pe=(e,t)=>{for(var a in t)au(e,a,{get:t[a],enumerable:!0})},Eq=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of _q(t))!vh.call(e,i)&&i!==a&&au(e,i,{get:()=>t[i],enumerable:!(n=bq(t,i))||n.enumerable});return e},Iv=(e,t,a)=>(a=e!=null?gq(wq(e)):{},Eq(t||!e||!e.__esModule?au(a,"default",{value:e,enumerable:!0}):a,e)),Rt=(e,t,a)=>new Promise((n,i)=>{var r=u=>{try{l(a.next(u))}catch(c){i(c)}},o=u=>{try{l(a.throw(u))}catch(c){i(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(r,o);l((a=a.apply(e,t)).next())}),Sq=se((e,t)=>{(function(a,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(a=typeof globalThis<"u"?globalThis:a||self,a.MessageFormat=n())})(e,function(){var a=function(){return a=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},a.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 i(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 r(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 ie=new o(C.message,E);ie.stack=C.stack,b(ie)}if(R){let ie=`Ignoring string part: ${R}`;b(new o(ie,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):b(new o(`Duplicate ${I} token`,E)));let B=x(E,(ie,ge)=>b(new o(ie,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 at extends Error{constructor(f,b){super(b),this.code=f}}class Ct extends at{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class X extends at{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class U extends at{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class Ee extends at{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class F extends at{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class H extends at{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:ie,unitWidth:ge}=p,Oe=(rt,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(/.*-/,""),ie&&(Q.unit+="-per-"+ie.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:rt,maxFraction:xt,minSignificant:At,maxSignificant:sn,source:Bn}=C;typeof rt=="number"&&(Q.minimumFractionDigits=rt,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:rt,expSign:xt,source:At,style:sn}=E;Q.notation=sn;break}}if(_){let{min:rt,max:xt,source:At}=_;if(rt>0&&(Q.minimumIntegerDigits=rt),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 it(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 ie=ft(p,f,b);if(ie)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(ie),f+=ie.width;else{let ge=it(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 ie=it(p,f);ie?(E.push(ie),f+=ie.width):I=y.Suffix;break}case y.Suffix:{let ie=ft(p,f,b);ie?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(ie),f+=ie.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 ie=+`${C||"0"}.${R}`;if(ie&&(b.precision={style:"precision-increment",increment:ie}),!_)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||ie)&&(b.integerWidth=E?{min:1,max:E+C.length}:{min:Math.max(1,C.length)}),b.precision)ie||(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 Ga(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=Ga(y.prefix,E,f,b,!0),I=Ga(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 C9(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 D9(p){return p in wm}function I9(p){return p in xm}function T9(p,f,b){if(D9(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(I9(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 R9(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 O9{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(!T9(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":{C9(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=R9(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 O9(f);for(let{stem:_,options:E}of b)y.parseToken(_,E);return y.skeleton}function M9(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,[ie,ge]=f.affix.neg||["",""];return Oe=>{let Q=I.format(C(Oe));return Oe<0?`${ie}${Q}${ge}`:`${R}${Q}${B}`}}return R=>I.format(C(R))}function N9(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,ie]=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} + ${ie}`}else R=`${B} + ${R} + ${ie}`}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 A9(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var ao={},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 ie(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,re=0;;){var xe=N.lastIndexOf(`
6
+ `,ne-1);if(xe===-1||(re++,ne=xe,re===$)||ne===0)break}var me=re<$?0:ne+1;return N.substring(me).split(`
7
+ `)}function Q(N){for(var $=Object.getOwnPropertyNames(N),ne=[],re=0;re<$.length;re++){var xe=$[re],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 rt(N){for(var $=[],ne=0;ne<N.length;ne++){var re=N[ne];if(re.include){for(var xe=[].concat(re.include),me=0;me<xe.length;me++)$.push({include:xe[me]});continue}if(!re.type)throw new Error("Rule has no type: "+JSON.stringify(re));$.push(xt(re.type,re))}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 re in $)f.call($,re)&&(ne[re]=$[re]);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)?rt(N):Q(N)}var sn=xt("error",{lineBreaks:!0,shouldThrow:!0});function Bn(N,$){for(var ne=null,re=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 Ji=Dt.shift();re[Ji.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 na=0;na<Dt.length;na++){var yi=Dt[na];if(_(yi)){if(me===null)me=yi.unicode;else if(me!==yi.unicode&&ye.fallback===!1)throw new Error("If one rule is /u then all must be")}}var er=B(Dt.map(ie)),Hn=new RegExp(er);if(Hn.test(""))throw new Error("RegExp matches empty string: "+Hn);var ro=I(er);if(ro>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(er))}}var tr=ne&&ne.fallback,oo=y&&!tr?"ym":"gm",Rs=y||tr?"":"|";me===!0&&(oo+="u");var pq=new RegExp(B(dt)+Rs,oo);return{regexp:pq,groups:Le,fast:re,error:ne||sn}}function Wa(N){var $=Bn(At(N));return new bt({start:$},"start")}function ka(N,$,ne){var re=N&&(N.push||N.next);if(re&&!ne[re])throw new Error("Missing state '"+re+"' (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 Ca(N,$){var ne=N.$all?At(N.$all):[];delete N.$all;var re=Object.getOwnPropertyNames(N);$||($=re[0]);for(var xe=Object.create(null),me=0;me<re.length;me++){var Le=re[me];xe[Le]=At(N[Le]).concat(ne)}for(var me=0;me<re.length;me++)for(var Le=re[me],dt=xe[Le],We=Object.create(null),ye=0;ye<dt.length;ye++){var Dt=dt[ye];if(Dt.include){var Ji=[ye,1];if(Dt.include!==Le&&!We[Dt.include]){We[Dt.include]=!0;var na=xe[Dt.include];if(!na)throw new Error("Cannot include nonexistent state '"+Dt.include+"' (in state '"+Le+"')");for(var yi=0;yi<na.length;yi++){var er=na[yi];dt.indexOf(er)===-1&&Ji.push(er)}}dt.splice.apply(dt,Ji),ye--}}for(var Hn=Object.create(null),me=0;me<re.length;me++){var Le=re[me];Hn[Le]=Bn(xe[Le],!0)}for(var me=0;me<re.length;me++){for(var ro=re[me],tr=Hn[ro],oo=tr.groups,ye=0;ye<oo.length;ye++)ka(oo[ye],ro,Hn);for(var Rs=Object.getOwnPropertyNames(tr.fast),ye=0;ye<Rs.length;ye++)ka(tr.fast[Rs[ye]],ro,Hn)}return new bt(Hn,$)}function Da(N){for(var $=typeof Map<"u",ne=$?new Map:Object.create(null),re=Object.getOwnPropertyNames(N),xe=0;xe<re.length;xe++){var me=re[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 re=this.re;re.lastIndex=N;var xe=Is(re,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 re=0;if(N.lineBreaks){var xe=/\n/g,me=1;if($===`
10
+ `)re=1;else for(;xe.exec($);)re++,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:re,line:this.line,col:this.col},dt=$.length;if(this.index+=dt,this.line+=re,re!==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 Ia=function(N){this.lexer=N};Ia.prototype.next=function(){var N=this.lexer.next();return{value:N,done:!N}},Ia.prototype[Symbol.iterator]=function(){return this},bt.prototype[Symbol.iterator]=function(){return new Ia(this)}}return bt.prototype.formatError=function(re,$){if(re==null)var ne=this.buffer.slice(this.index),re={text:ne,offset:this.index,lineBreaks:ne.indexOf(`
11
+ `)===-1?0:1,line:this.line,col:this.col};var xe=2,me=Math.max(re.line-xe,1),Le=re.line+xe,dt=String(Le).length,We=Oe(this.buffer,this.line-re.line+xe+1).slice(0,5),ye=[];ye.push($+" at line "+re.line+" col "+re.col+":"),ye.push("");for(var Dt=0;Dt<We.length;Dt++){var Ji=We[Dt],na=me+Dt;ye.push(ge(String(na),dt)+" "+Ji),na===re.line&&ye.push(ge("",dt+re.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:Wa,states:Ca,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Da}})})(km);var P9=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(P9);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(ao,"__esModule",{value:!0});var Cm=ao.parse=ao.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 L9(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 F9=["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))}}ao.ParseError=Ht;class j9{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")&&!F9.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=L9(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 V9(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new j9(p,f).parse()}Cm=ao.parse=V9;function io(p){return io[p]||(io[p]=new Intl.NumberFormat(p))}function z9(p,f,b){return io(p).format(f-b)}function B9(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return io(p).format(_)}function H9(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 q9(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function $9(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 G9=Object.freeze({__proto__:null,_nf:io,number:z9,plural:H9,reqArgs:$9,select:q9,strictNumber:B9});function U9(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 W9(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 Z9(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 Y9=function(p,f,b){return ks(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},K9=function(p,f){return ks(f,{maximumFractionDigits:0}).format(p)},Q9=function(p,f){return ks(f,{style:"percent"}).format(p)};function X9(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:U9,duration:W9,numberCurrency:Y9,numberFmt:Z9,numberInteger:K9,numberPercent:Q9,time:X9}),J9={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=A9(J9);function eq(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 Ua(p,f){f&&(p+=" "+eq(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 tq=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],nq=new RegExp("^"+tq.join("|^"));function aq(p,f){var b=nq.test(f),y=JSON.stringify(b?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var iq="@messageformat/runtime",rq="@messageformat/runtime/lib/cardinals",Tm="@messageformat/runtime/lib/plurals",oq="@messageformat/runtime/lib/formatters",sq=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,ie=I.strict,ge=I.strictPluralKeys;if(typeof f=="object"){var Oe={};try{for(var Q=n(Object.keys(f)),rt=Q.next();!rt.done;rt=Q.next()){var xt=rt.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{rt&&!rt.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:ie,strictPluralKeys:ge};this.arguments=[];var Wa=Cm(f,Bn).map(function(bt){return C.token(bt,null)}),ka=this.arguments.length>0,Ca=this.concatenate(Wa,!0);if(B&&ka){this.setRuntimeFn("reqArgs");var Da=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Da,", d); return ").concat(Ca,"; }")}return"(".concat(ka?"d":"",") => ").concat(Ca)},p.prototype.cases=function(f,b){var y=this,_=!0,E=f.cases.map(function(ie){var ge=ie.key,Oe=ie.tokens;ge==="other"&&(_=!1);var Q=Oe.map(function(rt){return y.token(rt,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?aq(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 ie=this.getFormatterArg(f,b);ie&&C.push(ie)}I=B?Ua("".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(Ua(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,ie;if(!b&&I&&E){if(y)return;R=function(ge){return E(ge)},B=rq,ie=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,ie=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:B,toString:ie,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(G9[f],{id:f,module:iq,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,E,C,I=this,R=f.key,B=f.param,ie=this.options.customFormatters[R]||Rm(R)&&Yu[R];if(!ie||!B)return null;var ge="arg"in ie&&ie.arg||"string";if(ge==="options"){var Oe="";try{for(var Q=n(B),rt=Q.next();!rt.done;rt=Q.next()){var xt=rt.value;if(xt.type==="content")Oe+=xt.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Ia){y={error:Ia}}finally{try{rt&&!rt.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 Wa=Bn.value,ka=Wa.indexOf(":");if(ka===-1)At[Wa.trim()]=null;else{var Ca=Wa.substring(0,ka).trim(),Da=Wa.substring(ka+1).trim();if(Da==="true")At[Ca]=!0;else if(Da==="false")At[Ca]=!1;else if(Da==="null")At[Ca]=null;else{var bt=Number(Da);At[Ca]=Number.isFinite(bt)?bt:Da}}}}catch(Ia){E={error:Ia}}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(Ia){return I.token(Ia,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({}),a(a({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Ua(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:oq});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=Ua("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(B,"formatter")){var ie=Mt(C,R,this.options.timeZone);this.runtime[B]=Object.assign(ie,{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=Ua("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(B,"formatter")){var ie=this.options.currency,ge=M9(C,I,ie);this.runtime[B]=Object.assign(ge,{id:null,module:null,toString:function(){return N9(C,I,ie)},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",_a=p=>p==0||p==1?"one":"other",ea=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",wa=p=>p==1?"one":p==2?"two":"other";var lq=Object.freeze({__proto__:null,af:q,ak:_a,am:ea,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:ea,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:_a,bm:Fe,bn:ea,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:ea,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:ea,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:ea,guw:_a,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:ea,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:wa,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:ea,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:_a,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:_a,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:wa,nb:q,nd:q,ne:q,nl:Ut,nn:q,nnh:q,no:q,nqo:Fe,nr:q,nso:_a,ny:q,nyn:q,om:q,or:q,os:q,osa:Fe,pa:_a,pap:q,pcm:ea,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:wa,sc:Ut,scn:Ut,sd:q,sdh:q,se:wa,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:wa,smi:wa,smj:wa,smn:wa,sms:wa,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:_a,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:_a,wae:q,wo:Fe,xh:q,xog:q,yi:Ut,yo:Fe,yue:Fe,zh:Fe,zu:ea});let xa="zero",W="one",ct="two",ke="few",Ce="many",A="other",L={cardinal:[W,A],ordinal:[A]},bi={cardinal:[W,A],ordinal:[W,A]},qe={cardinal:[A],ordinal:[A]},ta={cardinal:[W,ct,A],ordinal:[A]};var Om=Object.freeze({__proto__:null,af:L,ak:L,am:L,an:L,ar:{cardinal:[xa,W,ct,ke,Ce,A],ordinal:[A]},ars:{cardinal:[xa,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:bi,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:[xa,W,ct,ke,Ce,A],ordinal:[xa,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:bi,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:ta,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:bi,hy:bi,ia:L,id:qe,ig:qe,ii:qe,io:L,is:L,it:{cardinal:[W,Ce,A],ordinal:[Ce,A]},iu:ta,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:[xa,W,A],ordinal:[A]},ku:L,kw:{cardinal:[xa,W,ct,ke,Ce,A],ordinal:[W,Ce,A]},ky:L,lag:{cardinal:[xa,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:[xa,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:ta,nb:L,nd:L,ne:bi,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:[xa,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:ta,sc:{cardinal:[W,A],ordinal:[Ce,A]},scn:{cardinal:[W,A],ordinal:[Ce,A]},sd:L,sdh:L,se:ta,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:ta,smi:ta,smj:ta,smn:ta,sms:ta,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:bi,sw:L,syr:L,ta:L,te:L,teo:L,th:qe,ti:L,tig:L,tk:{cardinal:[W,A],ordinal:[ke,A]},tl:bi,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",Ea=(p,f)=>f?"other":p==0||p==1?"one":"other",Xi=(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",Sa=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Cs=Object.freeze({__proto__:null,af:Z,ak:Ea,am:Xi,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:Ea,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:Xi,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:Xi,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:Ea,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:Sa,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:Xi,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:Ea,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:Ea,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:Sa,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:Ea,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:Ea,pap:Z,pcm:Xi,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:Sa,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:Sa,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:Sa,smi:Sa,smj:Sa,smn:Sa,sms:Sa,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:Ea,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:Ea,wae:Z,wo:$e,xh:Z,xog:Z,yi:Rn,yo:$e,yue:$e,zh:$e,zu:Xi});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:Ua(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=Xu(p),y=Ua(b);return dq(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:lq[y],getPlural:Cs[y],cardinals:Om[y].cardinal,ordinals:Om[y].ordinal}:null}function uq(p){var f=Object.keys(Cs).filter(function(b){return b!==p});return f.unshift(p),f.map(Ds)}function cq(p){var f=Xu(p);return Ua(f)in Cs}function dq(p){return p in Cs}var hq=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=uq(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(cq)},p.prototype.resolvedOptions=function(){return a(a({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new sq(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 ie=i(B.value,2),ge=ie[0],Oe=ie[1];C.push(ge),I.push(Oe)}}catch(rt){b={error:rt}}finally{try{B&&!B.done&&(y=R.return)&&y.call(R)}finally{if(b)throw b.error}}var Q=new(Function.bind.apply(Function,r(r([void 0],i(C),!1),[E],!1)));return Q.apply(void 0,r([],i(I),!1))},p.defaultLocale="en",p}();return hq})}),Dn=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}var a=function n(i,r){t(this,n),this.data=i,this.text=r.text||i,this.options=r};e.default=a}),kq=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}}(),a=Dn(),n=i(a);function i(k){return k&&k.__esModule?k:{default:k}}function r(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 r(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 a(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,i=e.SET_B=1,r=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={},a(t,o,n),a(t,l,i),a(t,u,r),t),e.SWAP={101:n,100:i,99:r},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]}),iu=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}}(),a=Dn(),n=r(a),i=Qo();function r(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=i.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(i.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)%i.MODULO)+m.getBar(i.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 i.BARS[v]?i.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===i.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===i.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=i.SWAP[k];D!==void 0?x=m.next(v,g+1,D):((w===i.SET_A||w===i.SET_B)&&k===i.SHIFT&&(v[0]=w===i.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}),Cq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Qo(),a=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},i=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(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)+r(l.substring(m.length),!u)}function o(l){var u=i(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var d=a(l)>=n(l);return u+String.fromCharCode(d?206:205)+r(l,d)}e.default=function(l){var u=void 0,c=i(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var d=a(l)>n(l);u=(d?t.A_START_CHAR:t.B_START_CHAR)+r(l,d)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),Dq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=iu(),a=r(t),n=Cq(),i=r(n);function r(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,i.default)(v),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(w)}return m}(a.default);e.default=c}),Iq=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}}(),a=iu(),n=r(a),i=Qo();function r(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,i.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Tq=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}}(),a=iu(),n=r(a),i=Qo();function r(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,i.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Rq=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}}(),a=iu(),n=r(a),i=Qo();function r(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,i.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Oq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=Dq(),a=c(t),n=Iq(),i=c(n),r=Tq(),o=c(r),l=Rq(),u=c(l);function c(d){return d&&d.__esModule?d:{default:d}}e.CODE128=a.default,e.CODE128A=i.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(),a=function(n,i,r){var o=n.split("").map(function(u,c){return t.BINARIES[i[c]]}).map(function(u,c){return u?u[n[c]]:""});if(r){var l=n.length-1;o=o.map(function(u,c){return c<l?u+r:u})}return o.join("")};e.default=a}),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}}(),a=Xo(),n=Jo(),i=l(n),r=Dn(),o=l(r);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,i.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,i.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:a.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:a.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:a.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[a.SIDE_BIN,this.leftEncode(),a.MIDDLE_BIN,this.rightEncode(),a.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),Mq=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}}(),a=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(),i=Tv(),r=o(i);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 a(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 a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return a(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 a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=a(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}(r.default);e.default=m}),Nq=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}}(),a=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(),i=r(n);function r(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 a(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 a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return a(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 a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(i.default);e.default=d}),Aq=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}}(),a=Xo(),n=Jo(),i=l(n),r=Dn(),o=l(r);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=a.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,i.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=v}),Pq=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}}(),a=Xo(),n=Jo(),i=l(n),r=Dn(),o=l(r);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=a.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.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 a=Jo(),n=o(a),i=Dn(),r=o(i);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}(r.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}),Lq=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}}(),a=Jo(),n=l(a),i=Dn(),r=l(i),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}(r.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}),Fq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=Mq(),a=g(t),n=Nq(),i=g(n),r=Aq(),o=g(r),l=Pq(),u=g(l),c=Rv(),d=g(c),m=Lq(),v=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=a.default,e.EAN8=i.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=d.default,e.UPCE=v.default}),jq=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}}(),a=jq(),n=Dn(),i=r(n);function r(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:a.START_BIN+g+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=a.BINARIES[v[1]];return a.BINARIES[v[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(i.default);e.default=c}),Vq=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}}(),a=Ov(),n=i(a);function i(d){return d&&d.__esModule?d:{default:d}}function r(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 r(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}),zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Ov(),a=r(t),n=Vq(),i=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.ITF=a.default,e.ITF14=i.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}}(),a=Dn(),n=i(a);function i(d){return d&&d.__esModule?d:{default:d}}function r(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 r(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}),ru=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=a;function t(n){for(var i=0,r=0;r<n.length;r++){var o=parseInt(n[r]);(r+n.length)%2===0?i+=o:i+=o*2%10+Math.floor(o*2/10)}return(10-i%10)%10}function a(n){for(var i=0,r=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);i+=r[o%r.length]*l}return(11-i%11)%11}}),Bq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=i(t),n=ru();function i(c){return c&&c.__esModule?c:{default:c}}function r(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 r(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),v))}return d}(a.default);e.default=u}),Hq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=i(t),n=ru();function i(c){return c&&c.__esModule?c:{default:c}}function r(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 r(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),v))}return d}(a.default);e.default=u}),qq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=i(t),n=ru();function i(c){return c&&c.__esModule?c:{default:c}}function r(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 r(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}(a.default);e.default=u}),$q=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=i(t),n=ru();function i(c){return c&&c.__esModule?c:{default:c}}function r(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 r(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}(a.default);e.default=u}),Gq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=es(),a=m(t),n=Bq(),i=m(n),r=Hq(),o=m(r),l=qq(),u=m(l),c=$q(),d=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=a.default,e.MSI10=i.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=d.default}),Uq=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}}(),a=Dn(),n=i(a);function i(c){return c&&c.__esModule?c:{default:c}}function r(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){r(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}),Wq=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}}(),a=Dn(),n=i(a);function i(c){return c&&c.__esModule?c:{default:c}}function r(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){r(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}),Zq=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}}(),a=Zq(),n=Dn(),i=r(n);function r(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 a.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 a.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return a.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return a.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}(i.default);e.default=c}),Yq=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}}(),a=Mv(),n=i(a);function i(c){return c&&c.__esModule?c:{default:c}}function r(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 r(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}),Kq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Mv(),a=r(t),n=Yq(),i=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=a.default,e.CODE93FullASCII=i.default}),Qq=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}}(),a=Dn(),n=i(a);function i(c){return c&&c.__esModule?c:{default:c}}function r(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 r(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}),Xq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=kq(),a=Oq(),n=Fq(),i=zq(),r=Gq(),o=Uq(),l=Wq(),u=Kq(),c=Qq();e.default={CODE39:t.CODE39,CODE128:a.CODE128,CODE128A:a.CODE128A,CODE128B:a.CODE128B,CODE128C:a.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.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(a){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(a[r]=i[r])}return a};e.default=function(a,n){return t({},a,n)}}),Jq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=[];function i(r){if(Array.isArray(r))for(var o=0;o<r.length;o++)i(r[o]);else r.text=r.text||"",r.data=r.data||"",n.push(r)}return i(a),n}}),e$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){return a.marginTop=a.marginTop||a.margin,a.marginBottom=a.marginBottom||a.margin,a.marginRight=a.marginRight||a.margin,a.marginLeft=a.marginLeft||a.margin,a}}),Nv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in n)n.hasOwnProperty(i)&&(i=n[i],typeof a[i]=="string"&&(a[i]=parseInt(a[i],10)));return typeof a.displayValue=="string"&&(a.displayValue=a.displayValue!="false"),a}}),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}),t$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nv(),a=r(t),n=Av(),i=r(n);function r(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in i.default)i.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,a.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(),a=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function i(d,m){return m.height+(m.displayValue&&d.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(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,a.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=i(w,x),w.barcodePadding=r(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=i,e.getBarcodePadding=r,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),n$=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}}(),a=ou(),n=r(a),i=Pv();function r(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,i.calculateEncodingAttributes)(this.encodings,this.options,c);var d=(0,i.getTotalWidthOfEncodings)(this.encodings),m=(0,i.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}),a$=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}}(),a=ou(),n=r(a),i=Pv();function r(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,i.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,i.getTotalWidthOfEncodings)(this.encodings),m=(0,i.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}),i$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,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(r,u.key,u)}}return function(r,o,l){return o&&i(r.prototype,o),l&&i(r,l),r}}();function a(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function i(r,o,l){a(this,i),this.object=r,this.encodings=o,this.options=l}return t(i,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),i}();e.default=n}),r$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=n$(),a=l(t),n=a$(),i=l(n),r=i$(),o=l(r);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:a.default,SVGRenderer:i.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 a(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 i=function(l){n(u,l);function u(c,d){t(this,u);var m=a(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),r=function(l){n(u,l);function u(){t(this,u);var c=a(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=a(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=i,e.InvalidElementException=r,e.NoElementException=o}),o$=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},a=t$(),n=l(a),i=r$(),r=l(i),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:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.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:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),s$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(r,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(r,u.key,u)}}return function(r,o,l){return o&&i(r.prototype,o),l&&i(r,l),r}}();function a(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function i(r){a(this,i),this.api=r}return t(i,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var o=r.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),i}();e.default=n}),l$=se((e,t)=>{var a=Xq(),n=M(a),i=ou(),r=M(i),o=Jq(),l=M(o),u=e$(),c=M(u),d=o$(),m=M(d),v=Nv(),g=M(v),w=s$(),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=at()),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,r.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,r.default)(Ee,H[Y].options);return H}function at(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}J.prototype.options=function(X){return this._options=(0,r.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,r.default)(this._options,X.options);Ee.format=="auto"&&(Ee.format=at()),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,r.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 u$(){return Et}var Br={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 a=Et.producerNode[t];uu(a,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 c$(){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 a of e.liveConsumerNode)a.dirty||d$(a)}finally{nl=t}}function jv(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function d$(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 a=e.nextProducerIndex;a<e.producerNode.length;a++)uu(e.producerNode[a],e.producerIndexOfThis[a]);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 a=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==a.version||(ns(a),n!==a.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,a){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(a),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 a=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[a],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[a],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];cu(i),i.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 h$(e,t){let a=Object.create(p$);a.computation=e;let n=()=>{if(ns(a),ts(a),a.value===ri)throw a.error;return a.value};return n[gn]=a,n}var Ri=Symbol("UNSET"),fr=Symbol("COMPUTING"),ri=Symbol("ERRORED"),p$=Qt(ce({},Br),{value:Ri,dirty:!0,error:null,equal:bh,kind:"computed",producerMustRecompute(e){return e.value===Ri||e.value===fr},producerRecomputeValue(e){if(e.value===fr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fr;let a=Io(e),n,i=!1;try{n=e.computation(),De(null),i=t!==Ri&&t!==ri&&n!==ri&&e.equal(t,n)}catch(r){n=ri,e.error=r}finally{su(e,a)}if(i){e.value=t;return}e.value=n,e.version++}});function m$(){throw new Error}var Hv=m$;function qv(e){Hv(e)}function f$(e){Hv=e}function g$(e,t){let a=Object.create(Gv);a.value=e;let n=()=>(ts(a),a.value);return n[gn]=a,n}function as(e,t){jv()||qv(e),e.equal(e.value,t)||(e.value=t,v$(e))}function $v(e,t){jv()||qv(e),as(e,t(e.value))}var Gv=Qt(ce({},Br),{equal:bh,value:void 0,kind:"signal"});function v$(e){e.version++,c$(),Fv(e)}function Fm(e,t,a){let n=Object.create(_$);n.source=e,n.computation=t,a!=null&&(n.equal=a);let i=()=>{if(ns(n),ts(n),n.value===ri)throw n.error;return n.value};return i[gn]=n,i}function b$(e,t){ns(e),as(e,t),_l(e)}function y$(e,t){ns(e),$v(e,t),_l(e)}var _$=Qt(ce({},Br),{value:Ri,dirty:!0,error:null,equal:bh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Ri||e.value===fr},producerRecomputeValue(e){if(e.value===fr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fr;let a=Io(e),n;try{let i=e.source(),r=t===Ri||t===ri?void 0:{source:e.sourceValue,value:t};n=e.computation(i,r),e.sourceValue=i}catch(i){n=ri,e.error=i}finally{su(e,a)}if(t!==Ri&&n!==ri&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function w$(e){let t=De(null);try{return e()}finally{De(t)}}var ed;function al(){return ed}function Ya(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(a=>{Error.call(a),a.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((a,n)=>`${n+1}) ${a.toString()}`).join(`
14
+ `)}`:"",this.name="UnsubscriptionError",this.errors=t});function wl(e,t){if(e){let a=e.indexOf(t);0<=a&&e.splice(a,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:a}=this;if(a)if(this._parentage=null,Array.isArray(a))for(let r of a)r.remove(this);else a.remove(this);let{initialTeardown:n}=this;if(st(n))try{n()}catch(r){t=r instanceof Ju?r.errors:[r]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let r of i)try{jm(r)}catch(o){t=t??[],o instanceof Ju?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Ju(t)}}add(t){var a;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=(a=this._finalizers)!==null&&a!==void 0?a:[]).push(t)}}_hasParent(t){let{_parentage:a}=this;return a===t||Array.isArray(a)&&a.includes(t)}_addParent(t){let{_parentage:a}=this;this._parentage=Array.isArray(a)?(a.push(t),a):a?[a,t]:t}_removeParent(t){let{_parentage:a}=this;a===t?this._parentage=null:Array.isArray(a)&&wl(a,t)}remove(t){let{_finalizers:a}=this;a&&wl(a,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 x$={Promise:void 0},E$={setTimeout(e,t,...a){return setTimeout(e,t,...a)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Yv(e){E$.setTimeout(()=>{throw e})}function nd(){}function il(e){e()}var xh=class extends Kt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zv(e)&&e.add(this)):this.destination=C$}static create(e,t,a){return new Ro(e,t,a)}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()}}},S$=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(a){Os(a)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(a){Os(a)}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,a){super();let n;st(e)||!e?n={next:e??void 0,error:t??void 0,complete:a??void 0}:n=e,this.destination=new S$(n)}};function Os(e){Yv(e)}function k$(e){throw e}var C$={closed:!0,next:nd,error:k$,complete:nd},Eh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Hr(e){return e}function D$(e){return e.length===0?Hr:e.length===1?e[0]:function(t){return e.reduce((a,n)=>n(a),t)}}var mt=(()=>{class e{constructor(a){a&&(this._subscribe=a)}lift(a){let n=new e;return n.source=this,n.operator=a,n}subscribe(a,n,i){let r=T$(a)?a:new Ro(a,n,i);return il(()=>{let{operator:o,source:l}=this;r.add(o?o.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(a){try{return this._subscribe(a)}catch(n){a.error(n)}}forEach(a,n){return n=Vm(n),new n((i,r)=>{let o=new Ro({next:l=>{try{a(l)}catch(u){r(u),o.unsubscribe()}},error:r,complete:i});this.subscribe(o)})}_subscribe(a){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(a)}[Eh](){return this}pipe(...a){return D$(a)(this)}toPromise(a){return a=Vm(a),new a((n,i)=>{let r;this.subscribe(o=>r=o,o=>i(o),()=>n(r))})}}return e.create=t=>new e(t),e})();function Vm(e){var t;return(t=e??x$.Promise)!==null&&t!==void 0?t:Promise}function I$(e){return e&&st(e.next)&&st(e.error)&&st(e.complete)}function T$(e){return e&&e instanceof xh||I$(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(a){try{return e(a,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ft(e,t,a,n,i){return new R$(e,t,a,n,i)}var R$=class extends xh{constructor(e,t,a,n,i,r){super(e),this.onFinalize=i,this.shouldUnsubscribe=r,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=a?function(){try{a()}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 O$(){return Xt((e,t)=>{let a=null;e._refCount++;let n=Ft(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){a=null;return}let i=e._connection,r=a;a=null,i&&(!r||i===r)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(a=e.connect())})}var M$=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()},a=>{this._teardown(),t.error(a)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Kt.EMPTY)}return e}refCount(){return O$()(this)}},N$=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(a){let n=new zm(this,this);return n.operator=a,n}_throwIfClosed(){if(this.closed)throw new N$}next(a){il(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(a)}})}error(a){il(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=a;let{observers:n}=this;for(;n.length;)n.shift().error(a)}})}complete(){il(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:a}=this;for(;a.length;)a.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var a;return((a=this.observers)===null||a===void 0?void 0:a.length)>0}_trySubscribe(a){return this._throwIfClosed(),super._trySubscribe(a)}_subscribe(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}_innerSubscribe(a){let{hasError:n,isStopped:i,observers:r}=this;return n||i?Wv:(this.currentObservers=null,r.push(a),new Kt(()=>{this.currentObservers=null,wl(r,a)}))}_checkFinalizedStatuses(a){let{hasError:n,thrownError:i,isStopped:r}=this;n?a.error(i):r&&a.complete()}asObservable(){let a=new mt;return a.source=this,a}}return e.create=(t,a)=>new zm(t,a),e})(),zm=class extends ve{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.next)===null||a===void 0||a.call(t,e)}error(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.error)===null||a===void 0||a.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,a;return(a=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&a!==void 0?a:Wv}},Ai=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:a}=this;if(e)throw t;return this._throwIfClosed(),a}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,a=Sh){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=a,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:a,_infiniteTimeWindow:n,_timestampProvider:i,_windowTime:r}=this;t||(a.push(e),!n&&a.push(i.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:a,_buffer:n}=this,i=n.slice();for(let r=0;r<i.length&&!e.closed;r+=a?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:a,_infiniteTimeWindow:n}=this,i=(n?1:2)*e;if(e<1/0&&i<a.length&&a.splice(0,a.length-i),!n){let r=t.now(),o=0;for(let l=1;l<a.length&&a[l]<=r;l+=2)o=l;o&&a.splice(0,o+1)}}},A$=class extends Kt{constructor(e,t){super()}schedule(e,t=0){return this}},ad={setInterval(e,t,...a){let{delegate:n}=ad;return n!=null&&n.setInterval?n.setInterval(e,t,...a):setInterval(e,t,...a)},clearInterval(e){return clearInterval(e)},delegate:void 0},P$=class extends A${constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var a;if(this.closed)return this;this.state=e;let n=this.id,i=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=(a=this.id)!==null&&a!==void 0?a:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,a=0){return ad.setInterval(e.flush.bind(e,this),a)}recycleAsyncId(e,t,a=0){if(a!=null&&this.delay===a&&this.pending===!1)return t;t!=null&&ad.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let a=this._execute(e,t);if(a)return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let a=!1,n;try{this.work(e)}catch(i){a=!0,n=i||new Error("Scheduled action threw falsy error")}if(a)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:a}=t;this.work=this.state=this.scheduler=null,this.pending=!1,wl(a,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},id=class Qv{constructor(t,a=Qv.now){this.schedulerActionCtor=t,this.now=a}schedule(t,a=0,n){return new this.schedulerActionCtor(this,t).schedule(n,a)}};id.now=Sh.now;var L$=class extends id{constructor(e,t=id.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let a;this._active=!0;do if(a=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,a){for(;e=t.shift();)e.unsubscribe();throw a}}},Ch=new L$(P$),F$=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 is(e){return Xv(Ih(e))?e.pop():void 0}function j$(e,t){return typeof Ih(e)=="number"?e.pop():t}function V$(e,t,a,n){function i(r){return r instanceof a?r:new a(function(o){o(r)})}return new(a||(a=Promise))(function(r,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?r(d.value):i(d.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Bm(e){var t=typeof Symbol=="function"&&Symbol.iterator,a=t&&e[t],n=0;if(a)return a.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 gr(e){return this instanceof gr?(this.v=e,this):new gr(e)}function z$(e,t,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a.apply(e,t||[]),i,r=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(g){return function(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(i[g]=function(x){return new Promise(function(k,D){r.push([g,x,k,D])>1||u(g,x)})},w&&(i[g]=w(i[g])))}function u(g,w){try{c(n[g](w))}catch(x){v(r[0][3],x)}}function c(g){g.value instanceof gr?Promise.resolve(g.value.v).then(d,m):v(r[0][2],g)}function d(g){u("next",g)}function m(g){u("throw",g)}function v(g,w){g(w),r.shift(),r.length&&u(r[0][0],r[0][1])}}function B$(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],a;return t?t.call(e):(e=typeof Bm=="function"?Bm(e):e[Symbol.iterator](),a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a);function n(r){a[r]=e[r]&&function(o){return new Promise(function(l,u){o=e[r](o),i(l,u,o.done,o.value)})}}function i(r,o,l,u){Promise.resolve(u).then(function(c){r({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 a0(e){return Symbol.asyncIterator&&st(e==null?void 0:e[Symbol.asyncIterator])}function i0(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 H$(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var r0=H$();function o0(e){return st(e==null?void 0:e[r0])}function s0(e){return z$(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:a,done:n}=yield gr(t.read());if(n)return yield gr(void 0);yield yield gr(a)}}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 q$(e);if(e0(e))return $$(e);if(t0(e))return G$(e);if(a0(e))return u0(e);if(o0(e))return U$(e);if(l0(e))return W$(e)}throw i0(e)}function q$(e){return new mt(t=>{let a=e[Eh]();if(st(a.subscribe))return a.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $$(e){return new mt(t=>{for(let a=0;a<e.length&&!t.closed;a++)t.next(e[a]);t.complete()})}function G$(e){return new mt(t=>{e.then(a=>{t.closed||(t.next(a),t.complete())},a=>t.error(a)).then(null,Yv)})}function U$(e){return new mt(t=>{for(let a of e)if(t.next(a),t.closed)return;t.complete()})}function u0(e){return new mt(t=>{Z$(e,t).catch(a=>t.error(a))})}function W$(e){return u0(s0(e))}function Z$(e,t){var a,n,i,r;return V$(this,void 0,void 0,function*(){try{for(a=B$(e);n=yield a.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){i={error:o}}finally{try{n&&!n.done&&(r=a.return)&&(yield r.call(a))}finally{if(i)throw i.error}}t.complete()})}function Fa(e,t,a,n=0,i=!1){let r=t.schedule(function(){a(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(r),!i)return r}function c0(e,t=0){return Xt((a,n)=>{a.subscribe(Ft(n,i=>Fa(n,e,()=>n.next(i),t),()=>Fa(n,e,()=>n.complete(),t),i=>Fa(n,e,()=>n.error(i),t)))})}function d0(e,t=0){return Xt((a,n)=>{n.add(e.schedule(()=>a.subscribe(n),t))})}function Y$(e,t){return bn(e).pipe(d0(t),c0(t))}function K$(e,t){return bn(e).pipe(d0(t),c0(t))}function Q$(e,t){return new mt(a=>{let n=0;return t.schedule(function(){n===e.length?a.complete():(a.next(e[n++]),a.closed||this.schedule())})})}function X$(e,t){return new mt(a=>{let n;return Fa(a,t,()=>{n=e[r0](),Fa(a,t,()=>{let i,r;try{({value:i,done:r}=n.next())}catch(o){a.error(o);return}r?a.complete():a.next(i)},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(a=>{Fa(a,t,()=>{let n=e[Symbol.asyncIterator]();Fa(a,t,()=>{n.next().then(i=>{i.done?a.complete():a.next(i.value)})},0,!0)})})}function J$(e,t){return h0(s0(e),t)}function e6(e,t){if(e!=null){if(n0(e))return Y$(e,t);if(e0(e))return Q$(e,t);if(t0(e))return K$(e,t);if(a0(e))return h0(e,t);if(o0(e))return X$(e,t);if(l0(e))return J$(e,t)}throw i0(e)}function Gi(e,t){return t?e6(e,t):bn(e)}function tt(...e){let t=is(e);return Gi(e,t)}function p0(e,t){let a=st(e)?e:()=>e,n=i=>i.error(a());return new mt(n)}function vr(e){return!!e&&(e instanceof mt||st(e.lift)&&st(e.subscribe))}var t6=wh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function n6(e,t){return new Promise((a,n)=>{let i=!1,r;e.subscribe({next:o=>{r=o,i=!0},error:n,complete:()=>{i?a(r):n(new t6)}})})}function a6(e){return e instanceof Date&&!isNaN(e)}function Pt(e,t){return Xt((a,n)=>{let i=0;a.subscribe(Ft(n,r=>{n.next(e.call(t,r,i++))}))})}var{isArray:i6}=Array;function r6(e,t){return i6(t)?e(...t):e(t)}function m0(e){return Pt(t=>r6(e,t))}var{isArray:o6}=Array,{getPrototypeOf:s6,prototype:l6,keys:u6}=Object;function f0(e){if(e.length===1){let t=e[0];if(o6(t))return{args:t,keys:null};if(c6(t)){let a=u6(t);return{args:a.map(n=>t[n]),keys:a}}}return{args:e,keys:null}}function c6(e){return e&&typeof e=="object"&&s6(e)===l6}function g0(e,t){return e.reduce((a,n,i)=>(a[n]=t[i],a),{})}function rl(...e){let t=is(e),a=Jv(e),{args:n,keys:i}=f0(e);if(n.length===0)return Gi([],t);let r=new mt(d6(n,t,i?o=>g0(i,o):Hr));return a?r.pipe(m0(a)):r}function d6(e,t,a=Hr){return n=>{Hm(t,()=>{let{length:i}=e,r=new Array(i),o=i,l=i;for(let u=0;u<i;u++)Hm(t,()=>{let c=Gi(e[u],t),d=!1;c.subscribe(Ft(n,m=>{r[u]=m,d||(d=!0,l--),l||n.next(a(r.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Hm(e,t,a){e?Fa(a,e,t):t()}function h6(e,t,a,n,i,r,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(a(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?Fa(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,a=1/0){return st(t)?Oo((n,i)=>Pt((r,o)=>t(n,r,i,o))(bn(e(n,i))),a):(typeof t=="number"&&(a=t),Xt((n,i)=>h6(n,i,e,a)))}function v0(e=1/0){return Oo(Hr,e)}function p6(){return v0(1)}function Mo(...e){return p6()(Gi(e,is(e)))}function xl(e){return new mt(t=>{bn(e()).subscribe(t)})}function b0(...e){let t=Jv(e),{args:a,keys:n}=f0(e),i=new mt(r=>{let{length:o}=a;if(!o){r.complete();return}let l=new Array(o),u=o,c=o;for(let d=0;d<o;d++){let m=!1;bn(a[d]).subscribe(Ft(r,v=>{m||(m=!0,c--),l[d]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||r.next(n?g0(n,l):l),r.complete())}))}});return t?i.pipe(m0(t)):i}function m6(e=0,t,a=F$){let n=-1;return t!=null&&(Xv(t)?a=t:n=t),new mt(i=>{let r=a6(e)?+e-a.now():e;r<0&&(r=0);let o=0;return a.schedule(function(){i.closed||(i.next(o++),0<=n?this.schedule(void 0,n):i.complete())},r)})}function Li(...e){let t=is(e),a=j$(e,1/0),n=e;return n.length?n.length===1?bn(n[0]):v0(a)(Gi(n,t)):Dh}function Sn(e,t){return Xt((a,n)=>{let i=0;a.subscribe(Ft(n,r=>e.call(t,r,i++)&&n.next(r)))})}function f6(e){return Xt((t,a)=>{let n=!1,i=null,r=null,o=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,n){n=!1;let c=i;i=null,a.next(c)}o&&a.complete()},u=()=>{r=null,o&&a.complete()};t.subscribe(Ft(a,c=>{n=!0,i=c,r||bn(e(c)).subscribe(r=Ft(a,l,u))},()=>{o=!0,(!n||!r||r.closed)&&a.complete()}))})}function y0(e,t=Ch){return f6(()=>m6(e,t))}function Th(e){return Xt((t,a)=>{let n=null,i=!1,r;n=t.subscribe(Ft(a,void 0,void 0,o=>{r=bn(e(o,Th(e)(t))),n?(n.unsubscribe(),n=null,r.subscribe(a)):i=!0})),i&&(n.unsubscribe(),n=null,r.subscribe(a))})}function _0(e,t){return st(t)?Oo(e,t,1):Oo(e,1)}function g6(e,t=Ch){return Xt((a,n)=>{let i=null,r=null,o=null,l=()=>{if(i){i.unsubscribe(),i=null;let c=r;r=null,n.next(c)}};function u(){let c=o+e,d=t.now();if(d<c){i=this.schedule(void 0,c-d),n.add(i);return}l()}a.subscribe(Ft(n,c=>{r=c,o=t.now(),i||(i=t.schedule(u,e),n.add(i))},()=>{l(),n.complete()},void 0,()=>{r=i=null}))})}function tn(e){return e<=0?()=>Dh:Xt((t,a)=>{let n=0;t.subscribe(Ft(a,i=>{++n<=e&&(a.next(i),e<=n&&a.complete())}))})}function v6(e,t=Hr){return e=e??b6,Xt((a,n)=>{let i,r=!0;a.subscribe(Ft(n,o=>{let l=t(o);(r||!e(i,l))&&(r=!1,i=l,n.next(o))}))})}function b6(e,t){return e===t}function w0(e){return Xt((t,a)=>{try{t.subscribe(a)}finally{a.add(e)}})}function x0(e={}){let{connector:t=()=>new ve,resetOnError:a=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=e;return r=>{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,i))}),D.subscribe(k),!o&&c>0&&(o=new Ro({next:O=>D.next(O),error:O=>{m=!0,v(),l=ec(g,a,O),D.error(O)},complete:()=>{d=!0,v(),l=ec(g,n),D.complete()}}),bn(x).subscribe(o))})(r)}}function ec(e,t,...a){if(t===!0){e();return}if(t===!1)return;let n=new Ro({next:()=>{n.unsubscribe(),e()}});return bn(t(...a)).subscribe(n)}function qm(e,t,a){let n;return n=e,x0({connector:()=>new kh(n,t,a),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function E0(e){return Sn((t,a)=>e<=a)}function du(...e){let t=is(e);return Xt((a,n)=>{(t?Mo(e,a,t):Mo(e,a)).subscribe(n)})}function El(e,t){return Xt((a,n)=>{let i=null,r=0,o=!1,l=()=>o&&!i&&n.complete();a.subscribe(Ft(n,u=>{i==null||i.unsubscribe();let c=0,d=r++;bn(e(u,d)).subscribe(i=Ft(n,m=>n.next(t?t(u,m,d,c++):m),()=>{i=null,l()}))},()=>{o=!0,l()}))})}function oi(e){return Xt((t,a)=>{bn(e).subscribe(Ft(a,()=>a.complete(),nd)),!a.closed&&t.subscribe(a)})}function tc(e,t,a){let n=st(e)||t||a?{next:e,error:t,complete:a}:e;return n?Xt((i,r)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;i.subscribe(Ft(r,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),r.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),r.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),r.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)}))}):Hr}var S0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",G=class extends Error{constructor(t,a){super(k0(t,a));s(this,"code");this.code=t}};function y6(e){return`NG0${Math.abs(e)}`}function k0(e,t){return`${y6(e)}${t?": "+t:""}`}var hu=Symbol("InputSignalNode#UNSET"),C0=Qt(ce({},Gv),{transformFn:void 0,applyValueToInputSignal(e,t){as(e,t)}});function D0(e,t){let a=Object.create(C0);a.value=e,a.transformFn=t==null?void 0:t.transform;function n(){if(ts(a),a.value===hu){let i=null;throw new G(-950,i)}return a.value}return n[gn]=a,n}function rs(e){return{toString:e}.toString()}var Ms="__parameters__";function _6(e){return function(...t){}}function I0(e,t,a){return rs(()=>{let n=_6();function i(...r){if(this instanceof i)return n.apply(this,r),this;let o=new i(...r);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 i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var ur=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 w6(e,t){for(let a in t)t.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=t[a])}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 a=e.toString();if(a==null)return""+a;let n=a.indexOf(`
15
+ `);return n>=0?a.slice(0,n):a}function rd(e,t){return e?t?`${e} ${t}`:e:t||""}var x6=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(x6)&&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 E6(e){return e&&(e[O0]||e[M0])||null}function Gm(e){return e&&(e.hasOwnProperty(Um)||e.hasOwnProperty(S6))?e[Um]:null}var O0=lt({ɵprov:lt}),Um=lt({ɵinj:lt}),M0=lt({ngInjectableDef:lt}),S6=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 k6=lt({ɵcmp:lt}),C6=lt({ɵdir:lt}),D6=lt({ɵpipe:lt}),Sl=lt({ɵfac:lt}),wo=lt({__NG_ELEMENT_ID__:lt}),Wm=lt({__NG_ENV_ID__:lt});function kr(e){return typeof e=="string"?e:e==null?"":String(e)}function I6(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():kr(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,a){let n=Rh(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(a&Re.Optional)return null;if(t!==void 0)return t;Oh()}var T6={},Pi=T6,sd="__NG_DI_FLAG__",F0=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let a=t;return this.injector.get(e,a.optional?Uv:Pi,a)}},kl="ngTempTokenPath",R6="ngTokenPath",O6=/\n/gm,M6="ɵ",Zm="__source";function N6(e,t=Re.Default){if(al()===void 0)throw new G(-203,!1);if(al()===null)return L0(e,void 0,t);{let a=al(),n;return a instanceof F0?n=a.injector:n=a,n.get(e,t&Re.Optional?null:void 0,t)}}function oe(e,t=Re.Default){return(P0()||N6)(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 a=0;a<e.length;a++){let n=Wt(e[a]);if(Array.isArray(n)){if(n.length===0)throw new G(900,!1);let i,r=Re.Default;for(let o=0;o<n.length;o++){let l=n[o],u=A6(l);typeof u=="number"?u===-1?i=l.token:r|=u:i=l}t.push(oe(i,r))}else t.push(oe(n))}return t}function j0(e,t){return e[sd]=t,e.prototype[sd]=t,e}function A6(e){return e[sd]}function P6(e,t,a,n){let i=e[kl];throw t[Zm]&&i.unshift(t[Zm]),e.message=L6(`
16
+ `+e.message,i,a,n),e[R6]=i,e[kl]=null,e}function L6(e,t,a,n=null){e=e&&e.charAt(0)===`
17
+ `&&e.charAt(1)==M6?e.slice(2):e;let i=An(t);if(Array.isArray(t))i=t.map(An).join(" -> ");else if(typeof t=="object"){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];r.push(o+":"+(typeof l=="string"?JSON.stringify(l):An(l)))}i=`{${r.join(", ")}}`}return`${a}${n?"("+n+")":""}[${i}]: ${e.replace(O6,`
18
+ `)}`}var Mh=j0(I0("Optional"),8),Nh=j0(I0("SkipSelf"),4);function Fi(e,t){return e.hasOwnProperty(Sl)?e[Sl]:null}function F6(e,t,a){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],r=t[n];if(a&&(i=a(i),r=a(r)),r!==i)return!1}return!0}function j6(e){return e.flat(Number.POSITIVE_INFINITY)}function Ah(e,t){e.forEach(a=>Array.isArray(a)?Ah(a,t):t(a))}function V0(e,t,a){t>=e.length?e.push(a):e.splice(t,0,a)}function Cl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function V6(e,t){let a=[];for(let n=0;n<e;n++)a.push(t);return a}function z6(e,t,a,n){let i=e.length;if(i==t)e.push(a,n);else if(i===1)e.push(n,e[0]),e[0]=a;else{for(i--,e.push(e[i-1],e[i]);i>t;){let r=i-2;e[i]=e[r],i--}e[t]=a,e[t+1]=n}}function Ph(e,t,a){let n=os(e,t);return n>=0?e[n|1]=a:(n=~n,z6(e,n,t,a)),n}function nc(e,t){let a=os(e,t);if(a>=0)return e[a|1]}function os(e,t){return B6(e,t,1)}function B6(e,t,a){let n=0,i=e.length>>a;for(;i!==n;){let r=n+(i-n>>1),o=e[r<<a];if(t===o)return r<<a;o>t?i=r:n=r+1}return~(i<<a)}var ua={},fn=[],Dl=new K(""),z0=new K("",-1),B0=new K(""),H0=class{get(e,t=Pi){if(t===Pi){let a=new Error(`NullInjectorError: No provider for ${An(e)}!`);throw a.name="NullInjectorError",a}return t}};function Cr(e){return e[k6]||null}function q0(e){return e[C6]||null}function H6(e){return e[D6]||null}function Lh(e){return{ɵproviders:e}}function q6(...e){return{ɵproviders:$0(!0,e),ɵfromNgModule:!0}}function $0(e,...t){let a=[],n=new Set,i,r=o=>{a.push(o)};return Ah(t,o=>{let l=o;ud(l,r,[],n)&&(i||(i=[]),i.push(l))}),i!==void 0&&G0(i,r),a}function G0(e,t){for(let a=0;a<e.length;a++){let{ngModule:n,providers:i}=e[a];Fh(i,r=>{t(r,n)})}}function ud(e,t,a,n){if(e=Wt(e),!e)return!1;let i=null,r=Gm(e),o=!r&&Cr(e);if(!r&&!o){let u=e.ngModule;if(r=Gm(u),r)i=u;else return!1}else{if(o&&!o.standalone)return!1;i=e}let l=n.has(i);if(o){if(l)return!1;if(n.add(i),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)ud(c,t,a,n)}}else if(r){if(r.imports!=null&&!l){n.add(i);let c;try{Ah(r.imports,d=>{ud(d,t,a,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&G0(c,t)}if(!l){let c=Fi(i)||(()=>new i);t({provide:i,useFactory:c,deps:fn},i),t({provide:B0,useValue:i,multi:!0},i),t({provide:Dl,useValue:()=>oe(i),multi:!0},i)}let u=r.providers;if(u!=null&&!l){let c=e;Fh(u,d=>{t(d,c)})}}else return!1;return i!==e&&e.providers!==void 0}function Fh(e,t){for(let a of e)N0(a)&&(a=a.ɵproviders),Array.isArray(a)?Fh(a,t):t(a)}var $6=lt({provide:String,useValue:lt});function U0(e){return e!==null&&typeof e=="object"&&$6 in e}function G6(e){return!!(e&&e.useExisting)}function U6(e){return!!(e&&e.useFactory)}function Dr(e){return typeof e=="function"}function W6(e){return!!e.useClass}var jh=new K(""),ol={},Ym={},ac;function mu(){return ac===void 0&&(ac=new H0),ac}var ca=class{},Vh=class extends ca{constructor(t,a,n,i){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=a,this.source=n,this.scopes=i,dd(t,o=>this.processProvider(o)),this.records.set(z0,cr(void 0,this)),i.has("environment")&&this.records.set(ca,cr(void 0,this));let r=this.records.get(jh);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(B0,fn,Re.Self))}get destroyed(){return this._destroyed}retrieve(t,a){let n=a;return this.get(t,n.optional?Uv:Pi,n)}destroy(){go(this),this._destroyed=!0;let t=De(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let a=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of a)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 a=Ya(this),n=mn(void 0);try{return t()}finally{Ya(a),mn(n)}}get(t,a=Pi,n=Re.Default){if(go(this),t.hasOwnProperty(Wm))return t[Wm](this);n=pu(n);let i=Ya(this),r=mn(void 0);try{if(!(n&Re.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=X6(t)&&Rh(t);u&&this.injectableDefInScope(u)?l=cr(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 a=n&Re.Optional&&a===Pi?null:a,o.get(t,a)}catch(o){if(o.name==="NullInjectorError"){if((o[kl]=o[kl]||[]).unshift(An(t)),i)throw o;return P6(o,t,"R3InjectorError",this.source)}else throw o}finally{mn(r),Ya(i)}}resolveInjectorInitializers(){let t=De(null),a=Ya(this),n=mn(void 0);try{let i=this.get(Dl,fn,Re.Self);for(let r of i)r()}finally{Ya(a),mn(n),De(t)}}toString(){let t=[],a=this.records;for(let n of a.keys())t.push(An(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Wt(t);let a=Dr(t)?t:Wt(t&&t.provide),n=Y6(t);if(!Dr(t)&&t.multi===!0){let i=this.records.get(a);i||(i=cr(void 0,ol,!0),i.factory=()=>ld(i.multi),this.records.set(a,i)),a=t,i.multi.push(t)}this.records.set(a,n)}hydrate(t,a,n){let i=De(null);try{return a.value===Ym?A0(An(t)):a.value===ol&&(a.value=Ym,a.value=a.factory(void 0,n)),typeof a.value=="object"&&a.value&&Q6(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{De(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let a=Wt(t.providedIn);return typeof a=="string"?a==="any"||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(t){let a=this._onDestroyHooks.indexOf(t);a!==-1&&this._onDestroyHooks.splice(a,1)}};function cd(e){let t=Rh(e),a=t!==null?t.factory:Fi(e);if(a!==null)return a;if(e instanceof K)throw new G(204,!1);if(e instanceof Function)return Z6(e);throw new G(204,!1)}function Z6(e){if(e.length>0)throw new G(204,!1);let t=E6(e);return t!==null?()=>t.factory(e):()=>new e}function Y6(e){if(U0(e))return cr(void 0,e.useValue);{let t=W0(e);return cr(t,ol)}}function W0(e,t,a){let n;if(Dr(e)){let i=Wt(e);return Fi(i)||cd(i)}else if(U0(e))n=()=>Wt(e.useValue);else if(U6(e))n=()=>e.useFactory(...ld(e.deps||[]));else if(G6(e))n=(i,r)=>oe(Wt(e.useExisting),r!==void 0&&r&Re.Optional?Re.Optional:void 0);else{let i=Wt(e&&(e.useClass||e.provide));if(K6(e))n=()=>new i(...ld(e.deps));else return Fi(i)||cd(i)}return n}function go(e){if(e.destroyed)throw new G(205,!1)}function cr(e,t,a=!1){return{factory:e,value:t,multi:a?[]:void 0}}function K6(e){return!!e.deps}function Q6(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function X6(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function dd(e,t){for(let a of e)Array.isArray(a)?dd(a,t):a&&N0(a)?dd(a.ɵproviders,t):t(a)}function zh(e,t){let a;e instanceof Vh?(go(e),a=e):a=new F0(e);let n=Ya(a),i=mn(void 0);try{return t()}finally{Ya(n),mn(i)}}function Z0(){return P0()!==void 0||al()!=null}function fu(e){if(!Z0())throw new G(-203,!1)}function J6(e){return typeof e=="function"}var za=0,_e=1,fe=2,an=3,Wn=4,yn=5,Ir=6,br=7,qt=8,Tr=9,Va=10,vt=11,No=12,Km=13,qr=14,Ln=15,ji=16,dr=17,Zn=18,gu=19,Y0=20,si=21,ic=22,Na=23,Pn=24,li=25,yt=26,K0=1,Vi=7,Il=8,Rr=9,nn=10;function ui(e){return Array.isArray(e)&&typeof e[K0]=="object"}function Ba(e){return Array.isArray(e)&&e[K0]===!0}function Bh(e){return(e.flags&4)!==0}function $r(e){return e.componentOffset>-1}function vu(e){return(e.flags&1)===1}function da(e){return!!e.template}function Tl(e){return(e[fe]&512)!==0}function Gr(e){return(e[fe]&256)===256}var eG=class{constructor(e,t,a){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=a}isFirstChange(){return this.firstChange}};function Q0(e,t,a,n){t!==null?t.applyValueToInputSignal(t,n):e[a]=n}var hi=(()=>{let e=()=>X0;return e.ngInherit=!0,e})();function X0(e){return e.type.prototype.ngOnChanges&&(e.setInput=nG),tG}function tG(){let e=eb(this),t=e==null?void 0:e.current;if(t){let a=e.previous;if(a===ua)e.previous=t;else for(let n in t)a[n]=t[n];e.current=null,this.ngOnChanges(t)}}function nG(e,t,a,n,i){let r=this.declaredInputs[n],o=eb(e)||aG(e,{previous:ua,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new eG(c&&c.currentValue,a,u===ua),Q0(e,t,i,a)}var J0="__ngSimpleChanges__";function eb(e){return e[J0]||null}function aG(e,t){return e[J0]=t}var zi=function(e,t=null,a){},tb="svg",iG="math";function ha(e){for(;Array.isArray(e);)e=e[za];return e}function nb(e,t){return ha(t[e])}function fa(e,t){return ha(t[e.index])}function Hh(e,t){return e.data[t]}function ss(e,t){return e[t]}function qh(e,t,a,n){a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=n}function pa(e,t){let a=t[e];return ui(a)?a:a[za]}function rG(e){return(e[fe]&4)===4}function $h(e){return(e[fe]&128)===128}function oG(e){return Ba(e[an])}function Bi(e,t){return t==null?null:e[t]}function ab(e){e[dr]=0}function Gh(e){e[fe]&1024||(e[fe]|=1024,$h(e)&&Ur(e))}function sG(e,t){for(;e>0;)t=t[qr],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[Va].changeDetectionScheduler)==null||t.notify(8),e[fe]&64&&(e[fe]|=1024),ls(e)&&Ur(e)}function Ur(e){var a;(a=e[Va].changeDetectionScheduler)==null||a.notify(0);let t=Hi(e);for(;t!==null&&!(t[fe]&8192||(t[fe]|=8192,!$h(t)));)t=Hi(t)}function ib(e,t){if(Gr(e))throw new G(911,!1);e[si]===null&&(e[si]=[]),e[si].push(t)}function lG(e,t){if(e[si]===null)return;let a=e[si].indexOf(t);a!==-1&&e[si].splice(a,1)}function Hi(e){let t=e[an];return Ba(t)?t[an]:t}function Uh(e){return e[br]??(e[br]=[])}function Wh(e){return e.cleanup??(e.cleanup=[])}function uG(e,t,a,n){let i=Uh(t);i.push(a),e.firstCreatePass&&Wh(e).push(n,i.length-1)}var Se={lFrame:hb(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pd=!1;function cG(){return Se.lFrame.elementDepthCount}function dG(){Se.lFrame.elementDepthCount++}function hG(){Se.lFrame.elementDepthCount--}function pG(){return Se.bindingsEnabled}function rb(){return Se.skipHydrationRootTNode!==null}function mG(e){return Se.skipHydrationRootTNode===e}function fG(){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 gG(){let e=Se.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function pi(e,t){let a=Se.lFrame;a.currentTNode=e,a.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 Ui(){let e=Se.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function vG(){return Se.lFrame.bindingIndex}function bG(e){return Se.lFrame.bindingIndex=e}function Wi(){return Se.lFrame.bindingIndex++}function Kh(e){let t=Se.lFrame,a=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,a}function yG(){return Se.lFrame.inI18n}function _G(e,t){let a=Se.lFrame;a.bindingIndex=a.bindingRootIndex=e,md(t)}function wG(){return Se.lFrame.currentDirectiveIndex}function md(e){Se.lFrame.currentDirectiveIndex=e}function xG(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 EG(e){let t=e[_e];return t.type===2?t.declTNode:t.type===1?e[yn]:null}function cb(e,t,a){if(a&Re.SkipSelf){let i=t,r=e;for(;(i=i.parent,i===null&&!(a&Re.Host))&&(i=EG(r),!(i===null||(r=r[qr],i.type&10))););if(i===null)return!1;t=i,e=r}let n=Se.lFrame=db();return n.currentTNode=t,n.lView=e,!0}function Xh(e){let t=db(),a=e[_e];Se.lFrame=t,t.currentTNode=a.firstChild,t.lView=e,t.tView=a,t.contextLView=e,t.bindingIndex=a.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 SG(e){return(Se.lFrame.contextLView=sG(e,Se.lFrame.contextLView))[qt]}function ga(){return Se.lFrame.selectedIndex}function qi(e){Se.lFrame.selectedIndex=e}function bu(){let e=Se.lFrame;return Hh(e.tView,e.selectedIndex)}function fb(){Se.lFrame.currentNamespace=tb}function kG(){return Se.lFrame.currentNamespace}var gb=!0;function yu(){return gb}function _u(e){gb=e}function CG(e,t,a){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(n){let o=X0(t);(a.preOrderHooks??(a.preOrderHooks=[])).push(e,o),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,o)}i&&(a.preOrderHooks??(a.preOrderHooks=[])).push(0-e,i),r&&((a.preOrderHooks??(a.preOrderHooks=[])).push(e,r),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,r))}function ep(e,t){for(let a=t.directiveStart,n=t.directiveEnd;a<n;a++){let i=e.data[a].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=i;r&&(e.contentHooks??(e.contentHooks=[])).push(-a,r),o&&((e.contentHooks??(e.contentHooks=[])).push(a,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(a,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-a,l),u&&((e.viewHooks??(e.viewHooks=[])).push(a,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(a,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(a,c)}}function sl(e,t,a){vb(e,t,3,a)}function ll(e,t,a,n){(e[fe]&3)===a&&vb(e,t,a,n)}function rc(e,t){let a=e[fe];(a&3)===t&&(a&=16383,a+=1,e[fe]=a)}function vb(e,t,a,n){let i=n!==void 0?e[dr]&65535:0,r=n??-1,o=t.length-1,l=0;for(let u=i;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[dr]+=65536),(l<r||r==-1)&&(DG(e,a,t,u),e[dr]=(e[dr]&4294901760)+u+2),u++}function Qm(e,t){let a=De(null);try{t.call(e)}finally{De(a)}}function DG(e,t,a,n){let i=a[n]<0,r=a[n+1],o=i?-a[n]:a[n],l=e[o];i?e[fe]>>14<e[dr]>>16&&(e[fe]&3)===t&&(e[fe]+=16384,Qm(l,r)):Qm(l,r)}var yr=-1,us=class{constructor(e,t,a){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=a}};function IG(e){return(e.flags&8)!==0}function TG(e){return(e.flags&16)!==0}function RG(e,t,a){let n=0;for(;n<a.length;){let i=a[n];if(typeof i=="number"){if(i!==0)break;n++;let r=a[n++],o=a[n++],l=a[n++];e.setAttribute(t,o,l,r)}else{let r=i,o=a[++n];OG(r)?e.setProperty(t,r,o):e.setAttribute(t,r,o),n++}}return n}function bb(e){return e===3||e===4||e===6}function OG(e){return e.charCodeAt(0)===64}function Or(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let a=-1;for(let n=0;n<t.length;n++){let i=t[n];typeof i=="number"?a=i:a===0||(a===-1||a===2?Xm(e,a,i,null,t[++n]):Xm(e,a,i,null,null))}}return e}function Xm(e,t,a,n,i){let r=0,o=e.length;if(t===-1)o=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===a){i!==null&&(e[r+1]=i);return}r++,i!==null&&r++}o!==-1&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,a),i!==null&&e.splice(r++,0,i)}function yb(e){return e!==yr}function Ol(e){return e&32767}function MG(e){return e>>16}function Ml(e,t){let a=MG(e),n=t;for(;a>0;)n=n[qr],a--;return n}var fd=!0;function Nl(e){let t=fd;return fd=e,t}var NG=256,_b=NG-1,wb=5,AG=0,la={};function PG(e,t,a){let n;typeof a=="string"?n=a.charCodeAt(0)||0:a.hasOwnProperty(wo)&&(n=a[wo]),n==null&&(n=a[wo]=AG++);let i=n&_b,r=1<<i;t.data[e+(i>>wb)]|=r}function Al(e,t){let a=xb(e,t);if(a!==-1)return a;let n=t[_e];n.firstCreatePass&&(e.injectorIndex=t.length,oc(n.data,e),oc(t,null),oc(n.blueprint,null));let i=tp(e,t),r=e.injectorIndex;if(yb(i)){let o=Ol(i),l=Ml(i,t),u=l[_e].data;for(let c=0;c<8;c++)t[r+c]=l[o+c]|u[o+c]}return t[r+8]=i,r}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 a=0,n=null,i=t;for(;i!==null;){if(n=Db(i),n===null)return yr;if(a++,i=i[qr],n.injectorIndex!==-1)return n.injectorIndex|a<<16}return yr}function gd(e,t,a){PG(e,t,a)}function LG(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let a=e.attrs;if(a){let n=a.length,i=0;for(;i<n;){let r=a[i];if(bb(r))break;if(r===0)i=i+2;else if(typeof r=="number")for(i++;i<n&&typeof a[i]=="string";)i++;else{if(r===t)return a[i+1];i=i+2}}}return null}function Eb(e,t,a){if(a&Re.Optional||e!==void 0)return e;Oh()}function Sb(e,t,a,n){if(a&Re.Optional&&n===void 0&&(n=null),(a&(Re.Self|Re.Host))===0){let i=e[Tr],r=mn(void 0);try{return i?i.get(t,n,a&Re.Optional):L0(t,n,a&Re.Optional)}finally{mn(r)}}return Eb(n,t,a)}function kb(e,t,a,n=Re.Default,i){if(e!==null){if(t[fe]&2048&&!(n&Re.Self)){let o=zG(e,t,a,n,la);if(o!==la)return o}let r=Cb(e,t,a,n,la);if(r!==la)return r}return Sb(t,a,n,i)}function Cb(e,t,a,n,i){let r=jG(a);if(typeof r=="function"){if(!cb(t,e,n))return n&Re.Host?Eb(i,a,n):Sb(t,a,n,i);try{let o;if(o=r(n),o==null&&!(n&Re.Optional))Oh(a);else return o}finally{mb()}}else if(typeof r=="number"){let o=null,l=xb(e,t),u=yr,c=n&Re.Host?t[Ln][yn]:null;for((l===-1||n&Re.SkipSelf)&&(u=l===-1?tp(e,t):t[l+8],u===yr||!ef(n,!1)?l=-1:(o=t[_e],l=Ol(u),t=Ml(u,t)));l!==-1;){let d=t[_e];if(Jm(r,l,d.data)){let m=FG(l,t,a,o,n,c);if(m!==la)return m}u=t[l+8],u!==yr&&ef(n,t[_e].data[l+8]===c)&&Jm(r,l,t)?(o=d,l=Ol(u),t=Ml(u,t)):l=-1}}return i}function FG(e,t,a,n,i,r){let o=t[_e],l=o.data[e+8],u=n==null?$r(l)&&fd:n!=o&&(l.type&3)!==0,c=i&Re.Host&&r===l,d=ul(l,o,a,u,c);return d!==null?Ao(t,o,d,l,i):la}function ul(e,t,a,n,i){let r=e.providerIndexes,o=t.data,l=r&1048575,u=e.directiveStart,c=e.directiveEnd,d=r>>20,m=n?l:l+d,v=i?l+d:c;for(let g=m;g<v;g++){let w=o[g];if(g<u&&a===w||g>=u&&w.type===a)return g}if(i){let g=o[u];if(g&&da(g)&&g.type===a)return u}return null}function Ao(e,t,a,n,i){let r=e[a],o=t.data;if(r instanceof us){let l=r;l.resolving&&A0(I6(o[a]));let u=Nl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?mn(l.injectImpl):null;cb(e,n,Re.Default);try{r=e[a]=l.factory(void 0,i,o,e,n),t.firstCreatePass&&a>=n.directiveStart&&CG(a,o[a],t)}finally{c!==null&&mn(c),Nl(u),l.resolving=!1,mb()}}return r}function jG(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:VG:t}function Jm(e,t,a){let n=1<<e;return!!(a[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,a){return kb(this._tNode,this._lView,e,pu(a),t)}};function VG(){return new xo(on(),de())}function nt(e){return rs(()=>{let t=e.prototype.constructor,a=t[Sl]||vd(t),n=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;){let r=i[Sl]||vd(i);if(r&&r!==a)return r;i=Object.getPrototypeOf(i)}return r=>new r})}function vd(e){return R0(e)?()=>{let t=vd(Wt(e));return t&&t()}:Fi(e)}function zG(e,t,a,n,i){let r=e,o=t;for(;r!==null&&o!==null&&o[fe]&2048&&!Tl(o);){let l=Cb(r,o,a,n|Re.Self,la);if(l!==la)return l;let u=r.parent;if(!u){let c=o[Y0];if(c){let d=c.get(a,la,n);if(d!==la)return d}u=Db(o),o=o[qr]}r=u}return i}function Db(e){let t=e[_e],a=t.type;return a===2?t.declTNode:a===1?e[yn]:null}function BG(e){return LG(on(),e)}function tf(e,t=null,a=null,n){let i=HG(e,t,a,n);return i.resolveInjectorInitializers(),i}function HG(e,t=null,a=null,n,i=new Set){let r=[a||fn,q6(e)];return n=n||(typeof e=="object"?void 0:An(e)),new Vh(r,t||mu(),n||null,i)}var aa,ht=(aa=class{static create(t,a){if(Array.isArray(t))return tf({name:""},a,t,"");{let n=t.name??"";return tf({name:n},t.parent,t.providers,n)}}},s(aa,"THROW_IF_NOT_FOUND",Pi),s(aa,"NULL",new H0),s(aa,"ɵprov",z({token:aa,providedIn:"any",factory:()=>oe(z0)})),s(aa,"__NG_ELEMENT_ID__",-1),aa),np=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>BG(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},qG=new K("");qG.__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,mi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",$G),s(e,"__NG_ENV_ID__",a=>a),e})(),Tb=class extends mi{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let a=this._lView;return Gr(a)?(t(),()=>{}):(ib(a,t),()=>lG(a,t))}};function $G(){return new Tb(de())}var Wr=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 Ai(!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})(),GG=class extends ve{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Z0()&&(this.destroyRef=S(mi,{optional:!0})??void 0,this.pendingTasks=S(cs,{optional:!0})??void 0)}emit(t){let a=De(null);try{super.next(t)}finally{De(a)}}subscribe(t,a,n){var u,c,d;let i=t,r=a||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;i=(u=m.next)==null?void 0:u.bind(m),r=(c=m.error)==null?void 0:c.bind(m),o=(d=m.complete)==null?void 0:d.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),i&&(i=this.wrapInTimeout(i)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:i,error:r,complete:o});return t instanceof Kt&&t.add(l),l}wrapInTimeout(t){return a=>{var i;let n=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var r;try{t(a)}finally{n!==void 0&&((r=this.pendingTasks)==null||r.remove(n))}})}}},ot=GG;function Po(...e){}function Nb(e){let t,a;function n(){e=Po;try{a!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(()=>{e(),n()})),()=>n()}function nf(e){return queueMicrotask(()=>e()),()=>{e=Po}}var ap="isAngularZone",Pl=ap+"_ID",UG=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:a=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:r=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)),a&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.callbackScheduled=!1,o.scheduleInRootZone=r,YG(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ap)===!0}static assertInAngularZone(){if(!bd.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(bd.isInAngularZone())throw new G(909,!1)}run(t,a,n){return this._inner.run(t,a,n)}runTask(t,a,n,i){let r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,WG,Po,Po);try{return r.runTask(o,a,n)}finally{r.cancelTask(o)}}runGuarded(t,a,n){return this._inner.runGuarded(t,a,n)}runOutsideAngular(t){return this._outer.run(t)}},WG={};function ip(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 ZG(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Nb(()=>{e.callbackScheduled=!1,yd(e),e.isCheckStableRunning=!0,ip(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),yd(e)}function YG(e){let t=()=>{ZG(e)},a=UG++;e._inner=e._inner.fork({name:"angular",properties:{[ap]:!0,[Pl]:a,[Pl+a]:!0},onInvokeTask:(n,i,r,o,l,u)=>{if(QG(u))return n.invokeTask(r,o,l,u);try{return af(e),n.invokeTask(r,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rf(e)}},onInvoke:(n,i,r,o,l,u,c)=>{try{return af(e),n.invoke(r,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!XG(u)&&t(),rf(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,yd(e),ip(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,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 af(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function rf(e){e._nesting--,ip(e)}var KG=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,a){return e.apply(t,a)}runGuarded(e,t,a){return e.apply(t,a)}runOutsideAngular(e){return e()}runTask(e,t,a,n){return e.apply(t,a)}};function QG(e){return Ab(e,"__ignore_ng_zone__")}function XG(e){return Ab(e,"__scheduler_tick__")}function Ab(e,t){var a,n;return!Array.isArray(e)||e.length!==1?!1:((n=(a=e[0])==null?void 0:a.data)==null?void 0:n[t])===!0}var Yn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},JG=new K("",{providedIn:"root",factory:()=>{let e=S(He),t=S(Yn);return a=>e.runOutsideAngular(()=>t.handleError(a))}}),Pb=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",S(Yn,{optional:!0}));s(this,"destroyRef",S(mi));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 a,n;let t=(a=this.listeners)==null?void 0:a.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var a;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(i){(a=this.errorHandler)==null||a.handleError(i)}}finally{De(t)}}};function Ll(e){return new Pb}function of(e,t){return D0(e,t)}function eU(e){return D0(hu,e)}var ze=(of.required=eU,of);function tU(){return Zr(on(),de())}function Zr(e,t){return new Xe(fa(e,t))}var Xe=(()=>{class e{constructor(a){s(this,"nativeElement");this.nativeElement=a}}return s(e,"__NG_ELEMENT_ID__",tU),e})();function nU(e){return e instanceof Xe?e.nativeElement:e}function aU(e){return typeof e=="function"&&e[gn]!==void 0}function wu(e,t){let a=g$(e),n=a[gn];return a.set=i=>as(n,i),a.update=i=>$v(n,i),a.asReadonly=rp.bind(a),a}function rp(){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 aU(e)&&typeof e.set=="function"}function iU(){return this._results[Symbol.iterator]()}var kv,rU=(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,iU);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 a=j6(e);(this._changesDetected=!F6(this._results,a,t))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[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,oU=0;function sU(){return oU++}function lU(e){Vb.set(e[gu],e)}function _d(e){Vb.delete(e[gu])}var sf="__ngContext__";function Yr(e,t){ui(t)?(e[sf]=t[gu],lU(t)):e[sf]=t}function zb(e){return Hb(e[No])}function Bb(e){return Hb(e[Wn])}function Hb(e){for(;e!==null&&!Ba(e);)e=e[Wn];return e}var wd;function uU(e){wd=e}function cU(){if(wd!==void 0)return wd;if(typeof document<"u")return document;throw new G(210,!1)}var xu=new K("",{providedIn:"root",factory:()=>dU}),dU="ng",qb=new K(""),Eu=new K("",{providedIn:"platform",factory:()=>"unknown"}),fi=new K(""),op=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=cU().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),$b=!1,hU=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 Zi(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(a,n){s(this,"view");s(this,"node");this.view=a,this.node=n}}return s(e,"__NG_ELEMENT_ID__",pU),e})();function pU(){return new lp(de(),on())}var hr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(hr||{}),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})(),mU=[hr.EarlyRead,hr.Write,hr.MixedReadWrite,hr.Read],fU=(()=>{const t=class t{constructor(){s(this,"ngZone",S(He));s(this,"scheduler",S(Wr));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 i of mU)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:i}=n;i!==void 0?((i[li]??(i[li]=[])).push(n),Ur(i),i[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,i){return i?i.run(sp.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),gU=class{constructor(e,t,a,n,i,r=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=a,this.once=n,this.snapshot=r,this.unregisterOnDestroy=i==null?void 0:i.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,a;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(a=this.view)==null?void 0:a[li];e&&(this.view[li]=e.filter(n=>n!==this))}};function Ub(e,t){!(t!=null&&t.injector)&&fu();let a=(t==null?void 0:t.injector)??S(ht);return Zi("NgAfterRender"),Wb(e,a,t,!1)}function Su(e,t){!(t!=null&&t.injector)&&fu();let a=(t==null?void 0:t.injector)??S(ht);return Zi("NgAfterNextRender"),Wb(e,a,t,!0)}function vU(e,t){if(e instanceof Function){let a=[void 0,void 0,void 0,void 0];return a[t]=e,a}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Wb(e,t,a,n){let i=t.get(Gb);i.impl??(i.impl=t.get(fU));let r=t.get(ds,null,{optional:!0}),o=(a==null?void 0:a.phase)??hr.MixedReadWrite,l=(a==null?void 0:a.manualCleanup)!==!0?t.get(mi):null,u=t.get(lp,null,{optional:!0}),c=new gU(i.impl,vU(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return i.impl.register(c),c}var bU=()=>null;function Zb(e,t,a=!1){return bU()}function Yb(e,t){let a=e.contentQueries;if(a!==null){let n=De(null);try{for(let i=0;i<a.length;i+=2){let r=a[i],o=a[i+1];if(o!==-1){let l=e.data[o];Qh(r),l.contentQueries(2,t[o],o)}}}finally{De(n)}}}function xd(e,t,a){Qh(0);let n=De(null);try{t(e,a)}finally{De(n)}}function up(e,t,a){if(Bh(t)){let n=De(null);try{let i=t.directiveStart,r=t.directiveEnd;for(let o=i;o<r;o++){let l=e.data[o];if(l.contentQueries){let u=a[o];l.contentQueries(1,u,o)}}}finally{De(n)}}}var Aa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Aa||{}),Ns;function yU(){if(Ns===void 0&&(Ns=null,ur.trustedTypes))try{Ns=ur.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ns}function ku(e){var t;return((t=yU())==null?void 0:t.createHTML(e))||e}var Yi=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${S0})`}},_U=class extends Yi{getTypeName(){return"HTML"}},wU=class extends Yi{getTypeName(){return"Style"}},xU=class extends Yi{getTypeName(){return"Script"}},EU=class extends Yi{getTypeName(){return"URL"}},SU=class extends Yi{getTypeName(){return"ResourceURL"}};function Xa(e){return e instanceof Yi?e.changingThisBreaksApplicationSecurity:e}function rr(e,t){let a=kU(e);if(a!=null&&a!==t){if(a==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${a} (see ${S0})`)}return a===t}function kU(e){return e instanceof Yi&&e.getTypeName()||null}function CU(e){return new _U(e)}function DU(e){return new wU(e)}function IU(e){return new xU(e)}function TU(e){return new EU(e)}function RU(e){return new SU(e)}function OU(e){let t=new NU(e);return AU()?new MU(t):t}var MU=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let a=new window.DOMParser().parseFromString(ku(e),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(e):((t=a.firstChild)==null||t.remove(),a)}catch{return null}}},NU=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 AU(){try{return!!new window.DOMParser().parseFromString(ku(""),"text/html")}catch{return!1}}var PU=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cp(e){return e=String(e),e.match(PU)?e:"unsafe:"+e}function Ha(e){let t={};for(let a of e.split(","))t[a]=!0;return t}function hs(...e){let t={};for(let a of e)for(let n in a)a.hasOwnProperty(n)&&(t[n]=!0);return t}var Kb=Ha("area,br,col,hr,img,wbr"),Qb=Ha("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xb=Ha("rp,rt"),LU=hs(Xb,Qb),FU=hs(Qb,Ha("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")),jU=hs(Xb,Ha("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,FU,jU,LU),Jb=Ha("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VU=Ha("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"),zU=Ha("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"),BU=hs(Jb,VU,zU),HU=Ha("script,style,template"),qU=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,a=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?a=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,a&&t.firstChild){n.push(t),t=UU(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=GU(t);if(i){t=i;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=cf(e).toLowerCase();if(!uf.hasOwnProperty(t))return this.sanitizedSomething=!0,!HU.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let a=e.attributes;for(let n=0;n<a.length;n++){let i=a.item(n),r=i.name,o=r.toLowerCase();if(!BU.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=i.value;Jb[o]&&(l=cp(l)),this.buf.push(" ",r,'="',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 $U(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function GU(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ey(t);return t}function UU(e){let t=e.firstChild;if(t&&$U(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 WU=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ZU=/([^\#-~ |!])/g;function df(e){return e.replace(/&/g,"&amp;").replace(WU,function(t){let a=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((a-55296)*1024+(n-56320)+65536)+";"}).replace(ZU,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var As;function YU(e,t){let a=null;try{As=As||OU(e);let n=t?String(t):"";a=As.getInertBodyElement(n);let i=5,r=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=r,r=a.innerHTML,a=As.getInertBodyElement(n)}while(n!==r);let o=new qU().sanitizeChildren(hf(a)||a);return ku(o)}finally{if(a){let n=hf(a)||a;for(;n.firstChild;)n.firstChild.remove()}}}function hf(e){return"content"in e&&KU(e)?e.content:null}function KU(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var QU=/^>|^->|<!--|-->|--!>|<!-$/g,XU=/(<|>)/g,JU="​$1​";function e8(e){return e.replace(QU,t=>t.replace(XU,JU))}function t8(e,t){return e.createText(t)}function n8(e,t,a){e.setValue(t,a)}function a8(e,t){return e.createComment(e8(t))}function ty(e,t,a){return e.createElement(t,a)}function Fl(e,t,a,n,i){e.insertBefore(t,a,n,i)}function ny(e,t,a){e.appendChild(t,a)}function pf(e,t,a,n,i){n!==null?Fl(e,t,a,n,i):ny(e,t,a)}function i8(e,t,a){e.removeChild(null,t,a)}function r8(e,t,a){e.setAttribute(t,"style",a)}function o8(e,t,a){a===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",a)}function ay(e,t,a){let{mergedAttrs:n,classes:i,styles:r}=a;n!==null&&RG(e,t,n),i!==null&&o8(e,t,i),r!==null&&r8(e,t,r)}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 iy(e){let t=s8();return t?t.sanitize(xn.URL,e)||"":rr(e,"URL")?Xa(e):cp(kr(e))}function s8(){let e=de();return e&&e[Va].sanitizer}function l8(e,t,a){let n=e.length;for(;;){let i=e.indexOf(t,a);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let r=t.length;if(i+r===n||e.charCodeAt(i+r)<=32)return i}a=i+1}}var ry="ng-template";function u8(e,t,a,n){let i=0;if(n){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&l8(t[i+1].toLowerCase(),a,0)!==-1)return!0}else if(dp(e))return!1;if(i=t.indexOf(1,i),i>-1){let r;for(;++i<t.length&&typeof(r=t[i])=="string";)if(r.toLowerCase()===a)return!0}return!1}function dp(e){return e.type===4&&e.value!==ry}function c8(e,t,a){let n=e.type===4&&!a?ry:e.value;return t===n}function d8(e,t,a){let n=4,i=e.attrs,r=i!==null?m8(i):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!==""&&!c8(e,u,a)||u===""&&t.length===1){if(qn(n))return!1;o=!0}}else if(n&8){if(i===null||!u8(e,i,u,a)){if(qn(n))return!1;o=!0}}else{let c=t[++l],d=h8(u,i,dp(e),a);if(d===-1){if(qn(n))return!1;o=!0;continue}if(c!==""){let m;if(d>r?m="":m=i[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 h8(e,t,a,n){if(t===null)return-1;let i=0;if(n||!a){let r=!1;for(;i<t.length;){let o=t[i];if(o===e)return i;if(o===3||o===6)r=!0;else if(o===1||o===2){let l=t[++i];for(;typeof l=="string";)l=t[++i];continue}else{if(o===4)break;if(o===0){i+=4;continue}}i+=r?1:2}return-1}else return f8(t,e)}function oy(e,t,a=!1){for(let n=0;n<t.length;n++)if(d8(e,t[n],a))return!0;return!1}function p8(e){let t=e.attrs;if(t!=null){let a=t.indexOf(5);if(!(a&1))return t[a+1]}return null}function m8(e){for(let t=0;t<e.length;t++){let a=e[t];if(bb(a))return t}return e.length}function f8(e,t){let a=e.indexOf(4);if(a>-1)for(a++;a<e.length;){let n=e[a];if(typeof n=="number")return-1;if(n===t)return a;a++}return-1}function g8(e,t){e:for(let a=0;a<t.length;a++){let n=t[a];if(e.length===n.length){for(let i=0;i<e.length;i++)if(e[i]!==n[i])continue e;return!0}}return!1}function mf(e,t){return e?":not("+t.trim()+")":t}function v8(e){let t=e[0],a=1,n=2,i="",r=!1;for(;a<e.length;){let o=e[a];if(typeof o=="string")if(n&2){let l=e[++a];i+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?i+="."+o:n&4&&(i+=" "+o);else i!==""&&!qn(o)&&(t+=mf(r,i),i=""),n=o,r=r||!qn(n);a++}return i!==""&&(t+=mf(r,i)),t}function b8(e){return e.map(v8).join(",")}function y8(e){let t=[],a=[],n=1,i=2;for(;n<e.length;){let r=e[n];if(typeof r=="string")i===2?r!==""&&t.push(r,e[++n]):i===8&&a.push(r);else{if(!qn(i))break;i=r}n++}return a.length&&t.push(1,...a),t}var In={};function hp(e,t,a,n,i,r,o,l,u,c,d){let m=yt+n,v=m+i,g=_8(m,v),w=typeof c=="function"?c():c;return g[_e]={type:e,blueprint:g,template:a,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 r=="function"?r():r,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function _8(e,t){let a=[];for(let n=0;n<t;n++)a.push(n<e?null:In);return a}function w8(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,a,n,i,r,o,l,u,c,d){let m=t.blueprint.slice();return m[za]=i,m[fe]=n|4|128|8|64|1024,(c!==null||e&&e[fe]&2048)&&(m[fe]|=2048),ab(m),m[an]=m[qr]=e,m[qt]=a,m[Va]=o||e&&e[Va],m[vt]=l||e&&e[vt],m[Tr]=u||e&&e[Tr]||null,m[yn]=r,m[gu]=sU(),m[Ir]=d,m[Y0]=c,m[Ln]=t.type==2?e[Ln]:m,m}function x8(e,t,a){let n=fa(t,e),i=w8(a),r=e[Va].rendererFactory,o=mp(e,pp(e,i,null,sy(a),n,t,null,r.createRenderer(n,a),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,a,n){if(a===0)return-1;let i=t.length;for(let r=0;r<a;r++)t.push(n),e.blueprint.push(n),e.data.push(null);return i}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(),ga()+e)}function uy(e,t,a,n){if((t[fe]&3)===3){let i=e.preOrderCheckHooks;i!==null&&sl(t,i,a)}else{let i=e.preOrderHooks;i!==null&&ll(t,i,0,a)}qi(a)}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,a,n){let i=De(null);try{let[r,o,l]=e.inputs[a],u=null;o&Cu.SignalBased&&(u=t[r][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,a,r):Q0(t,u,r,n)}finally{De(i)}}function cy(e,t,a,n,i){let r=ga(),o=n&2;try{qi(-1),o&&t.length>yt&&uy(e,t,yt,!1),zi(o?2:0,i),a(n,i)}finally{qi(r)}}function Du(e,t,a){C8(e,t,a),(a.flags&64)===64&&D8(e,t,a)}function fp(e,t,a=fa){let n=t.localNames;if(n!==null){let i=t.index+1;for(let r=0;r<n.length;r+=2){let o=n[r+1],l=o===-1?a(t,e):e[o];e[i++]=l}}}function E8(e,t,a,n){let i=n.get(hU,$b)||a===Aa.ShadowDom;return e.selectRootElement(t,i)}function S8(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,a,n,i,r,o,l){if(!l&&bp(t,e,a,n,i)){$r(t)&&k8(a,t.index);return}if(t.type&3){let u=fa(t,a);n=S8(n),i=o!=null?o(i,t.value||"",n):i,r.setProperty(u,n,i)}else t.type&12}function k8(e,t){let a=pa(t,e);a[fe]&16||(a[fe]|=64)}function C8(e,t,a){let n=a.directiveStart,i=a.directiveEnd;$r(a)&&x8(t,a,e.data[n+a.componentOffset]),e.firstCreatePass||Al(a,t);let r=a.initialInputs;for(let o=n;o<i;o++){let l=e.data[o],u=Ao(t,e,o,a);if(Yr(u,t),r!==null&&O8(t,o-n,u,l,a,r),da(l)){let c=pa(a.index,t);c[qt]=Ao(t,e,o,a)}}}function D8(e,t,a){let n=a.directiveStart,i=a.directiveEnd,r=a.index,o=wG();try{qi(r);for(let l=n;l<i;l++){let u=e.data[l],c=t[l];md(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&I8(u,c)}}finally{qi(-1),md(o)}}function I8(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function vp(e,t){let a=e.directiveRegistry,n=null;if(a)for(let i=0;i<a.length;i++){let r=a[i];oy(t,r.selectors,!1)&&(n??(n=[]),da(r)?n.unshift(r):n.push(r))}return n}function T8(e,t,a,n,i,r){let o=fa(e,t);R8(t[vt],o,r,e.value,a,n,i)}function R8(e,t,a,n,i,r,o){if(r==null)e.removeAttribute(t,i,a);else{let l=o==null?kr(r):o(r,n||"",i);e.setAttribute(t,i,l,a)}}function O8(e,t,a,n,i,r){let o=r[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];Ed(n,a,u,c)}}function M8(e,t){let a=e[Tr],n=a?a.get(Yn,null):null;n&&n.handleError(t)}function bp(e,t,a,n,i){var u,c;let r=(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,a[m],v,i),l=!0}if(r)for(let d of r){let m=a[d],v=t.data[d];Ed(v,m,n,i),l=!0}return l}function N8(e,t){let a=pa(t,e),n=a[_e];A8(n,a);let i=a[za];i!==null&&a[Ir]===null&&(a[Ir]=Zb(i,a[Tr])),yp(n,a,a[qt]),zi(19,a[qt])}function A8(e,t){for(let a=t.length;a<e.blueprint.length;a++)t.push(e.blueprint[a])}function yp(e,t,a){var n;Xh(t);try{let i=e.viewQuery;i!==null&&xd(1,i,a);let r=e.template;r!==null&&cy(e,t,r,1,a),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Zn])==null||n.finishViewCreation(e),e.staticContentQueries&&Yb(e,t),e.staticViewQueries&&xd(2,e.viewQuery,a);let o=e.components;o!==null&&P8(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[fe]&=-5,Jh()}}function P8(e,t){for(let a=0;a<t.length;a++)N8(e,t[a])}function ps(e,t,a,n){let i=De(null);try{let r=t.tView,o=e[fe]&4096?4096:16,l=pp(e,r,a,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[ji]=u;let c=e[Zn];return c!==null&&(l[Zn]=c.createEmbeddedView(r)),yp(r,l,a),l}finally{De(i)}}function Mr(e,t){return!t||t.firstChild===null||Fb(e)}var L8;function _p(e,t){return L8(e,t)}var ti=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ti||{});function wp(e){return(e.flags&32)===32}function pr(e,t,a,n,i){if(n!=null){let r,o=!1;Ba(n)?r=n:ui(n)&&(o=!0,n=n[za]);let l=ha(n);e===0&&a!==null?i==null?ny(t,a,l):Fl(t,a,l,i||null,!0):e===1&&a!==null?Fl(t,a,l,i||null,!0):e===2?i8(t,l,o):e===3&&t.destroyNode(l),r!=null&&U8(t,e,r,a,i)}}function F8(e,t){dy(e,t),t[za]=null,t[yn]=null}function j8(e,t,a,n,i,r){n[za]=i,n[yn]=t,Ru(e,n,a,1,i,r)}function dy(e,t){var a;(a=t[Va].changeDetectionScheduler)==null||a.notify(9),Ru(e,t,t[vt],2,null,null)}function V8(e){let t=e[No];if(!t)return sc(e[_e],e);for(;t;){let a=null;if(ui(t))a=t[No];else{let n=t[nn];n&&(a=n)}if(!a){for(;t&&!t[Wn]&&t!==e;)ui(t)&&sc(t[_e],t),t=t[an];t===null&&(t=e),ui(t)&&sc(t[_e],t),a=t&&t[Wn]}t=a}}function xp(e,t){let a=e[Rr],n=a.indexOf(t);a.splice(n,1)}function Iu(e,t){if(Gr(t))return;let a=t[vt];a.destroyNode&&Ru(e,t,a,3,null,null),V8(t)}function sc(e,t){if(Gr(t))return;let a=De(null);try{t[fe]&=-129,t[fe]|=256,t[Pn]&&lu(t[Pn]),B8(e,t),z8(e,t),t[_e].type===1&&t[vt].destroy();let n=t[ji];if(n!==null&&Ba(t[an])){n!==t[an]&&xp(n,t);let i=t[Zn];i!==null&&i.detachView(e)}_d(t)}finally{De(a)}}function z8(e,t){let a=e.cleanup,n=t[br];if(a!==null)for(let o=0;o<a.length-1;o+=2)if(typeof a[o]=="string"){let l=a[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[a[o+1]];a[o].call(l)}n!==null&&(t[br]=null);let i=t[si];if(i!==null){t[si]=null;for(let o=0;o<i.length;o++){let l=i[o];l()}}let r=t[Na];if(r!==null){t[Na]=null;for(let o of r)o.destroy()}}function B8(e,t){let a;if(e!=null&&(a=e.destroyHooks)!=null)for(let n=0;n<a.length;n+=2){let i=t[a[n]];if(!(i instanceof us)){let r=a[n+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){let l=i[r[o]],u=r[o+1];try{u.call(l)}finally{}}else try{r.call(i)}finally{}}}}function hy(e,t,a){return H8(e,t.parent,a)}function H8(e,t,a){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return a[za];if($r(n)){let{encapsulation:i}=e.data[n.directiveStart+n.componentOffset];if(i===Aa.None||i===Aa.Emulated)return null}return fa(n,a)}function py(e,t,a){return $8(e,t,a)}function q8(e,t,a){return e.type&40?fa(e,a):null}var $8=q8;function Tu(e,t,a,n){let i=hy(e,n,t),r=t[vt],o=n.parent||t[yn],l=py(o,n,t);if(i!=null)if(Array.isArray(a))for(let u=0;u<a.length;u++)pf(r,i,a[u],l,!1);else pf(r,i,a,l,!1)}function vo(e,t){if(t!==null){let a=t.type;if(a&3)return fa(t,e);if(a&4)return Sd(-1,e[t.index]);if(a&8){let n=t.child;if(n!==null)return vo(e,n);{let i=e[t.index];return Ba(i)?Sd(-1,i):ha(i)}}else{if(a&128)return vo(e,t.next);if(a&32)return _p(t,e)()||ha(e[t.index]);{let n=my(e,t);if(n!==null){if(Array.isArray(n))return n[0];let i=Hi(e[Ln]);return vo(i,n)}else return vo(e,t.next)}}}return null}function my(e,t){if(t!==null){let a=e[Ln][yn],n=t.projection;return a.projection[n]}return null}function Sd(e,t){let a=nn+e+1;if(a<t.length){let n=t[a],i=n[_e].firstChild;if(i!==null)return vo(n,i)}return t[Vi]}function Ep(e,t,a,n,i,r,o){for(;a!=null;){if(a.type===128){a=a.next;continue}let l=n[a.index],u=a.type;if(o&&t===0&&(l&&Yr(ha(l),n),a.flags|=2),!wp(a))if(u&8)Ep(e,t,a.child,n,i,r,!1),pr(t,e,i,l,r);else if(u&32){let c=_p(a,n),d;for(;d=c();)pr(t,e,i,d,r);pr(t,e,i,l,r)}else u&16?fy(e,t,n,a,i,r):pr(t,e,i,l,r);a=o?a.projectionNext:a.next}}function Ru(e,t,a,n,i,r){Ep(a,n,e.firstChild,t,i,r,!1)}function G8(e,t,a){let n=t[vt],i=hy(e,a,t),r=a.parent||t[yn],o=py(r,a,t);fy(n,0,t,a,i,o)}function fy(e,t,a,n,i,r){let o=a[Ln],l=o[yn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];pr(t,e,i,c,r)}else{let u=l,c=o[an];Fb(n)&&(u.flags|=128),Ep(e,t,u,c,i,r,!0)}}function U8(e,t,a,n,i){let r=a[Vi],o=ha(a);r!==o&&pr(t,e,n,r,i);for(let l=nn;l<a.length;l++){let u=a[l];Ru(u[_e],u,e,t,n,r)}}function W8(e,t,a,n,i){if(t)i?e.addClass(a,n):e.removeClass(a,n);else{let r=n.indexOf("-")===-1?void 0:ti.DashCase;i==null?e.removeStyle(a,n,r):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),r|=ti.Important),e.setStyle(a,n,i,r))}}function jl(e,t,a,n,i=!1){for(;a!==null;){if(a.type===128){a=i?a.projectionNext:a.next;continue}let r=t[a.index];r!==null&&n.push(ha(r)),Ba(r)&&Z8(r,n);let o=a.type;if(o&8)jl(e,t,a.child,n);else if(o&32){let l=_p(a,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=my(t,a);if(Array.isArray(l))n.push(...l);else{let u=Hi(t[Ln]);jl(u[_e],u,l,n,!0)}}a=i?a.projectionNext:a.next}return n}function Z8(e,t){for(let a=nn;a<e.length;a++){let n=e[a],i=n[_e].firstChild;i!==null&&jl(n[_e],n,i,t)}e[Vi]!==e[za]&&t.push(e[Vi])}function gy(e){if(e[li]!==null){for(let t of e[li])t.impl.addSequence(t);e[li].length=0}}var vy=[];function Y8(e){return e[Pn]??K8(e)}function K8(e){let t=vy.pop()??Object.create(X8);return t.lView=e,t}function Q8(e){e.lView[Pn]!==e&&(e.lView=null,vy.push(e))}var X8=Qt(ce({},Br),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ur(e.lView)},consumerOnSignalRead(){this.lView[Pn]=this}});function J8(e){let t=e[Pn]??Object.create(eW);return t.lView=e,t}var eW=Qt(ce({},Br),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Hi(e.lView);for(;t&&!by(t[_e]);)t=Hi(t);t&&Gh(t)},consumerOnSignalRead(){this.lView[Pn]=this}});function by(e){return e.type!==2}function yy(e){if(e[Na]===null)return;let t=!0;for(;t;){let a=!1;for(let n of e[Na])n.dirty&&(a=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=a&&!!(e[fe]&8192)}}var tW=100;function _y(e,t=!0,a=0){var i,r;let n=e[Va].rendererFactory;(i=n.begin)==null||i.call(n);try{nW(e,a)}catch(o){throw t&&M8(e,o),o}finally{(r=n.end)==null||r.call(n)}}function nW(e,t){let a=lb();try{Rl(!0),kd(e,t);let n=0;for(;ls(e);){if(n===tW)throw new G(103,!1);n++,kd(e,1)}}finally{Rl(a)}}function aW(e,t,a,n){if(Gr(t))return;let i=t[fe],r=!1,o=!1;Xh(t);let l=!0,u=null,c=null;by(e)?(c=Y8(t),u=Io(c)):u$()===null?(l=!1,c=J8(t),u=Io(c)):t[Pn]&&(lu(t[Pn]),t[Pn]=null);try{ab(t),bG(e.bindingStartIndex),a!==null&&cy(e,t,a,2,n);let d=(i&3)===3;if(!r)if(d){let g=e.preOrderCheckHooks;g!==null&&sl(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ll(t,g,0,null),rc(t,0)}if(o||iW(t),yy(t),wy(t,0),e.contentQueries!==null&&Yb(e,t),!r)if(d){let g=e.contentCheckHooks;g!==null&&sl(t,g)}else{let g=e.contentHooks;g!==null&&ll(t,g,1),rc(t,1)}oW(e,t);let m=e.components;m!==null&&Ey(t,m,0);let v=e.viewQuery;if(v!==null&&xd(2,v,n),!r)if(d){let g=e.viewCheckHooks;g!==null&&sl(t,g)}else{let g=e.viewHooks;g!==null&&ll(t,g,2),rc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ic]){for(let g of t[ic])g();t[ic]=null}r||(gy(t),t[fe]&=-73)}catch(d){throw Ur(t),d}finally{c!==null&&(su(c,u),l&&Q8(c)),Jh()}}function wy(e,t){for(let a=zb(e);a!==null;a=Bb(a))for(let n=nn;n<a.length;n++){let i=a[n];xy(i,t)}}function iW(e){for(let t=zb(e);t!==null;t=Bb(t)){if(!(t[fe]&2))continue;let a=t[Rr];for(let n=0;n<a.length;n++){let i=a[n];Gh(i)}}}function rW(e,t,a){let n=pa(t,e);xy(n,a),zi(19,n[qt])}function xy(e,t){$h(e)&&kd(e,t)}function kd(e,t){let a=e[_e],n=e[fe],i=e[Pn],r=!!(t===0&&n&16);if(r||(r=!!(n&64&&t===0)),r||(r=!!(n&1024)),r||(r=!!(i!=null&&i.dirty&&_h(i))),r||(r=!1),i&&(i.dirty=!1),e[fe]&=-9217,r)aW(a,e,a.template,e[qt]);else if(n&8192){yy(e),wy(e,1);let o=a.components;o!==null&&Ey(e,o,1),gy(e)}}function Ey(e,t,a){for(let n=0;n<t.length;n++)rW(e,t[n],a)}function oW(e,t){let a=e.hostBindingOpCodes;if(a!==null)try{for(let n=0;n<a.length;n++){let i=a[n];if(i<0)qi(~i);else{let r=i,o=a[++n],l=a[++n];_G(o,r);let u=t[r];zi(24,u),l(2,u),zi(25,u)}}}finally{qi(-1)}}function Sp(e,t){var n;let a=lb()?64:1088;for((n=e[Va].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[fe]|=a;let i=Hi(e);if(Tl(e)&&!i)return e;e=i}return null}function Sy(e,t,a,n){return[e,!0,0,t,null,n,null,a,null,null]}function ky(e,t){let a=nn+t;if(a<e.length)return e[a]}function ms(e,t,a,n=!0){let i=t[_e];if(sW(i,t,e,a),n){let o=Sd(a,e),l=t[vt],u=l.parentNode(e[Vi]);u!==null&&j8(i,e[yn],l,t,u,o)}let r=t[Ir];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function Cy(e,t){let a=Lo(e,t);return a!==void 0&&Iu(a[_e],a),a}function Lo(e,t){if(e.length<=nn)return;let a=nn+t,n=e[a];if(n){let i=n[ji];i!==null&&i!==e&&xp(i,n),t>0&&(e[a-1][Wn]=n[Wn]);let r=Cl(e,nn+t);F8(n[_e],n);let o=r[Zn];o!==null&&o.detachView(r[_e]),n[an]=null,n[Wn]=null,n[fe]&=-129}return n}function sW(e,t,a,n){let i=nn+n,r=a.length;n>0&&(a[i-1][Wn]=t),n<r-nn?(t[Wn]=a[i],V0(a,nn+n,t)):(a.push(t),t[Wn]=null),t[an]=a;let o=t[ji];o!==null&&a!==o&&Dy(o,t);let l=t[Zn];l!==null&&l.insertView(e),hd(t),t[fe]|=128}function Dy(e,t){let a=e[Rr],n=t[an];if(ui(n))e[fe]|=2;else{let i=n[an][Ln];t[Ln]!==i&&(e[fe]|=2)}a===null?e[Rr]=[t]:a.push(t)}var Fo=class{constructor(e,t,a=!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=a}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 Gr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[an];if(Ba(e)){let t=e[Il],a=t?t.indexOf(this):-1;a>-1&&(Lo(e,a),Cl(t,a))}this._attachedToViewContainer=!1}Iu(this._lView[_e],this._lView)}onDestroy(e){ib(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[ji];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),a=this._lView[ji];a!==null&&!t&&Dy(a,this._lView),hd(this._lView)}};function lW(e){return ls(e._lView)||!!(e._lView[fe]&64)}function uW(e){Gh(e._cdRefInjectingView||e._lView)}var rn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",hW),e})(),cW=rn,dW=class extends cW{constructor(t,a,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=a,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,a){return this.createEmbeddedViewImpl(t,a)}createEmbeddedViewImpl(t,a,n){let i=ps(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:a,dehydratedView:n});return new Fo(i)}};function hW(){return Ou(on(),de())}function Ou(e,t){return e.type&4?new dW(t,e,Zr(e,t)):null}function Kr(e,t,a,n,i){let r=e.data[t];if(r===null)r=pW(e,t,a,n,i),yG()&&(r.flags|=32);else if(r.type&64){r.type=a,r.value=n,r.attrs=i;let o=gG();r.injectorIndex=o===null?-1:o.injectorIndex}return pi(r,!0),r}function pW(e,t,a,n,i){let r=ob(),o=Zh(),l=o?r:r&&r.parent,u=e.data[t]=fW(e,l,a,t,n,i);return mW(e,u,r,o),u}function mW(e,t,a,n){e.firstChild===null&&(e.firstChild=t),a!==null&&(n?a.child==null&&t.parent!==null&&(a.child=t):a.next===null&&(a.next=t,t.prev=a))}function fW(e,t,a,n,i,r){let o=t?t.injectorIndex:-1,l=0;return rb()&&(l|=128),{type:a,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,attrs:r,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 gW=()=>null;function Nr(e,t){return gW()}var vW=class{},Iy=class{},bW=class{resolveComponentFactory(e){throw Error(`No component factory found for ${An(e)}.`)}},Xc,fs=(Xc=class{},s(Xc,"NULL",new bW),Xc),Kn=class{},Ki=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>yW()),e})();function yW(){let e=de(),t=on(),a=pa(t.index,e);return(ui(a)?a:e)[vt]}var _W=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),lc={},wW=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,a){a=pu(a);let n=this.injector.get(e,lc,a);return n!==lc||t===lc?n:this.parentInjector.get(e,t,a)}};function Cd(e,t,a){let n=a?e.styles:null,i=a?e.classes:null,r=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")r=l;else if(r==1)i=rd(i,l);else if(r==2){let u=l,c=t[++o];n=rd(n,u+": "+c+";")}}a?e.styles=n:e.stylesWithoutHost=n,a?e.classes=i:e.classesWithoutHost=i}function Zt(e,t=Re.Default){let a=de();if(a===null)return oe(e,t);let n=on();return kb(n,a,Wt(e),t)}function kp(e,t,a,n,i){let r=n===null?null:{"":-1},o=i(e,a);if(o!==null){let l,u=null,c=null,d=EW(o);d===null?l=o:[l,u,c]=d,CW(e,t,a,l,r,u,c)}r!==null&&n!==null&&xW(a,n,r)}function xW(e,t,a){let n=e.localNames=[];for(let i=0;i<t.length;i+=2){let r=a[t[i+1]];if(r==null)throw new G(-301,!1);n.push(t[i],r)}}function EW(e){let t=null,a=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&da(l)&&(t=l),l.findHostDirectiveDefs!==null){a=!0;break}}if(!a)return null;let n=null,i=null,r=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),i??(i=new Map),r??(r=new Map),SW(o,n,r,i)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,i,r]):null}function SW(e,t,a,n){let i=t.length;e.findHostDirectiveDefs(e,t,n),a.set(e,[i,t.length-1])}function kW(e,t,a){t.componentOffset=a,(e.components??(e.components=[])).push(t.index)}function CW(e,t,a,n,i,r,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&da(g)&&(u=!0,kW(e,a,v)),gd(Al(a,t),e,g.type)}MW(a,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&&(a.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(a.mergedAttrs=Or(a.mergedAttrs,g.hostAttrs),IW(e,a,t,m,g),OW(m,g,i),o!==null&&o.has(g)){let[x,k]=o.get(g);a.directiveToIndex.set(g.type,[m,x+a.directiveStart,k+a.directiveStart])}else(r===null||!r.has(g))&&a.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(a.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(a.flags|=64);let w=g.type.prototype;!c&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(a.index),c=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(a.index),d=!0),m++}DW(e,a,r)}function DW(e,t,a){for(let n=t.directiveStart;n<t.directiveEnd;n++){let i=e.data[n];if(a===null||!a.has(i))ff(0,t,i,n),ff(1,t,i,n),vf(t,n,!1);else{let r=a.get(i);gf(0,t,r,n),gf(1,t,r,n),vf(t,n,!0)}}}function ff(e,t,a,n){let i=e===0?a.inputs:a.outputs;for(let r in i)if(i.hasOwnProperty(r)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[r]??(o[r]=[]),o[r].push(n),Ty(t,r)}}function gf(e,t,a,n){let i=e===0?a.inputs:a.outputs;for(let r in i)if(i.hasOwnProperty(r)){let o=i[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,r),Ty(t,o)}}function Ty(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function vf(e,t,a){let{attrs:n,inputs:i,hostDirectiveInputs:r}=e;if(n===null||!a&&i===null||a&&r===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(!a&&i.hasOwnProperty(u)){let c=i[u];for(let d of c)if(d===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(a&&r.hasOwnProperty(u)){let c=r[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 IW(e,t,a,n,i){e.data[n]=i;let r=i.factory||(i.factory=Fi(i.type)),o=new us(r,da(i),Zt);e.blueprint[n]=o,a[n]=o,TW(e,t,n,ly(e,a,i.hostVars,In),i)}function TW(e,t,a,n,i){let r=i.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;RW(o)!=l&&o.push(l),o.push(a,n,r)}}function RW(e){let t=e.length;for(;t>0;){let a=e[--t];if(typeof a=="number"&&a<0)return a}return 0}function OW(e,t,a){if(a){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)a[t.exportAs[n]]=e;da(t)&&(a[""]=e)}}function MW(e,t,a){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+a,e.providerIndexes=t}function Ry(e,t,a,n,i,r,o,l){let u=t.consts,c=Bi(u,o),d=Kr(t,e,2,n,c);return kp(t,a,d,Bi(u,l),i),d.mergedAttrs=Or(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 NW=class extends fs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let a=Cr(t);return new Cp(a,this.ngModule)}};function AW(e){return Object.keys(e).map(t=>{let[a,n,i]=e[t],r={propName:a,templateName:t,isSignal:(n&Cu.SignalBased)!==0};return i&&(r.transform=i),r})}function PW(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function LW(e,t,a){let n=t instanceof ca?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new wW(a,n):a}function FW(e){let t=e.get(Kn,null);if(t===null)throw new G(407,!1);let a=e.get(_W,null),n=e.get(Wr,null);return{rendererFactory:t,sanitizer:a,changeDetectionScheduler:n}}function jW(e,t){let a=(e.selectors[0][0]||"div").toLowerCase();return ty(t,a,a==="svg"?tb:a==="math"?iG:null)}var Cp=class extends Iy{constructor(t,a){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=a,this.componentType=t.type,this.selector=b8(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!a}get inputs(){return this.cachedInputs??(this.cachedInputs=AW(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=PW(this.componentDef.outputs)),this.cachedOutputs}create(t,a,n,i){let r=De(null);try{let o=this.componentDef,l=n?["ng-version","19.2.17"]:y8(this.componentDef.selectors[0]),u=hp(0,null,null,1,0,null,null,null,null,[l],null),c=LW(o,i||this.ngModule,t),d=FW(c),m=d.rendererFactory.createRenderer(null,o),v=n?E8(m,n,o.encapsulation,c):jW(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&&(ay(m,v,x),Yr(v,g)),Du(u,g,x),up(u,x,g),Oy(u,x),a!==void 0&&zW(x,this.ngContentSelectors,a),w=pa(x.index,g),g[qt]=w[qt],yp(u,g,null)}catch(x){throw w!==null&&_d(w),_d(g),x}finally{zi(23),Jh()}return new VW(this.componentType,g)}finally{De(r)}}},VW=class extends vW{constructor(t,a){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=a,this._tNode=Hh(a[_e],yt),this.location=Zr(this._tNode,a),this.instance=pa(this._tNode.index,a)[qt],this.hostView=this.changeDetectorRef=new Fo(a,void 0,!1),this.componentType=t}setInput(t,a){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),a))return;let i=this._rootLView;bp(n,i[_e],i,t,a),this.previousInputValues.set(t,a);let r=pa(n.index,i);Sp(r,1)}get injector(){return new xo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function zW(e,t,a){let n=e.projection=[];for(let i=0;i<t.length;i++){let r=a[i];n.push(r!=null&&r.length?Array.from(r):null)}}var jn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",BW),e})();function BW(){let e=on();return Ny(e,de())}var HW=jn,My=class extends HW{constructor(t,a,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=a,this._hostLView=n}get element(){return Zr(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 a=Ml(t,this._hostLView),n=Ol(t),i=a[_e].data[n+8];return new xo(i,a)}else return new xo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let a=bf(this._lContainer);return a!==null&&a[t]||null}get length(){return this._lContainer.length-nn}createEmbeddedView(t,a,n){let i,r;typeof n=="number"?i=n:n!=null&&(i=n.index,r=n.injector);let o=Nr(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(a||{},r,o);return this.insertImpl(l,i,Mr(this._hostTNode,o)),l}createComponent(t,a,n,i,r){let o=t&&!J6(t),l;if(o)l=a;else{let w=a||{};l=w.index,n=w.injector,i=w.projectableNodes,r=w.environmentInjector||w.ngModuleRef}let u=o?t:new Cp(Cr(t)),c=n||this.parentInjector;if(!r&&u.ngModule==null){let w=(o?c:this.parentInjector).get(ca,null);w&&(r=w)}let d=Cr(u.componentType??{}),m=Nr(this._lContainer,(d==null?void 0:d.id)??null),v=null,g=u.create(c,i,v,r);return this.insertImpl(g.hostView,l,Mr(this._hostTNode,m)),g}insert(t,a){return this.insertImpl(t,a,!0)}insertImpl(t,a,n){let i=t._lView;if(oG(i)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=i[an],c=new My(u,u[yn],u[an]);c.detach(c.indexOf(t))}}let r=this._adjustIndex(a),o=this._lContainer;return ms(o,i,r,n),t.attachToViewContainerRef(),V0(uc(o),r,t),t}move(t,a){return this.insert(t,a)}indexOf(t){let a=bf(this._lContainer);return a!==null?a.indexOf(t):-1}remove(t){let a=this._adjustIndex(t,-1),n=Lo(this._lContainer,a);n&&(Cl(uc(this._lContainer),a),Iu(n[_e],n))}detach(t){let a=this._adjustIndex(t,-1),n=Lo(this._lContainer,a);return n&&Cl(uc(this._lContainer),a)!=null?new Fo(n):null}_adjustIndex(t,a=0){return t??this.length+a}};function bf(e){return e[Il]}function uc(e){return e[Il]||(e[Il]=[])}function Ny(e,t){let a,n=t[e.index];return Ba(n)?a=n:(a=Sy(n,t,null,e),t[e.index]=a,mp(t,a)),$W(a,t,e,n),new My(a,e,t)}function qW(e,t){let a=e[vt],n=a.createComment(""),i=fa(t,e),r=a.parentNode(i);return Fl(a,r,n,a.nextSibling(i),!1),n}var $W=GW;function GW(e,t,a,n){if(e[Vi])return;let i;a.type&8?i=ha(n):i=qW(t,a),e[Vi]=i}var UW=class Ay{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Ay(this.queryList)}setDirty(){this.queryList.setDirty()}},WW=class Py{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let a=t.queries;if(a!==null){let n=t.contentQueries!==null?t.contentQueries[0]:a.length,i=[];for(let r=0;r<n;r++){let o=a.getByIndex(r),l=this.queries[o.indexInDeclarationView];i.push(l.clone())}return new Py(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let a=0;a<this.queries.length;a++)Dp(t,a).matches!==null&&this.queries[a].setDirty()}},Ly=class{constructor(e,t,a=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=a,typeof e=="string"?this.predicate=aZ(e):this.predicate=e}},ZW=class Fy{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,a)}elementEnd(t){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(t)}embeddedTView(t){let a=null;for(let n=0;n<this.length;n++){let i=a!==null?a.length:0,r=this.getByIndex(n).embeddedTView(t,i);r&&(r.indexInDeclarationView=n,a!==null?a.push(r):a=[r])}return a!==null?new Fy(a):null}template(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,a)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},YW=class jy{constructor(t,a=-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=a}elementStart(t,a){this.isApplyingToNode(a)&&this.matchTNode(t,a)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,a){this.elementStart(t,a)}embeddedTView(t,a){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,a),new jy(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let a=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==a;)n=n.parent;return a===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,a){let n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){let r=n[i];this.matchTNodeWithReadOption(t,a,KW(a,r)),this.matchTNodeWithReadOption(t,a,ul(a,t,r,!1,!1))}else n===rn?a.type&4&&this.matchTNodeWithReadOption(t,a,-1):this.matchTNodeWithReadOption(t,a,ul(a,t,n,!1,!1))}matchTNodeWithReadOption(t,a,n){if(n!==null){let i=this.metadata.read;if(i!==null)if(i===Xe||i===jn||i===rn&&a.type&4)this.addMatch(a.index,-2);else{let r=ul(a,t,i,!1,!1);r!==null&&this.addMatch(a.index,r)}else this.addMatch(a.index,n)}}addMatch(t,a){this.matches===null?this.matches=[t,a]:this.matches.push(t,a)}};function KW(e,t){let a=e.localNames;if(a!==null){for(let n=0;n<a.length;n+=2)if(a[n]===t)return a[n+1]}return null}function QW(e,t){return e.type&11?Zr(e,t):e.type&4?Ou(e,t):null}function XW(e,t,a,n){return a===-1?QW(t,e):a===-2?JW(e,t,n):Ao(e,e[_e],a,t)}function JW(e,t,a){if(a===Xe)return Zr(t,e);if(a===rn)return Ou(t,e);if(a===jn)return Ny(t,e)}function Vy(e,t,a,n){let i=t[Zn].queries[n];if(i.matches===null){let r=e.data,o=a.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=r[c];l.push(XW(t,d,o[u+1],a.metadata.read))}}i.matches=l}return i.matches}function Dd(e,t,a,n){let i=e.queries.getByIndex(a),r=i.matches;if(r!==null){let o=Vy(e,t,i,a);for(let l=0;l<r.length;l+=2){let u=r[l];if(u>0)n.push(o[l/2]);else{let c=r[l+1],d=t[-u];for(let m=nn;m<d.length;m++){let v=d[m];v[ji]===v[an]&&Dd(v[_e],v,c,n)}if(d[Rr]!==null){let m=d[Rr];for(let v=0;v<m.length;v++){let g=m[v];Dd(g[_e],g,c,n)}}}}}return n}function eZ(e,t){return e[Zn].queries[t].queryList}function zy(e,t,a){let n=new rU((a&4)===4);return uG(e,t,n,n.destroy),(t[Zn]??(t[Zn]=new WW)).queries.push(new UW(n))-1}function tZ(e,t,a){let n=ut();return n.firstCreatePass&&(By(n,new Ly(e,t,a),-1),(t&2)===2&&(n.staticViewQueries=!0)),zy(n,de(),t)}function nZ(e,t,a,n){let i=ut();if(i.firstCreatePass){let r=on();By(i,new Ly(t,a,n),r.index),iZ(i,e)}return zy(i,de(),a)}function aZ(e){return e.split(",").map(t=>t.trim())}function By(e,t,a){e.queries===null&&(e.queries=new ZW),e.queries.track(new YW(t,a))}function iZ(e,t){let a=e.contentQueries||(e.contentQueries=[]),n=a.length?a[a.length-1]:-1;t!==n&&a.push(e.queries.length-1,t)}function Dp(e,t){return e.queries.getByIndex(t)}function rZ(e,t){let a=e[_e],n=Dp(a,t);return n.crossesNgTemplate?Dd(a,e,t,[]):Vy(a,e,n,t)}function Hy(e,t){let a=Object.create(C0),n=new Pb;a.value=e;function i(){return ts(a),yf(a.value),a.value}return i[gn]=a,i.asReadonly=rp.bind(i),i.set=r=>{a.equal(a.value,r)||(as(a,r),n.emit(r))},i.update=r=>{yf(a.value),i.set(r(a.value))},i.subscribe=n.subscribe.bind(n),i.destroyRef=n.destroyRef,i}function yf(e){if(e===hu)throw new G(952,!1)}function _f(e,t){return Hy(e)}function oZ(e){return Hy(hu)}var sZ=(_f.required=oZ,_f),jo=class{},qy=class extends jo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new NW(this));s(this,"instance",null);let a=new Vh([...t.providers,{provide:jo,useValue:this},{provide:fs,useValue:this.componentFactoryResolver}],t.parent||mu(),t.debugName,new Set(["environment"]));this.injector=a,t.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function lZ(e,t,a=null){return new qy({providers:e,parent:t,debugName:a,runEnvironmentInitializers:!0}).injector}var uZ=(()=>{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 i=$0(!1,n.type),r=i.length>0?lZ([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}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(ca))}));let e=t;return e})();function Ae(e){return rs(()=>{let t=$y(e),a=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?i=>i.get(uZ).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Aa.Emulated,styles:e.styles||fn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Zi("NgStandalone"),Gy(a);let n=e.dependencies;return a.directiveDefs=wf(n,!1),a.pipeDefs=wf(n,!0),a.id=mZ(a),a})}function cZ(e){return Cr(e)||q0(e)}function dZ(e){return e!==null}function Bt(e){return rs(()=>({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 hZ(e,t){if(e==null)return ua;let a={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n],r,o,l,u;Array.isArray(i)?(l=i[0],r=i[1],o=i[2]??r,u=i[3]||null):(r=i,o=i,l=Cu.None,u=null),a[r]=[n,l,u],t[r]=o}return a}function pZ(e){if(e==null)return ua;let t={};for(let a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}function be(e){return rs(()=>{let t=$y(e);return Gy(t),t})}function va(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||ua,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:hZ(e.inputs,t),outputs:pZ(e.outputs),debugInfo:null}}function Gy(e){var t;(t=e.features)==null||t.forEach(a=>a(e))}function wf(e,t){if(!e)return null;let a=t?H6:cZ;return()=>(typeof e=="function"?e():e).map(n=>a(n)).filter(dZ)}function mZ(e){let t=0,a=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,a,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 i of n.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function fZ(e){return Object.getPrototypeOf(e.prototype).constructor}function Ye(e){let t=fZ(e.type),a=!0,n=[e];for(;t;){let i;if(da(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new G(903,!1);i=t.ɵdir}if(i){if(a){n.push(i);let o=e;o.inputs=cc(e.inputs),o.declaredInputs=cc(e.declaredInputs),o.outputs=cc(e.outputs);let l=i.hostBindings;l&&_Z(e,l);let u=i.viewQuery,c=i.contentQueries;if(u&&bZ(e,u),c&&yZ(e,c),gZ(e,i),w6(e.outputs,i.outputs),da(i)&&i.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let r=i.features;if(r)for(let o=0;o<r.length;o++){let l=r[o];l&&l.ngInherit&&l(e),l===Ye&&(a=!1)}}t=Object.getPrototypeOf(t)}vZ(n)}function gZ(e,t){for(let a in t.inputs){if(!t.inputs.hasOwnProperty(a)||e.inputs.hasOwnProperty(a))continue;let n=t.inputs[a];n!==void 0&&(e.inputs[a]=n,e.declaredInputs[a]=t.declaredInputs[a])}}function vZ(e){let t=0,a=null;for(let n=e.length-1;n>=0;n--){let i=e[n];i.hostVars=t+=i.hostVars,i.hostAttrs=Or(i.hostAttrs,a=Or(a,i.hostAttrs))}}function cc(e){return e===ua?{}:e===fn?[]:e}function bZ(e,t){let a=e.viewQuery;a?e.viewQuery=(n,i)=>{t(n,i),a(n,i)}:e.viewQuery=t}function yZ(e,t){let a=e.contentQueries;a?e.contentQueries=(n,i,r)=>{t(n,i,r),a(n,i,r)}:e.contentQueries=t}function _Z(e,t){let a=e.hostBindings;a?e.hostBindings=(n,i)=>{t(n,i),a(n,i)}:e.hostBindings=t}function wZ(e){let t=a=>{let n=Array.isArray(e);a.hostDirectives===null?(a.findHostDirectiveDefs=Uy,a.hostDirectives=n?e.map(Id):[e]):n?a.hostDirectives.unshift(...e.map(Id)):a.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Uy(e,t,a){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let i=n();for(let r of i)xf(Id(r),t,a)}else xf(n,t,a)}function xf(e,t,a){let n=q0(e.directive);xZ(n.declaredInputs,e.inputs),Uy(n,t,a),a.set(n,e),t.push(n)}function Id(e){return typeof e=="function"?{directive:Wt(e),inputs:ua,outputs:ua}:{directive:Wt(e.directive),inputs:Ef(e.inputs),outputs:Ef(e.outputs)}}function Ef(e){if(e===void 0||e.length===0)return ua;let t={};for(let a=0;a<e.length;a+=2)t[e[a]]=e[a+1];return t}function xZ(e,t){for(let a in t)if(t.hasOwnProperty(a)){let n=t[a],i=e[a];e[n]=i}}function Wy(e){return Ip(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function EZ(e,t){if(Array.isArray(e))for(let a=0;a<e.length;a++)t(e[a]);else{let a=e[Symbol.iterator](),n;for(;!(n=a.next()).done;)t(n.value)}}function Ip(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function gs(e,t,a){return e[t]=a}function Zy(e,t){return e[t]}function vn(e,t,a){let n=e[t];return Object.is(n,a)?!1:(e[t]=a,!0)}function Vo(e,t,a,n){let i=vn(e,t,a);return vn(e,t+1,n)||i}function SZ(e,t,a,n,i){let r=Vo(e,t,a,n);return vn(e,t+2,i)||r}function kZ(e,t,a,n,i,r){let o=Vo(e,t,a,n);return Vo(e,t+2,i,r)||o}function CZ(e,t,a,n,i,r,o,l,u){let c=t.consts,d=Kr(t,e,4,o||null,l||null);kp(t,a,d,Bi(c,u),vp),d.mergedAttrs=Or(d.mergedAttrs,d.attrs),ep(t,d);let m=d.tView=hp(2,d,n,i,r,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,a,n,i,r,o,l,u,c){let d=a+yt,m=t.firstCreatePass?CZ(d,t,e,n,i,r,o,l,u):t.data[d];pi(m,!1);let v=DZ(t,e);yu()&&Tu(t,e,v,m),Yr(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,a,n,i,r,o,l){let u=de(),c=ut(),d=Bi(c.consts,r);return Yy(u,c,e,t,a,n,i,d,o,l),he}var DZ=IZ;function IZ(e,t,a,n){return _u(!0),t[vt].createComment("")}var TZ=new K(""),Ky=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new RZ}));let e=t;return e})(),RZ=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,a=this.queues.get(t);a.has(e)&&(a.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let a=this.queues.get(t);a.has(e)||(this.queuedEffectCount++,a.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 OZ=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,i)=>{this.resolve=n,this.reject=i}));s(this,"appInits",S(OZ,{optional:!0})??[]);s(this,"injector",S(ht))}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=zh(this.injector,r);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 i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),n.length===0&&i(),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})(),MZ=new K("");function NZ(){f$(()=>{throw new G(600,!1)})}function AZ(e){return e.isBoundToModule}var PZ=10,ci=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",S(JG));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(ca));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var i;if(this._runningTick)throw new G(101,!1);let n=De(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(i=this.tracingSnapshot)==null||i.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(i=>{n=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,r=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=AZ(l)?void 0:this._injector.get(jo),c=i||l.selector,d=l.create(r,[],c,u),m=d.location.nativeElement,v=d.injector.get(TZ,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++<PZ;)this.synchronizeOnce()}synchronizeOnce(){var n,i,r,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)LZ(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(i=(n=this._rendererFactory)==null?void 0:n.begin)==null||i.call(n),(o=(r=this._rendererFactory)==null?void 0:r.end)==null||o.call(r);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 i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;cl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(MZ,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._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 a=e.indexOf(t);a>-1&&e.splice(a,1)}function LZ(e,t,a,n){!a&&!ls(e)||_y(e,t,a&&!n?0:1)}function $t(e,t,a,n){let i=de(),r=Wi();if(vn(i,r,t)){ut();let o=bu();T8(o,i,e,t,a,n)}return $t}function FZ(e,t,a,n){return vn(e,Wi(),a)?t+kr(a)+n:In}function jZ(e,t,a,n,i,r){let o=vG(),l=Vo(e,o,a,i);return Kh(2),l?t+kr(a)+n+kr(i)+r:In}function Ps(e,t){return e<<17|t<<2}function $i(e){return e>>17&32767}function VZ(e){return(e&2)==2}function zZ(e,t){return e&131071|t<<17}function Td(e){return e|2}function Ar(e){return(e&131068)>>2}function dc(e,t){return e&-131069|t<<2}function BZ(e){return(e&1)===1}function Rd(e){return e|1}function HZ(e,t,a,n,i,r){let o=r?t.classBindings:t.styleBindings,l=$i(o),u=Ar(o);e[n]=a;let c=!1,d;if(Array.isArray(a)){let m=a;d=m[1],(d===null||os(m,d)>0)&&(c=!0)}else d=a;if(i)if(u!==0){let m=$i(e[l+1]);e[n+1]=Ps(m,l),m!==0&&(e[m+1]=dc(e[m+1],n)),e[l+1]=zZ(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),qZ(t,d,e,n,r),o=Ps(l,u),r?t.classBindings=o:t.styleBindings=o}function qZ(e,t,a,n,i){let r=i?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&os(r,t)>=0&&(a[n+1]=Rd(a[n+1]))}function Sf(e,t,a,n){let i=e[a+1],r=t===null,o=n?$i(i):Ar(i),l=!1;for(;o!==0&&(l===!1||r);){let u=e[o],c=e[o+1];$Z(u,t)&&(l=!0,e[o+1]=n?Rd(c):Td(c)),o=n?$i(c):Ar(c)}l&&(e[a+1]=n?Td(i):Rd(i))}function $Z(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 GZ(e){return e.substring(Un.key,Un.keyEnd)}function UZ(e){return WZ(e),Jy(e,e_(e,0,Un.textEnd))}function Jy(e,t){let a=Un.textEnd;return a===t?-1:(t=Un.keyEnd=ZZ(e,Un.key=t,a),e_(e,t,a))}function WZ(e){Un.key=0,Un.keyEnd=0,Un.value=0,Un.valueEnd=0,Un.textEnd=e.length}function e_(e,t,a){for(;t<a&&e.charCodeAt(t)<=32;)t++;return t}function ZZ(e,t,a){for(;t<a&&e.charCodeAt(t)>32;)t++;return t}function Ie(e,t,a){let n=de(),i=Wi();if(vn(n,i,t)){let r=ut(),o=bu();gp(r,o,n,e,t,n[vt],a,!1)}return Ie}function Od(e,t,a,n,i){bp(t,e,a,i?"class":"style",n)}function t_(e,t,a){return n_(e,t,a,!1),t_}function jt(e,t){return n_(e,t,null,!0),jt}function Mu(e){KZ(nY,YZ,e,!0)}function YZ(e,t){for(let a=UZ(t);a>=0;a=Jy(t,a))Ph(e,GZ(t),!0)}function n_(e,t,a,n){let i=de(),r=ut(),o=Kh(2);if(r.firstUpdatePass&&i_(r,e,o,n),t!==In&&vn(i,o,t)){let l=r.data[ga()];r_(r,l,i,i[vt],e,i[o+1]=iY(t,a),n,o)}}function KZ(e,t,a,n){let i=ut(),r=Kh(2);i.firstUpdatePass&&i_(i,null,r,n);let o=de();if(a!==In&&vn(o,r,a)){let l=i.data[ga()];if(o_(l,n)&&!a_(i,r)){let u=l.classesWithoutHost;u!==null&&(a=rd(u,a||"")),Od(i,l,o,a,n)}else aY(i,l,o,o[vt],o[r+1],o[r+1]=tY(e,t,a),n,r)}}function a_(e,t){return t>=e.expandoStartIndex}function i_(e,t,a,n){let i=e.data;if(i[a+1]===null){let r=i[ga()],o=a_(e,a);o_(r,n)&&t===null&&!o&&(t=!1),t=QZ(i,r,t,n),HZ(i,r,t,a,o,n)}}function QZ(e,t,a,n){let i=xG(e),r=n?t.residualClasses:t.residualStyles;if(i===null)(n?t.classBindings:t.styleBindings)===0&&(a=hc(null,e,t,a,n),a=zo(a,t.attrs,n),r=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==i)if(a=hc(i,e,t,a,n),r===null){let l=XZ(e,t,n);l!==void 0&&Array.isArray(l)&&(l=hc(null,e,t,l[1],n),l=zo(l,t.attrs,n),JZ(e,t,n,l))}else r=eY(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),a}function XZ(e,t,a){let n=a?t.classBindings:t.styleBindings;if(Ar(n)!==0)return e[$i(n)]}function JZ(e,t,a,n){let i=a?t.classBindings:t.styleBindings;e[$i(i)]=n}function eY(e,t,a){let n,i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<i;r++){let o=e[r].hostAttrs;n=zo(n,o,a)}return zo(n,t.attrs,a)}function hc(e,t,a,n,i){let r=null,o=a.directiveEnd,l=a.directiveStylingLast;for(l===-1?l=a.directiveStart:l++;l<o&&(r=t[l],n=zo(n,r.hostAttrs,i),r!==e);)l++;return e!==null&&(a.directiveStylingLast=l),n}function zo(e,t,a){let n=a?1:2,i=-1;if(t!==null)for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?i=o:i===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ph(e,o,a?!0:t[++r]))}return e===void 0?null:e}function tY(e,t,a){if(a==null||a==="")return fn;let n=[],i=Xa(a);if(Array.isArray(i))for(let r=0;r<i.length;r++)e(n,i[r],!0);else if(typeof i=="object")for(let r in i)i.hasOwnProperty(r)&&e(n,r,i[r]);else typeof i=="string"&&t(n,i);return n}function nY(e,t,a){let n=String(t);n!==""&&!n.includes(" ")&&Ph(e,n,a)}function aY(e,t,a,n,i,r,o,l){i===In&&(i=fn);let u=0,c=0,d=0<i.length?i[0]:null,m=0<r.length?r[0]:null;for(;d!==null||m!==null;){let v=u<i.length?i[u+1]:void 0,g=c<r.length?r[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&&r_(e,t,a,n,w,x,o,l),d=u<i.length?i[u]:null,m=c<r.length?r[c]:null}}function r_(e,t,a,n,i,r,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],d=BZ(c)?kf(u,t,a,i,Ar(c),o):void 0;if(!Vl(d)){Vl(r)||VZ(c)&&(r=kf(u,null,a,i,l,o));let m=nb(ga(),a);W8(n,o,m,i,r)}}function kf(e,t,a,n,i,r){let o=t===null,l;for(;i>0;){let u=e[i],c=Array.isArray(u),d=c?u[1]:u,m=d===null,v=a[i+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[i+1];i=o?$i(w):Ar(w)}if(t!==null){let u=r?t.residualClasses:t.residualStyles;u!=null&&(l=nc(u,n))}return l}function Vl(e){return e!==void 0}function iY(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=An(Xa(e)))),e}function o_(e,t){return(e.flags&(t?8:16))!==0}var rY=class{destroy(e){}updateValue(e,t){}swap(e,t){let a=Math.min(e,t),n=Math.max(e,t),i=this.detach(n);if(n-a>1){let r=this.detach(a);this.attach(a,i),this.attach(n,r)}else this.attach(a,i)}move(e,t){this.attach(t,this.detach(e))}};function pc(e,t,a,n,i){return e===a&&Object.is(t,n)?1:Object.is(i(e,t),i(a,n))?-1:0}function oY(e,t,a){let n,i,r=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=o&&r<=l;){let u=e.at(r),c=t[r],d=pc(r,u,r,c,a);if(d!==0){d<0&&e.updateValue(r,c),r++;continue}let m=e.at(o),v=t[l],g=pc(o,m,l,v,a);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let w=a(r,u),x=a(o,m),k=a(r,c);if(Object.is(k,x)){let D=a(l,v);Object.is(D,w)?(e.swap(r,o),e.updateValue(o,v),l--,o--):e.move(o,r),e.updateValue(r,c),r++;continue}if(n??(n=new If),i??(i=Df(e,r,o,a)),Md(e,n,r,k))e.updateValue(r,c),r++,o++;else if(i.has(k))n.set(w,e.detach(r)),o--;else{let D=e.create(r,t[r]);e.attach(r,D),r++,o++}}for(;r<=l;)Cf(e,n,a,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&r<=o;){let c=e.at(r),d=u.value,m=pc(r,c,r,d,a);if(m!==0)m<0&&e.updateValue(r,d),r++,u=l.next();else{n??(n=new If),i??(i=Df(e,r,o,a));let v=a(r,d);if(Md(e,n,r,v))e.updateValue(r,d),r++,o++,u=l.next();else if(!i.has(v))e.attach(r,e.create(r,d)),r++,o++,u=l.next();else{let g=a(r,c);n.set(g,e.detach(r)),o--}}}for(;!u.done;)Cf(e,n,a,e.length,u.value),u=l.next()}for(;r<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Md(e,t,a,n){return t!==void 0&&t.has(n)?(e.attach(a,t.get(n)),t.delete(n),!0):!1}function Cf(e,t,a,n,i){if(Md(e,t,n,a(n,i)))e.updateValue(n,i);else{let r=e.create(n,i);e.attach(n,r)}}function Df(e,t,a,n){let i=new Set;for(let r=t;r<=a;r++)i.add(n(r,e.at(r)));return i}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 a=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(a);)a=n.get(a);n.set(a,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,a]of this.kvMap)if(e(a,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(a);)a=n.get(a),e(a,t)}}};function je(e,t){Zi("NgControlFlow");let a=de(),n=Wi(),i=a[n]!==In?a[n]:-1,r=i!==-1?zl(a,yt+i):void 0,o=0;if(vn(a,n,e)){let l=De(null);try{if(r!==void 0&&Cy(r,o),e!==-1){let u=yt+e,c=zl(a,u),d=Nd(a[_e],u),m=Nr(c,d.tView.ssrId),v=ps(a,d,t,{dehydratedView:m});ms(c,v,o,Mr(d,m))}}finally{De(l)}}else if(r!==void 0){let l=ky(r,o);l!==void 0&&(l[qt]=t)}}var sY=class{constructor(e,t,a){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=a}get $count(){return this.lContainer.length-nn}};function Rp(e){return e}function Op(e,t){return t}var lY=class{constructor(e,t,a){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=a}};function Qr(e,t,a,n,i,r,o,l,u,c,d,m,v){Zi("NgControlFlow");let g=de(),w=ut(),x=u!==void 0,k=de(),D=o,O=new lY(x,D);k[yt+e]=O,Yy(g,w,e+1,t,a,n,i,Bi(w.consts,r))}var uY=class extends rY{constructor(t,a,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=a,this.templateTNode=n}get length(){return this.lContainer.length-nn}at(t){return this.getLView(t)[qt].$implicit}attach(t,a){let n=a[Ir];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),ms(this.lContainer,a,t,Mr(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),cY(this.lContainer,t)}create(t,a){var r;let n=Nr(this.lContainer,this.templateTNode.tView.ssrId),i=ps(this.hostLView,this.templateTNode,new sY(this.lContainer,a,t),{dehydratedView:n});return(r=this.operationsCounter)==null||r.recordCreate(),i}destroy(t){var a;Iu(t[_e],t),(a=this.operationsCounter)==null||a.recordDestroy()}updateValue(t,a){this.getLView(t)[qt].$implicit=a}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 dY(this.lContainer,t)}};function Xr(e){let t=De(null),a=ga();try{let n=de(),i=n[_e],r=n[a],o=a+1,l=zl(n,o);if(r.liveCollection===void 0){let c=Nd(i,o);r.liveCollection=new uY(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(oY(u,e,r.trackByFn),u.updateIndexes(),r.hasEmptyBlock){let c=Wi(),d=u.length===0;if(vn(n,c,d)){let m=a+2,v=zl(n,m);if(d){let g=Nd(i,m),w=Nr(v,g.tView.ssrId),x=ps(n,g,void 0,{dehydratedView:w});ms(v,x,0,Mr(g,w))}else Cy(v,0)}}}finally{De(t)}}function zl(e,t){return e[t]}function cY(e,t){return Lo(e,t)}function dY(e,t){return ky(e,t)}function Nd(e,t){return Hh(e,t)}function j(e,t,a,n){let i=de(),r=ut(),o=yt+e,l=i[vt],u=r.firstCreatePass?Ry(o,r,i,t,vp,pG(),a,n):r.data[o],c=hY(r,i,u,l,t);i[o]=c;let d=vu(u);return pi(u,!0),ay(l,c,u),!wp(u)&&yu()&&Tu(r,i,c,u),(cG()===0||d)&&Yr(c,i),dG(),d&&(Du(r,i,u),up(r,u,i)),n!==null&&fp(i,u),j}function V(){let e=on();Zh()?Yh():(e=e.parent,pi(e,!1));let t=e;mG(t)&&fG(),hG();let a=ut();return a.firstCreatePass&&Oy(a,t),t.classesWithoutHost!=null&&IG(t)&&Od(a,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&TG(t)&&Od(a,t,de(),t.stylesWithoutHost,!1),V}function Qe(e,t,a,n){return j(e,t,a,n),V(),Qe}var hY=(e,t,a,n,i,r)=>(_u(!0),ty(n,i,kG()));function pY(e,t,a,n,i){let r=t.consts,o=Bi(r,n),l=Kr(t,e,8,"ng-container",o);o!==null&&Cd(l,o,!0);let u=Bi(r,i);return kp(t,a,l,u,vp),l.mergedAttrs=Or(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Ka(e,t,a){let n=de(),i=ut(),r=e+yt,o=i.firstCreatePass?pY(r,i,n,t,a):i.data[r];pi(o,!0);let l=mY(i,n);return n[r]=l,yu()&&Tu(i,n,l,o),Yr(l,n),vu(o)&&(Du(i,n,o),up(i,o,n)),a!=null&&fp(n,o),Ka}function Qa(){let e=on(),t=ut();return Zh()?Yh():(e=e.parent,pi(e,!1)),t.firstCreatePass&&(ep(t,e),Bh(e)&&t.queries.elementEnd(e)),Qa}function Yt(e,t,a){return Ka(e,t,a),Qa(),Yt}var mY=(e,t,a,n)=>(_u(!0),a8(t[vt],""));function qa(){return de()}function Mp(e,t,a){let n=de(),i=Wi();if(vn(n,i,t)){let r=ut(),o=bu();gp(r,o,n,e,t,n[vt],a,!0)}return Mp}var _i=void 0;function fY(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var gY=["en",[["a","p"],["AM","PM"],_i],[["AM","PM"],_i,_i],[["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"]],_i,[["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"]],_i,[["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}",_i,"{1} 'at' {0}",_i],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",fY],Eo={};function vY(e,t,a){typeof t!="string"&&(a=t,t=e[Ot.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Eo[t]=e,a&&(Eo[t][Ot.ExtraData]=a)}function Qn(e){let t=bY(e),a=Tf(t);if(a)return a;let n=t.split("-")[0];if(a=Tf(n),a)return a;if(n==="en")return gY;throw new G(701,!1)}function Tf(e){return e in Eo||(Eo[e]=ur.ng&&ur.ng.common&&ur.ng.common.locales&&ur.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 bY(e){return e.toLowerCase().replace(/_/g,"-")}var Ad="en-US";function yY(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Rf(e,t,a){return function n(i){if(i===Function)return a;let r=$r(e)?pa(e.index,t):t;Sp(r,5);let o=t[qt],l=Of(t,o,a,i),u=n.__ngNextListenerFn__;for(;u;)l=Of(t,o,u,i)&&l,u=u.__ngNextListenerFn__;return l}}function Of(e,t,a,n){let i=De(null);try{return zi(6,t,a),a(n)!==!1}catch(r){return _Y(e,r),!1}finally{De(i)}}function _Y(e,t){let a=e[Tr],n=a?a.get(Yn,null):null;n&&n.handleError(t)}function Mf(e,t,a,n,i,r){let o=t[a],l=t[_e],u=l.data[a].outputs[n],c=o[u],d=l.firstCreatePass?Wh(l):null,m=Uh(t),v=c.subscribe(r),g=m.length;m.push(r,v),d&&d.push(i,e.index,g,-(g+1))}function hn(e,t,a,n){let i=de(),r=ut(),o=on();return s_(r,i,i[vt],o,e,t,n),hn}function wY(e,t,a,n){let i=e.cleanup;if(i!=null)for(let r=0;r<i.length-1;r+=2){let o=i[r];if(o===a&&i[r+1]===n){let l=t[br],u=i[r+2];return l.length>u?l[u]:null}typeof o=="string"&&(r+=2)}return null}function s_(e,t,a,n,i,r,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=fa(n,t),w=o?o(g):g,x=c.length,k=o?O=>o(ha(O[n.index])):n.index,D=null;if(!o&&l&&(D=wY(e,t,i,n.index)),D!==null){let O=D.__ngLastListenerFn__||D;O.__ngNextListenerFn__=r,D.__ngLastListenerFn__=r,d=!1}else{r=Rf(n,t,r);let O=a.listen(w,i,r);c.push(r,O),u&&u.push(i,k,x,x+1)}}else r=Rf(n,t,r);if(d){let g=(m=n.outputs)==null?void 0:m[i],w=(v=n.hostDirectiveOutputs)==null?void 0:v[i];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,i,r)}if(g&&g.length)for(let x of g)Mf(n,t,x,i,i,r)}}function le(e=1){return SG(e)}function xY(e,t){let a=null,n=p8(e);for(let i=0;i<t.length;i++){let r=t[i];if(r==="*"){a=i;continue}if(n===null?oy(e,r,!0):g8(n,r))return i}return a}function Vn(e){let t=de()[Ln][yn];if(!t.projection){let a=e?e.length:1,n=t.projection=V6(a,null),i=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?xY(r,e):0;o!==null&&(i[o]?i[o].projectionNext=r:n[o]=r,i[o]=r)}r=r.next}}}function pt(e,t=0,a,n,i,r){let o=de(),l=ut(),u=null,c=Kr(l,yt+e,16,null,null);c.projection===null&&(c.projection=t),Yh();let d=!o[Ir]||rb();o[Ln][yn].projection[c.projection]===null&&u!==null?EY(o,l,u):d&&!wp(c)&&G8(l,o,c)}function EY(e,t,a){let n=yt+a,i=t.data[n],r=e[n],o=Nr(r,i.tView.ssrId),l=ps(e,i,void 0,{dehydratedView:o});ms(r,l,0,Mr(i,o))}function Ma(e,t,a,n){nZ(e,t,a,n)}function Pr(e,t,a){tZ(e,t,a)}function un(e){let t=de(),a=ut(),n=ub();Qh(n+1);let i=Dp(a,n);if(e.dirty&&rG(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let r=rZ(t,n);e.reset(r,nU),e.notifyOnChanges()}return!0}return!1}function cn(){return eZ(de(),ub())}function Nu(e){let t=sb();return ss(t,yt+e)}function ee(e,t=""){let a=de(),n=ut(),i=e+yt,r=n.firstCreatePass?Kr(n,i,1,t,null):n.data[i],o=SY(n,a,r,t);a[i]=o,yu()&&Tu(n,a,o,r),pi(r,!1)}var SY=(e,t,a,n,i)=>(_u(!0),t8(t[vt],n));function Ne(e){return Ue("",e,""),Ne}function Ue(e,t,a){let n=de(),i=FZ(n,e,t,a);return i!==In&&l_(n,ga(),i),Ue}function Np(e,t,a,n,i){let r=de(),o=jZ(r,e,t,a,n,i);return o!==In&&l_(r,ga(),o),Np}function l_(e,t,a){let n=nb(t,e);n8(e[vt],n,a)}function u_(e,t,a){Lb(t)&&(t=t());let n=de(),i=Wi();if(vn(n,i,t)){let r=ut(),o=bu();gp(r,o,n,e,t,n[vt],a,!1)}return u_}function kY(e,t){let a=Lb(e);return a&&e.set(t),a}function c_(e,t){let a=de(),n=ut(),i=on();return s_(n,a,a[vt],i,e,t),c_}var d_={};function h_(e){let t=ut(),a=de(),n=e+yt,i=Kr(t,n,128,null,null);return pi(i,!1),qh(t,a,n,d_),h_}function Nf(e){Zi("NgLet");let t=ut(),a=de(),n=ga();return qh(t,a,n,e),e}function Af(e){let t=sb(),a=ss(t,yt+e);if(a===d_)throw new G(314,!1);return a}function CY(e,t,a){let n=ut();if(n.firstCreatePass){let i=da(e);Pd(a,n.data,n.blueprint,i,!0),Pd(t,n.data,n.blueprint,i,!1)}}function Pd(e,t,a,n,i){if(e=Wt(e),Array.isArray(e))for(let r=0;r<e.length;r++)Pd(e[r],t,a,n,i);else{let r=ut(),o=de(),l=on(),u=Dr(e)?e:Wt(e.provide),c=W0(e),d=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Dr(e)||!e.multi){let g=new us(c,i,Zt),w=fc(u,t,i?d:d+v,m);w===-1?(gd(Al(l,o),r,u),mc(r,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),a.push(g),o.push(g)):(a[w]=g,o[w]=g)}else{let g=fc(u,t,d+v,m),w=fc(u,t,d,d+v),x=g>=0&&a[g],k=w>=0&&a[w];if(i&&!k||!i&&!x){gd(Al(l,o),r,u);let D=TY(i?IY:DY,a.length,i,n,c);!i&&k&&(a[w].providerFactory=D),mc(r,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),a.push(D),o.push(D)}else{let D=p_(a[i?w:g],c,!i&&n);mc(r,e,g>-1?g:w,D)}!i&&n&&k&&a[w].componentProviders++}}}function mc(e,t,a,n){let i=Dr(t),r=W6(t);if(i||r){let o=(r?Wt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let u=l.indexOf(a);u===-1?l.push(a,[n,o]):l[u+1].push(n,o)}else l.push(a,o)}}}function p_(e,t,a){return a&&e.componentProviders++,e.multi.push(t)-1}function fc(e,t,a,n){for(let i=a;i<n;i++)if(t[i]===e)return i;return-1}function DY(e,t,a,n,i){return Ld(this.multi,[])}function IY(e,t,a,n,i){let r=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Ao(n,n[_e],this.providerFactory.index,i);o=u.slice(0,l),Ld(r,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Ld(r,o);return o}function Ld(e,t){for(let a=0;a<e.length;a++){let n=e[a];t.push(n())}return t}function TY(e,t,a,n,i){let r=new us(e,a,Zt);return r.multi=[],r.index=t,r.componentProviders=0,p_(r,i,n&&!a),r}function Tn(e,t=[]){return a=>{a.providersResolver=(n,i)=>CY(n,i?i(e):e,t)}}function Bo(e,t,a){let n=Ui()+e,i=de();return i[n]===In?gs(i,n,t()):Zy(i,n)}function m_(e,t,a,n){return f_(de(),Ui(),e,t,a,n)}function RY(e,t,a,n,i){return g_(de(),Ui(),e,t,a,n,i)}function OY(e,t,a,n,i,r,o,l){let u=Ui()+e,c=de(),d=kZ(c,u,a,n,i,r);return vn(c,u+4,o)||d?gs(c,u+5,t(a,n,i,r,o)):Zy(c,u+5)}function Ap(e,t){let a=e[t];return a===In?void 0:a}function f_(e,t,a,n,i,r){let o=t+a;return vn(e,o,i)?gs(e,o+1,r?n.call(r,i):n(i)):Ap(e,o+1)}function g_(e,t,a,n,i,r,o){let l=t+a;return Vo(e,l,i,r)?gs(e,l+2,o?n.call(o,i,r):n(i,r)):Ap(e,l+2)}function MY(e,t,a,n,i,r,o,l){let u=t+a;return SZ(e,u,i,r,o)?gs(e,u+3,l?n.call(l,i,r,o):n(i,r,o)):Ap(e,u+3)}function te(e,t){let a=ut(),n,i=e+yt;a.firstCreatePass?(n=NY(t,a.pipeRegistry),a.data[i]=n,n.onDestroy&&(a.destroyHooks??(a.destroyHooks=[])).push(i,n.onDestroy)):n=a.data[i];let r=n.factory||(n.factory=Fi(n.type)),o=mn(Zt);try{let l=Nl(!1),u=r();return Nl(l),qh(a,de(),i,u),u}finally{mn(o)}}function NY(e,t){if(t)for(let a=t.length-1;a>=0;a--){let n=t[a];if(e===n.name)return n}}function ae(e,t,a){let n=e+yt,i=de(),r=ss(i,n);return Pp(i,n)?f_(i,Ui(),t,r.transform,a,r):r.transform(a)}function vs(e,t,a,n){let i=e+yt,r=de(),o=ss(r,i);return Pp(r,i)?g_(r,Ui(),t,o.transform,a,n,o):o.transform(a,n)}function v_(e,t,a,n,i){let r=e+yt,o=de(),l=ss(o,r);return Pp(o,r)?MY(o,Ui(),t,l.transform,a,n,i,l):l.transform(a,n,i)}function Pp(e,t){return e[_e].data[t].pure}function Pf(e,t){return Ou(e,t)}var AY=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 AY("19.2.17"),PY=(()=>{const t=class t{constructor(){s(this,"zone",S(He));s(this,"changeDetectionScheduler",S(Wr));s(this,"applicationRef",S(ci));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 LY({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:a}){return e??(e=()=>new He(Qt(ce({},FY()),{scheduleInRootZone:a}))),[{provide:He,useFactory:e},{provide:Dl,multi:!0,useFactory:()=>{let n=S(PY,{optional:!0});return()=>n.initialize()}},{provide:Dl,multi:!0,useFactory:()=>{let n=S(jY);return()=>{n.initialize()}}},t===!0?{provide:Ob,useValue:!0}:[],{provide:Mb,useValue:a??Ib}]}function FY(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var jY=(()=>{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})(),VY=(()=>{var t;const a=class a{constructor(){s(this,"appRef",S(ci));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 KG||!this.zoneIsDefined))}notify(i){var l;if(!this.zonelessEnabled&&i===5)return;let r=!1;switch(i){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,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!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(r))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(i){return!(this.disableScheduling&&!i||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 i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,nf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};s(a,"ɵfac",function(i){return new(i||a)}),s(a,"ɵprov",z({token:a,factory:a.ɵfac,providedIn:"root"}));let e=a;return e})();function zY(){return typeof $localize<"u"&&$localize.locale||Ad}var Au=new K("",{providedIn:"root",factory:()=>S(Au,Re.Optional|Re.SkipSelf)||zY()}),Fd=new K(""),BY=new K("");function so(e){return!e.moduleRef}function HY(e){let t=so(e)?e.r3Injector:e.moduleRef.injector,a=t.get(He);return a.run(()=>{so(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Yn,null),i;if(a.runOutsideAngular(()=>{i=a.onError.subscribe({next:r=>{n.handleError(r)}})}),so(e)){let r=()=>t.destroy(),o=e.platformInjector.get(Fd);o.add(r),t.onDestroy(()=>{i.unsubscribe(),o.delete(r)})}else{let r=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Fd);o.add(r),e.moduleRef.onDestroy(()=>{cl(e.allPlatformModules,e.moduleRef),i.unsubscribe(),o.delete(r)})}return $Y(n,a,()=>{let r=t.get(Xy);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Au,Ad);if(yY(o||Ad),!t.get(BY,!0))return so(e)?t.get(ci):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(so(e)){let l=t.get(ci);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return qY(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function qY(e,t){let a=e.injector.get(ci);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>a.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(a);else throw new G(-403,!1);t.push(e)}function $Y(e,t,a){try{let n=a();return Tp(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var dl=null;function GY(e=[],t){return ht.create({name:t,providers:[{provide:jh,useValue:"platform"},{provide:Fd,useValue:new Set([()=>dl=null])},...e]})}function UY(e=[]){if(dl)return dl;let t=GY(e);return dl=t,NZ(),WY(t),t}function WY(e){let t=e.get(qb,null);zh(e,()=>{t==null||t.forEach(a=>a())})}function ZY(){return!1}var ba=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",YY),e})();function YY(e){return KY(on(),de(),(e&16)===16)}function KY(e,t,a){if($r(e)&&!a){let n=pa(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 QY=class{constructor(){}supports(e){return Wy(e)}create(e){return new JY(e)}},XY=(e,t)=>t,JY=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||XY}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,a=this._removalsHead,n=0,i=null;for(;t||a;){let r=!a||t&&t.currentIndex<jf(a,n,i)?t:a,o=jf(r,n,i),l=r.currentIndex;if(r===a)n--,a=a._nextRemoved;else if(t=t._next,r.previousIndex==null)n++;else{i||(i=[]);let u=o-n,c=l-n;if(u!=c){for(let m=0;m<u;m++){let v=m<i.length?i[m]:i[m]=0,g=v+m;c<=g&&g<u&&(i[m]=v+1)}let d=r.previousIndex;i[d]=c-u}}o!==l&&e(r,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,a=!1,n,i,r;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)i=e[o],r=this._trackByFn(o,i),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,i,r,o),a=!0):(a&&(t=this._verifyReinsertion(t,i,r,o)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else n=0,EZ(e,o=>{r=this._trackByFn(n,o),t===null||!Object.is(t.trackById,r)?(t=this._mismatch(t,o,r,n),a=!0):(a&&(t=this._verifyReinsertion(t,o,r,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,a,n){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(a,n),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,n)):e=this._addAfter(new eK(t,a),i,n)),e}_verifyReinsertion(e,t,a,n){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null);return i!==null?e=this._reinsertAfter(i,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,a){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,i=e._nextRemoved;return n===null?this._removalsHead=i:n._nextRemoved=i,i===null?this._removalsTail=n:i._prevRemoved=n,this._insertAfter(e,t,a),this._addToMoves(e,a),e}_moveAfter(e,t,a){return this._unlink(e),this._insertAfter(e,t,a),this._addToMoves(e,a),e}_addAfter(e,t,a){return this._insertAfter(e,t,a),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,a){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=a,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,a=e._next;return t===null?this._itHead=a:t._next=a,a===null?this._itTail=t:a._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}},eK=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}},tK=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 a;for(a=this._head;a!==null;a=a._nextDup)if((t===null||t<=a.currentIndex)&&Object.is(a.trackById,e))return a;return null}remove(e){let t=e._prevDup,a=e._nextDup;return t===null?this._head=a:t._nextDup=a,a===null?this._tail=t:a._prevDup=t,this._head===null}},Ff=class{constructor(){s(this,"map",new Map)}put(e){let t=e.trackById,a=this.map.get(t);a||(a=new tK,this.map.set(t,a)),a.add(e)}get(e,t){let a=e,n=this.map.get(a);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,a){let n=e.previousIndex;if(n===null)return n;let i=0;return a&&n<a.length&&(i=a[n]),n+t+i}var nK=class{constructor(){}supports(e){return e instanceof Map||Ip(e)}create(){return new aK}},aK=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,(a,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,a),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(n,a);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let a=t;a!==null;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let a=e._prev;return t._next=e,t._prev=a,e._prev=t,a&&(a._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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}let a=new iK(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}_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(a=>t(e[a],a))}},iK=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 Jr([new QY])}var Jr=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,i){if(i!=null){let r=i.factories.slice();n=n.concat(r)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||Vf()),deps:[[t,new Nh,new Mh]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i!=null)return i;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 nK])}var b_=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,i){if(i){let r=i.factories.slice();n=n.concat(r)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||zf()),deps:[[t,new Nh,new Mh]]}}find(n){let i=this.factories.find(r=>r.supports(n));if(i)return i;throw new G(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:zf}));let e=t;return e})();function rK(e){let{rootComponent:t,appProviders:a,platformProviders:n,platformRef:i}=e;try{let r=(i==null?void 0:i.injector)??UY(n),o=[LY({}),{provide:Wr,useExisting:VY},...a||[]],l=new qy({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return HY({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}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 w$(e)}function mr(e,t){return h$(e)}var Cv,oK=(Cv=gn,class{constructor(e){s(this,Cv);this[gn]=e}destroy(){this[gn].destroy()}});function sK(e,t){!(t!=null&&t.injector)&&fu();let a=(t==null?void 0:t.injector)??S(ht),n=(t==null?void 0:t.manualCleanup)!==!0?a.get(mi):null,i,r=a.get(lp,null,{optional:!0}),o=a.get(Wr);return r!==null&&!(t!=null&&t.forceRoot)?(i=cK(r.view,o,e),n instanceof Tb&&n._lView===r.view&&(n=null)):i=dK(e,a.get(Ky),o),i.injector=a,n!==null&&(i.onDestroyFn=n.onDestroy(()=>i.destroy())),new oK(i)}var y_=Qt(ce({},Br),{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),a=Rl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Rl(a),su(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),lK=Qt(ce({},y_),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){lu(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),uK=Qt(ce({},y_),{consumerMarkedDirty(){this.view[fe]|=8192,Ur(this.view),this.notifier.notify(13)},destroy(){var e;lu(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Na])==null||e.delete(this)}});function cK(e,t,a){let n=Object.create(uK);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=a,e[Na]??(e[Na]=new Set),e[Na].add(n),n.consumerMarkedDirty(n),n}function dK(e,t,a){let n=Object.create(lK);return n.fn=e,n.scheduler=t,n.notifier=a,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var hK=e=>e;function pK(e,t){if(typeof e=="function"){let a=Fm(e,hK,t==null?void 0:t.equal);return Bf(a)}else{let a=Fm(e.source,e.computation,e.equal);return Bf(a)}}function Bf(e){let t=e[gn],a=e;return a.set=n=>b$(t,n),a.update=n=>y$(t,n),a.asReadonly=rp.bind(e),a}function __(e,t){let a=Cr(e),n=t.elementInjector||mu();return new Cp(a).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var mK={schedule(e,t){let a=setTimeout(e,t);return()=>clearTimeout(a)}};function fK(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function gK(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var gc;function vK(e,t){if(!gc){let a=Element.prototype;gc=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?gc.call(e,t):!1}function bK(e){let t={};return e.forEach(({propName:a,templateName:n,transform:i})=>{t[fK(n)]=[a,i]}),t}function yK(e,t){return t.get(fs).resolveComponentFactory(e).inputs}function _K(e,t){let a=e.childNodes,n=t.map(()=>[]),i=-1;t.some((r,o)=>r==="*"?(i=o,!0):!1);for(let r=0,o=a.length;r<o;++r){let l=a[r],u=wK(l,t,i);u!==-1&&n[u].push(l)}return n}function wK(e,t,a){let n=a;return gK(e)&&t.some((i,r)=>i!=="*"&&vK(e,i)?(n=r,!0):!1),n}var xK=10,EK=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(fs).resolveComponentFactory(e);for(let a of this.componentFactory.inputs)this.inputMap.set(a.propName,a.templateName)}create(e){return new SK(this.componentFactory,e,this.inputMap)}},SK=class{constructor(e,t,a){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new kh(1));s(this,"events",this.eventEmitters.pipe(El(e=>Li(...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=a,this.ngZone=this.injector.get(He),this.appRef=this.injector.get(ci),this.cdScheduler=t.get(Wr),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=mK.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},xK))})}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),lW(this.componentRef.hostView)&&(uW(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ht.create({providers:[],parent:this.injector}),a=_K(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,a,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:a,templateName:n})=>{let i=e.instance[a];return new mt(r=>{let o=i.subscribe(l=>r.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()}},kK=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function CK(e,t){let a=yK(e,t.injector),n=t.strategyFactory||new EK(e,t.injector),i=bK(a);class r extends kK{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);a.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]=i[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(r,"observedAttributes",Object.keys(i)),a.forEach(({propName:o,transform:l})=>{Object.defineProperty(r.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),r}var Ve=new K(""),w_=null;function So(){return w_}function DK(e){w_??(w_=e)}var IK=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(TK),providedIn:"platform"}));let e=t;return e})(),TK=(()=>{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(i){let r=So().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",i,!1),()=>r.removeEventListener("popstate",i)}onHashChange(i){let r=So().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",i,!1),()=>r.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,r,o){this._history.pushState(i,r,o)}replaceState(i,r,o){this._history.replaceState(i,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};s(t,"ɵfac",function(i){return new(i||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 Oi(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(OK),providedIn:"root"}));let e=t;return e})(),RK=new K(""),OK=(()=>{const t=class t extends Fp{constructor(i,r){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=i,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((o=S(Ve).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return E_(this._baseHref,i)}path(i=!1){let r=this._platformLocation.pathname+Oi(this._platformLocation.search),o=this._platformLocation.hash;return o&&i?`${r}${o}`:r}pushState(i,r,o,l){let u=this.prepareExternalUrl(o+Oi(l));this._platformLocation.pushState(i,r,u)}replaceState(i,r,o,l){let u=this.prepareExternalUrl(o+Oi(l));this._platformLocation.replaceState(i,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var r,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,i)}};s(t,"ɵfac",function(i){return new(i||t)(oe(x_),oe(RK,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 i=this._locationStrategy.getBaseHref();this._basePath=AK(Hf(qf(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.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,i=""){return this.path()==this.normalize(n+Oi(i))}normalize(n){return t.stripTrailingSlash(NK(this._basePath,qf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",r=null){this._locationStrategy.pushState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Oi(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Oi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var i,r;(r=(i=this._locationStrategy).historyGo)==null||r.call(i,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var r;let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(r=>r(n,i))}subscribe(n,i,r){return this._subject.subscribe({next:n,error:i??void 0,complete:r??void 0})}};s(t,"normalizeQueryParams",Oi),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:()=>MK(),providedIn:"root"}));let e=t;return e})();function MK(){return new S_(oe(Fp))}function NK(e,t){if(!e||!t.startsWith(e))return t;let a=t.substring(e.length);return a===""||["/",";","?","#"].includes(a[0])?a:t}function qf(e){return e.replace(/\/index.html$/,"")}function AK(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 PK(e){return Qn(e)[Ot.LocaleId]}function LK(e,t,a){let n=Qn(e),i=[n[Ot.DayPeriodsFormat],n[Ot.DayPeriodsStandalone]],r=Fn(i,t);return Fn(r,a)}function FK(e,t,a){let n=Qn(e),i=[n[Ot.DaysFormat],n[Ot.DaysStandalone]],r=Fn(i,t);return Fn(r,a)}function jK(e,t,a){let n=Qn(e),i=[n[Ot.MonthsFormat],n[Ot.MonthsStandalone]],r=Fn(i,t);return Fn(r,a)}function VK(e,t){let a=Qn(e)[Ot.Eras];return Fn(a,t)}function Ls(e,t){let a=Qn(e);return Fn(a[Ot.DateFormat],t)}function Fs(e,t){let a=Qn(e);return Fn(a[Ot.TimeFormat],t)}function js(e,t){let a=Qn(e)[Ot.DateTimeFormat];return Fn(a,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 zK(e){let t=Qn(e);return k_(t),(t[Ot.ExtraData][2]||[]).map(a=>typeof a=="string"?vc(a):[vc(a[0]),vc(a[1])])}function BK(e,t,a){let n=Qn(e);k_(n);let i=[n[Ot.ExtraData][0],n[Ot.ExtraData][1]],r=Fn(i,t)||[];return Fn(r,a)||[]}function Fn(e,t){for(let a=t;a>-1;a--)if(typeof e[a]<"u")return e[a];throw new Error("Locale data API: locale data undefined")}function vc(e){let[t,a]=e.split(":");return{hours:+t,minutes:+a}}var HK=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nr={},qK=/((?:[^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 $K(e,t,a,n){let i=JK(e);t=Ra(a,t)||t;let r=[],o;for(;t;)if(o=qK.exec(t),o){r=r.concat(o.slice(1));let c=r.pop();if(!c)break;t=c}else{r.push(t);break}let l=i.getTimezoneOffset();n&&(l=D_(n,l),i=XK(i,n));let u="";return r.forEach(c=>{let d=KK(c);u+=d?d(i,a,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Bl(e,t,a){let n=new Date(0);return n.setFullYear(e,t,a),n.setHours(0,0,0),n}function Ra(e,t){let a=PK(e);if(nr[a]??(nr[a]={}),nr[a][t])return nr[a][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 i=Ra(e,"shortTime"),r=Ra(e,"shortDate");n=Vs(js(e,_n.Short),[i,r]);break;case"medium":let o=Ra(e,"mediumTime"),l=Ra(e,"mediumDate");n=Vs(js(e,_n.Medium),[o,l]);break;case"long":let u=Ra(e,"longTime"),c=Ra(e,"longDate");n=Vs(js(e,_n.Long),[u,c]);break;case"full":let d=Ra(e,"fullTime"),m=Ra(e,"fullDate");n=Vs(js(e,_n.Full),[d,m]);break}return n&&(nr[a][t]=n),n}function Vs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(a,n){return t!=null&&n in t?t[n]:a})),e}function Gn(e,t,a="-",n,i){let r="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,r=a));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),r+o}function GK(e,t){return Gn(e,3).substring(0,t)}function It(e,t,a=0,n=!1,i=!1){return function(r,o){let l=UK(e,r);if((a>0||l>-a)&&(l+=a),e===3)l===0&&a===-12&&(l=12);else if(e===6)return GK(l,t);let u=Lu(o,Pu.MinusSign);return Gn(l,t,u,n,i)}}function UK(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,a=ln.Format,n=!1){return function(i,r){return WK(i,r,e,t,a,n)}}function WK(e,t,a,n,i,r){switch(a){case 2:return jK(t,i,n)[e.getMonth()];case 1:return FK(t,i,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=zK(t),d=BK(t,i,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 LK(t,i,n)[o<12?0:1];case 3:return VK(t,n)[e.getFullYear()<=0?0:1];default:let u=a;throw new Error(`unexpected translation type ${u}`)}}function zs(e){return function(t,a,n){let i=-1*n,r=Lu(a,Pu.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?"+":"")+Gn(o,2,r)+Gn(Math.abs(i%60),2,r);case 1:return"GMT"+(i>=0?"+":"")+Gn(o,1,r);case 2:return"GMT"+(i>=0?"+":"")+Gn(o,2,r)+":"+Gn(Math.abs(i%60),2,r);case 3:return n===0?"Z":(i>=0?"+":"")+Gn(o,2,r)+":"+Gn(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var ZK=0,hl=4;function YK(e){let t=Bl(e,ZK,1).getDay();return Bl(e,0,1+(t<=hl?hl:hl+7)-t)}function C_(e){let t=e.getDay(),a=t===0?-3:hl-t;return Bl(e.getFullYear(),e.getMonth(),e.getDate()+a)}function bc(e,t=!1){return function(a,n){let i;if(t){let r=new Date(a.getFullYear(),a.getMonth(),1).getDay()-1,o=a.getDate();i=1+Math.floor((o+r)/7)}else{let r=C_(a),o=YK(r.getFullYear()),l=r.getTime()-o.getTime();i=1+Math.round(l/6048e5)}return Gn(i,e,Lu(n,Pu.MinusSign))}}function Bs(e,t=!1){return function(a,n){let i=C_(a).getFullYear();return Gn(i,e,Lu(n,Pu.MinusSign),t)}}var yc={};function KK(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 a=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(a)?t:a}function QK(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function XK(e,t,a){let n=e.getTimezoneOffset(),i=D_(t,n);return QK(e,-1*(i-n))}function JK(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[i,r=1,o=1]=e.split("-").map(l=>+l);return Bl(i,r-1,o)}let a=parseFloat(e);if(!isNaN(e-a))return new Date(a);let n;if(n=e.match(HK))return eQ(n)}let t=new Date(e);if(!$f(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function eQ(e){let t=new Date(0),a=0,n=0,i=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(a=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-a,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.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,i){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Gf);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=i}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 i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],r=n[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(_c).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};s(t,"ɵfac",function(n){return new(n||t)(Zt(Xe),Zt(Ki))}),s(t,"ɵdir",be({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),tQ=(()=>{const t=class t{constructor(n,i,r){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=i,this._renderer=r}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,i){let[r,o]=n.split("."),l=r.indexOf("-")===-1?void 0:ti.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Zt(Xe),Zt(b_),Zt(Ki))}),s(t,"ɵdir",be({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),nQ=(()=>{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 i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(n,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}};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:[hi]}));let e=t;return e})();function Vp(e,t){return new G(2100,!1)}var aQ=class{createSubscription(e,t){return jd(()=>e.subscribe({next:t,error:a=>{throw a}}))}dispose(e){jd(()=>e.unsubscribe())}},iQ=class{createSubscription(e,t){return e.then(a=>t==null?void 0:t(a),a=>{throw a}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},rQ=new iQ,oQ=new aQ,sQ=(()=>{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,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Tp(n))return rQ;if(Qy(n))return oQ;throw Vp()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){var r;n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&((r=this._ref)==null||r.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(Zt(ba,16))}),s(t,"ɵpipe",va({name:"async",type:t,pure:!1}));let e=t;return e})(),lQ="mediumDate",uQ=new K(""),cQ=new K(""),zp=(()=>{const t=class t{constructor(n,i,r){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=i,this.defaultOptions=r}transform(n,i,r,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=i??((l=this.defaultOptions)==null?void 0:l.dateFormat)??lQ,d=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return $K(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(uQ,24),Zt(cQ,24))}),s(t,"ɵpipe",va({name:"date",type:t,pure:!0}));let e=t;return e})(),I_=(()=>{const t=class t{transform(n,i,r){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw Vp();return n.slice(i,r)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",va({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 a of e.split(";")){let n=a.indexOf("="),[i,r]=n==-1?[a,""]:[a.slice(0,n),a.slice(n+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}var O_="browser",dQ="server";function hQ(e){return e===O_}function M_(e){return e===dQ}var N_=class{};function Fu(e,t,a){return vY(e,t,a)}var Vd=new K(""),A_=(()=>{const t=class t{constructor(n,i){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=i,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,r,o){return this._findPluginFor(i).addEventListener(n,i,r,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(r=>r.supports(n)),!i)throw new G(5101,!1);return this._eventNameToPlugin.set(n,i),i}};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 a=t.createElement("style");return a.textContent=e,a}function pQ(e,t,a,n){var r;let i=(r=e.head)==null?void 0:r.querySelectorAll(`style[${pl}="${t}"],link[${pl}="${t}"]`);if(i)for(let o of i)o.removeAttribute(pl),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&a.set(o.textContent,{usage:0,elements:[o]})}function zd(e,t){let a=t.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),a}var L_=(()=>{const t=class t{constructor(n,i,r,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=i,this.nonce=r,this.isServer=M_(o),pQ(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let r of n)this.addUsage(r,this.inline,Wf);i==null||i.forEach(r=>this.addUsage(r,this.external,zd))}removeStyles(n,i){for(let r of n)this.removeUsage(r,this.inline);i==null||i.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,i,r){let o=i.get(n);o?o.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(n,this.doc)))})}removeUsage(n,i){let r=i.get(n);r&&(r.usage--,r.usage<=0&&(Uf(r.elements),i.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[i,{elements:r}]of this.inline)r.push(this.addElement(n,Wf(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(n,zd(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(pl,this.appId),n.appendChild(i)}};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%",mQ=`_nghost-${F_}`,fQ=`_ngcontent-${F_}`,gQ=!0,vQ=new K("",{providedIn:"root",factory:()=>gQ});function bQ(e){return fQ.replace(Bp,e)}function yQ(e){return mQ.replace(Bp,e)}function j_(e,t){return t.map(a=>a.replace(Bp,e))}var Bd=(()=>{const t=class t{constructor(n,i,r,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=i,this.appId=r,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,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Aa.ShadowDom&&(i=Qt(ce({},i),{encapsulation:Aa.Emulated}));let r=this.getOrCreateRenderer(n,i);return r instanceof Yf?r.applyToHost(n):r instanceof Hd&&r.applyStyles(),r}getOrCreateRenderer(n,i){let r=this.rendererByCompId,o=r.get(i.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(i.encapsulation){case Aa.Emulated:o=new Yf(c,d,i,this.appId,m,l,u,v,g);break;case Aa.ShadowDom:return new _Q(c,d,n,i,l,u,this.nonce,v,g);default:o=new Hd(c,d,i,m,l,u,v,g);break}r.set(i.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(vQ),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,a,n,i){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=a,this.platformIsServer=n,this.tracingService=i}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,a){e&&(Zf(e)?e.content:e).insertBefore(t,a)}removeChild(e,t){t.remove()}selectRootElement(e,t){let a=typeof e=="string"?this.doc.querySelector(e):e;if(!a)throw new G(-5104,!1);return t||(a.textContent=""),a}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,a,n){if(n){t=n+":"+t;let i=wc[n];i?e.setAttributeNS(i,t,a):e.setAttribute(t,a)}else e.setAttribute(t,a)}removeAttribute(e,t,a){if(a){let n=wc[a];n?e.removeAttributeNS(n,t):e.removeAttribute(`${a}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,a,n){n&(ti.DashCase|ti.Important)?e.style.setProperty(t,a,n&ti.Important?"important":""):e.style[t]=a}removeStyle(e,t,a){a&ti.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,a){e!=null&&(e[t]=a)}setValue(e,t){e.nodeValue=t}listen(e,t,a,n){var r;if(typeof e=="string"&&(e=So().getGlobalEventTarget(this.doc,e),!e))throw new G(5102,!1);let i=this.decoratePreventDefault(a);return(r=this.tracingService)!=null&&r.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,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 _Q=class extends Hp{constructor(t,a,n,i,r,o,l,u,c){var v;super(t,r,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=a,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=j_(i.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=i.getExternalStyles)==null?void 0:v.call(i);if(m)for(let g of m){let w=zd(g,r);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,a){return super.appendChild(this.nodeOrShadowRoot(t),a)}insertBefore(t,a,n){return super.insertBefore(this.nodeOrShadowRoot(t),a,n)}removeChild(t,a){return super.removeChild(null,a)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Hd=class extends Hp{constructor(t,a,n,i,r,o,l,u,c){var m;super(t,r,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=a,this.removeStylesOnCompDestroy=i;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,a,n,i,r,o,l,u,c){let d=i+"-"+n.id;super(t,a,n,r,o,l,u,c,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=bQ(d),this.hostAttr=yQ(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,a){let n=super.createElement(t,a);return super.setAttribute(n,this.contentAttr,""),n}},wQ=class V_ extends IK{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){DK(new V_)}onAndCancel(a,n,i,r){return a.addEventListener(n,i,r),()=>{a.removeEventListener(n,i,r)}}dispatchEvent(a,n){a.dispatchEvent(n)}remove(a){a.remove()}createElement(a,n){return n=n||this.getDefaultDocument(),n.createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,n){return n==="window"?window:n==="document"?a:n==="body"?a.body:null}getBaseHref(a){let n=xQ();return n==null?null:EQ(n)}resetBaseElement(){bo=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return R_(document.cookie,a)}},bo=null;function xQ(){return bo=bo||document.head.querySelector("base"),bo?bo.getAttribute("href"):null}function EQ(e){return new URL(e,document.baseURI).pathname}var SQ=(()=>{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})(),kQ=(()=>{const t=class t extends P_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r,o){return n.addEventListener(i,r,o),()=>this.removeEventListener(n,i,r,o)}removeEventListener(n,i,r,o){return n.removeEventListener(i,r,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"],CQ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},DQ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},IQ=(()=>{const t=class t extends P_{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,i,r,o){let l=t.parseEventName(i),u=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>So().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let i=n.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),l="",u=i.indexOf("code");if(u>-1&&(i.splice(u,1),l="code."),Kf.forEach(d=>{let m=i.indexOf(d);m>-1&&(i.splice(m,1),l+=d+".")}),l+=o,i.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=l,c}static matchEventFullKeyCode(n,i){let r=CQ[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Kf.forEach(l=>{if(l!==r){let u=DQ[l];u(n)&&(o+=l+".")}}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{t.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(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 TQ(e){return rK(RQ(e))}function RQ(e){return{appProviders:[...PQ,...(e==null?void 0:e.providers)??[]],platformProviders:AQ}}function OQ(){wQ.makeCurrent()}function MQ(){return new Yn}function NQ(){return uU(document),document}var AQ=[{provide:Eu,useValue:O_},{provide:qb,useValue:OQ,multi:!0},{provide:Ve,useFactory:NQ}],PQ=[{provide:jh,useValue:"root"},{provide:Yn,useFactory:MQ},{provide:Vd,useClass:kQ,multi:!0,deps:[Ve]},{provide:Vd,useClass:IQ,multi:!0,deps:[Ve]},Bd,L_,A_,{provide:Kn,useExisting:Bd},{provide:N_,useClass:SQ},[]],qp=class{},z_=class{},Lr=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(a=>{let n=a.indexOf(":");if(n>0){let i=a.slice(0,n),r=a.slice(n+1).trim();this.addHeaderEntry(i,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((a,n)=>{this.addHeaderEntry(n,a)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([a,n])=>{this.setHeaderEntries(a,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let a=this.headers.get(t.toLowerCase());return a&&a.length>0?a[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,a){return this.clone({name:t,value:a,op:"a"})}set(t,a){return this.clone({name:t,value:a,op:"s"})}delete(t,a){return this.clone({name:t,value:a,op:"d"})}maybeSetNormalizedName(t,a){this.normalizedNames.has(a)||this.normalizedNames.set(a,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(a=>{this.headers.set(a,t.headers.get(a)),this.normalizedNames.set(a,t.normalizedNames.get(a))})}clone(t){let a=new ml;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof ml?this.lazyInit:this,a.lazyUpdate=(this.lazyUpdate||[]).concat([t]),a}applyUpdate(t){let a=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,a);let i=(t.op==="a"?this.headers.get(a):void 0)||[];i.push(...n),this.headers.set(a,i);break;case"d":let r=t.value;if(!r)this.headers.delete(a),this.normalizedNames.delete(a);else{let o=this.headers.get(a);if(!o)return;o=o.filter(l=>r.indexOf(l)===-1),o.length===0?(this.headers.delete(a),this.normalizedNames.delete(a)):this.headers.set(a,o)}break}}addHeaderEntry(t,a){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(a):this.headers.set(n,[a])}setHeaderEntries(t,a){let n=(Array.isArray(a)?a:[a]).map(r=>r.toString()),i=t.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(a=>t(this.normalizedNames.get(a),this.headers.get(a)))}},LQ=class{encodeKey(e){return Qf(e)}encodeValue(e){return Qf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function FQ(e,t){let a=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let i=n.indexOf("="),[r,o]=i==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,i)),t.decodeValue(n.slice(i+1))],l=a.get(r)||[];l.push(o),a.set(r,l)}),a}var jQ=/%(\d[a-f0-9])/gi,VQ={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qf(e){return encodeURIComponent(e).replace(jQ,(t,a)=>VQ[a]??t)}function Hs(e){return`${e}`}var _r=class B_{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new LQ,t.fromString){if(t.fromObject)throw new G(2805,!1);this.map=FQ(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(a=>{let n=t.fromObject[a],i=Array.isArray(n)?n.map(Hs):[Hs(n)];this.map.set(a,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let a=this.map.get(t);return a?a[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,a){return this.clone({param:t,value:a,op:"a"})}appendAll(t){let a=[];return Object.keys(t).forEach(n=>{let i=t[n];Array.isArray(i)?i.forEach(r=>{a.push({param:n,value:r,op:"a"})}):a.push({param:n,value:i,op:"a"})}),this.clone(a)}set(t,a){return this.clone({param:t,value:a,op:"s"})}delete(t,a){return this.clone({param:t,value:a,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let a=this.encoder.encodeKey(t);return this.map.get(t).map(n=>a+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let a=new B_({encoder:this.encoder});return a.cloneFrom=this.cloneFrom||this,a.updates=(this.updates||[]).concat(t),a}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 a=(t.op==="a"?this.map.get(t.param):void 0)||[];a.push(Hs(t.value)),this.map.set(t.param,a);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],i=n.indexOf(Hs(t.value));i!==-1&&n.splice(i,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)}},zQ=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 BQ(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 HQ(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var tg="Content-Type",ng="Accept",H_="X-Request-URL",q_="text/plain",$_="application/json",qQ=`${$_}, ${q_}, */*`,xc=class G_{constructor(t,a,n,i){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=a,this.method=t.toUpperCase();let r;if(BQ(this.method)||i?(this.body=n!==void 0?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??(this.headers=new Lr),this.context??(this.context=new zQ),!this.params)this.params=new _r,this.urlWithParams=a;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=a;else{let l=a.indexOf("?"),u=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Xf(this.body)||Jf(this.body)||eg(this.body)||HQ(this.body)?this.body:this.body instanceof _r?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 _r?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?$_:null}clone(t={}){let a=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,r=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_(a,n,o,{params:d,headers:c,context:m,reportProgress:u,responseType:i,withCredentials:l,transferCache:r})}},wr=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}(wr||{}),$p=class{constructor(e,t=200,a="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Lr,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||a,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},$Q=class U_ extends $p{constructor(a={}){super(a);s(this,"type",wr.ResponseHeader)}clone(a={}){return new U_({headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},W_=class Z_ extends $p{constructor(a={}){super(a);s(this,"body");s(this,"type",wr.Response);this.body=a.body!==void 0?a.body:null}clone(a={}){return new Z_({body:a.body!==void 0?a.body:this.body,headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},ag=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}},GQ=200,UQ=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,i,r={}){let o;if(n instanceof xc)o=n;else{let c;r.headers instanceof Lr?c=r.headers:c=new Lr(r.headers);let d;r.params&&(r.params instanceof _r?d=r.params:d=new _r({fromObject:r.params})),o=new xc(n,i,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:d,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=tt(o).pipe(_0(c=>this.handler.handle(c)));if(n instanceof xc||r.observe==="events")return l;let u=l.pipe(Sn(c=>c instanceof W_));switch(r.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,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new _r().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,r={}){return this.request("PATCH",n,Ec(r,i))}post(n,i,r={}){return this.request("POST",n,Ec(r,i))}put(n,i,r={}){return this.request("PUT",n,Ec(r,i))}};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})(),WQ=new K("");function ZQ(e,t){return t(e)}function YQ(e,t,a){return(n,i)=>zh(a,()=>t(n,r=>e(r,i)))}var Gp=new K(""),KQ=new K(""),QQ=new K("",{providedIn:"root",factory:()=>!0}),ig=(()=>{const t=class t extends qp{constructor(i,r){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",S(cs));s(this,"contributeToStability",S(QQ));this.backend=i,this.injector=r}handle(i){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Gp),...this.injector.get(KQ,[])]));this.chain=r.reduceRight((o,l)=>YQ(o,l,this.injector),ZQ)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(i,o=>this.backend.handle(o)).pipe(w0(()=>this.pendingTasks.remove(r)))}else return this.chain(i,r=>this.backend.handle(r))}};s(t,"ɵfac",function(i){return new(i||t)(oe(z_),oe(ca))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),XQ=/^\)\]\}',?\n/,JQ=RegExp(`^${H_}:`,"m");function eX(e){return"responseURL"in e&&e.responseURL?e.responseURL:JQ.test(e.getAllResponseHeaders())?e.getResponseHeader(H_):null}var rg=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new G(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?Gi(i.ɵloadImpl()):tt(null)).pipe(El(()=>new mt(r=>{let o=i.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,qQ),!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 Lr(o.getAllResponseHeaders()),D=eX(o)||n.url;return u=new $Q({headers:k,status:o.status,statusText:x,url:D}),u},d=()=>{let{headers:x,status:k,statusText:D,url:O}=c(),M=null;k!==UQ&&(M=typeof o.response>"u"?o.responseText:o.response),k===0&&(k=M?GQ:0);let J=k>=200&&k<300;if(n.responseType==="json"&&typeof M=="string"){let ue=M;M=M.replace(XQ,"");try{M=M!==""?JSON.parse(M):null}catch(we){M=ue,J&&(J=!1,M={error:we,text:M})}}J?(r.next(new W_({body:M,headers:x,status:k,statusText:D,url:O||void 0})),r.complete()):r.error(new ag({error:M,headers:x,status:k,statusText:D,url:O||void 0}))},m=x=>{let{url:k}=c(),D=new ag({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:k||void 0});r.error(D)},v=!1,g=x=>{v||(r.next(c()),v=!0);let k={type:wr.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),n.responseType==="text"&&o.responseText&&(k.partialText=o.responseText),r.next(k)},w=x=>{let k={type:wr.UploadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),r.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),r.next({type:wr.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(""),tX="XSRF-TOKEN",nX=new K("",{providedIn:"root",factory:()=>tX}),aX="X-XSRF-TOKEN",iX=new K("",{providedIn:"root",factory:()=>aX}),K_=class{},rX=(()=>{const t=class t{constructor(n,i){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=i}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(nX))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),oX=/^(?:https?:)?\/\//i;function sX(e,t){if(!S(Y_)||e.method==="GET"||e.method==="HEAD"||oX.test(e.url))return t(e);let a=S(K_).getToken(),n=S(iX);return a!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,a)})),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 lX(e,t){return{ɵkind:e,ɵproviders:t}}function uX(...e){let t=[eo,rg,ig,{provide:qp,useExisting:ig},{provide:z_,useFactory:()=>S(WQ,{optional:!0})??S(rg)},{provide:Gp,useValue:sX,multi:!0},{provide:Y_,useValue:!0},{provide:K_,useClass:rX}];for(let a of e)t.push(...a.ɵproviders);return Lh(t)}function cX(e){return lX(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 i=null;return n?i=new(n||t):i=oe(dX),i},providedIn:"root"}));let e=t;return e})(),dX=(()=>{const t=class t extends X_{constructor(i){super();s(this,"_doc");this._doc=i}sanitize(i,r){if(r==null)return null;switch(i){case xn.NONE:return r;case xn.HTML:return rr(r,"HTML")?Xa(r):YU(this._doc,String(r)).toString();case xn.STYLE:return rr(r,"Style")?Xa(r):r;case xn.SCRIPT:if(rr(r,"Script"))return Xa(r);throw new G(5200,!1);case xn.URL:return rr(r,"URL")?Xa(r):cp(String(r));case xn.RESOURCE_URL:if(rr(r,"ResourceURL"))return Xa(r);throw new G(5201,!1);default:throw new G(5202,!1)}}bypassSecurityTrustHtml(i){return CU(i)}bypassSecurityTrustStyle(i){return DU(i)}bypassSecurityTrustScript(i){return IU(i)}bypassSecurityTrustUrl(i){return TU(i)}bypassSecurityTrustResourceUrl(i){return RU(i)}};s(t,"ɵfac",function(i){return new(i||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bs=class{},hX=(()=>{const t=class t extends bs{getTranslation(n){return tt({})}};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),J_=class{},pX=(()=>{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 a=typeof e,n=typeof t,i,r,o;if(a==n&&a=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((i=e.length)==t.length){for(r=0;r<i;r++)if(!Hl(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(r in e){if(!Hl(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&typeof t[r]<"u")return!1;return!0}return!1}function ni(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 mX(e){return typeof e=="function"}function qd(e,t){let a=Object.assign({},e);return fl(e)?(fl(e)&&fl(t)&&Object.keys(t).forEach(n=>{ys(t[n])?n in e?a[n]=qd(e[n],t[n]):Object.assign(a,{[n]:t[n]}):Object.assign(a,{[n]:t[n]})}),a):qd({},t)}function $d(e,t){let a=t.split(".");t="";do t+=a.shift(),ni(e)&&ni(e[t])&&(ys(e[t])||Up(e[t])||!a.length)?(e=e[t],t=""):a.length?t+=".":e=void 0;while(a.length);return e}function fX(e,t,a){let n=t.split("."),i=e;for(let r=0;r<n.length;r++){let o=n[r];r===n.length-1?i[o]=a:((!i[o]||!ys(i[o]))&&(i[o]={}),i=i[o])}}var Zp=class{},gX=(()=>{const t=class t extends Zp{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(i,r){if(Wp(i))return this.interpolateString(i,r);if(mX(i))return this.interpolateFunction(i,r)}interpolateFunction(i,r){return i(r)}interpolateString(i,r){return r?i.replace(this.templateMatcher,(o,l)=>{let u=$d(r,l);return ni(u)?u:o}):i}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),_s=class{},vX=(()=>{const t=class t extends _s{compile(n,i){return n}compileTranslations(n,i){return n}};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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"),a1=new K("USE_EXTEND"),lo=e=>vr(e)?e:tt(e),Xn=(()=>{const t=class t{constructor(n,i,r,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=i,this.compiler=r,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 i=this.retrieveTranslations(n);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=n),i.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 i=this.retrieveTranslations(n);return vr(i)?(i.pipe(tn(1)).subscribe(()=>{this.changeLang(n)}),i):(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 i=this.currentLoader.getTranslation(n).pipe(qm(1),tn(1));return this.loadingTranslations=i.pipe(Pt(r=>this.compiler.compileTranslations(r,n)),qm(1),tn(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?ce(ce({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(n,i,r=!1){let o=this.compiler.compileTranslations(i,n);(r||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 i=n.filter(r=>!this.langs.includes(r));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,i,r){let o;if(n&&(o=this.runInterpolation($d(n,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation($d(this.translations[this.defaultLang],i),r)),o===void 0){let l={key:i,translateService:this};typeof r<"u"&&(l.interpolateParams=r),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:i}runInterpolation(n,i){if(Up(n))return n.map(r=>this.runInterpolation(r,i));if(ys(n)){let r={};for(let o in n){let l=this.runInterpolation(n[o],i);l!==void 0&&(r[o]=l)}return r}else return this.parser.interpolate(n,i)}getParsedResult(n,i,r){if(i instanceof Array){let o={},l=!1;for(let c of i)o[c]=this.getParsedResultForKey(n,c,r),l=l||vr(o[c]);if(!l)return o;let u=i.map(c=>lo(o[c]));return b0(u).pipe(Pt(c=>{let d={};return c.forEach((m,v)=>{d[i[v]]=m}),d}))}return this.getParsedResultForKey(n,i,r)}get(n,i){if(!ni(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(_0(r=>lo(this.getParsedResult(r,n,i)))):lo(this.getParsedResult(this.translations[this.currentLang],n,i))}getStreamOnTranslationChange(n,i){if(!ni(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Mo(xl(()=>this.get(n,i)),this.onTranslationChange.pipe(El(r=>{let o=this.getParsedResult(r.translations,n,i);return lo(o)})))}stream(n,i){if(!ni(n)||!n.length)throw new Error('Parameter "key" required');return Mo(xl(()=>this.get(n,i)),this.onLangChange.pipe(El(r=>{let o=this.getParsedResult(r.translations,n,i);return lo(o)})))}instant(n,i){if(!ni(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,i);return vr(r)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:r}set(n,i,r=this.currentLang){fX(this.translations[r],n,Wp(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}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(a1),oe(n1))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$a=(()=>{const t=class t{constructor(n,i){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=i}updateValue(n,i,r){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,n,i);vr(l)?l.subscribe(o):o(l)}this.translate.get(n,i).subscribe(o)}transform(n,...i){if(!n||!n.length)return n;if(Hl(n,this.lastKey)&&Hl(i,this.lastParams))return this.value;let r;if(ni(i[0])&&i.length)if(Wp(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ys(i[0])&&(r=i[0]);return this.lastKey=n,this.lastParams=i,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.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(ba,16))}),s(t,"ɵpipe",va({name:"translate",type:t,pure:!1})),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),bX=(e={})=>Lh([e.loader||{provide:bs,useClass:hX},e.compiler||{provide:_s,useClass:vX},e.parser||{provide:Zp,useClass:gX},e.missingTranslationHandler||{provide:J_,useClass:pX},Gd,{provide:e1,useValue:e.isolate},{provide:t1,useValue:e.useDefaultLang},{provide:a1,useValue:e.extend},{provide:n1,useValue:e.defaultLanguage},Xn]);function i1(e){return e.buttons===0||e.detail===0}function r1(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 yX(){if(Sc==null){let e=typeof document<"u"?document.head:null;Sc=!!(e&&(e.createShadowRoot||e.attachShadow))}return Sc}function _X(e){if(yX()){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 ja(e){return e.composedPath?e.composedPath()[0]:e.target}function ai(e,t,a,n,i){let r=parseInt(Lf.major),o=parseInt(Lf.minor);return r>19||r===19&&o>0||r===0&&o===0?e.listen(t,a,n,i):(t.addEventListener(a,n,i),()=>{t.removeEventListener(a,n,i)})}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?hQ(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 wX(){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 wX()?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 xr(e){return e instanceof Xe?e.nativeElement:e}var xX=new K("cdk-input-modality-detector-options"),EX={ignoreKeys:[18,17,224,91,16]},s1=650,Cc={passive:!0,capture:!0},SX=(()=>{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 Ai(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var i,r;(r=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&r.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ja(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<s1||(this._modality.next(i1(n)?"keyboard":"mouse"),this._mostRecentTarget=ja(n))});s(this,"_onTouchstart",n=>{if(r1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ja(n)});let n=S(He),i=S(Ve),r=S(xX,{optional:!0});if(this._options=ce(ce({},EX),r),this.modalityDetected=this._modality.pipe(E0(1)),this.modalityChanged=this.modalityDetected.pipe(v6()),this._platform.isBrowser){let o=S(Kn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[ai(o,i,"keydown",this._onKeydown,Cc),ai(o,i,"mousedown",this._onMousedown,Cc),ai(o,i,"touchstart",this._onTouchstart,Cc)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(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})(),gl=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(gl||{}),kX=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(SX));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 i=ja(n);for(let r=i;r;r=r.parentElement)n.type==="focus"?this._onFocus(n,r):this._onBlur(n,r)});let n=S(kX,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||gl.IMMEDIATE}monitor(n,i=!1){let r=xr(n);if(!this._platform.isBrowser||r.nodeType!==1)return tt();let o=_X(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return i&&(l.checkChildren=!0),l.subject;let u={checkChildren:i,subject:new ve,rootNode:o};return this._elementInfo.set(r,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let i=xr(n),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(n,i,r){let o=xr(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,i,c)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_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,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===gl.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?s1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(n,i){let r=this._elementInfo.get(i),o=ja(n);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(n,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,qs),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,qs)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qs),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qs),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,r){this._setClasses(n,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((r,o)=>{(o===n||r.checkChildren&&o.contains(n))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===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(i))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,gi=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",S(ht));s(this,"_environmentInjector",S(ca))}load(n){let i=this._appRef=this._appRef||this._injector.get(ci),r=$s.get(i);r||(r={loaders:new Set,refs:[]},$s.set(i,r),i.onDestroy(()=>{var o;(o=$s.get(i))==null||o.refs.forEach(l=>l.destroy()),$s.delete(i)})),r.loaders.has(n)||(r.loaders.add(n),r.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,i){},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,wi,CX=(()=>{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):IX}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&DX(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 DX(e,t){if(!sg.has(e))try{wi||(wi=document.createElement("style"),t&&wi.setAttribute("nonce",t),wi.setAttribute("type","text/css"),document.head.appendChild(wi)),wi.sheet&&(wi.sheet.insertRule(`@media ${e} {body{ }}`,0),sg.add(e))}catch(a){console.error(a)}}function IX(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var u1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",S(CX));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(i=>this._registerQuery(i).mql.matches)}observe(n){let i=lg(ql(n)).map(o=>this._registerQuery(o).observable),r=rl(i);return r=Mo(r.pipe(tn(1)),r.pipe(E0(1),g6(0))),r.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 i=this._mediaMatcher.matchMedia(n),r={observable:new mt(o=>{let l=u=>this._zone.run(()=>o.next(u));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(du(i),Pt(({matches:o})=>({query:n,matches:o})),oi(this._destroySubject)),mql:i};return this._queries.set(n,r),r}};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,a)=>t.concat(a)).map(t=>t.trim())}var TX=(()=>{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})(),RX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[TX]}));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 MX(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=OX(zX(n));if(i&&(ug(i)===-1||!this.isVisible(i)))return!1;let r=n.nodeName.toLowerCase(),o=ug(n);return n.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!jX(n)?!1:r==="audio"?n.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return VX(n)&&!this.isDisabled(n)&&((i==null?void 0:i.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 OX(e){try{return e.frameElement}catch{return null}}function MX(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function NX(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function AX(e){return LX(e)&&e.type=="hidden"}function PX(e){return FX(e)&&e.hasAttribute("href")}function LX(e){return e.nodeName.toLowerCase()=="input"}function FX(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 jX(e){let t=e.nodeName.toLowerCase(),a=t==="input"&&e.type;return a==="text"||a==="password"||t==="select"||t==="textarea"}function VX(e){return AX(e)?!1:NX(e)||PX(e)||e.hasAttribute("contenteditable")||d1(e)}function zX(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var BX=class{constructor(e,t,a,n,i=!1,r){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=a,this._document=n,this._injector=r,i||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 a=this._getFirstTabbableElement(t);return a==null||a.focus(e),!!a}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 a=0;a<t.length;a++){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[a]):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 a=t.length-1;a>=0;a--){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[a]):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)}},HX=(()=>{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(gi).load(l1)}create(n,i=!1){return new BX(n,this._checker,this._ngZone,this._document,i,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})(),qX=new K("liveAnnouncerElement",{providedIn:"root",factory:$X});function $X(){return null}var GX=new K("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),UX=0,WX=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(He));s(this,"_defaultOptions",S(GX,{optional:!0}));s(this,"_liveElement");s(this,"_document",S(Ve));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=S(qX,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...i){let r=this._defaultOptions,o,l;return i.length===1&&typeof i[0]=="number"?l=i[0]:[o,l]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.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,i;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(n),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${UX++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(n){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],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})(),Di=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}(Di||{}),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 Di.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(n):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Di.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Di.BLACK_ON_WHITE}return Di.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 i=this.getHighContrastMode();i===Di.BLACK_ON_WHITE?n.add(Dc,cg):i===Di.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})(),ZX=(()=>{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:[RX]}));let e=t;return e})(),Ic={},Qi=(()=>{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(a=>e[a]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var p1=" ";function YX(e,t,a){let n=$l(e,t);a=a.trim(),!n.some(i=>i.trim()===a)&&(n.push(a),e.setAttribute(t,n.join(p1)))}function KX(e,t,a){let n=$l(e,t);a=a.trim();let i=n.filter(r=>r!==a);i.length?e.setAttribute(t,i.join(p1)):e.removeAttribute(t)}function $l(e,t){var a;return((a=e.getAttribute(t))==null?void 0:a.match(/\S+/g))??[]}var m1="cdk-describedby-message",Gs="cdk-describedby-host",Wd=0,QX=(()=>{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(gi).load(l1),this._id=S(xu)+"-"+Wd++}describe(n,i,r){if(!this._canBeDescribed(n,i))return;let o=Tc(i,r);typeof i!="string"?(hg(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o)}removeDescription(n,i,r){var l;if(!i||!this._isElementNode(n))return;let o=Tc(i,r);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),typeof i=="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 i;let n=this._document.querySelectorAll(`[${Gs}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(Gs);(i=this._messagesContainer)==null||i.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,i){let r=this._document.createElement("div");hg(r,this._id),r.textContent=n,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Tc(n,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(n){var i,r;(r=(i=this._messageRegistry.get(n))==null?void 0:i.messageElement)==null||r.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(n),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(n){let i=$l(n,"aria-describedby").filter(r=>r.indexOf(m1)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let r=this._messageRegistry.get(i);YX(n,"aria-describedby",r.messageElement.id),n.setAttribute(Gs,this._id),r.referenceCount++}_removeMessageReference(n,i){let r=this._messageRegistry.get(i);r.referenceCount--,KX(n,"aria-describedby",r.messageElement.id),n.removeAttribute(Gs)}_isElementDescribedByMessage(n,i){let r=$l(n,"aria-describedby"),o=this._messageRegistry.get(i),l=o&&o.messageElement.id;return!!l&&r.indexOf(l)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=n.getAttribute("aria-label");return r?!o||o.trim()!==r:!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 XX=new K("cdk-dir-doc",{providedIn:"root",factory:JX});function JX(){return S(Ve)}var eJ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function tJ(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?eJ.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(XX,{optional:!0});if(n){let i=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=tJ(i||r||"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})(),ma=(()=>{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:nJ});function nJ(){return S(Au)}var ar="Method not implemented",f1=class{constructor(){s(this,"locale");s(this,"_localeChanges",new ve);s(this,"localeChanges",this._localeChanges)}setTime(e,t,a,n){throw new Error(ar)}getHours(e){throw new Error(ar)}getMinutes(e){throw new Error(ar)}getSeconds(e){throw new Error(ar)}parseTime(e,t){throw new Error(ar)}addSeconds(e,t){throw new Error(ar)}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 a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareDate(e,t):a==n}return e==t}sameTime(e,t){if(e&&t){let a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareTime(e,t):a==n}return e==t}clampDate(e,t,a){return t&&this.compareDate(e,t)<0?t:a&&this.compareDate(e,a)>0?a:e}},aJ=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,i){},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})(),ia=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(ia||{}),Us,xi;function g1(){if(xi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return xi=!1,xi;if("scrollBehavior"in document.documentElement.style)xi=!0;else{let e=Element.prototype.scrollTo;e?xi=!/\{\s*\[native code\]\s*\}/.test(e.toString()):xi=!1}}return xi}function co(){if(typeof document!="object"||!document)return ia.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 a=document.createElement("div"),n=a.style;n.width="2px",n.height="1px",e.appendChild(a),document.body.appendChild(e),Us=ia.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Us=e.scrollLeft===0?ia.NEGATED:ia.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||{}),iJ=class{constructor(e,t,a,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=a,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},mg=Yp({passive:!0,capture:!0}),rJ=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var a;let t=ja(e);t&&((a=this._events.get(e.type))==null||a.forEach((n,i)=>{(i===t||i.contains(t))&&n.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,a,n){let i=this._events.get(t);if(i){let r=i.get(a);r?r.add(n):i.set(a,new Set([n]))}else this._events.set(t,new Map([[a,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,mg)})}removeHandler(e,t,a){let n=this._events.get(e);if(!n)return;let i=n.get(t);i&&(i.delete(a),i.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,mg)))}},Gl={enterDuration:225,exitDuration:150},oJ=800,fg=Yp({passive:!0,capture:!0}),gg=["mousedown","touchstart"],vg=["mouseup","mouseleave","touchend","touchcancel"],sJ=(()=>{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,i){},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})(),ii,lJ=(ii=class{constructor(t,a,n,i,r){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=a,this._platform=i,i.isBrowser&&(this._containerElement=xr(n)),r&&r.get(gi).load(sJ)}fadeInRipple(t,a,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ce(ce({},Gl),n.animation);n.centered&&(t=i.left+i.width/2,a=i.top+i.height/2);let o=n.radius||uJ(t,a,i),l=t-i.left,u=a-i.top,c=r.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"||i.width===0&&i.height===0,x=new iJ(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||r.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 a=t.element,n=ce(ce({},Gl),t.config.animation);a.style.transitionDuration=`${n.exitDuration}ms`,a.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 a=xr(t);!this._platform.isBrowser||!a||a===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=a,gg.forEach(n=>{ii._eventManager.addHandler(this._ngZone,n,a,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{vg.forEach(a=>{this._triggerElement.addEventListener(a,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 a=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=Mn.VISIBLE,!n&&(!a||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let a=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,a!==null&&(t.element.removeEventListener("transitionend",a.onTransitionEnd),t.element.removeEventListener("transitioncancel",a.onTransitionCancel),a.fallbackTimer!==null&&clearTimeout(a.fallbackTimer)),t.element.remove()}_onMousedown(t){let a=i1(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+oJ;!this._target.rippleDisabled&&!a&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!r1(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let a=t.changedTouches;if(a)for(let n=0;n<a.length;n++)this.fadeInRipple(a[n].clientX,a[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let a=t.state===Mn.VISIBLE||t.config.terminateOnPointerUp&&t.state===Mn.FADING_IN;!t.config.persistent&&a&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(gg.forEach(a=>ii._eventManager.removeHandler(a,t,this)),this._pointerUpEventsRegistered&&(vg.forEach(a=>t.removeEventListener(a,this,fg)),this._pointerUpEventsRegistered=!1))}},s(ii,"_eventManager",new rJ),ii);function uJ(e,t,a){let n=Math.max(Math.abs(e-a.left),Math.abs(e-a.right)),i=Math.max(Math.abs(t-a.top),Math.abs(t-a.bottom));return Math.sqrt(n*n+i*i)}var cJ=new K("mat-ripple-global-options"),dJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,ma]}));let e=t;return e})(),hJ={capture:!0},pJ=["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",mJ=(()=>{const t=class t{constructor(){s(this,"_document",S(Ve));s(this,"_animationMode",S(fi,{optional:!0}));s(this,"_globalRippleOptions",S(cJ,{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 r;let i=ja(n);if(i instanceof HTMLElement){let o=i.closest(`[${Rc}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);o&&this._createRipple(o)}});let n=S(Kn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>pJ.map(i=>ai(n,this._document,i,this._onInteraction,hJ)))}ngOnDestroy(){let n=this._hosts.keys();for(let i of n)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(n,i){var r;n.setAttribute(Rc,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(i.className||!n.hasAttribute(Oc))&&n.setAttribute(Oc,i.className||""),i.centered&&n.setAttribute(bg,""),i.disabled&&n.setAttribute(Ws,"")}setDisabled(n,i){let r=this._hosts.get(n);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(n))):i?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 i=this._document.createElement("span");i.classList.add("mat-ripple",n.getAttribute(Oc)),n.append(i);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=r?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Gl.enterDuration,u=r?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??Gl.exitDuration,c={rippleDisabled:r||(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 lJ(c,this._ngZone,i,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 i=this._hosts.get(n);i&&(i.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})(),fJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,gJ=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Mc(e,t){let a=Array(e);for(let n=0;n<e;n++)a[n]=t(n);return a}var vJ=(()=>{const t=class t extends f1{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",S(Zd,{optional:!0}));let i=S(Zd,{optional:!0});i!==void 0&&(this._matDateLocale=i),super.setLocale(this._matDateLocale)}getYear(i){return i.getFullYear()}getMonth(i){return i.getMonth()}getDate(i){return i.getDate()}getDayOfWeek(i){return i.getDay()}getMonthNames(i){let r=new Intl.DateTimeFormat(this.locale,{month:i,timeZone:"utc"});return Mc(12,o=>this._format(r,new Date(2017,o,1)))}getDateNames(){let i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Mc(31,r=>this._format(i,new Date(2017,0,r+1)))}getDayOfWeekNames(i){let r=new Intl.DateTimeFormat(this.locale,{weekday:i,timeZone:"utc"});return Mc(7,o=>this._format(r,new Date(2017,0,o+1)))}getYearName(i){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,i)}getFirstDayOfWeek(){var i,r;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((r=((i=o.getWeekInfo)==null?void 0:i.call(o))||o.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(i){return this.getDate(this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+1,0))}clone(i){return new Date(i.getTime())}createDate(i,r,o){let l=this._createDateWithOverflow(i,r,o);return l.getMonth()!=r,l}today(){return new Date}parse(i,r){return typeof i=="number"?new Date(i):i?new Date(Date.parse(i)):null}format(i,r){if(!this.isValid(i))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Qt(ce({},r),{timeZone:"utc"}));return this._format(o,i)}addCalendarYears(i,r){return this.addCalendarMonths(i,r*12)}addCalendarMonths(i,r){let o=this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+r,this.getDate(i));return this.getMonth(o)!=((this.getMonth(i)+r)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(i,r){return this._createDateWithOverflow(this.getYear(i),this.getMonth(i),this.getDate(i)+r)}toIso8601(i){return[i.getUTCFullYear(),this._2digit(i.getUTCMonth()+1),this._2digit(i.getUTCDate())].join("-")}deserialize(i){if(typeof i=="string"){if(!i)return null;if(fJ.test(i)){let r=new Date(i);if(this.isValid(r))return r}}return super.deserialize(i)}isDateInstance(i){return i instanceof Date}isValid(i){return!isNaN(i.getTime())}invalid(){return new Date(NaN)}setTime(i,r,o,l){let u=this.clone(i);return u.setHours(r,o,l,0),u}getHours(i){return i.getHours()}getMinutes(i){return i.getMinutes()}getSeconds(i){return i.getSeconds()}parseTime(i,r){if(typeof i!="string")return i instanceof Date?new Date(i.getTime()):null;let o=i.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(i,r){return new Date(i.getTime()+r*1e3)}_createDateWithOverflow(i,r,o){let l=new Date;return l.setFullYear(i,r,o),l.setHours(0,0,0,0),l}_2digit(i){return("00"+i).slice(-2)}_format(i,r){let o=new Date;return o.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),o.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),i.format(o)}_parseTimeString(i){let r=i.toUpperCase().match(gJ);if(r){let o=parseInt(r[1]),l=parseInt(r[2]),u=r[3]==null?void 0:parseInt(r[3]),c=r[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(i){return new(i||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Nc(e,t,a){return!isNaN(e)&&e>=t&&e<=a}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,a,n,i,r){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=a,this.injector=n,this.projectableNodes=r}},Vu=class extends Xp{constructor(t,a,n,i){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=a,this.context=n,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,a=this.context){return this.context=a,super.attach(t)}detach(){return this.context=void 0,super.detach()}},bJ=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 bJ)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)}},yJ=class extends zu{constructor(t,a,n,i,r){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let a=t.element;a.parentNode;let n=this._document.createComment("dom-portal");a.parentNode.insertBefore(n,a),this.outletElement.appendChild(a),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(a,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=i,this._document=r}attachComponentPortal(t){let a;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,i=n.get(jo,null,{optional:!0})||void 0;a=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>a.destroy())}else{let n=this._appRef,i=t.injector||this._defaultInjector||ht.NULL,r=i.get(ca,n.injector);a=__(t.component,{elementInjector:i,environmentInjector:r,projectableNodes:t.projectableNodes||void 0}),n.attachView(a.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(a.hostView),a.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(a)),this._attachedPortal=t,a}attachTemplatePortal(t){let a=t.viewContainerRef,n=a.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(i=>this.outletElement.appendChild(i)),n.detectChanges(),this.setDisposeFn(()=>{let i=a.indexOf(n);i!==-1&&a.remove(i)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Fr=(()=>{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",i=>{let r=i.element;r.parentNode;let o=this._document.createComment("dom-portal");i.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=i,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})})}get portal(){return this._attachedPortal}set portal(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&super.detach(),i&&super.attach(i),this._attachedPortal=i||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(i){i.setAttachedHost(this);let r=i.viewContainerRef!=null?i.viewContainerRef:this._viewContainerRef,o=r.createComponent(i.component,{index:r.length,injector:i.injector||r.injector,projectableNodes:i.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=i,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(i){i.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}};s(t,"ɵfac",function(i){return new(i||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})(),_J=class{};function Ac(e){return e&&typeof e.connect=="function"&&!(e instanceof M$)}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"),wJ=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 i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=wJ){return this._platform.isBrowser?new mt(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=n>0?this._scrolled.pipe(y0(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{var o;r.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((i,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,i){let r=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(Sn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,n)&&i.push(o)}),i}_scrollableContainsElement(n,i){let r=xr(i),o=n.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.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})(),xJ=(()=>{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(Ki));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 i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=r?n.end:n.start),n.right==null&&(n.right=r?n.start:n.end),n.bottom!=null&&(n.top=i.scrollHeight-i.clientHeight-n.bottom),r&&co()!=ia.NORMAL?(n.left!=null&&(n.right=i.scrollWidth-i.clientWidth-n.left),co()==ia.INVERTED?n.left=n.right:co()==ia.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=i.scrollWidth-i.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let i=this.elementRef.nativeElement;g1()?i.scrollTo(n):(n.top!=null&&(i.scrollTop=n.top),n.left!=null&&(i.scrollLeft=n.left))}measureScrollOffset(n){let i="left",r="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?r:i:n=="end"&&(n=l?i:r),l&&co()==ia.INVERTED?n==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&co()==ia.NEGATED?n==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==i?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})(),EJ=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),i=S(Kn).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var n;(n=this._listeners)==null||n.forEach(i=>i()),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:i,height:r}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+r,right:n.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),r=n.documentElement,o=r.getBoundingClientRect(),l=-o.top||n.body.scrollTop||i.scrollY||r.scrollTop||0,u=-o.left||n.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:l,left:u}}change(n=EJ){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(),SJ=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,a=e.style,n=t.style,i=a.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,a.left=this._previousHTMLStyles.left,a.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),_g&&(a.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_g&&(a.scrollBehavior=i,n.scrollBehavior=r)}}_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}},kJ=class{constructor(e,t,a,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=a,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(a=>{let n=e.bottom<a.top,i=e.top>a.bottom,r=e.right<a.left,o=e.left>a.right;return n||i||r||o})}function wg(e,t){return t.some(a=>{let n=e.top<a.top,i=e.bottom>a.bottom,r=e.left<a.left,o=e.right>a.right;return n||i||r||o})}var CJ=class{constructor(e,t,a,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=a,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:a,height:n}=this._viewportRuler.getViewportSize();Qd(t,[{width:a,height:n,bottom:n,right:a,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}},DJ=(()=>{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 kJ(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new SJ(this._viewportRuler,this._document));s(this,"reposition",n=>new CJ(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 a of t)e[a]!==void 0&&(this[a]=e[a])}}},IJ=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 i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,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})(),TJ=(()=>{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",i=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--)if(r[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[o]._keydownEvents.next(i));break}})}add(i){super.add(i),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var i;this._isAttached&&((i=this._cleanupKeydown)==null||i.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),RJ=(()=>{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",i=>{this._pointerDownEventTarget=ja(i)});s(this,"_clickListener",i=>{let r=ja(i),o=i.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;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,r)||xg(c.overlayElement,o))break;let d=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(i)):d.next(i)}})}add(i){if(super.add(i),!this._isAttached){let r=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[ai(this._renderer,r,"pointerdown",this._pointerDownListener,o),ai(this._renderer,r,"click",this._clickListener,o),ai(this._renderer,r,"auxclick",this._clickListener,o),ai(this._renderer,r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var i;this._isAttached&&((i=this._cleanups)==null||i.forEach(r=>r()),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 i;return function(r){return(i||(i=nt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xg(e,t){let a=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=a&&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,i){},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(gi))}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 r=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(n),pg()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_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})(),OJ=class{constructor(e,t,a,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=a,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,a,n,i,r,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=a,this._config=n,this._ngZone=i,this._keyboardDispatcher=r,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 a;!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(),(a=this._afterNextRenderRef)==null||a.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,a,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),(a=this._host)==null||a.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 OJ(this._document,this._renderer,this._ngZone,a=>{this._backdropClick.next(a)}),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 a;return(a=this._backdropRef)==null?void 0:a.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,a){let n=ql(t||[]).filter(i=>!!i);n.length&&(a?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(oi(Li(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",MJ=/([A-Za-z%]+)$/,NJ=class{constructor(e,t,a,n,i){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=a,this._platform=n,this._overlayContainer=i,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,a=this._viewportRect,n=this._containerRect,i=[],r;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),u=this._getOverlayPoint(l,t,o),c=this._getOverlayFit(u,t,a,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(c,u,a)){i.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!r||r.overlayFit.visibleArea<c.visibleArea)&&(r={overlayFit:c,overlayPoint:u,originPoint:l,position:o,overlayRect:t})}if(i.length){let o=null,l=-1;for(let u of i){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(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ei(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,a){let n;if(a.originX=="center")n=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=a.originX=="start"?r:o}t.left<0&&(n-=t.left);let i;return a.originY=="center"?i=e.top+e.height/2:i=a.originY=="top"?e.top:e.bottom,t.top<0&&(i-=t.top),{x:n,y:i}}_getOverlayPoint(e,t,a){let n;a.overlayX=="center"?n=-t.width/2:a.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let i;return a.overlayY=="center"?i=-t.height/2:i=a.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+i}}_getOverlayFit(e,t,a,n){let i=kg(t),{x:r,y:o}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(r+=l),u&&(o+=u);let c=0-r,d=r+i.width-a.width,m=0-o,v=o+i.height-a.height,g=this._subtractOverflows(i.width,c,d),w=this._subtractOverflows(i.height,m,v),x=g*w;return{visibleArea:x,isCompletelyWithinViewport:i.width*i.height===x,fitsInViewportVertically:w===i.height,fitsInViewportHorizontally:g==i.width}}_canFitWithFlexibleDimensions(e,t,a){if(this._hasFlexibleDimensions){let n=a.bottom-t.y,i=a.right-t.x,r=Sg(this._overlayRef.getConfig().minHeight),o=Sg(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||r!=null&&r<=n,u=e.fitsInViewportHorizontally||o!=null&&o<=i;return l&&u}return!1}_pushOverlayOnScreen(e,t,a){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=kg(t),i=this._viewportRect,r=Math.max(e.x+n.width-i.width,0),o=Math.max(e.y+n.height-i.height,0),l=Math.max(i.top-a.top-e.y,0),u=Math.max(i.left-a.left-e.x,0),c=0,d=0;return n.width<=i.width?c=u||-r:c=e.x<this._viewportMargin?i.left-a.left-e.x:0,n.height<=i.height?d=l||-o:d=e.y<this._viewportMargin?i.top-a.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 a=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!AJ(this._lastScrollVisibility,a)){let n=new IJ(e,a);this._positionChanges.next(n)}this._lastScrollVisibility=a}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),a,n=e.overlayY;e.overlayX==="center"?a="center":this._isRtl()?a=e.overlayX==="start"?"right":"left":a=e.overlayX==="start"?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${a} ${n}`}_calculateBoundingBoxRect(e,t){let a=this._viewportRect,n=this._isRtl(),i,r,o;if(t.overlayY==="top")r=e.y,i=a.height-r+this._viewportMargin;else if(t.overlayY==="bottom")o=a.height-e.y+this._viewportMargin*2,i=a.height-o+this._viewportMargin;else{let v=Math.min(a.bottom-e.y+a.top,e.y),g=this._lastBoundingBoxSize.height;i=v*2,r=e.y-v,i>g&&!this._isInitialRender&&!this._growAfterOpen&&(r=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=a.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)d=e.x,c=a.right-e.x;else{let v=Math.min(a.right-e.x+a.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:r,left:d,bottom:o,right:m,width:c,height:i}}_setBoundingBoxStyles(e,t){let a=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.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 i=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=Tt(a.height),n.top=Tt(a.top),n.bottom=Tt(a.bottom),n.width=Tt(a.width),n.left=Tt(a.left),n.right=Tt(a.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",i&&(n.maxHeight=Tt(i)),r&&(n.maxWidth=Tt(r))}this._lastBoundingBoxSize=a,Ei(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Ei(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ei(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let a={},n=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();Ei(a,this._getExactOverlayY(t,e,c)),Ei(a,this._getExactOverlayX(t,e,c))}else a.position="static";let o="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),u&&(o+=`translateY(${u}px)`),a.transform=o.trim(),r.maxHeight&&(n?a.maxHeight=Tt(r.maxHeight):i&&(a.maxHeight="")),r.maxWidth&&(n?a.maxWidth=Tt(r.maxWidth):i&&(a.maxWidth="")),Ei(this._pane.style,a)}_getExactOverlayY(e,t,a){let n={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,a)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;n.bottom=`${r-(i.y+this._overlayRect.height)}px`}else n.top=Tt(i.y);return n}_getExactOverlayX(e,t,a){let n={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,a));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(i.x+this._overlayRect.width)}px`}else n.left=Tt(i.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),a=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:wg(e,a),isOriginOutsideView:Qd(e,a),isOverlayClipped:wg(t,a),isOverlayOutsideView:Qd(t,a)}}_subtractOverflows(e,...t){return t.reduce((a,n)=>a-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,a=this._viewportRuler.getViewportScrollPosition();return{top:a.top+this._viewportMargin,left:a.left+this._viewportMargin,right:a.left+e-this._viewportMargin,bottom:a.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,a=e.height||0;return{top:e.y,bottom:e.y+a,left:e.x,right:e.x+t,height:a,width:t}}};function Ei(e,t){for(let a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e}function Sg(e){if(typeof e!="number"&&e!=null){let[t,a]=e.split(MJ);return!a||a==="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 AJ(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",PJ=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,a=this._overlayRef.getConfig(),{width:n,height:i,maxWidth:r,maxHeight:o}=a,l=(n==="100%"||n==="100vw")&&(!r||r==="100%"||r==="100vw"),u=(i==="100%"||i==="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,a=t.style;t.classList.remove(Cg),a.justifyContent=a.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},LJ=(()=>{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 PJ}flexibleConnectedTo(n){return new NJ(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})(),vi=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",S(DJ));s(this,"_overlayContainer",S(tm));s(this,"_positionBuilder",S(LJ));s(this,"_keyboardDispatcher",S(TJ));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(RJ));s(this,"_animationsModuleType",S(fi,{optional:!0}));s(this,"_idGenerator",S(Qi));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",S(gi))}create(n){this._styleLoader.load(_1);let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),l=new em(n);return l.direction=l.direction||this._directionality.value,new nm(o,i,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(ca),this._renderer)}position(){return this._positionBuilder}_createPaneElement(n){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),n.appendChild(i),i}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(ci)),new yJ(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})(),FJ=new K("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(vi);return()=>e.scrollStrategies.reposition()}});function jJ(e){return()=>e.scrollStrategies.reposition()}var VJ={provide:FJ,deps:[vi],useFactory:jJ},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:[vi,VJ],imports:[qo,Go,Kd,Kd]}));let e=t;return e})();function zJ(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(HX));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(Ki));s(this,"_changeDetectorRef",S(ba));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",i=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(i);return this._contentAttached(),r});this._config=S(Uo,{optional:!0})||new Uo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(i){this._ariaLabelledByQueue.push(i),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(i){let r=this._ariaLabelledByQueue.indexOf(i);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),r}attachTemplatePortal(i){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,r){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),u(),i.removeAttribute("tabindex")},l=this._renderer.listen(i,"blur",o),u=this._renderer.listen(i,"mousedown",o)})),i.focus(r)}_focusByCssSelector(i,r){let o=this._elementRef.nativeElement.querySelector(i);o&&this._forceFocus(o,r)}_trapFocus(i){this._isDestroyed||Su(()=>{var o;let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(i);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(i)||this._focusDialogContainer(i);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',i);break;default:this._focusByCssSelector(this._config.autoFocus,i);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let i=this._config.restoreFocus,r=null;if(typeof i=="string"?r=this._document.querySelector(i):typeof i=="boolean"?r=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(r=i),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=kc(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(i){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(i)}_containsFocus(){let i=this._elementRef.nativeElement,r=kc();return i===r||i.contains(r)}_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(i){return new(i||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Pr(Fr,7),i&2){let o;un(o=cn())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&$t("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Ye],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&he(0,zJ,0,0,"ng-template",0)},dependencies:[Fr],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(a=>{a.keyCode===27&&!this.disableClose&&!Kp(a)&&(a.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 a=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),a.next(e),a.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}},BJ=new K("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=S(vi);return()=>e.scrollStrategies.block()}}),HJ=new K("DialogData"),qJ=new K("DefaultDialogConfig"),E1=(()=>{const t=class t{constructor(){s(this,"_overlay",S(vi));s(this,"_injector",S(ht));s(this,"_defaultOptions",S(qJ,{optional:!0}));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",S(tm));s(this,"_idGenerator",S(Qi));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new ve);s(this,"_afterOpenedAtThisLevel",new ve);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",S(BJ));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,i){let r=this._defaultOptions||new Uo;i=ce(ce({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),l=this._overlay.create(o),u=new Pc(l,i),c=this._attachContainer(l,u,i);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,i),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(i=>i.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 i=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&&(i.backdropClass=n.backdropClass),i}_attachContainer(n,i,r){var d;let o=r.injector||((d=r.viewContainerRef)==null?void 0:d.injector),l=[{provide:Uo,useValue:r},{provide:Pc,useValue:i},{provide:nm,useValue:n}],u;r.container?typeof r.container=="function"?u=r.container:(u=r.container.type,l.push(...r.container.providers(r))):u=x1;let c=new $o(u,r.viewContainerRef,ht.create({parent:o||this._injector,providers:l}));return n.attach(c).instance}_attachDialogContent(n,i,r,o){if(n instanceof rn){let l=this._createInjector(o,i,r,void 0),u={$implicit:o.data,dialogRef:i};o.templateContext&&(u=ce(ce({},u),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Vu(n,null,u,l))}else{let l=this._createInjector(o,i,r,this._injector),u=r.attachComponentPortal(new $o(n,o.viewContainerRef,l));i.componentRef=u,i.componentInstance=u.instance}}_createInjector(n,i,r,o){var c;let l=n.injector||((c=n.viewContainerRef)==null?void 0:c.injector),u=[{provide:HJ,useValue:n.data},{provide:Pc,useValue:i}];return n.providers&&(typeof n.providers=="function"?u.push(...n.providers(i,n,r)):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,i){let r=this.openDialogs.indexOf(n);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let i=n.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];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 a=e.length;for(;a--;)t(e[a])}var $J=(()=>{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,ZX,Go]}));let e=t;return e})();function GJ(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",UJ=150,WJ=75,ZJ=(()=>{const t=class t extends x1{constructor(){super(...arguments);s(this,"_animationMode",S(fi,{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)??UJ:0);s(this,"_exitAnimationDuration",this._animationsEnabled?Og(this._config.exitAnimationDuration)??WJ: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(i){this._actionSectionCount+=i,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Ig,Tg)}_waitForAnimationToComplete(i,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(i):i()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(i){let r=super.attachComponentPortal(i);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||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(i,r){i&2&&(Mp("id",r._config.id),$t("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),jt("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._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(i,r){i&1&&(j(0,"div",0)(1,"div",1),he(2,GJ,0,0,"ng-template",2),V()())},dependencies:[Fr],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||{}),am=class{constructor(e,t,a){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=a,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),a._animationStateChanged.pipe(Sn(n=>n.state==="opened"),tn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),a._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()}),Li(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,a){return e._closeInteractionType=t,e.close(a)}var k1=new K("MatMdcDialogData"),C1=new K("mat-mdc-dialog-default-options"),YJ=new K("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(vi);return()=>e.scrollStrategies.block()}}),Bu=(()=>{const t=class t{constructor(){s(this,"_overlay",S(vi));s(this,"_defaultOptions",S(C1,{optional:!0}));s(this,"_scrollStrategy",S(YJ));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",S(Qi));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=am,this._dialogContainerType=ZJ,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,i){let r;i=ce(ce({},this._defaultOptions||new Dg),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,Qt(ce({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Uo,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(l,u,c)=>(r=new this._dialogRefConstructor(l,i,c),r.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:u.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(r);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(i=>i.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let i=n.length;for(;i--;)n[i].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(am,{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 i=n._matDialogClose||n._matDialogCloseResult;i&&(this.dialogResult=i.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,i){n&1&&hn("click",function(r){return i._onButtonClick(r)}),n&2&&$t("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[hi]}));let e=t;return e})(),I1=(()=>{const t=class t{constructor(){s(this,"_dialogRef",S(am,{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(Qi).getId("mat-mdc-dialog-title-"))}_onAdd(){var i,r;(r=(i=this._dialogRef._containerInstance)==null?void 0:i._addAriaLabelledBy)==null||r.call(i,this.id)}_onRemove(){var i,r,o;(o=(r=(i=this._dialogRef)==null?void 0:i._containerInstance)==null?void 0:r._removeAriaLabelledBy)==null||o.call(r,this.id)}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||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(i,r){i&2&&Mp("id",r.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:[wZ([xJ])]}));let e=t;return e})(),O1=(()=>{const t=class t extends I1{constructor(){super(...arguments);s(this,"align")}_onAdd(){var i,r;(r=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||r.call(i,1)}_onRemove(){var i,r;(r=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||r.call(i,-1)}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||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(i,r){i&2&&jt("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Ye]}));let e=t;return e})();function M1(e,t){let a=e.nativeElement.parentElement;for(;a&&!a.classList.contains("mat-mdc-dialog-container");)a=a.parentElement;return a?t.find(n=>n.id===a.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:[$J,w1,Go,ma,ma]}));let e=t;return e})(),A1=(()=>{const t=class t{constructor(){s(this,"_listeners",[])}notify(n,i){for(let r of this._listeners)r(n,i)}listen(n){return this._listeners.push(n),()=>{this._listeners=this._listeners.filter(i=>n!==i)}}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,a,n,i){e.forEachOperation((r,o,l)=>{let u,c;if(r.previousIndex==null){let d=a(r,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);i&&i({context:u==null?void 0:u.context,operation:c,record:r})})}detach(){}},KJ=new K("MAT_BUTTON_CONFIG"),QJ=[{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(fi,{optional:!0}));s(this,"_focusMonitor",S(ju));s(this,"_rippleLoader",S(mJ));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;S(gi).load(Qp);let n=S(KJ,{optional:!0}),i=this._elementRef.nativeElement,r=i.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(i,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:u}of QJ)i.hasAttribute(l)&&r.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",i){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,i):this._elementRef.nativeElement.focus(i)}_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})(),XJ=(()=>{const t=class t extends L1{constructor(){super(...arguments);s(this,"_renderer",S(Ki));s(this,"_cleanupClick");s(this,"tabIndex");s(this,"_haltDisabledEvents",i=>{this.disabled&&(i.preventDefault(),i.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var i;super.ngOnDestroy(),(i=this._cleanupClick)==null||i.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:Lp(i)]},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]"],JJ=`.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
+ `,eee=`@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(i){return(n||(n=nt(t)))(i||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,i){n&2&&($t("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Mu(i.color?"mat-"+i.color:""),jt("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.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,i){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",!i._isFab)("mdc-fab__ripple",i._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 XJ{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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,i){n&2&&($t("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),Mu(i.color?"mat-"+i.color:""),jt("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.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,i){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",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[JJ,eee],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:[ma,dJ,ma]}));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,i,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let o=n*i,l=o<r?Math.min(o+i,r):o+i;return`${o+1} – ${l} of ${r}`})}};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||{}),Pa="*";function tee(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(a=>a()),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,a=0,n=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==i&&this._onFinish()}),r.onDestroy(()=>{++a==i&&this._onDestroy()}),r.onStart(()=>{++n==i&&this._onStart()})}),this.totalTime=this.players.reduce((r,o)=>Math.max(r,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(a=>{let n=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(n)})}getPosition(){let e=this.players.reduce((t,a)=>t===null||a.totalTime>t.totalTime?a: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(a=>a()),t.length=0}},im="!";function Ng(e){return new G(3e3,!1)}function nee(){return new G(3100,!1)}function aee(){return new G(3101,!1)}function iee(e){return new G(3001,!1)}function ree(e){return new G(3003,!1)}function oee(e){return new G(3004,!1)}function see(e,t){return new G(3005,!1)}function lee(){return new G(3006,!1)}function uee(){return new G(3007,!1)}function cee(e,t){return new G(3008,!1)}function dee(e){return new G(3002,!1)}function hee(e,t,a,n,i){return new G(3010,!1)}function pee(){return new G(3011,!1)}function mee(){return new G(3012,!1)}function fee(){return new G(3200,!1)}function gee(){return new G(3202,!1)}function vee(){return new G(3013,!1)}function bee(e){return new G(3014,!1)}function yee(e){return new G(3015,!1)}function _ee(e){return new G(3016,!1)}function wee(e,t){return new G(3404,!1)}function xee(e){return new G(3502,!1)}function Eee(e){return new G(3503,!1)}function See(){return new G(3300,!1)}function kee(e){return new G(3504,!1)}function Cee(e){return new G(3301,!1)}function Dee(e,t){return new G(3302,!1)}function Iee(e){return new G(3303,!1)}function Tee(e,t){return new G(3400,!1)}function Ree(e){return new G(3401,!1)}function Oee(e){return new G(3402,!1)}function Mee(e,t){return new G(3505,!1)}function Ja(e){switch(e.length){case 0:return new Wo;case 1:return e[0];default:return new B1(e)}}function H1(e,t,a=new Map,n=new Map){let i=[],r=[],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,i),x){case im:x=a.get(g);break;case Pa:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,i);break}m.set(w,x)}),d||r.push(m),l=m,o=c}),i.length)throw xee();return r}function rm(e,t,a,n){switch(t){case"start":e.onStart(()=>n(a&&jc(a,"start",e)));break;case"done":e.onDone(()=>n(a&&jc(a,"done",e)));break;case"destroy":e.onDestroy(()=>n(a&&jc(a,"destroy",e)));break}}function jc(e,t,a){let n=a.totalTime,i=!!a.disabled,r=om(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,i),o=e._data;return o!=null&&(r._data=o),r}function om(e,t,a,n,i="",r=0,o){return{element:e,triggerName:t,fromState:a,toState:n,phaseName:i,totalTime:r,disabled:!!o}}function En(e,t,a){let n=e.get(t);return n||e.set(t,n=a),n}function Ag(e){let t=e.indexOf(":"),a=e.substring(1,t),n=e.slice(t+1);return[a,n]}var Nee=typeof document>"u"?null:document.documentElement;function sm(e){let t=e.parentNode||e.host||null;return t===Nee?null:t}function Aee(e){return e.substring(1,6)=="ebkit"}var Si=null,Pg=!1;function Pee(e){Si||(Si=Lee()||{},Pg=Si.style?"WebkitAppearance"in Si.style:!1);let t=!0;return Si.style&&!Aee(e)&&(t=e in Si.style,!t&&Pg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Si.style)),t}function Lee(){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,a){if(a)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var Fee=1e3,G1="{{",jee="}}",U1="ng-enter",Xd="ng-leave",Zs="ng-trigger",Ul=".ng-trigger",Lg="ng-animating",Jd=".ng-animating";function Oa(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*Fee;default:return e}}function Wl(e,t,a){return e.hasOwnProperty("duration")?e:Vee(e,t,a)}function Vee(e,t,a){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Ng()),{duration:0,delay:0,easing:""};i=eh(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(r=eh(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else i=e;if(!a){let l=!1,u=t.length;i<0&&(t.push(nee()),l=!0),r<0&&(t.push(aee()),l=!0),l&&t.splice(u,0,Ng())}return{duration:i,delay:r,easing:o}}function zee(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ra(e,t,a){t.forEach((n,i)=>{let r=lm(i);a&&!a.has(i)&&a.set(i,e.style[r]),e.style[r]=n})}function Mi(e,t){t.forEach((a,n)=>{let i=lm(n);e.style[i]=""})}function ho(e){return Array.isArray(e)?e.length==1?e[0]:tee(e):e}function Bee(e,t,a){let n=t.params||{},i=W1(e);i.length&&i.forEach(r=>{n.hasOwnProperty(r)||a.push(iee())})}var th=new RegExp(`${G1}\\s*(.+?)\\s*${jee}`,"g");function W1(e){let t=[];if(typeof e=="string"){let a;for(;a=th.exec(e);)t.push(a[1]);th.lastIndex=0}return t}function Zo(e,t,a){let n=`${e}`,i=n.replace(th,(r,o)=>{let l=t[o];return l==null&&(a.push(ree()),l=""),l.toString()});return i==n?e:i}var Hee=/-+([a-z0-9])/g;function lm(e){return e.replace(Hee,(...t)=>t[1].toUpperCase())}function qee(e,t){return e===0||t===0}function $ee(e,t,a){if(a.size&&t.length){let n=t[0],i=[];if(a.forEach((r,o)=>{n.has(o)||i.push(o),n.set(o,r)}),i.length)for(let r=1;r<t.length;r++){let o=t[r];i.forEach(l=>o.set(l,um(e,l)))}}return t}function wn(e,t,a){switch(t.type){case Me.Trigger:return e.visitTrigger(t,a);case Me.State:return e.visitState(t,a);case Me.Transition:return e.visitTransition(t,a);case Me.Sequence:return e.visitSequence(t,a);case Me.Group:return e.visitGroup(t,a);case Me.Animate:return e.visitAnimate(t,a);case Me.Keyframes:return e.visitKeyframes(t,a);case Me.Style:return e.visitStyle(t,a);case Me.Reference:return e.visitReference(t,a);case Me.AnimateChild:return e.visitAnimateChild(t,a);case Me.AnimateRef:return e.visitAnimateRef(t,a);case Me.Query:return e.visitQuery(t,a);case Me.Stagger:return e.visitStagger(t,a);default:throw oee(t.type)}}function um(e,t){return window.getComputedStyle(e)[t]}var Gee=(()=>{const t=class t{validateStyleProperty(n){return Pee(n)}containsElement(n,i){return q1(n,i)}getParentElement(n){return sm(n)}query(n,i,r){return $1(n,i,r)}computeStyle(n,i,r){return r||""}animate(n,i,r,o,l,u=[],c){return new Wo(r,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 Gee),Jc),cm=class{},Uee=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"]),Wee=class extends cm{normalizePropertyName(e,t){return lm(e)}normalizeStyleValue(e,t,a,n){let i="",r=a.toString().trim();if(Uee.has(t)&&a!==0&&a!=="0")if(typeof a=="number")i="px";else{let o=a.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(see())}return r+i}},Zl="*";function Zee(e,t){let a=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Yee(n,a,t)):a.push(e),a}function Yee(e,t,a){if(e[0]==":"){let u=Kee(e,a);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 a.push(yee()),t;let i=n[1],r=n[2],o=n[3];t.push(Fg(i,o));let l=i==Zl&&o==Zl;r[0]=="<"&&!l&&t.push(Fg(o,i))}function Kee(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,n)=>parseFloat(n)>parseFloat(a);case":decrement":return(a,n)=>parseFloat(n)<parseFloat(a);default:return t.push(_ee()),"* => *"}}var Ys=new Set(["true","1"]),Ks=new Set(["false","0"]);function Fg(e,t){let a=Ys.has(e)||Ks.has(e),n=Ys.has(t)||Ks.has(t);return(i,r)=>{let o=e==Zl||e==i,l=t==Zl||t==r;return!o&&a&&typeof i=="boolean"&&(o=i?Ys.has(e):Ks.has(e)),!l&&n&&typeof r=="boolean"&&(l=r?Ys.has(t):Ks.has(t)),o&&l}}var Y1=":self",Qee=new RegExp(`s*${Y1}s*,?`,"g");function K1(e,t,a,n){return new Xee(e).build(t,a,n)}var jg="",Xee=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,a){let n=new tte(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 a=t.queryCount=0,n=t.depCount=0,i=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(lee()),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,i.push(this.visitState(l,t))}),l.name=u}else if(o.type==Me.Transition){let l=this.visitTransition(o,t);a+=l.queryCount,n+=l.depCount,r.push(l)}else t.errors.push(uee())}),{type:Me.Trigger,name:e.name,states:i,transitions:r,queryCount:a,depCount:n,options:null}}visitState(e,t){let a=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(a.containsDynamicStyles){let i=new Set,r=n||{};a.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{W1(l).forEach(u=>{r.hasOwnProperty(u)||i.add(u)})})}),i.size&&t.errors.push(cee(e.name,[...i.values()]))}return{type:Me.State,name:e.name,style:a,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let a=wn(this,ho(e.animation),t),n=Zee(e.expr,t.errors);return{type:Me.Transition,matchers:n,animation:a,queryCount:t.queryCount,depCount:t.depCount,options:ki(e.options)}}visitSequence(e,t){return{type:Me.Sequence,steps:e.steps.map(a=>wn(this,a,t)),options:ki(e.options)}}visitGroup(e,t){let a=t.currentTime,n=0,i=e.steps.map(r=>{t.currentTime=a;let o=wn(this,r,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Me.Group,steps:i,options:ki(e.options)}}visitAnimate(e,t){let a=ate(e.timings,t.errors);t.currentAnimateTimings=a;let n,i=e.styles?e.styles:Mg({});if(i.type==Me.Keyframes)n=this.visitKeyframes(i,t);else{let r=e.styles,o=!1;if(!r){o=!0;let u={};a.easing&&(u.easing=a.easing),r=Mg(u)}t.currentTime+=a.duration+a.delay;let l=this.visitStyle(r,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Me.Animate,timings:a,style:n,options:null}}visitStyle(e,t){let a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}_makeStyleAst(e,t){let a=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===Pa?a.push(o):t.errors.push(dee()):a.push(new Map(Object.entries(o)));let i=!1,r=null;return a.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(r=o.get("easing"),o.delete("easing")),!i)){for(let l of o.values())if(l.toString().indexOf(G1)>=0){i=!0;break}}}),{type:Me.Style,styles:a,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let a=t.currentAnimateTimings,n=t.currentTime,i=t.currentTime;a&&i>0&&(i-=a.duration+a.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),d=!0;c&&(i!=n&&i>=c.startTime&&n<=c.endTime&&(t.errors.push(hee(l,c.startTime,c.endTime)),d=!1),i=c.startTime),d&&u.set(l,{startTime:i,endTime:n}),t.options&&Bee(o,t.options,t.errors)})})}visitKeyframes(e,t){let a={type:Me.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(pee()),a;let n=1,i=0,r=[],o=!1,l=!1,u=0,c=e.steps.map(k=>{let D=this._makeStyleAst(k,t),O=D.offset!=null?D.offset:nte(D.styles),M=0;return O!=null&&(i++,M=D.offset=O),l=l||M<0||M>1,o=o||M<u,u=M,r.push(M),D});l&&t.errors.push(mee()),o&&t.errors.push(fee());let d=e.steps.length,m=0;i>0&&i<d?t.errors.push(gee()):i==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:r[D],M=O*x;t.currentTime=g+w.delay+M,w.duration=M,this._validateStyleAst(k,t),k.offset=O,a.styles.push(k)}),a}visitReference(e,t){return{type:Me.Reference,animation:wn(this,ho(e.animation),t),options:ki(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Me.AnimateChild,options:ki(e.options)}}visitAnimateRef(e,t){return{type:Me.AnimateRef,animation:this.visitReference(e.animation,t),options:ki(e.options)}}visitQuery(e,t){let a=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[i,r]=Jee(e.selector);t.currentQuerySelector=a.length?a+" "+i:i,En(t.collectedStyles,t.currentQuerySelector,new Map);let o=wn(this,ho(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:Me.Query,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:o,originalSelector:e.selector,options:ki(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(vee());let a=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:a,options:null}}};function Jee(e){let t=!!e.split(/\s*,\s*/).find(a=>a==Y1);return t&&(e=e.replace(Qee,"")),e=e.replace(/@\*/g,Ul).replace(/@\w+/g,a=>Ul+"-"+a.slice(1)).replace(/:animating/g,Jd),[e,t]}function ete(e){return e?ce({},e):null}var tte=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 nte(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(a=>{if(a instanceof Map&&a.has("offset")){let n=a;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let a=e;t=parseFloat(a.get("offset")),a.delete("offset")}return t}function ate(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let i=Wl(e,t).duration;return Vc(i,0,"")}let a=e;if(a.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=Vc(0,0,"");return i.dynamic=!0,i.strValue=a,i}let n=Wl(a,t);return Vc(n.duration,n.delay,n.easing)}function ki(e){return e?(e=ce({},e),e.params&&(e.params=ete(e.params))):e={},e}function Vc(e,t,a){return{duration:e,delay:t,easing:a}}function dm(e,t,a,n,i,r,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:a,postStyleProps:n,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:l}}var hm=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let a=this._map.get(e);a||this._map.set(e,a=[]),a.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},ite=1,rte=":enter",ote=new RegExp(rte,"g"),ste=":leave",lte=new RegExp(ste,"g");function Q1(e,t,a,n,i,r=new Map,o=new Map,l,u,c=[]){return new ute().buildKeyframes(e,t,a,n,i,r,o,l,u,c)}var ute=class{buildKeyframes(e,t,a,n,i,r,o,l,u,c=[]){u=u||new hm;let d=new cte(e,t,u,n,i,c,[]);d.options=l;let m=l.delay?Oa(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([r],null,d.errors,l),wn(this,a,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 a=t.subInstructions.get(t.element);if(a){let n=t.createSubContext(e.options),i=t.currentTimeline.currentTime,r=this._visitSubInstructions(a,n,n.options);i!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){let a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,a),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,a){for(let n of e){let i=n==null?void 0:n.delay;if(i){let r=typeof i=="number"?i:Oa(Zo(i,(n==null?void 0:n.params)??{},t.errors));a.delayNextStep(r)}}}_visitSubInstructions(e,t,a){let n=t.currentTimeline.currentTime,i=a.duration!=null?Oa(a.duration):null,r=a.delay!=null?Oa(a.delay):null;return i!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,i,r);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 a=t.subContextCount,n=t,i=e.options;if(i&&(i.params||i.delay)&&(n=t.createSubContext(i),n.transformIntoNewTimeline(),i.delay!=null)){n.previousNode.type==Me.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Yl);let r=Oa(i.delay);n.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>wn(this,r,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>a&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let a=[],n=t.currentTimeline.currentTime,i=e.options&&e.options.delay?Oa(e.options.delay):0;e.steps.forEach(r=>{let o=t.createSubContext(e.options);i&&o.delayNextStep(i),wn(this,r,o),n=Math.max(n,o.currentTimeline.currentTime),a.push(o.currentTimeline)}),a.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let a=e.strValue,n=t.params?Zo(a,t.params,t.errors):a;return Wl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let a=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),n.snapshotCurrentStyles());let i=e.style;i.type==Me.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(a.duration),this.visitStyle(i,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let a=t.currentTimeline,n=t.currentAnimateTimings;!n&&a.hasCurrentStyleProperties()&&a.forwardFrame();let i=n&&n.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(i):a.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let a=t.currentAnimateTimings,n=t.currentTimeline.duration,i=a.duration,r=t.createSubContext().currentTimeline;r.easing=a.easing,e.styles.forEach(o=>{let l=o.offset||0;r.forwardTime(l*i),r.setStyles(o.styles,o.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(n+i),t.previousNode=e}visitQuery(e,t){let a=t.currentTimeline.currentTime,n=e.options||{},i=n.delay?Oa(n.delay):0;i&&(t.previousNode.type===Me.Style||a==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Yl);let r=a,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);i&&d.delayNextStep(i),u===t.element&&(l=d.currentTimeline),wn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let m=d.currentTimeline.currentTime;r=Math.max(r,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let a=t.parentContext,n=t.currentTimeline,i=e.timings,r=Math.abs(i.duration),o=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=o-l;break;case"full":l=a.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;wn(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=n.currentTime-c+(n.startTime-a.currentTimeline.startTime)}},Yl={},cte=class X1{constructor(t,a,n,i,r,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=a,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=l,this.currentTimeline=u||new J1(this._driver,a,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,a){if(!t)return;let n=t,i=this.options;n.duration!=null&&(i.duration=Oa(n.duration)),n.delay!=null&&(i.delay=Oa(n.delay));let r=n.params;if(r){let o=i.params;o||(o=this.options.params={}),Object.keys(r).forEach(l=>{(!a||!o.hasOwnProperty(l))&&(o[l]=Zo(r[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let a=this.options.params;if(a){let n=t.params={};Object.keys(a).forEach(i=>{n[i]=a[i]})}}return t}createSubContext(t=null,a,n){let i=a||this.element,r=new X1(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=Yl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,a,n){let i={duration:a??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},r=new dte(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,a,n,i,r,o){let l=[];if(i&&l.push(this.element),t.length>0){t=t.replace(ote,"."+this._enterClassName),t=t.replace(lte,"."+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!r&&l.length==0&&o.push(bee()),l}},J1=class ew{constructor(t,a,n,i){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=a,this.startTime=n,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+t),a&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,a){return this.applyStylesToKeyframe(),new ew(this._driver,t,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=ite,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,a){this._localTimelineStyles.set(t,a),this._globalTimelineStyles.set(t,a),this._styleSummary.set(t,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[a,n]of this._globalTimelineStyles)this._backFill.set(a,n||Pa),this._currentKeyframe.set(a,Pa);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,a,n,i){a&&this._previousKeyframe.set("easing",a);let r=i&&i.params||{},o=hte(t,this._globalTimelineStyles);for(let[l,u]of o){let c=Zo(u,r,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Pa),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,a)=>{this._currentKeyframe.set(a,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,t)}))}snapshotCurrentStyles(){for(let[t,a]of this._localTimelineStyles)this._pendingStyles.set(t,a),this._updateStyle(t,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let a in this._currentKeyframe)t.push(a);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((a,n)=>{let i=this._styleSummary.get(n);(!i||a.time>i.time)&&this._updateStyle(n,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,a=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((d,m)=>{d===im?t.add(m):d===Pa&&a.add(m)}),n||c.set("offset",u/this.duration),i.push(c)});let r=[...t.values()],o=[...a.values()];if(n){let l=i[0],u=new Map(l);l.set("offset",0),u.set("offset",1),i=[l,u]}return dm(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}},dte=class extends J1{constructor(t,a,n,i,r,o,l=!1){super(t,a,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,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:a,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&a){let r=[],o=n+a,l=a/o,u=new Map(t[0]);u.set("offset",0),r.push(u);let c=new Map(t[0]);c.set("offset",Vg(l)),r.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=a+g*n;v.set("offset",Vg(w/o)),r.push(v)}n=o,a=0,i="",t=r}return dm(this.element,t,this.preStyleProps,this.postStyleProps,n,a,i,!0)}};function Vg(e,t=3){let a=Math.pow(10,t-1);return Math.round(e*a)/a}function hte(e,t){let a=new Map,n;return e.forEach(i=>{if(i==="*"){n??(n=t.keys());for(let r of n)a.set(r,Pa)}else for(let[r,o]of i)a.set(r,o)}),a}function zg(e,t,a,n,i,r,o,l,u,c,d,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:a,fromStyles:r,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:d,totalTime:m,errors:v}}var zc={},tw=class{constructor(e,t,a){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=a}match(e,t,a,n){return pte(this.ast.matchers,e,t,a,n)}buildStyles(e,t,a){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,a):new Map}build(e,t,a,n,i,r,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(a,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,i,r,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,a,n,M,g,x,[],[],D,O,we,d):(ue.forEach(wt=>{let at=wt.element,Ct=En(D,at,new Set);wt.preStyleProps.forEach(U=>Ct.add(U));let X=En(O,at,new Set);wt.postStyleProps.forEach(U=>X.add(U)),at!==t&&k.add(at)}),zg(t,this._triggerName,a,n,M,g,x,ue,[...k.values()],D,O,we))}};function pte(e,t,a,n,i){return e.some(r=>r(t,a,n,i))}function nw(e,t){let a=ce({},t);return Object.entries(e).forEach(([n,i])=>{i!=null&&(a[n]=i)}),a}var mte=class{constructor(e,t,a){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=a}buildStyles(e,t){let a=new Map,n=nw(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((r,o)=>{r&&(r=Zo(r,n,t));let l=this.normalizer.normalizePropertyName(o,t);r=this.normalizer.normalizeStyleValue(o,l,r,t),a.set(o,r)})}),a}};function fte(e,t,a){return new gte(e,t,a)}var gte=class{constructor(e,t,a){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=a,t.states.forEach(n=>{let i=n.options&&n.options.params||{};this.states.set(n.name,new mte(n.style,i,a))}),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=vte(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,a,n){return this.transitionFactories.find(i=>i.match(e,t,a,n))||null}matchStyles(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}};function vte(e,t,a){let n=[(o,l)=>!0],i={type:Me.Sequence,steps:[],options:null},r={type:Me.Transition,animation:i,matchers:n,options:null,queryCount:0,depCount:0};return new tw(e,r,t)}function Bg(e,t,a){e.has(t)?e.has(a)||e.set(a,e.get(t)):e.has(a)&&e.set(t,e.get(a))}var bte=new hm,yte=class{constructor(e,t,a){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=a}register(e,t){let a=[],n=[],i=K1(this._driver,t,a,n);if(a.length)throw Eee();this._animations.set(e,i)}_buildPlayer(e,t,a){let n=e.element,i=H1(this._normalizer,e.keyframes,t,a);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,a={}){let n=[],i=this._animations.get(e),r,o=new Map;if(i?(r=Q1(this._driver,t,i,U1,Xd,new Map,new Map,a,bte,n),r.forEach(c=>{let d=En(o,c.element,new Map);c.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(See()),r=[]),n.length)throw kee();o.forEach((c,d)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(d,v,Pa))})});let l=r.map(c=>{let d=o.get(c.element);return this._buildPlayer(c,new Map,d)}),u=Ja(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 a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Cee();return t}listen(e,t,a,n){let i=om(t,"","","");return rm(this._getPlayer(e),a,i,n),()=>{}}command(e,t,a,n){if(a=="register"){this.register(e,n[0]);return}if(a=="create"){let r=n[0]||{};this.create(e,t,r);return}let i=this._getPlayer(e);switch(a){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Hg="ng-animate-queued",_te=".ng-animate-queued",Bc="ng-animate-disabled",wte=".ng-animate-disabled",xte="ng-star-inserted",Ete=".ng-star-inserted",Ste=[],aw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kte={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 a=e&&e.hasOwnProperty("value"),n=a?e.value:e;if(this.value=Tte(n),a){let i=e,{value:r}=i,o=xq(i,["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 a=this.options.params;Object.keys(t).forEach(n=>{a[n]==null&&(a[n]=t[n])})}}},Co="void",Hc=new nh(Co),Cte=class{constructor(e,t,a){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=a,this._hostClassName="ng-tns-"+e,Nn(t,this._hostClassName)}listen(e,t,a,n){if(!this._triggers.has(t))throw Dee();if(a==null||a.length==0)throw Iee();if(!Rte(a))throw Tee();let i=En(this._elementListeners,e,[]),r={name:t,phase:a,callback:n};i.push(r);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=i.indexOf(r);l>=0&&i.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 Ree();return t}trigger(e,t,a,n=!0){let i=this._getTrigger(t),r=new ah(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(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Hc),u.value!==Co&&l.value===u.value){if(!Nte(l.params,u.params)){let v=[],g=i.matchStyles(l.value,l.params,v),w=i.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Mi(e,g),ra(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=i.matchTransition(l.value,u.value,e,u.params),m=!1;if(!d){if(!n)return;d=i.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:r,isFallbackTransition:m}),m||(Nn(e,Hg),r.onStart(()=>{or(e,Hg)})),r.onDone(()=>{let v=this.players.indexOf(r);v>=0&&this.players.splice(v,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(r);w>=0&&g.splice(w,1)}}),this.players.push(r),c.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,a)=>{this._elementListeners.set(a,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(a=>a.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let a=this._engine.driver.query(e,Ul,!0);a.forEach(n=>{if(n[$n])return;let i=this._engine.fetchNamespacesByElement(n);i.size?i.forEach(r=>r.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,a,n){let i=this._engine.statesByElement.get(e),r=new Map;if(i){let o=[];if(i.forEach((l,u)=>{if(r.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,r),a&&Ja(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(t&&a){let n=new Set;t.forEach(i=>{let r=i.name;if(n.has(r))return;n.add(r);let o=this._triggers.get(r).fallbackTransition,l=a.get(r)||Hc,u=new nh(Co),c=new ah(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:o,fromState:l,toState:u,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(a.totalAnimations){let i=a.players.length?a.playersByQueriedElement.get(e):[];if(i&&i.length)n=!0;else{let r=e;for(;r=r.parentNode;)if(a.statesByElement.get(r)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)a.markElementAsRemoved(this.id,e,!1,t);else{let i=e[$n];(!i||i===aw)&&(a.afterFlush(()=>this.clearElementCache(e)),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}insertNode(e,t){Nn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(a=>{let n=a.player;if(n.destroyed)return;let i=a.element,r=this._elementListeners.get(i);r&&r.forEach(o=>{if(o.name==a.triggerName){let l=om(i,a.triggerName,a.fromState.value,a.toState.value);l._data=e,rm(a.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(a)}),this._queue=[],t.sort((a,n)=>{let i=a.transition.ast.depCount,r=n.transition.ast.depCount;return i==0||r==0?i-r:this._engine.driver.containsElement(a.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Dte=class{constructor(e,t,a){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=a}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(a=>{a.queued&&e.push(a)})}),e}createNamespace(e,t){let a=new Cte(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}_balanceNamespaceList(e,t){let a=this._namespaceList,n=this.namespacesByHostElement;if(a.length-1>=0){let i=!1,r=this.driver.getParentElement(t);for(;r;){let o=n.get(r);if(o){let l=a.indexOf(o);a.splice(l+1,0,e),i=!0;break}r=this.driver.getParentElement(r)}i||a.unshift(e)}else a.push(e);return n.set(t,e),e}register(e,t){let a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}registerTrigger(e,t,a){let n=this._namespaceLookup[e];n&&n.register(t,a)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let a=this._fetchNamespace(e);this.namespacesByHostElement.delete(a.hostElement);let n=this._namespaceList.indexOf(a);n>=0&&this._namespaceList.splice(n,1),a.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,a=this.statesByElement.get(e);if(a){for(let n of a.values())if(n.namespaceId){let i=this._fetchNamespace(n.namespaceId);i&&t.add(i)}}return t}trigger(e,t,a,n){if(Qs(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,a,n),!0}return!1}insertNode(e,t,a,n){if(!Qs(t))return;let i=t[$n];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let r=this.collectedLeaveElements.indexOf(t);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,a)}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),or(e,Bc))}removeNode(e,t,a){if(Qs(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a);let i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,a)}else this._onRemovalComplete(t,a)}markElementAsRemoved(e,t,a,n,i){this.collectedLeaveElements.push(t),t[$n]={namespaceId:e,setForRemoval:n,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,a,n,i){return Qs(t)?this._fetchNamespace(e).listen(t,a,n,i):()=>{}}_buildInstruction(e,t,a,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,n,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Ul,!0);t.forEach(a=>this.destroyActiveAnimationsForElement(a)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Jd,!0),t.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ja(this.players).onDone(()=>e());e()})}processLeaveNode(e){var a;let t=e[$n];if(t&&t.setForRemoval){if(e[$n]=aw,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(a=e.classList)!=null&&a.contains(Bc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,wte,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,n)=>this._balanceNamespaceList(a,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++){let n=this.collectedEnterElements[a];Nn(n,xte)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let a=[];try{t=this._flushAnimations(a,e)}finally{for(let n=0;n<a.length;n++)a[n]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++){let n=this.collectedLeaveElements[a];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){let a=this._whenQuietFns;this._whenQuietFns=[],t.length?Ja(t).onDone(()=>{a.forEach(n=>n())}):a.forEach(n=>n())}}reportError(e){throw Oee()}_flushAnimations(e,t){let a=new hm,n=[],i=new Map,r=[],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,_te,!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,Ete,!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=>or(Te,Y))}),M.forEach((F,H)=>{let Y=O.get(H);F.forEach(Te=>or(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 it=Te[$n];if(it&&it.setForMove){if(it.previousTriggersValues&&it.previousTriggersValues.has(H.triggerName)){let en=it.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,a,Pe,Jt,Je);if(Be.errors&&Be.errors.length){ue.push(Be);return}if(Je){Y.onStart(()=>Mi(Te,Be.fromStyles)),Y.onDestroy(()=>ra(Te,Be.toStyles)),n.push(Y);return}if(H.isFallbackTransition){Y.onStart(()=>Mi(Te,Be.fromStyles)),Y.onDestroy(()=>ra(Te,Be.toStyles)),n.push(Y);return}let ft=[];Be.timelines.forEach(it=>{it.stretchStartingKeyframe=!0,this.disabledNodes.has(it.element)||ft.push(it)}),Be.timelines=ft,a.append(Te,Be.timelines);let zn={instruction:Be,player:Y,element:Te};r.push(zn),Be.queriedElements.forEach(it=>En(o,it,[]).push(Y)),Be.preStyleProps.forEach((it,en)=>{if(it.size){let Nt=l.get(en);Nt||l.set(en,Nt=new Set),it.forEach((Jn,Ga)=>Nt.add(Ga))}}),Be.postStyleProps.forEach((it,en)=>{let Nt=u.get(en);Nt||u.set(en,Nt=new Set),it.forEach((Jn,Ga)=>Nt.add(Ga))})});if(ue.length){let F=[];ue.forEach(H=>{F.push(Mee(H.triggerName,H.errors))}),J.forEach(H=>H.destroy()),this.reportError(F)}let we=new Map,Mt=new Map;r.forEach(F=>{let H=F.element;a.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)),at=new Map;$g(at,this.driver,D,u,Pa).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,im)}),wt.forEach(F=>{let H=at.get(F),Y=Ct.get(F);at.set(F,new Map([...(H==null?void 0:H.entries())??[],...(Y==null?void 0:Y.entries())??[]]))});let X=[],U=[],Ee={};r.forEach(F=>{let{element:H,player:Y,instruction:Te}=F;if(a.has(H)){if(c.has(H)){Y.onDestroy(()=>ra(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,i,Ct,at);if(Y.setRealPlayer(Jt),Je===Ee)X.push(Y);else{let Pe=this.playersByElement.get(Je);Pe&&Pe.length&&(Y.parentPlayer=Ja(Pe)),n.push(Y)}}else Mi(H,Te.fromStyles),Y.onDestroy(()=>ra(H,Te.toStyles)),U.push(Y),c.has(H)&&n.push(Y)}),U.forEach(F=>{let H=i.get(F.element);if(H&&H.length){let Y=Ja(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(or(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?Ote(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,a,n,i){let r=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(r=o)}else{let o=this.playersByElement.get(e);if(o){let l=!i||i==Co;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||r.push(u)})}}return(a||n)&&(r=r.filter(o=>!(a&&a!=o.namespaceId||n&&n!=o.triggerName))),r}_beforeAnimationBuild(e,t,a){let n=t.triggerName,i=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==i,d=En(a,u,[]);this._getPreviousPlayers(u,c,r,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),d.push(m)})}Mi(i,t.fromStyles)}_buildAnimation(e,t,a,n,i,r){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=Mte((a.get(w)||Ste).map(we=>we.getRealPlayer())).filter(we=>{let Mt=we;return Mt.element?Mt.element===w:!1}),O=i.get(w),M=r.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 ah(e,o,w);we.setRealPlayer(ue),u.push(we)}return ue});u.forEach(g=>{En(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>Ite(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Nn(g,Lg));let v=Ja(m);return v.onDestroy(()=>{c.forEach(g=>or(g,Lg)),ra(l,t.toStyles)}),d.forEach(g=>{En(n,g,[]).push(v)}),v}_buildPlayer(e,t,a){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new Wo(e.duration,e.delay)}},ah=class{constructor(e,t,a){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=a}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,a)=>{t.forEach(n=>rm(e,a,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 Ite(e,t,a){let n=e.get(t);if(n){if(n.length){let i=n.indexOf(a);n.splice(i,1)}n.length==0&&e.delete(t)}return n}function Tte(e){return e??null}function Qs(e){return e&&e.nodeType===1}function Rte(e){return e=="start"||e=="done"}function qg(e,t){let a=e.style.display;return e.style.display=t??"none",a}function $g(e,t,a,n,i){let r=[];a.forEach(u=>r.push(qg(u)));let o=[];n.forEach((u,c)=>{let d=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,i);d.set(m,v),(!v||v.length==0)&&(c[$n]=kte,o.push(c))}),e.set(c,d)});let l=0;return a.forEach(u=>qg(u,r[l++])),o}function Gg(e,t){let a=new Map;if(e.forEach(l=>a.set(l,[])),t.length==0)return a;let n=1,i=new Set(t),r=new Map;function o(l){if(!l)return n;let u=r.get(l);if(u)return u;let c=l.parentNode;return a.has(c)?u=c:i.has(c)?u=n:u=o(c),r.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&a.get(u).push(l)}),a}function Nn(e,t){var a;(a=e.classList)==null||a.add(t)}function or(e,t){var a;(a=e.classList)==null||a.remove(t)}function Ote(e,t,a){Ja(a).onDone(()=>e.processLeaveNode(t))}function Mte(e){let t=[];return iw(e,t),t}function iw(e,t){for(let a=0;a<e.length;a++){let n=e[a];n instanceof B1?iw(n.players,t):t.push(n)}}function Nte(e,t){let a=Object.keys(e),n=Object.keys(t);if(a.length!=n.length)return!1;for(let i=0;i<a.length;i++){let r=a[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function Ug(e,t,a){let n=a.get(e);if(!n)return!1;let i=t.get(e);return i?n.forEach(r=>i.add(r)):t.set(e,n),a.delete(e),!0}var ih=class{constructor(e,t,a){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=a,this._transitionEngine=new Dte(e.body,t,a),this._timelineEngine=new yte(e.body,t,a),this._transitionEngine.onRemovalComplete=(n,i)=>this.onRemovalComplete(n,i)}registerTrigger(e,t,a,n,i){let r=e+"-"+n,o=this._triggerCache[r];if(!o){let l=[],u=[],c=K1(this._driver,i,l,u);if(l.length)throw wee();o=fte(n,c,this._normalizer),this._triggerCache[r]=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,a,n){this._transitionEngine.insertNode(e,t,a,n)}onRemove(e,t,a){this._transitionEngine.removeNode(e,t,a)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,a,n){if(a.charAt(0)=="@"){let[i,r]=Ag(a),o=n;this._timelineEngine.command(i,t,r,o)}else this._transitionEngine.trigger(e,t,a,n)}listen(e,t,a,n,i){if(a.charAt(0)=="@"){let[r,o]=Ag(a);return this._timelineEngine.listen(r,t,o,i)}return this._transitionEngine.listen(e,t,a,n,i)}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 Ate(e,t){let a=null,n=null;return Array.isArray(t)&&t.length?(a=qc(t[0]),t.length>1&&(n=qc(t[t.length-1]))):t instanceof Map&&(a=qc(t)),a||n?new Pte(e,a,n):null}var Pte=(()=>{const t=class t{constructor(n,i,r){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ra(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ra(this._element,this._initialStyles),this._endStyles&&(ra(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Mi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mi(this._element,this._endStyles),this._endStyles=null),ra(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((a,n)=>{Lte(n)&&(t=t||new Map,t.set(n,a))}),t}function Lte(e){return e==="display"||e==="position"}var Wg=class{constructor(e,t,a,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=a,this._specialStyles=n,this._duration=a.duration,this._delay=a.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(a=>{t.push(Object.fromEntries(a))}),t}_triggerWebAnimation(e,t,a){return e.animate(this._convertKeyframesToObject(t),a)}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,a)=>{a!=="offset"&&e.set(a,this._finished?t:um(this.element,a))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},Fte=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return q1(e,t)}getParentElement(e){return sm(e)}query(e,t,a){return $1(e,t,a)}computeStyle(e,t,a){return um(e,t)}animate(e,t,a,n,i,r=[]){let o=n==0?"both":"forwards",l={duration:a,delay:n,fill:o};i&&(l.easing=i);let u=new Map,c=r.filter(v=>v instanceof Wg);qee(a,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,w)=>u.set(w,g))});let d=zee(t).map(v=>new Map(v));d=$ee(e,d,u);let m=Ate(e,d);return new Wg(e,d,l,m)}},bl="@",rw="@.disabled",ow=class{constructor(e,t,a,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=a,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,a;(a=(t=this.delegate).destroyNode)==null||a.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,a,n=!0){this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,a){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,a,n){this.delegate.setAttribute(e,t,a,n)}removeAttribute(e,t,a){this.delegate.removeAttribute(e,t,a)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,a,n){this.delegate.setStyle(e,t,a,n)}removeStyle(e,t,a){this.delegate.removeStyle(e,t,a)}setProperty(e,t,a){t.charAt(0)==bl&&t==rw?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,a,n){return this.delegate.listen(e,t,a,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},jte=class extends ow{constructor(t,a,n,i,r){super(a,n,i,r);s(this,"factory");this.factory=t,this.namespaceId=a}setProperty(t,a,n){a.charAt(0)==bl?a.charAt(1)=="."&&a==rw?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,a.slice(1),n):this.delegate.setProperty(t,a,n)}listen(t,a,n,i){if(a.charAt(0)==bl){let r=Vte(t),o=a.slice(1),l="";return o.charAt(0)!=bl&&([o,l]=zte(o)),this.engine.listen(this.namespaceId,r,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,a,n,i)}};function Vte(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function zte(e){let t=e.indexOf("."),a=e.substring(0,t),n=e.slice(t+1);return[a,n]}var Bte=class{constructor(e,t,a){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=a,t.onRemovalComplete=(n,i)=>{i==null||i.removeChild(null,n)}}createRenderer(e,t){var l;let a="",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(a,n,this.engine,d),u.set(n,c)}return c}let i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(i,r,e,u.name,u)};return t.data.animation.forEach(o),new jte(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(a));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(i=>{let[r,o]=i;r(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,a])}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,a;this.engine.flush(),(a=(t=this.delegate).componentReplaced)==null||a.call(t,e)}},Hte=(()=>{const t=class t extends ih{constructor(n,i,r){super(n,i,r)}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 qte(){return new Wee}function $te(e,t,a){return new Bte(e,t,a)}var Gte=[{provide:cm,useFactory:qte},{provide:ih,useClass:Hte},{provide:Kn,useFactory:$te,deps:[Bd,ih,He]}],Ute=[{provide:Z1,useFactory:()=>new Fte},{provide:fi,useFactory:()=>"BrowserAnimations"},...Gte];function Wte(){return Zi("NgEagerAnimations"),[...Ute]}var Zte=(()=>{const t=class t extends z1{constructor(n){super(),this.translate=n,this.getRangeLabel=(i,r,o)=>{if(o===0||r===0)return`0 / ${o}`;o=Math.max(o,0);let l=i*r,u=l<o?Math.min(l+r,o):l+r;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,Yte=864e5,Kte=6e4,Qte=36e5,Xte=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,a){let n=Vt(e,a==null?void 0:a.in);return isNaN(t)?Gt((a==null?void 0:a.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Jte={};function to(){return Jte}function di(e,t){var l,u,c,d;let a=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)??a.weekStartsOn??((d=(c=a.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??0,i=Vt(e,t==null?void 0:t.in),r=i.getDay(),o=(r<n?7:0)+r-n;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function jr(e,t){return di(e,Qt(ce({},t),{weekStartsOn:1}))}function uw(e,t){let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),i=Gt(a,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let r=jr(i),o=Gt(a,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=jr(o);return a.getTime()>=r.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function Kl(e){let t=Vt(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function ene(e,...t){let a=Gt.bind(null,t.find(n=>typeof n=="object"));return t.map(a)}function Yg(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setHours(0,0,0,0),a}function tne(e,t,a){let[n,i]=ene(a==null?void 0:a.in,e,t),r=Yg(n),o=Yg(i),l=+r-Kl(r),u=+o-Kl(o);return Math.round((l-u)/Yte)}function nne(e,t){let a=uw(e,t),n=Gt(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),jr(n)}function ane(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ine(e){return!(!ane(e)&&typeof e!="number"||isNaN(+Vt(e)))}function rne(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}var one={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"}},sne=(e,t,a)=>{let n,i=one[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};function $c(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var lne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},une={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},cne={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},dne={date:$c({formats:lne,defaultWidth:"full"}),time:$c({formats:une,defaultWidth:"full"}),dateTime:$c({formats:cne,defaultWidth:"full"})},hne={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},pne=(e,t,a,n)=>hne[e];function po(e){return(t,a)=>{let n=a!=null&&a.context?String(a.context):"standalone",i;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=a!=null&&a.width?String(a.width):o;i=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;i=e.values[l]||e.values[o]}let r=e.argumentCallback?e.argumentCallback(t):t;return i[r]}}var mne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},fne={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},gne={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"]},vne={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"]},bne={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"}},yne={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"}},_ne=(e,t)=>{let a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},wne={ordinalNumber:_ne,era:po({values:mne,defaultWidth:"wide"}),quarter:po({values:fne,defaultWidth:"wide",argumentCallback:e=>e-1}),month:po({values:gne,defaultWidth:"wide"}),day:po({values:vne,defaultWidth:"wide"}),dayPeriod:po({values:bne,defaultWidth:"wide",formattingValues:yne,defaultFormattingWidth:"wide"})};function mo(e){return(t,a={})=>{let n=a.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=t.match(i);if(!r)return null;let o=r[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?Ene(l,m=>m.test(o)):xne(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=a.valueCallback?a.valueCallback(c):c;let d=t.slice(o.length);return{value:c,rest:d}}}function xne(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function Ene(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function Sne(e){return(t,a={})=>{let n=t.match(e.matchPattern);if(!n)return null;let i=n[0],r=t.match(e.parsePattern);if(!r)return null;let o=e.valueCallback?e.valueCallback(r[0]):r[0];o=a.valueCallback?a.valueCallback(o):o;let l=t.slice(i.length);return{value:o,rest:l}}}var kne=/^(\d+)(th|st|nd|rd)?/i,Cne=/\d+/i,Dne={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},Ine={any:[/^b/i,/^(a|c)/i]},Tne={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Rne={any:[/1/i,/2/i,/3/i,/4/i]},One={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},Mne={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]},Nne={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},Ane={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]},Pne={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},Lne={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}},Fne={ordinalNumber:Sne({matchPattern:kne,parsePattern:Cne,valueCallback:e=>parseInt(e,10)}),era:mo({matchPatterns:Dne,defaultMatchWidth:"wide",parsePatterns:Ine,defaultParseWidth:"any"}),quarter:mo({matchPatterns:Tne,defaultMatchWidth:"wide",parsePatterns:Rne,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mo({matchPatterns:One,defaultMatchWidth:"wide",parsePatterns:Mne,defaultParseWidth:"any"}),day:mo({matchPatterns:Nne,defaultMatchWidth:"wide",parsePatterns:Ane,defaultParseWidth:"any"}),dayPeriod:mo({matchPatterns:Pne,defaultMatchWidth:"any",parsePatterns:Lne,defaultParseWidth:"any"})},cw={code:"en-US",formatDistance:sne,formatLong:dne,formatRelative:pne,localize:wne,match:Fne,options:{weekStartsOn:0,firstWeekContainsDate:1}};function jne(e,t){let a=Vt(e,t==null?void 0:t.in);return tne(a,rne(a))+1}function dw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+jr(a)-+nne(a);return Math.round(n/sw)+1}function pm(e,t){var d,m,v,g;let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),i=to(),r=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(v=i.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,r),o.setHours(0,0,0,0);let l=di(o,t),u=Gt((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,r),u.setHours(0,0,0,0);let c=di(u,t);return+a>=+l?n+1:+a>=+c?n:n-1}function Vne(e,t){var o,l,u,c;let a=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)??a.firstWeekContainsDate??((c=(u=a.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,i=pm(e,t),r=Gt((t==null?void 0:t.in)||e,0);return r.setFullYear(i,0,n),r.setHours(0,0,0,0),di(r,t)}function hw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+di(a,t)-+Vne(a,t);return Math.round(n/sw)+1}function Ze(e,t){let a=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return a+n}var Za={y(e,t){let a=e.getFullYear(),n=a>0?a:1-a;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):Ze(a+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="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 a=t.length,n=e.getMilliseconds(),i=Math.trunc(n*Math.pow(10,a-3));return Ze(i,t.length)}},ir={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Kg={G:function(e,t,a){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){let n=e.getFullYear(),i=n>0?n:1-n;return a.ordinalNumber(i,{unit:"year"})}return Za.y(e,t)},Y:function(e,t,a,n){let i=pm(e,n),r=i>0?i:1-i;if(t==="YY"){let o=r%100;return Ze(o,2)}return t==="Yo"?a.ordinalNumber(r,{unit:"year"}):Ze(r,t.length)},R:function(e,t){let a=uw(e);return Ze(a,t.length)},u:function(e,t){let a=e.getFullYear();return Ze(a,t.length)},Q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){let n=e.getMonth();switch(t){case"M":case"MM":return Za.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){let i=hw(e,n);return t==="wo"?a.ordinalNumber(i,{unit:"week"}):Ze(i,t.length)},I:function(e,t,a){let n=dw(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):Za.d(e,t)},D:function(e,t,a){let n=jne(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,a){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){let i=e.getDay(),r=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return Ze(r,2);case"eo":return a.ordinalNumber(r,{unit:"day"});case"eee":return a.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){let i=e.getDay(),r=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return Ze(r,t.length);case"co":return a.ordinalNumber(r,{unit:"day"});case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,a){let n=e.getDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return Ze(i,t.length);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){let n=e.getHours(),i;switch(n===12?i=ir.noon:n===0?i=ir.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,a){let n=e.getHours(),i;switch(n>=17?i=ir.evening:n>=12?i=ir.afternoon:n>=4?i=ir.morning:i=ir.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return Za.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):Za.H(e,t)},K:function(e,t,a){let n=e.getHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,a){let n=e.getHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):Za.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):Za.s(e,t)},S:function(e,t){return Za.S(e,t)},X:function(e,t,a){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Xg(n);case"XXXX":case"XX":return Ii(n);case"XXXXX":case"XXX":default:return Ii(n,":")}},x:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"x":return Xg(n);case"xxxx":case"xx":return Ii(n);case"xxxxx":case"xxx":default:return Ii(n,":")}},O:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Qg(n,":");case"OOOO":default:return"GMT"+Ii(n,":")}},z:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Qg(n,":");case"zzzz":default:return"GMT"+Ii(n,":")}},t:function(e,t,a){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,a){return Ze(+e,t.length)}};function Qg(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),r=n%60;return r===0?a+String(i):a+String(i)+t+Ze(r,2)}function Xg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Ii(e,t)}function Ii(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),i=Ze(Math.trunc(n/60),2),r=Ze(n%60,2);return a+i+t+r}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"})}},zne=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],n=a[1],i=a[2];if(!i)return Jg(e,t);let r;switch(n){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Jg(n,t)).replace("{{time}}",pw(i,t))},rh={p:pw,P:zne},Bne=/^D+$/,Hne=/^Y+$/,qne=["D","DD","YY","YYYY"];function mw(e){return Bne.test(e)}function fw(e){return Hne.test(e)}function oh(e,t,a){let n=$ne(e,t,a);if(console.warn(n),qne.includes(e))throw new RangeError(n)}function $ne(e,t,a){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 \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Gne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Une=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Wne=/^'([^]*?)'?$/,Zne=/''/g,Yne=/[a-zA-Z]/;function gw(e,t,a){var d,m,v,g,w,x,k,D;let n=to(),i=(a==null?void 0:a.locale)??n.locale??cw,r=(a==null?void 0:a.firstWeekContainsDate)??((m=(d=a==null?void 0:a.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=(a==null?void 0:a.weekStartsOn)??((x=(w=a==null?void 0:a.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,a==null?void 0:a.in);if(!ine(l))throw new RangeError("Invalid time value");let u=t.match(Une).map(O=>{let M=O[0];if(M==="p"||M==="P"){let J=rh[M];return J(O,i.formatLong)}return O}).join("").match(Gne).map(O=>{if(O==="''")return{isToken:!1,value:"'"};let M=O[0];if(M==="'")return{isToken:!1,value:Kne(O)};if(Kg[M])return{isToken:!0,value:O};if(M.match(Yne))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return{isToken:!1,value:O}});i.localize.preprocessor&&(u=i.localize.preprocessor(l,u));let c={firstWeekContainsDate:r,weekStartsOn:o,locale:i};return u.map(O=>{if(!O.isToken)return O.value;let M=O.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&fw(M)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&mw(M))&&oh(M,t,String(e));let J=Kg[M[0]];return J(l,M,i.localize,c)}).join("")}function Kne(e){let t=e.match(Wne);return t?t[1].replace(Zne,"'"):e}function vw(){return Object.assign({},to())}function Qne(e,t){let a=Vt(e,t==null?void 0:t.in).getDay();return a===0?7:a}function Xne(e,t){let a=Jne(t)?new t(0):Gt(t,0);return a.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),a.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),a}function Jne(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var eae=10,bw=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},tae=class extends bw{constructor(e,t,a,n,i){super(),this.value=e,this.validateValue=t,this.setValue=a,this.priority=n,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,a){return this.setValue(e,t,this.value,a)}},nae=class extends bw{constructor(t,a){super();s(this,"priority",eae);s(this,"subPriority",-1);this.context=t||(n=>Gt(a,n))}set(t,a){return a.timestampIsSet?t:Gt(t,Xne(t,this.context))}},Ge=class{run(e,t,a,n){let i=this.parse(e,t,a,n);return i?{setter:new tae(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,a){return!0}},aae=class extends Ge{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,n){switch(a){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,a,n){return a.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}/},oa={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 a=t.match(e);return a?{value:parseInt(a[0],10),rest:t.slice(a[0].length)}:null}function sa(e,t){let a=t.match(e);if(!a)return null;if(a[0]==="Z")return{value:0,rest:t.slice(1)};let n=a[1]==="+"?1:-1,i=a[2]?parseInt(a[2],10):0,r=a[3]?parseInt(a[3],10):0,o=a[5]?parseInt(a[5],10):0;return{value:n*(i*Qte+r*Kte+o*Xte),rest:t.slice(a[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 a=t>0,n=a?t:1-t,i;if(n<=50)i=e||100;else{let r=n+50,o=Math.trunc(r/100)*100,l=e>=r%100;i=e+o-(l?100:0)}return a?i:1-i}function ww(e){return e%400===0||e%4===0&&e%100!==0}var iae=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,a,n){let i=r=>({year:r,isTwoDigitYear:a==="yy"});switch(a){case"y":return kt(_t(4,t),i);case"yo":return kt(n.ordinalNumber(t,{unit:"year"}),i);default:return kt(_t(a.length,t),i)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n){let i=t.getFullYear();if(n.isTwoDigitYear){let o=_w(n.year,i);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let r=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},rae=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,a,n){let i=r=>({year:r,isTwoDigitYear:a==="YY"});switch(a){case"Y":return kt(_t(4,t),i);case"Yo":return kt(n.ordinalNumber(t,{unit:"year"}),i);default:return kt(_t(a.length,t),i)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n,i){let r=pm(t,i);if(n.isTwoDigitYear){let l=_w(n.year,r);return t.setFullYear(l,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),di(t,i)}let o=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(o,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),di(t,i)}},oae=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,a){return Ql(a==="R"?4:a.length,t)}set(t,a,n){let i=Gt(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),jr(i)}},sae=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,a){return Ql(a==="u"?4:a.length,t)}set(t,a,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},lae=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,a,n){switch(a){case"Q":case"QQ":return _t(a.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,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},uae=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,a,n){switch(a){case"q":case"qq":return _t(a.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,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},cae=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,a,n){let i=r=>r-1;switch(a){case"M":return kt(gt(St.month,t),i);case"MM":return kt(_t(2,t),i);case"Mo":return kt(n.ordinalNumber(t,{unit:"month"}),i);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,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},dae=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,a,n){let i=r=>r-1;switch(a){case"L":return kt(gt(St.month,t),i);case"LL":return kt(_t(2,t),i);case"Lo":return kt(n.ordinalNumber(t,{unit:"month"}),i);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,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function hae(e,t,a){let n=Vt(e,a==null?void 0:a.in),i=hw(n,a)-t;return n.setDate(n.getDate()-i*7),Vt(n,a==null?void 0:a.in)}var pae=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,a,n){switch(a){case"w":return gt(St.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n,i){return di(hae(t,n,i),i)}};function mae(e,t,a){let n=Vt(e,a==null?void 0:a.in),i=dw(n,a)-t;return n.setDate(n.getDate()-i*7),n}var fae=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,a,n){switch(a){case"I":return gt(St.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n){return jr(mae(t,n))}},gae=[31,28,31,30,31,30,31,31,30,31,30,31],vae=[31,29,31,30,31,30,31,31,30,31,30,31],bae=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,a,n){switch(a){case"d":return gt(St.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return _t(a.length,t)}}validate(t,a){let n=t.getFullYear(),i=ww(n),r=t.getMonth();return i?a>=1&&a<=vae[r]:a>=1&&a<=gae[r]}set(t,a,n){return t.setDate(n),t.setHours(0,0,0,0),t}},yae=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,a,n){switch(a){case"D":case"DD":return gt(St.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return _t(a.length,t)}}validate(t,a){let n=t.getFullYear();return ww(n)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function fm(e,t,a){var d,m,v,g;let n=to(),i=(a==null?void 0:a.weekStartsOn)??((m=(d=a==null?void 0:a.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,r=Vt(e,a==null?void 0:a.in),o=r.getDay(),l=(t%7+7)%7,u=7-i,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return lw(r,c,a)}var _ae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,n){switch(a){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,a){return a>=0&&a<=6}set(t,a,n,i){return t=fm(t,n,i),t.setHours(0,0,0,0),t}},wae=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,a,n,i){let r=o=>{let l=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return kt(_t(a.length,t),r);case"eo":return kt(n.ordinalNumber(t,{unit:"day"}),r);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,a){return a>=0&&a<=6}set(t,a,n,i){return t=fm(t,n,i),t.setHours(0,0,0,0),t}},xae=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,a,n,i){let r=o=>{let l=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return kt(_t(a.length,t),r);case"co":return kt(n.ordinalNumber(t,{unit:"day"}),r);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,a){return a>=0&&a<=6}set(t,a,n,i){return t=fm(t,n,i),t.setHours(0,0,0,0),t}};function Eae(e,t,a){let n=Vt(e,a==null?void 0:a.in),i=Qne(n,a),r=t-i;return lw(n,r,a)}var Sae=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,a,n){let i=r=>r===0?7:r;switch(a){case"i":case"ii":return _t(a.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"}),i);case"iiiii":return kt(n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return kt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);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"}),i)}}validate(t,a){return a>=1&&a<=7}set(t,a,n){return t=Eae(t,n),t.setHours(0,0,0,0),t}},kae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(mm(n),0,0,0),t}},Cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(mm(n),0,0,0),t}},Dae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(mm(n),0,0,0),t}},Iae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,n){switch(a){case"h":return gt(St.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,n){let i=t.getHours()>=12;return i&&n<12?t.setHours(n+12,0,0,0):!i&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},Tae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,n){switch(a){case"H":return gt(St.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,n){return t.setHours(n,0,0,0),t}},Rae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,n){switch(a){case"K":return gt(St.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},Oae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,n){switch(a){case"k":return gt(St.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,n){let i=n<=24?n%24:n;return t.setHours(i,0,0,0),t}},Mae=class extends Ge{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"m":return gt(St.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setMinutes(n,0,0),t}},Nae=class extends Ge{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"s":return gt(St.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setSeconds(n,0),t}},Aae=class extends Ge{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,a){let n=i=>Math.trunc(i*Math.pow(10,-a.length+3));return kt(_t(a.length,t),n)}set(t,a,n){return t.setMilliseconds(n),t}},Pae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return sa(oa.basicOptionalMinutes,t);case"XX":return sa(oa.basic,t);case"XXXX":return sa(oa.basicOptionalSeconds,t);case"XXXXX":return sa(oa.extendedOptionalSeconds,t);case"XXX":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Gt(t,t.getTime()-Kl(t)-n)}},Lae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return sa(oa.basicOptionalMinutes,t);case"xx":return sa(oa.basic,t);case"xxxx":return sa(oa.basicOptionalSeconds,t);case"xxxxx":return sa(oa.extendedOptionalSeconds,t);case"xxx":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Gt(t,t.getTime()-Kl(t)-n)}},Fae=class extends Ge{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return yw(t)}set(t,a,n){return[Gt(t,n*1e3),{timestampIsSet:!0}]}},jae=class extends Ge{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return yw(t)}set(t,a,n){return[Gt(t,n),{timestampIsSet:!0}]}},Vae={G:new aae,y:new iae,Y:new rae,R:new oae,u:new sae,Q:new lae,q:new uae,M:new cae,L:new dae,w:new pae,I:new fae,d:new bae,D:new yae,E:new _ae,e:new wae,c:new xae,i:new Sae,a:new kae,b:new Cae,B:new Dae,h:new Iae,H:new Tae,K:new Rae,k:new Oae,m:new Mae,s:new Nae,S:new Aae,X:new Pae,x:new Lae,t:new Fae,T:new jae},zae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Bae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Hae=/^'([^]*?)'?$/,qae=/''/g,$ae=/\S/,Gae=/[a-zA-Z]/;function Uae(e,t,a,n){var k,D,O,M;let i=()=>Gt(a,NaN),r=vw(),o=r.locale??cw,l=r.firstWeekContainsDate??((D=(k=r.locale)==null?void 0:k.options)==null?void 0:D.firstWeekContainsDate)??1,u=r.weekStartsOn??((M=(O=r.locale)==null?void 0:O.options)==null?void 0:M.weekStartsOn)??0,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},d=[new nae(n==null?void 0:n.in,a)],m=t.match(Bae).map(J=>{let ue=J[0];if(ue in rh){let we=rh[ue];return we(J,o.formatLong)}return J}).join("").match(zae),v=[];for(let J of m){fw(J)&&oh(J,t,e),mw(J)&&oh(J,t,e);let ue=J[0],we=Vae[ue];if(we){let{incompatibleTokens:Mt}=we;if(Array.isArray(Mt)){let at=v.find(Ct=>Mt.includes(Ct.token)||Ct.token===ue);if(at)throw new RangeError(`The format string mustn't contain \`${at.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 i();d.push(wt.setter),e=wt.rest}else{if(ue.match(Gae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ue+"`");if(J==="''"?J="'":ue==="'"&&(J=Wae(J)),e.indexOf(J)===0)e=e.slice(J.length);else return i()}}if(e.length>0&&$ae.test(e))return i();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(a,n==null?void 0:n.in);if(isNaN(+w))return i();let x={};for(let J of g){if(!J.validate(w,c))return i();let ue=J.set(w,x,c);Array.isArray(ue)?(w=ue[0],Object.assign(x,ue[1])):w=ue}return w}function Wae(e){return e.match(Hae)[1].replace(qae,"'")}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"),Zae={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 Yae=(()=>{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,i,r,o)=>{var g;let l=[],u="";if(Array.isArray(r)){let w=new RegExp(r.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(r),u=r;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(;i&&v.test(d);)d=d.replace(v,"$1"+i+"$2");return typeof o>"u"?d+c:o===0?d:d+c.substring(0,o+1)});s(this,"percentage",n=>{let i=n.replace(",","."),r=Number(this.allowNegativeNumbers&&n.includes(T.MINUS)?i.slice(1,n.length):i);return!isNaN(r)&&r>=0&&r<=100});s(this,"getPrecision",n=>{let i=n.split(T.DOT);return i.length>1?Number(i[i.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var i,r,o,l;for(let u=((i=this.suffix)==null?void 0:i.length)-1;u>=0;u--){let c=this.suffix.substring(u,(r=this.suffix)==null?void 0:r.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,i,r)=>{var u;let o=n,l=r;if(i<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${i}}.*$`),d=o.match(c),m=(d&&((u=d[0])==null?void 0:u.length))??0;if(m-1>i){let v=m-1-i;o=o.substring(0,o.length-v)}i===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,i){let[r,o]=i;return this.customPattern=o,this.applyMask(n,r)}applyMask(n,i,r=0,o=!1,l=!1,u=()=>{}){var wt,at,Ct;if(!i||typeof n!="string")return T.EMPTY_STRING;let c=0,d="",m=!1,v=!1,g=1,w=!1,x=n,k=r;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)),i===T.IP){let X=x.split(T.DOT);this.ipError=this._validIP(X),i="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(i===T.CPF_CNPJ&&(this.cpfCnpjError=O.length!==11&&O.length!==14,O.length>11?i="00.000.000/0000-00":i="000.000.000-00"),i.startsWith(T.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let Ee=this.getPrecision(i);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(i.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(i),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,it=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||it)||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!==i.length;X++,U=D[X]??T.EMPTY_STRING){let Ee=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(U,i[c]??T.EMPTY_STRING)&&i[c+1]===T.SYMBOL_QUESTION)d+=U,c+=2;else if(i[c+1]===T.SYMBOL_STAR&&m&&this._checkSymbolMask(U,i[c+2]??T.EMPTY_STRING))d+=U,c+=3,m=!1;else if(this._checkSymbolMask(U,i[c]??T.EMPTY_STRING)&&i[c+1]===T.SYMBOL_STAR&&!Ee)d+=U,m=!0;else if(i[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(U,i[c+2]??T.EMPTY_STRING))d+=U,c+=3;else if(this._checkSymbolMask(U,i[c]??T.EMPTY_STRING)){if(i[c]===T.HOURS&&(this.apm?Number(U)>9:Number(U)>2)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(i,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}if(i[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((i[c]===T.MINUTE||i[c]===T.SECOND)&&Number(U)>5){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(i,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(i[c]===T.DAY){let it=i.slice(0,2)===T.MONTHS,en=i.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Jt);if(Number(U)>3&&this.leadZeroDateTime||!it&&(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(i,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}if(i[c]===T.MONTH){let it=c===0&&(Number(U)>2||Number(ft)>12||this.specialCharacters.includes(Y)&&!l),en=i.slice(c+2,c+3),Nt=Pe.includes(en)&&i.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)),Ga=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&&i.includes("d0"),Es=Number(Pe)<=F&&!this.specialCharacters.includes(Pe)&&!this.specialCharacters.includes(Je)&&Number(Be)>12;if(Number(U)>1&&this.leadZeroDateTime||it||Nt||Es||xs||Jn||Ga&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(i,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}d+=U,c++}else this.specialCharacters.includes(U)&&i[c]===U?(d+=U,c++):this.specialCharacters.indexOf(i[c]??T.EMPTY_STRING)!==-1?(d+=i[c],c++,this._shiftStep(i,c,D.length),X--):i[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(i,c,D.length):this.patterns[i[c]??T.EMPTY_STRING]&&((at=this.patterns[i[c]??T.EMPTY_STRING])!=null&&at.optional)?(D[c]&&i!=="099.099.099.099"&&i!=="000.000.000-00"&&i!=="00.000.000/0000-00"&&!i.match(/^9+\.0+$/)&&!((Ct=this.patterns[i[c]??T.EMPTY_STRING])!=null&&Ct.optional)&&(d+=D[c]),i.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&i.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===i.length&&this.specialCharacters.indexOf(i[i.length-1]??T.EMPTY_STRING)!==-1&&(d+=i[i.length-1]);let M=k+1;for(;this._shift.has(M);)g++,M++;let J=o&&!i.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(i[0])&&x!==i[0];if(!this._checkSymbolMask(x,i[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(i=>i===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(i=>i===n)}_checkSymbolMask(n,i){var r,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[i])==null?void 0:r.pattern)&&((o=this.patterns[i])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(T.EMPTY_STRING).filter((i,r)=>{let o=typeof this.decimalMarker=="string"?i===this.decimalMarker:this.decimalMarker.includes(i);return i.match("^-?\\d")||i===this.thousandSeparator||o||i===T.MINUS&&r===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,i,r){let o=/[*?]/g.test(n.slice(0,i))?r:i;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,i,r){return Array.isArray(i)?i.filter(o=>o!==r).includes(n):n===i}_validIP(n){return!(n.length===4&&!n.some((i,r)=>n.length!==r+1?i===T.EMPTY_STRING||Number(i)>255:i===T.EMPTY_STRING||Number(i.substring(0,3))>255))}_splitPercentZero(n){if(n===T.MINUS&&this.allowNegativeNumbers)return n;let i=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(T.DOT),r=this.allowNegativeNumbers&&n.includes(T.MINUS)?"-":"";if(i===-1){let o=parseInt(r?n.slice(1,n.length):n,10);return isNaN(o)?T.EMPTY_STRING:`${r}${o}`}else{let o=parseInt(n.replace("-","").substring(0,i),10),l=n.substring(i+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return u===T.EMPTY_STRING?T.EMPTY_STRING:`${r}${u}${c}${l}`}}_findFirstNonZeroDigitIndex(n){for(let i=0;i<n.length;i++){let r=n[i];if(r&&r>="1"&&r<="9")return i}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})(),Kae=(()=>{const t=class t extends Yae{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",i=>{});s(this,"_elementRef",S(Xe,{optional:!0}));s(this,"document",S(Ve));s(this,"_config",S(gm));s(this,"_renderer",S(Ki,{optional:!0}))}applyMask(i,r,o=0,l=!1,u=!1,c=()=>{}){if(!r)return i!==this.actualValue?this.actualValue:i;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||T.HASH)),!i&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=i&&typeof this.selStart=="number"?i[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let k=i&&i.length===1?i.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)):i!==T.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(i.length>k.length?k.splice(this.selStart,0,d):i.length<k.length&&(k.length-i.length===1?u?k.splice(this.selStart-1,1):k.splice(i.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(i)),m=this.actualValue.length&&k.length<=i.length?this.shiftTypedSymbols(k.join(T.EMPTY_STRING)):i}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=i),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:r.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(i)),this.maskChanged?m=i:m=m&&m.length?m:i,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,r,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(i){let r=/(^|\D)(\d\D)/g,o=r.exec(i),l=0;for(;o!=null;)l+=1,o=r.exec(i);return l}applyValueChanges(i,r,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,i,r,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(i,r){return i.split(T.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[r[l]??T.EMPTY_STRING]&&((u=this.patterns[r[l]??T.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[r[l]??T.EMPTY_STRING])==null?void 0:c.symbol:o}).join(T.EMPTY_STRING)}getActualValue(i){let r=i.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 r.join(T.EMPTY_STRING)===i?r.join(T.EMPTY_STRING):i}shiftTypedSymbols(i){let r="";return(i&&i.split(T.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(i[l+1]??T.EMPTY_STRING)&&i[l+1]!==this.maskExpression[l+1])return r=o,i[l+1];if(r.length){let u=r;return r=T.EMPTY_STRING,u}return o})||[]).join(T.EMPTY_STRING)}numberToString(i){return!i&&i!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(i).length>14?String(i):Number(i).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(i){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(i){if(this.maskExpression===T.IP)return this._checkForIp(i);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(i)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let i=(r=this._elementRef)==null?void 0:r.nativeElement;i&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==i.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([i,r]){!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,i,r)})}checkDropSpecialCharAmount(i){return i.split(T.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(i){return this._removeMask(this._removeSuffix(this._removePrefix(i)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(i){if(i===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let o=0;o<i.length;o++){let l=i[o]??T.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(i){let r=`${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(i===T.HASH)return r;let l=[];for(let u=0;u<i.length;u++){let c=i[u]??T.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?i.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(i=this.document){var o;let r=(o=i==null?void 0:i.activeElement)==null?void 0:o.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):i.activeElement}formControlResult(i){if(this.writingValue&&!i){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(i)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(i)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===i?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))):this.onChange(this.outputTransformFn(this._toNumber(i)))}_toNumber(i){if(!this.isNumberValue||i===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return i;if(String(i).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(i);let r=Number(i);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(r)){let o=String(i).replace(",",".");return Number(o)}return Number.isNaN(r)?i:r}_removeMask(i,r){return this.maskExpression.startsWith(T.PERCENT)&&i.includes(T.DOT)?i:i&&i.replace(this._regExpForRemove(r),T.EMPTY_STRING)}_removePrefix(i){return this.prefix?i&&i.replace(this.prefix,T.EMPTY_STRING):i}_removeSuffix(i){return this.suffix?i&&i.replace(this.suffix,T.EMPTY_STRING):i}_retrieveSeparatorValue(i){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&i.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(r=r.filter(o=>o!==T.WHITE_SPACE)),this._removeMask(i,r)}_regExpForRemove(i){return new RegExp(i.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(i){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return i.replace(this._regExpForRemove(r),T.DOT)}_checkSymbols(i){let r=i;if(r===T.EMPTY_STRING)return r;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(r=r.replace(T.COMMA,T.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&o?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var i,r,o;for(let l in this.patterns)if(this.patterns[l]&&((i=this.patterns[l])!=null&&i.hasOwnProperty("pattern"))){let u=(r=this.patterns[l])==null?void 0:r.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(i){let r=i.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(i,r){let o=this.getPrecision(i),l=r;return i.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(i){return i.match(/{[0-9]+}/)&&i.split(T.EMPTY_STRING).reduce((r,o,l)=>{if(this._start=o===T.CURLY_BRACKETS_LEFT?l:this._start,o!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?r+o:r;this._end=l;let u=Number(i.slice(this._start+1,this._end)),c=new Array(u+1).join(i[this._start-1]);if(i.slice(0,this._start).length>1&&i.includes(T.LETTER_S)){let d=i.slice(0,this._start-1);return d.includes(T.CURLY_BRACKETS_LEFT)?r+c:d+r+c}else return r+c},"")||i}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Qae(){let e=S(Ew),t=S(xw);return t instanceof Function?ce(ce({},e),t()):ce(ce({},e),t)}function Xae(e){return[{provide:xw,useValue:e},{provide:Ew,useValue:Zae},{provide:gm,useFactory:Qae},Kae]}function Jae(e){return Lh(Xae(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})(),eie="4.0",sh=eie,ei=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ei||{}),tie=(()=>{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(r=>parseInt(r)),i=(this.version||"").split(".").map(r=>parseInt(r));return i.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):i[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,i=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:o}=i.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.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:[hi],decls:0,vars:0,template:function(n,i){},encapsulation:2}));let e=t;return e})(),Sw=class{constructor(e,t,a,n,i){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=i,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=a}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||{}),Er=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Er||{}),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 Ni={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 nie(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,a)=>{let n=a.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function aie(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 nie(t)}catch{return atob(t)}}function iie(e,t){if(typeof e!="string")throw new yo("Invalid token specified: must be a string");t||(t={});let a=t.header===!0?0:1,n=e.split(".")[a];if(typeof n!="string")throw new yo(`Invalid token specified: missing part #${a+1}`);let i;try{i=aie(n)}catch(r){throw new yo(`Invalid token specified: invalid base64 for part #${a+1} (${r.message})`)}try{return JSON.parse(i)}catch(r){throw new yo(`Invalid token specified: invalid json for part #${a+1} (${r.message})`)}}var rie=class extends Sw{constructor(e,t,a){super(e,Yo.USER_INFOS,t,a,Yo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Rt(this,null,function*(){return iie(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 oie(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0].ssin:e.ssin}function sie(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var lie=(()=>{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 oie(n)})}resolvePatientInfo(){return Rt(this,null,function*(){let n=yield this.fetchUserProfileToken();return sie(n)})}resolveUserInfo(){return Rt(this,null,function*(){var d,m,v,g;let n=yield this.fetchUserProfileToken(),i=n.lastName,r=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:r,ssin:n.ssin,lastName:i,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,i;return((i=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:i.length)>0})}resolveProfessional(n,i){return i?n[i]:void 0}extractProfessionalRole(n){let i=["physician","nurse","midwife","dentist"],r="patient";return i.forEach(o=>{n[o]&&(r=o)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,i){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=i,this.accessTokenService=new rie(this.servicesStore.getServices(),n,i)}};t.ɵfac=(()=>{let n;return function(i){return(n||(n=nt(t)))(i||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),uie=(()=>{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,i){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=i}};t.ɵfac=(()=>{let n;return function(i){return(n||(n=nt(t)))(i||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),cie=(()=>{const t=class t{constructor(){this.http=S(eo)}get(n,i,r){return Xs()?this.http.get(n,{headers:r}):tt(i)}patch(n,i,r){return Xs()?this.http.patch(n,{},{headers:r}):tt(i)}post(n,i,r){return Xs()?this.http.post(n,{},{headers:r}):tt(i)}delete(n,i,r){return Xs()?this.http.delete(n,{headers:r}):tt(i)}};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 die={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 a of die[t]){let n=e.find(i=>i.lang===a);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Sr=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Sr||{}),La=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(La||{});function hie(e,t){return Rt(this,null,function*(){t.next({status:Sr.LOADING});try{let a=yield e,n={status:Sr.SUCCESS,data:a};return t.next(n),n}catch(a){let n={status:Sr.ERROR,error:fie(a)};return t.next(n),n}})}var ev={[La.NO_DATA]:["VIDIS_0140"],[La.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"],[La.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"],[La.OTHER]:[]};function pie(e){for(let t of Object.keys(ev))if(ev[t].includes(e))return t;return La.OTHER}function mie(e,t,a){let n=e||"UNKNOWN",i=pie(n);return{code:n,message:a??"An unexpected error occurred",group:i,traceId:t}}function fie(e){var i,r,o;let t=((i=e.error)==null?void 0:i.code)??void 0,a=((r=e.error)==null?void 0:r.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return mie(t,n,a)}var gie=(()=>{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,i){return this.http.get(`/v2/leaflet/${n}/${i}`,{responseType:"text"}).pipe(tn(1),Th(r=>(this.snackbarService.showError(r.status===404?"error.no-leaflet":"error.fetch-leaflet"),p0(()=>r))))}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Vr=(()=>{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(uie):this.injector.get(lie)}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})(),vie={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function bie(e,t){if(e&1){let a=qa();j(0,"div",1)(1,"button",2),hn("click",function(){kn(a);let n=le();return Cn(n.action())}),ee(2),V()()}if(e&2){let a=le();P(2),Ue(" ",a.data.action," ")}}var yie=["label"];function _ie(e,t){}var wie=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,wie))}_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")}},xie=(()=>{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})(),Eie=(()=>{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})(),Sie=(()=>{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})(),kie=(()=>{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,i){n&1&&(j(0,"div",0),ee(1),V(),he(2,bie,3,1,"div",1)),n&2&&(P(),Ue(" ",i.data.message,`
30
+ `),P(),je(i.hasAction?2:-1))},dependencies:[ws,xie,Eie,Sie],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",Cie=(()=>{const t=class t extends zu{constructor(){super();s(this,"_ngZone",S(He));s(this,"_elementRef",S(Xe));s(this,"_changeDetectorRef",S(ba));s(this,"_platform",S(pn));s(this,"_rendersRef");s(this,"_animationsDisabled",S(fi,{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(Qi).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",i=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(i);return this._afterPortalAttached(),r});let i=this.snackBarConfig;i.politeness==="assertive"&&!i.announcementMessage?this._live="assertive":i.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(i){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(i);return this._afterPortalAttached(),r}attachTemplatePortal(i){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(i);return this._afterPortalAttached(),r}onAnimationEnd(i){i===Uc?this._completeExit():i===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 i=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(u=>i.classList.add(u)):i.classList.add(r)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let i=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let l=r[o],u=l.getAttribute("aria-owns");this._trackedModals.add(l),u?u.indexOf(i)===-1&&l.setAttribute("aria-owns",u+" "+i):l.setAttribute("aria-owns",i)}}_clearFromModals(){this._trackedModals.forEach(i=>{let r=i.getAttribute("aria-owns");if(r){let o=r.replace(this._liveElementId,"").trim();o.length>0?i.setAttribute("aria-owns",o):i.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let i=this._elementRef.nativeElement,r=i.querySelector("[aria-hidden]"),o=i.querySelector("[aria-live]");if(r&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),o.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&(Pr(Fr,7),Pr(yie,7)),i&2){let o;un(o=cn())&&(r._portalOutlet=o.first),un(o=cn())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,r){i&1&&hn("animationend",function(o){return r.onAnimationEnd(o.animationName)})("animationcancel",function(o){return r.onAnimationEnd(o.animationName)}),i&2&&jt("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._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(i,r){i&1&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),he(4,_ie,0,0,"ng-template",4),V(),Qe(5,"div"),V()()),i&2&&(P(5),$t("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Fr],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 Die(){return new Jl}var Iie=new K("mat-snack-bar-default-options",{providedIn:"root",factory:Die}),Tie=(()=>{const t=class t{constructor(){s(this,"_overlay",S(vi));s(this,"_live",S(WX));s(this,"_injector",S(ht));s(this,"_breakpointObserver",S(u1));s(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",S(Iie));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",kie);s(this,"snackBarContainerComponent",Cie);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,i){return this._attach(n,i)}openFromTemplate(n,i){return this._attach(n,i)}open(n,i="",r){let o=ce(ce({},this._defaultConfig),r);return o.data={message:n,action:i},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,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=ht.create({parent:r||this._injector,providers:[{provide:Jl,useValue:i}]}),l=new $o(this.snackBarContainerComponent,i.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=i,u.instance}_attach(n,i){let r=ce(ce(ce({},new Jl),this._defaultConfig),i),o=this._createOverlay(r),l=this._attachSnackBarContainer(o,r),u=new lh(l,o);if(n instanceof rn){let c=new Vu(n,null,{$implicit:r.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(r,u),d=new $o(n,void 0,c),m=l.attachComponentPortal(d);u.instance=m.instance}return this._breakpointObserver.observe(vie.HandsetPortrait).pipe(oi(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(u,r),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(n,i){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),i.duration&&i.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let i=new em;i.direction=n.direction;let r=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?r.left("0"):u?r.right("0"):r.centerHorizontally(),n.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(n,i){let r=n&&n.viewContainerRef&&n.viewContainerRef.injector;return ht.create({parent:r||this._injector,providers:[{provide:lh,useValue:i},{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(Tie),this.translate=S(Xn)}showSuccess(n,i="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(i),{duration:r,panelClass:"mh-snackbar--success"})}showError(n,i="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(i),{duration:r,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})(),Rie={demo:{env:ei.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:ei.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:ei.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:ei.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:ei.PROD}},no=(()=>{const t=class t{setEnvironment(n){this.configVariables=Rie[ei[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})(),Oie=(e,t)=>{let a=S(Vr).getInstance(),n=S(qu),i=S(no).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!i)return t(e);if(a.isOfflineAuthenticated)return tt();let r=e.headers||new Lr,o=a.isProfessional;return Gi(n.getServices().getAccessToken("")).pipe(Oo(l=>t(e.clone({url:`${i}${e.url}`,headers:r.set(Do.authorization,Ni.getAuthorizationHeader(l)).set(Do.userType,Ni.getUserType({isProfessional:o})).set(Do.clientType,kw()?Ni.clientType.mobileApp:Ni.clientType.webApp)}))))};function Mie(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Nie=["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",Mie];function Aie(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Pie=["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",Aie];function Lie(e){let t=Math.floor(Math.abs(e)),a=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&&a===0||!(n>=0&&n<=5)?4:5}var Fie=["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",Lie];function jie(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Vie=["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",jie];Fu(Nie,"de");Fu(Vie,"nl");Fu(Fie,"fr");Fu(Pie,"en");var zie=class{handleError(e){throw new Error(e)}},Bie=class extends vJ{getFirstDayOfWeek(){return 1}format(e){return gw(e,"dd/MM/yyyy")}parse(e){return Uae(e,"dd/MM/yyyy",new Date)}},Hie={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"}}},qie=[Wte(),uX(cX([Oie])),Jae(),{provide:Yn,useClass:zie},{provide:f1,useClass:Bie,deps:[Zd]},{provide:aJ,useValue:Hie},{provide:z1,useClass:Zte},{provide:C1,useValue:{panelClass:"mh-dialog-container"}}],$ie=Iv(Sq(),1),Gie=new K("MESSAGE_FORMAT_CONFIG"),Uie={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Wie=(()=>{const t=class t extends _s{constructor(n){super(),this.mfCache=new Map;let{formatters:i,biDiSupport:r,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:d}=ce(ce({},Uie),n);this.messageFormatOptions={customFormatters:i,biDiSupport:r,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=d}compile(n,i){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(i).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${i}': '${n}'`),r=Yie(n,i)}return this.throwOnError||(r=Zie(r,n)),r}compileTranslations(n,i){return typeof n=="string"?this.compile(n,i):Object.keys(n).reduce((r,o)=>{let l=n[o];return r[o]=this.compileTranslations(l,i),r},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new $ie.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(oe(Gie,8))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})();function Zie(e,t){return a=>{let n=t;try{n=e(a)}catch(i){console.error(i),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${a}'`)}return n}}function Yie(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":()=>ax,"00027":()=>ix,"00028":()=>rx,"00029":()=>ox,"00030":()=>sx,ampoule:()=>Nx,bandage:()=>Ix,bottle:()=>Ax,box:()=>Rx,cm:()=>lx,default:()=>Kie,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}}",ax="Suppo",ix="Tube",rx="{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}}",Kie={"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":ax,"00027":ix,"00028":rx,"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":()=>aE,"00022":()=>iE,"00023":()=>rE,"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:()=>Qie,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}}",aE="{count, plural, one{cartridge} other{cartridges}}",iE="{count, plural, one{pen} other{pens}}",rE="{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}}",Qie={"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":aE,"00022":iE,"00023":rE,"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":()=>aS,"00017":()=>iS,"00018":()=>rS,"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:()=>Xie,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}}",aS="ml",iS="ov.",rS="{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}}",Xie={"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":aS,"00017":iS,"00018":rS,"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":()=>ak,"00012":()=>ik,"00013":()=>rk,"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:()=>Jie,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}}",ak="{count, plural, one{inhalatie} other{inhalaties}}",ik="inbrengen",rk="{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}}",Jie={"00001":WS,"00002":ZS,"00003":YS,"00004":KS,"00005":QS,"00006":XS,"00007":JS,"00008":ek,"00009":tk,"00010":nk,"00011":ak,"00012":ik,"00013":rk,"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},ere={nl:US,fr:BE,de:Ow,en:Lx},Qk={};pe(Qk,{default:()=>tre,friday:()=>nC,monday:()=>Xk,saturday:()=>aC,sunday:()=>iC,thursday:()=>tC,tuesday:()=>Jk,wednesday:()=>eC});var Xk="Montag",Jk="Dienstag",eC="Mittwoch",tC="Donnerstag",nC="Freitag",aC="Samstag",iC="Sonntag",tre={monday:Xk,tuesday:Jk,wednesday:eC,thursday:tC,friday:nC,saturday:aC,sunday:iC},rC={};pe(rC,{default:()=>nre,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",nre={monday:oC,tuesday:sC,wednesday:lC,thursday:uC,friday:cC,saturday:dC,sunday:hC},pC={};pe(pC,{default:()=>are,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",are={monday:mC,tuesday:fC,wednesday:gC,thursday:vC,friday:bC,saturday:yC,sunday:_C},wC={};pe(wC,{default:()=>ire,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",ire={monday:xC,tuesday:EC,wednesday:SC,thursday:kC,friday:CC,saturday:DC,sunday:IC},rre={nl:wC,fr:pC,de:Qk,en:rC},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:()=>iD,VIDIS_3120:()=>rD,VIDIS_3140:()=>aD,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:()=>ore,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.",aD="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.",iD="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",rD="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.",ore={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:aD,VIDIS_3100:iD,VIDIS_3120:rD,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:()=>a2,VIDIS_0290:()=>i2,VIDIS_0330:()=>r2,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:()=>sre,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)",a2="The request is invalid. (VIDIS_0230)",i2="User role must be citizen. (VIDIS_0290)",r2="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.",sre={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:a2,VIDIS_0290:i2,VIDIS_0330:r2,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:()=>aI,VIDIS_0132:()=>iI,VIDIS_0133:()=>rI,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:()=>lre,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.",aI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",iI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",rI="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.",lre={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:aI,VIDIS_0132:iI,VIDIS_0133:rI,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:()=>aT,VIDIS_0050:()=>iT,VIDIS_0090:()=>rT,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:()=>ure,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":()=>rR,"report-message-content":()=>eR,"report-message-explanation":()=>JT,"report-message-ignore-button":()=>iR,"report-message-link":()=>nR,"report-message-report-button":()=>aR,"report-message-term-use":()=>tR,"report-message-title":()=>XT,"status-message-content":()=>KT,"status-message-title":()=>YT});var aT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",iT="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",rT="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",aR="Probleem melden",iR="Niet melden",rR="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.",ure={VIDIS_0035:aT,VIDIS_0050:iT,VIDIS_0090:rT,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":aR,"report-message-ignore-button":iR,"report-message-confirm-toast":rR,"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},cre={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:()=>dre});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",dre={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:()=>aO,40:()=>AO,41:()=>PO,5:()=>iO,6:()=>rO,7:()=>oO,71:()=>LO,8:()=>sO,9:()=>lO,90:()=>FO,91:()=>jO,92:()=>VO,93:()=>zO,default:()=>hre});var eO="Capsules",tO="Tablets",nO="Cream",aO="Gel",iO="Paste",rO="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",hre={1:eO,2:tO,3:nO,4:aO,5:iO,6:rO,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:()=>aM,17:()=>iM,18:()=>rM,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:()=>pre});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",aM="Poudres à diviser usage externe",iM="Gouttes nasales",rM="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 ",pre={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:aM,17:iM,18:rM,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:()=>aN,29:()=>iN,3:()=>MM,30:()=>rN,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:()=>mre});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",aN="Ooglotion",iN="Oogbad",rN="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",mre={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:aN,29:iN,30:rN,31:oN,32:sN,33:lN,34:uN,40:cN,41:dN,71:hN,90:pN,91:mN,92:fN,93:gN},fre={nl:TM,fr:BO,de:dR,en:JR},vN={};pe(vN,{close:()=>bN,default:()=>gre,downloadLeaflet:()=>yN,file:()=>_N});var bN="Schließen",yN="Download Packungsbeilage (pdf)",_N="feile",gre={close:bN,downloadLeaflet:yN,file:_N},wN={};pe(wN,{close:()=>xN,default:()=>vre,downloadLeaflet:()=>EN,file:()=>SN});var xN="Close",EN="Download leaflet (pdf)",SN="file",vre={close:xN,downloadLeaflet:EN,file:SN},kN={};pe(kN,{close:()=>CN,default:()=>bre,downloadLeaflet:()=>DN,file:()=>IN});var CN="Fermer",DN="Télécharger la notice (pdf)",IN="fichier",bre={close:CN,downloadLeaflet:DN,file:IN},TN={};pe(TN,{close:()=>RN,default:()=>yre,downloadLeaflet:()=>ON,file:()=>MN});var RN="Sluiten",ON="Download bijsluiter (pdf)",MN="bestand",yre={close:RN,downloadLeaflet:ON,file:MN},_re={nl:TN,fr:kN,de:vN,en:wN},NN={};pe(NN,{afterbreakfast:()=>AN,afterdinner:()=>PN,afterlunch:()=>LN,aftermeal:()=>FN,afternoon:()=>jN,beforebreakfast:()=>VN,beforedinner:()=>zN,beforelunch:()=>BN,betweenbreakfastandlunch:()=>HN,betweendinnerandsleep:()=>qN,betweenlunchanddinner:()=>$N,betweenmeals:()=>GN,breakfast:()=>UN,default:()=>wre,dinner:()=>WN,duringbreakfast:()=>ZN,duringdinner:()=>YN,duringlunch:()=>KN,evening:()=>QN,lunch:()=>XN,morning:()=>JN,night:()=>eA,thehourofsleep:()=>tA});var AN="nach dem Frühstück",PN="nach dem Abendessen",LN="nach dem Mittagessen",FN="nach dem Essen",jN="Nachmittag",VN="vor dem Frühstück",zN="vor dem Abendessen",BN="vor dem Mittagessen",HN="zwischen Frühstück und Mittagessen",qN="zwischen Abendessen und Nachtruhe",$N="zwischen Mittagessen und Abendessen",GN="zwischen den Mahlzeiten",UN="Frühstück",WN="Abendessen",ZN="zum Frühstück",YN="zum Abendessen",KN="zum Mittagessen",QN="Abend",XN="Mittagessen",JN="Vormittag",eA="Nacht",tA="Nachtruhe",wre={afterbreakfast:AN,afterdinner:PN,afterlunch:LN,aftermeal:FN,afternoon:jN,beforebreakfast:VN,beforedinner:zN,beforelunch:BN,betweenbreakfastandlunch:HN,betweendinnerandsleep:qN,betweenlunchanddinner:$N,betweenmeals:GN,breakfast:UN,dinner:WN,duringbreakfast:ZN,duringdinner:YN,duringlunch:KN,evening:QN,lunch:XN,morning:JN,night:eA,thehourofsleep:tA},nA={};pe(nA,{afterbreakfast:()=>aA,afterdinner:()=>iA,afterlunch:()=>rA,aftermeal:()=>oA,afternoon:()=>sA,beforebreakfast:()=>lA,beforedinner:()=>uA,beforelunch:()=>cA,betweenbreakfastandlunch:()=>dA,betweendinnerandsleep:()=>hA,betweenlunchanddinner:()=>pA,betweenmeals:()=>mA,breakfast:()=>fA,default:()=>xre,dinner:()=>gA,duringbreakfast:()=>vA,duringdinner:()=>bA,duringlunch:()=>yA,evening:()=>_A,lunch:()=>wA,morning:()=>xA,night:()=>EA,thehourofsleep:()=>SA});var aA="after breakfast",iA="after dinner",rA="after lunch",oA="after meal",sA="afternoon",lA="before breakfast",uA="before dinner",cA="before lunch",dA="between breakfast and lunch",hA="between dinner and the hour of sleep",pA="between lunch and dinner",mA="between meals",fA="breakfast",gA="dinner",vA="during breakfast",bA="during dinner",yA="during lunch",_A="evening",wA="lunch",xA="morning",EA="night",SA="the hour of sleep",xre={afterbreakfast:aA,afterdinner:iA,afterlunch:rA,aftermeal:oA,afternoon:sA,beforebreakfast:lA,beforedinner:uA,beforelunch:cA,betweenbreakfastandlunch:dA,betweendinnerandsleep:hA,betweenlunchanddinner:pA,betweenmeals:mA,breakfast:fA,dinner:gA,duringbreakfast:vA,duringdinner:bA,duringlunch:yA,evening:_A,lunch:wA,morning:xA,night:EA,thehourofsleep:SA},kA={};pe(kA,{afterbreakfast:()=>CA,afterdinner:()=>DA,afterlunch:()=>IA,aftermeal:()=>TA,afternoon:()=>RA,beforebreakfast:()=>OA,beforedinner:()=>MA,beforelunch:()=>NA,betweenbreakfastandlunch:()=>AA,betweendinnerandsleep:()=>PA,betweenlunchanddinner:()=>LA,betweenmeals:()=>FA,breakfast:()=>jA,default:()=>Ere,dinner:()=>VA,duringbreakfast:()=>zA,duringdinner:()=>BA,duringlunch:()=>HA,evening:()=>qA,lunch:()=>$A,morning:()=>GA,night:()=>UA,thehourofsleep:()=>WA});var CA="après le petit-déjeuner",DA="après le repas du soir",IA="après le repas du midi",TA="après le repas",RA="après-midi",OA="avant le petit-déjeuner",MA="avant le repas du soir",NA="avant le repas du midi",AA="entre le petit-déjeuner et le repas du midi",PA="entre le repas du soir et l’heure du coucher",LA="entre le repas du midi et le repas du soir",FA="entre les repas",jA="petit-déjeuner",VA="repas du soir",zA="pendant le petit-déjeuner",BA="pendant le repas du soir",HA="pendant le repas du midi",qA="soir",$A="repas du midi",GA="matin",UA="nuit",WA="heure du coucher",Ere={afterbreakfast:CA,afterdinner:DA,afterlunch:IA,aftermeal:TA,afternoon:RA,beforebreakfast:OA,beforedinner:MA,beforelunch:NA,betweenbreakfastandlunch:AA,betweendinnerandsleep:PA,betweenlunchanddinner:LA,betweenmeals:FA,breakfast:jA,dinner:VA,duringbreakfast:zA,duringdinner:BA,duringlunch:HA,evening:qA,lunch:$A,morning:GA,night:UA,thehourofsleep:WA},ZA={};pe(ZA,{afterbreakfast:()=>YA,afterdinner:()=>KA,afterlunch:()=>QA,aftermeal:()=>XA,afternoon:()=>JA,beforebreakfast:()=>eP,beforedinner:()=>tP,beforelunch:()=>nP,betweenbreakfastandlunch:()=>aP,betweendinnerandsleep:()=>iP,betweenlunchanddinner:()=>rP,betweenmeals:()=>oP,breakfast:()=>sP,default:()=>Sre,dinner:()=>lP,duringbreakfast:()=>uP,duringdinner:()=>cP,duringlunch:()=>dP,evening:()=>hP,lunch:()=>pP,morning:()=>mP,night:()=>fP,thehourofsleep:()=>gP});var YA="na het ontbijt",KA="na het avondmaal",QA="na het middagmaal",XA="na de maaltijd",JA="namiddag",eP="voor het ontbijt",tP="voor het avondmaal",nP="voor het middagmaal",aP="tussen het ontbijt en het middagmaal",iP="tussen het avondmaal en het slapen gaan",rP="tussen het middagmaal en het avondmaal",oP="tussen de maaltijden",sP="ontbijt",lP="avondmaal",uP="tijdens het ontbijt",cP="tijdens het avondmaal",dP="tijdens het middagmaal",hP="'s avonds",pP="middagmaal",mP="'s ochtends",fP="'s nachts",gP="voor het slapen gaan",Sre={afterbreakfast:YA,afterdinner:KA,afterlunch:QA,aftermeal:XA,afternoon:JA,beforebreakfast:eP,beforedinner:tP,beforelunch:nP,betweenbreakfastandlunch:aP,betweendinnerandsleep:iP,betweenlunchanddinner:rP,betweenmeals:oP,breakfast:sP,dinner:lP,duringbreakfast:uP,duringdinner:cP,duringlunch:dP,evening:hP,lunch:pP,morning:mP,night:fP,thehourofsleep:gP},kre={nl:ZA,fr:kA,de:NN,en:nA},vP={};pe(vP,{day:()=>bP,default:()=>Cre,during:()=>wP,on:()=>_P,week:()=>yP});var bP="Tag",yP="Woche",_P="am",wP="für",Cre={day:bP,week:yP,on:_P,during:wP},xP={};pe(xP,{day:()=>EP,default:()=>Dre,during:()=>CP,on:()=>kP,week:()=>SP});var EP="day",SP="week",kP="on",CP="during",Dre={day:EP,week:SP,on:kP,during:CP},DP={};pe(DP,{day:()=>IP,default:()=>Ire,during:()=>OP,on:()=>RP,week:()=>TP});var IP="jour",TP="semaine",RP="le",OP="durant",Ire={day:IP,week:TP,on:RP,during:OP},MP={};pe(MP,{day:()=>NP,default:()=>Tre,during:()=>LP,on:()=>PP,week:()=>AP});var NP="dag",AP="week",PP="op",LP="gedurende",Tre={day:NP,week:AP,on:PP,during:LP},Rre={nl:MP,fr:DP,de:vP,en:xP},FP={};pe(FP,{a:()=>jP,d:()=>BP,default:()=>Ore,hr:()=>HP,min:()=>qP,mo:()=>VP,ms:()=>GP,ns:()=>WP,s:()=>$P,us:()=>UP,wk:()=>zP});var jP="{count} {count, plural, one{Jahr} other{Jahre}}",VP="{count} {count, plural, one{Monat} other{Monate}}",zP="{count} {count, plural, one{Woche} other{Wochen}}",BP="{count} {count, plural, one{Tag} other{Tage}}",HP="{count} {count, plural, one{Stunde} other{Stunden}}",qP="{count} {count, plural, one{Minute} other{Minuten}}",$P="{count} {count, plural, one{Sekunde} other{Sekunden}} ",GP="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",UP="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",WP="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",Ore={a:jP,mo:VP,wk:zP,d:BP,hr:HP,min:qP,s:$P,ms:GP,us:UP,ns:WP},ZP={};pe(ZP,{a:()=>YP,d:()=>XP,default:()=>Mre,hr:()=>JP,min:()=>eL,mo:()=>KP,ms:()=>nL,ns:()=>iL,s:()=>tL,us:()=>aL,wk:()=>QP});var YP="{count} {count, plural, one{year} other{years}}",KP="{count} {count, plural, one{month} other{months}}",QP="{count} {count, plural, one{week} other{weeks}}",XP="{count} {count, plural, one{day} other{days}}",JP="{count} {count, plural, one{hour} other{hours}}",eL="{count} {count, plural, one{minute} other{minutes}}",tL="{count} {count, plural, one{second} other{seconds}}",nL="{count} {count, plural, one{millisecond} other{millisecondes}}",aL="{count} {count, plural, one{microsecond} other{microsecondes}}",iL="{count} {count, plural, one{nanosecond} other{nanosecondes}}",Mre={a:YP,mo:KP,wk:QP,d:XP,hr:JP,min:eL,s:tL,ms:nL,us:aL,ns:iL},rL={};pe(rL,{a:()=>oL,d:()=>uL,default:()=>Nre,hr:()=>cL,min:()=>dL,mo:()=>sL,ms:()=>pL,ns:()=>fL,s:()=>hL,us:()=>mL,wk:()=>lL});var oL="{count} {count, plural, one{année} other{années}}",sL="{count} {count, plural, one{mois} other{mois}}",lL="{count} {count, plural, one{semaine} other{semaines}}",uL="{count} {count, plural, one{jour} other{jours}}",cL="{count} {count, plural, one{heure} other{heures}}",dL="{count} {count, plural, one{minute} other{minutes}}",hL="{count} {count, plural, one{seconde} other{secondes}}",pL="{count} {count, plural, one{milliseconde} other{millisecondes}}",mL="{count} {count, plural, one{microseconde} other{microsecondes}}",fL="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",Nre={a:oL,mo:sL,wk:lL,d:uL,hr:cL,min:dL,s:hL,ms:pL,us:mL,ns:fL},gL={};pe(gL,{a:()=>vL,d:()=>_L,default:()=>Are,hr:()=>wL,min:()=>xL,mo:()=>bL,ms:()=>SL,ns:()=>CL,s:()=>EL,us:()=>kL,wk:()=>yL});var vL="{count} {count, plural, one{jaar} other{jaren}}",bL="{count} {count, plural, one{maand} other{maanden}}",yL="{count} {count, plural, one{week} other{weken}}",_L="{count} {count, plural, one{dag} other{dagen}}",wL="{count} {count, plural, one{uur} other{uren}}",xL="{count} {count, plural, one{minuut} other{minuten}}",EL="{count} {count, plural, one{seconde} other{seconden}}",SL="{count} {count, plural, one{milliseconde} other{milliseconden}}",kL="{count} {count, plural, one{microseconde} other{microseconden}}",CL="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",Are={a:vL,mo:bL,wk:yL,d:_L,hr:wL,min:xL,s:EL,ms:SL,us:kL,ns:CL},Pre={nl:gL,fr:rL,de:FP,en:ZP},DL={};pe(DL,{"%":()=>IL,"%vv":()=>FF,"%wv":()=>jF,"%ww":()=>VF,"1000/mm3":()=>JL,amp:()=>TL,atptreatment:()=>N3,bag:()=>RL,bitperminute:()=>zF,bol:()=>BF,bot:()=>HF,box:()=>OL,c:()=>y3,can:()=>qF,cap:()=>$F,cc:()=>GF,cm:()=>UF,cmm:()=>eF,cnt:()=>_3,ctg:()=>bF,ctr:()=>WF,daily:()=>b3,day:()=>tF,default:()=>Lre,degree:()=>XL,dis:()=>rF,drm:()=>w3,fl:()=>ML,fld:()=>oF,flo:()=>sF,ftc:()=>lF,fts:()=>uF,"g/dl":()=>NL,gal:()=>yF,gm:()=>AL,goutte:()=>vF,gr:()=>ZF,hour:()=>gF,in:()=>YF,inc:()=>KF,jar:()=>QF,kg:()=>PL,"kg/m2":()=>LL,kit:()=>XF,l:()=>FL,lb:()=>jL,lm:()=>x3,loz:()=>g3,mcg:()=>VL,mcl:()=>zL,mcm:()=>_F,mcn:()=>JF,meq:()=>BL,mg:()=>HL,"mg/dl":()=>qL,"mg/l":()=>$L,"mg/m2":()=>GL,"mg/ml":()=>UL,mgper100ml:()=>xF,mic:()=>e3,mil:()=>t3,millisecond:()=>fF,min:()=>n3,minute:()=>cF,mis:()=>E3,ml:()=>WL,"ml/min":()=>ZL,"ml/min/1.73m2":()=>m3,mm:()=>dF,"mm/h":()=>hF,mmhg:()=>pF,mmo:()=>a3,mol:()=>YL,month:()=>iF,nl:()=>i3,nmg:()=>S3,nmo:()=>k3,ns:()=>TF,ondemand:()=>wF,oz:()=>KL,pel:()=>r3,pg:()=>IF,pkg:()=>o3,pnu:()=>C3,ppm:()=>QL,pt:()=>s3,qs:()=>l3,qt:()=>u3,sap:()=>A3,sat:()=>D3,second:()=>mF,shock:()=>f3,spoon:()=>nF,spr:()=>EF,sqc:()=>c3,stp:()=>I3,sup:()=>RF,syr:()=>kF,tab:()=>OF,tbl:()=>MF,tes:()=>NF,ton:()=>LF,tpn:()=>CF,trc:()=>T3,tro:()=>v3,tsp:()=>PF,tub:()=>DF,umg:()=>d3,unt:()=>AF,vil:()=>SF,vpr:()=>R3,waf:()=>O3,week:()=>aF,x:()=>M3,ydl:()=>h3,yds:()=>p3});var IL="%",TL="{count, plural, one{Glühbirn} other{Glühbirnen}}",RL="Beutel",OL="schachteln",ML="fl",NL="g/dl",AL="g",PL="kg",LL="kg/m²",FL="l",jL="lb",VL="µg",zL="µl",BL="meq",HL="mg",qL="mg/dl",$L="mg/l",GL="mg/m²",UL="mg/ml",WL="ml",ZL="ml/min",YL="mol",KL="oz",QL="ppm",XL="°",JL="1000/mm³",eF="mm³",tF="{count, plural, one{Tag} other{Tage}}",nF="Löffel",aF="{count, plural, one{Woche} other{Wochen}}",iF="{count, plural, one{Monat} other{Monate}}",rF="{count, plural, one{Platte} other{Platten}}",oF="fl dr",sF="fl oz",lF="cu ft",uF="sq ft",cF="{count, plural, one{Minute} other{Minuten}}",dF="mm",hF="mm/h",pF="mmHg",mF="{count, plural, one{Sekunde} other{Sekunden}}",fF="{count, plural, one{Millisekunde} other{Millisekunden}}",gF="{count, plural, one{Stunde} other{Stunden}}",vF="{count, plural, one{Tropf} other{Tropfen}}",bF="{count, plural, one{Kartusche} other{Kartuschen}}",yF="gal",_F="mmol",wF="auf Antrag",xF="mg/100mL",EF="{count, plural, one{Sprühe} other{Sprühen}}",SF="{count, plural, one{Phiole} other{Phiolen}}",kF="{count, plural, one{Spritze} other{Spritzen}}",CF="Tampon",DF="{count, plural, one{Rohr} other{Rohre}}",IF="pg",TF="nicht spezifiziert",RF="{count, plural, one{Zäpfch} other{Zäpfchen}}",OF="{count, plural, one{Tablette} other{Tabletten}}",MF="Esslöffel",NF="Test",AF="{count, plural, one{Einheit} other{Einheiten}}",PF="teelöffel",LF="ton",FF="% v/v",jF="% w/v",VF="% w/w",zF="Schläge pro Minute",BF="Bolus",HF="{count, plural, one{Flasche} other{Fläschchen}}",qF="Dose",$F="{count, plural, one{Kapsel} other{Kapseln}}",GF="cm3",UF="cm",WF="Halter",ZF="Körnchen",YF="in",KF="in²",QF="Glas",XF="Kitt",JF="Micron",e3="µCi",t3="mCi",n3="minim",a3="μmol",i3="normal",r3="{count, plural, one{Pille} other{Pillen}}",o3="{count, plural, one{Paket} other{Pakete}}",s3="Pinte",l3="ausreichende Menge",u3="qt",c3="cm²",d3="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",h3="yd",p3="yd²",m3="mL/min/1.73m²",f3="{count, plural, one{Schock} other{Schocks}}",g3="{count, plural, one{Pastille} other{Pastillen}}",v3="{count, plural, one{Pastille} other{Pastillen}}",b3="täglich",y3="homöopathische Verdünnung (Centesimal 1/100)",_3="cnt",w3="Fass",x3="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",E3="verschiedene",S3="ng",k3="nmol",C3="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",D3="gesättigt",I3="Strip",T3="Spur",R3="Therapieschema abhängig",O3="{count, plural, one{Oblate} other{Oblaten}}",M3="homöopathische Verdünnung (dezimal 1/10)",N3="anzahl der antitachykardie-stimulationsbehandlungen",A3="Kumulativer sap wert",Lre={"%":IL,amp:TL,bag:RL,box:OL,fl:ML,"g/dl":NL,gm:AL,kg:PL,"kg/m2":LL,l:FL,lb:jL,mcg:VL,mcl:zL,meq:BL,mg:HL,"mg/dl":qL,"mg/l":$L,"mg/m2":GL,"mg/ml":UL,ml:WL,"ml/min":ZL,mol:YL,oz:KL,ppm:QL,degree:XL,"1000/mm3":JL,cmm:eF,day:tF,spoon:nF,week:aF,month:iF,dis:rF,fld:oF,flo:sF,ftc:lF,fts:uF,minute:cF,mm:dF,"mm/h":hF,mmhg:pF,second:mF,millisecond:fF,hour:gF,goutte:vF,ctg:bF,gal:yF,mcm:_F,ondemand:wF,mgper100ml:xF,spr:EF,vil:SF,syr:kF,tpn:CF,tub:DF,pg:IF,ns:TF,sup:RF,tab:OF,tbl:MF,tes:NF,unt:AF,tsp:PF,ton:LF,"%vv":FF,"%wv":jF,"%ww":VF,bitperminute:zF,bol:BF,bot:HF,can:qF,cap:$F,cc:GF,cm:UF,ctr:WF,gr:ZF,in:YF,inc:KF,jar:QF,kit:XF,mcn:JF,mic:e3,mil:t3,min:n3,mmo:a3,nl:i3,pel:r3,pkg:o3,pt:s3,qs:l3,qt:u3,sqc:c3,umg:d3,ydl:h3,yds:p3,"ml/min/1.73m2":m3,shock:f3,loz:g3,tro:v3,daily:b3,c:y3,cnt:_3,drm:w3,lm:x3,mis:E3,nmg:S3,nmo:k3,pnu:C3,sat:D3,stp:I3,trc:T3,vpr:R3,waf:O3,x:M3,atptreatment:N3,sap:A3},P3={};pe(P3,{"%":()=>L3,"%vv":()=>F3,"%wv":()=>j3,"%ww":()=>V3,"1000/mm3":()=>z3,amp:()=>B3,atptreatment:()=>H3,bag:()=>q3,bitperminute:()=>$3,bol:()=>G3,bot:()=>U3,box:()=>W3,c:()=>Z3,can:()=>Y3,cap:()=>K3,cc:()=>Q3,cm:()=>X3,cmm:()=>J3,cnt:()=>ej,ctg:()=>tj,ctr:()=>nj,daily:()=>aj,day:()=>ij,default:()=>Fre,degree:()=>rj,dis:()=>oj,drm:()=>sj,fl:()=>lj,fld:()=>uj,flo:()=>cj,ftc:()=>dj,fts:()=>hj,"g/dl":()=>pj,gal:()=>mj,gm:()=>fj,goutte:()=>gj,gr:()=>vj,hour:()=>bj,in:()=>yj,inc:()=>_j,jar:()=>wj,kg:()=>xj,"kg/m2":()=>Ej,kit:()=>Sj,l:()=>kj,lb:()=>Cj,lm:()=>Dj,loz:()=>Ij,mcg:()=>Tj,mcl:()=>Rj,mcm:()=>Oj,mcn:()=>Mj,meq:()=>Nj,mg:()=>Aj,"mg/dl":()=>Pj,"mg/l":()=>Lj,"mg/m2":()=>Fj,"mg/ml":()=>jj,mgper100ml:()=>Vj,mic:()=>zj,mil:()=>Bj,millisecond:()=>Hj,min:()=>qj,minute:()=>$j,mis:()=>Gj,ml:()=>Uj,"ml/min":()=>Wj,"ml/min/1.73m2":()=>Zj,mm:()=>Yj,"mm/h":()=>Kj,mmhg:()=>Qj,mmo:()=>Xj,mol:()=>Jj,month:()=>e5,nl:()=>t5,nmg:()=>n5,nmo:()=>a5,ns:()=>i5,ondemand:()=>r5,oz:()=>o5,pel:()=>s5,pg:()=>l5,pkg:()=>u5,pnu:()=>c5,ppm:()=>d5,pt:()=>h5,qs:()=>p5,qt:()=>H5,sap:()=>m5,sat:()=>f5,second:()=>g5,shock:()=>v5,spoon:()=>b5,spr:()=>y5,sqc:()=>_5,stp:()=>w5,sup:()=>x5,syr:()=>E5,tab:()=>S5,tbl:()=>k5,tes:()=>C5,ton:()=>D5,tpn:()=>I5,trc:()=>T5,tro:()=>R5,tsp:()=>O5,tub:()=>M5,umg:()=>N5,unt:()=>A5,vil:()=>P5,vpr:()=>L5,waf:()=>F5,week:()=>j5,x:()=>V5,ydl:()=>z5,yds:()=>B5});var L3="%",F3="% v/v",j3="% w/v",V3="% w/w",z3="1000/mm³",B3="{count, plural, one{ampule} other{ampules}}",H3="Number of treatments by anti-tachycardia pacing",q3="{count, plural, one{bag} other{bags}}",$3="{count, plural, one{bit per minute} other{bits per minute}}",G3="bolus",U3="{count, plural, one{bottle} other{bottles}}",W3="{count, plural, one{box} other{boxes}}",Z3="homeopathic dilution (centesimal 1/100)",Y3="{count, plural, one{can} other{cans}}",K3="{count, plural, one{capsule} other{capsules}}",Q3="cm³",X3="cm",J3="mm³",ej="cnt",tj="{count, plural, one{cartridge} other{cartridges}}",nj="{count, plural, one{container} other{containers}}",aj="daily",ij="{count, plural, one{day} other{days}}",rj="°",oj="{count, plural, one{disk} other{disks}}",sj="drum",lj="{count, plural, one{fluid} other{fluids}}",uj="fl dr",cj="{count, plural, one{fluid ounce} other{fluid ounces}}",dj="cu ft",hj="sq ft",pj="g/dl",mj="{count, plural, one{gallon} other{gallons}}",fj="g",gj="{count, plural, one{drop} other{drops}}",vj="{count, plural, one{grain} other{grains}}",bj="{count, plural, one{hour} other{hours}}",yj="{count, plural, one{inch} other{inches}}",_j="in²",wj="{count, plural, one{jar} other{jars}}",xj="kg",Ej="kg/m²",Sj="kit",kj="{count, plural, one{liter} other{liters}}",Cj="{count, plural, one{pound} other{pounds}}",Dj="homeopathic dilution (fifty millesimal 1/50,000)",Ij="{count, plural, one{lozenge} other{lozenges}}",Tj="µg",Rj="µl",Oj="mmol",Mj="micron",Nj="milliequivalent",Aj="mg",Pj="mg/dl",Lj="mg/l",Fj="mg/m²",jj="mg/ml",Vj="mg/100mL",zj="µCi",Bj="mCi",Hj="{count, plural, one{millisecond} other{milliseconds}}",qj="minim",$j="{count, plural, one{minute} other{minutes}}",Gj="miscellaneous",Uj="{count, plural, one{milliliter} other{milliliters}}",Wj="ml/min",Zj="mL/min/1.73m²",Yj="mm",Kj="mm/h",Qj="mmHg",Xj="μmol",Jj="mol",e5="{count, plural, one{month} other{months}}",t5="normal",n5="ng",a5="nmol",i5="not stated",r5="on demand",o5="{count, plural, one{ounce} other{ounces}}",s5="{count, plural, one{pellet} other{pellets}}",l5="pg",u5="{count, plural, one{package} other{packages}}",c5="{count, plural, one{protein unit} other{protein unit}}",d5="ppm",h5="{count, plural, one{pint} other{pints}}",p5="quantity sufficient",m5="Cumulative sap value",f5="saturated",g5="{count, plural, one{second} other{seconds}}",v5="shock",b5="{count, plural, one{spoon} other{spoons}}",y5="{count, plural, one{spray} other{sprays}}",_5="cm²",w5="{count, plural, one{strip} other{strips}}",x5="{count, plural, one{suppository} other{suppositories}}",E5="{count, plural, one{syrynge} other{syrynges}}",S5="{count, plural, one{tablet} other{tablets}}",k5="{count, plural, one{tablespoon} other{tablespoons}}",C5="{count, plural, one{test} other{tests}}",D5="{count, plural, one{ton} other{tons}}",I5="{count, plural, one{tampon} other{tampons}}",T5="{count, plural, one{trace} other{traces}}",R5="{count, plural, one{troche} other{troches}}",O5="{count, plural, one{teaspoon} other{teaspoons}}",M5="{count, plural, one{tube} other{tubes}}",N5="UNITS PER MILLIGRAM",A5="{count, plural, one{unit} other{units}}",P5="{count, plural, one{vial} other{vials}}",L5="varies per regimen",F5="{count, plural, one{wafer} other{wafers}}",j5="{count, plural, one{week} other{weeks}}",V5="homeopathic dilution (decimal 1/10)",z5="yd",B5="yd²",H5="qt",Fre={"%":L3,"%vv":F3,"%wv":j3,"%ww":V3,"1000/mm3":z3,amp:B3,atptreatment:H3,bag:q3,bitperminute:$3,bol:G3,bot:U3,box:W3,c:Z3,can:Y3,cap:K3,cc:Q3,cm:X3,cmm:J3,cnt:ej,ctg:tj,ctr:nj,daily:aj,day:ij,degree:rj,dis:oj,drm:sj,fl:lj,fld:uj,flo:cj,ftc:dj,fts:hj,"g/dl":pj,gal:mj,gm:fj,goutte:gj,gr:vj,hour:bj,in:yj,inc:_j,jar:wj,kg:xj,"kg/m2":Ej,kit:Sj,l:kj,lb:Cj,lm:Dj,loz:Ij,mcg:Tj,mcl:Rj,mcm:Oj,mcn:Mj,meq:Nj,mg:Aj,"mg/dl":Pj,"mg/l":Lj,"mg/m2":Fj,"mg/ml":jj,mgper100ml:Vj,mic:zj,mil:Bj,millisecond:Hj,min:qj,minute:$j,mis:Gj,ml:Uj,"ml/min":Wj,"ml/min/1.73m2":Zj,mm:Yj,"mm/h":Kj,mmhg:Qj,mmo:Xj,mol:Jj,month:e5,nl:t5,nmg:n5,nmo:a5,ns:i5,ondemand:r5,oz:o5,pel:s5,pg:l5,pkg:u5,pnu:c5,ppm:d5,pt:h5,qs:p5,sap:m5,sat:f5,second:g5,shock:v5,spoon:b5,spr:y5,sqc:_5,stp:w5,sup:x5,syr:E5,tab:S5,tbl:k5,tes:C5,ton:D5,tpn:I5,trc:T5,tro:R5,tsp:O5,tub:M5,umg:N5,unt:A5,vil:P5,vpr:L5,waf:F5,week:j5,x:V5,ydl:z5,yds:B5,qt:H5},q5={};pe(q5,{"%":()=>$5,"%vv":()=>JV,"%wv":()=>ez,"%ww":()=>tz,"1000/mm3":()=>fV,amp:()=>G5,atptreatment:()=>Yz,bag:()=>U5,bitperminute:()=>nz,bol:()=>az,bot:()=>iz,box:()=>W5,c:()=>Pz,can:()=>rz,cap:()=>oz,cc:()=>sz,cm:()=>lz,cmm:()=>gV,cnt:()=>Lz,ctg:()=>AV,ctr:()=>uz,daily:()=>Az,day:()=>vV,default:()=>jre,degree:()=>mV,dis:()=>wV,drm:()=>Fz,fl:()=>Z5,fld:()=>xV,flo:()=>EV,ftc:()=>SV,fts:()=>kV,"g/dl":()=>Y5,gal:()=>PV,gm:()=>K5,goutte:()=>NV,gr:()=>cz,hour:()=>MV,in:()=>dz,inc:()=>hz,jar:()=>pz,kg:()=>Q5,"kg/m2":()=>X5,kit:()=>mz,l:()=>J5,lb:()=>eV,lm:()=>jz,loz:()=>Mz,mcg:()=>tV,mcl:()=>nV,mcm:()=>LV,mcn:()=>fz,meq:()=>aV,mg:()=>iV,"mg/dl":()=>rV,"mg/l":()=>oV,"mg/m2":()=>sV,"mg/ml":()=>lV,mgper100ml:()=>jV,mic:()=>gz,mil:()=>vz,millisecond:()=>OV,min:()=>bz,minute:()=>CV,mis:()=>Vz,ml:()=>uV,"ml/min":()=>cV,"ml/min/1.73m2":()=>Rz,mm:()=>DV,"mm/h":()=>IV,mmhg:()=>TV,mmo:()=>yz,mol:()=>dV,month:()=>_V,nl:()=>_z,nmg:()=>zz,nmo:()=>Bz,ns:()=>GV,ondemand:()=>FV,oz:()=>hV,pel:()=>wz,pg:()=>$V,pkg:()=>xz,pnu:()=>Hz,ppm:()=>pV,pt:()=>Ez,qs:()=>Sz,qt:()=>kz,sap:()=>Kz,sat:()=>qz,second:()=>RV,shock:()=>Oz,spoon:()=>bV,spr:()=>VV,sqc:()=>Cz,stp:()=>$z,sup:()=>UV,syr:()=>BV,tab:()=>WV,tbl:()=>ZV,tes:()=>YV,ton:()=>XV,tpn:()=>HV,trc:()=>Gz,tro:()=>Nz,tsp:()=>QV,tub:()=>qV,umg:()=>Dz,unt:()=>KV,vil:()=>zV,vpr:()=>Uz,waf:()=>Wz,week:()=>yV,x:()=>Zz,ydl:()=>Iz,yds:()=>Tz});var $5="%",G5="{count, plural, one{ampoule} other{ampoules}}",U5="{count, plural, one{sac} other{sacs}}",W5="{count, plural, one{vaporisateur} other{vaporisateurs}}",Z5="fl",Y5="g/dl",K5="g",Q5="kg",X5="kg/m²",J5="l",eV="lb",tV="µg",nV="µl",aV="milli-equivalent",iV="mg",rV="mg/dl",oV="mg/l",sV="mg/m²",lV="mg/ml",uV="ml",cV="ml/min",dV="mol",hV="oz",pV="ppm",mV="°",fV="1000/mm³",gV="mm³",vV="{count, plural, one{jour(s)} other{jours}}",bV="{count, plural, one{cuillère} other{cuillères}}",yV="{count, plural, one{semaine} other{semaines}}",_V="mois",wV="{count, plural, one{disque} other{disques}}",xV="fl dr",EV="fl oz",SV="cu ft",kV="sq ft",CV="{count, plural, one{minute} other{minutes}}",DV="mm",IV="mm/h",TV="mmHg",RV="{count, plural, one{seconde} other{secondes}}",OV="{count, plural, one{milliseconde} other{millisecondes}}",MV="{count, plural, one{heure} other{heures}}",NV="{count, plural, one{goutte} other{gouttes}}",AV="{count, plural, one{cartouche} other{cartouches}}",PV="gal",LV="mmol",FV="sur demande",jV="mg/100mL",VV="spray",zV="{count, plural, one{fiole} other{fioles}}",BV="{count, plural, one{seringue} other{seringues}}",HV="{count, plural, one{tampon} other{tampons}}",qV="{count, plural, one{tube} other{tubes}}",$V="pg",GV="non spécifié",UV="{count, plural, one{suppositoire} other{suppositoires}}",WV="{count, plural, one{tablette} other{tablettes}}",ZV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",YV="{count, plural, one{test} other{tests}}",KV="{count, plural, one{unité} other{unités}}",QV="{count, plural, one{cuillère à café} other{cuillères à café}}",XV="{count, plural, one{ton} other{tons}}",JV="% v/v",ez="% w/v",tz="% w/w",nz="{count, plural, one{battement par minute} other{battements par minute}}",az="{count, plural, one{bolus} other{bolus}}",iz="{count, plural, one{bouteille} other{bouteilles}}",rz="{count, plural, one{canette} other{canettes}}",oz="{count, plural, one{capsule} other{capsules}}",sz="cm3",lz="cm",uz="{count, plural, one{conteneur} other{conteneurs}}",cz="{count, plural, one{granule} other{granules}}",dz="in",hz="in²",pz="pot",mz="{count, plural, one{kit} other{kits}}",fz="micron",gz="µCi",vz="mCi",bz="minim",yz="μmol",_z="normal",wz="{count, plural, one{pilule} other{pilules}}",xz="{count, plural, one{paquet} other{paquets}}",Ez="pinte",Sz="quantité suffisante",kz="qt",Cz="cm²",Dz="{count, plural, one{unité / mg} other{unités / mg}}",Iz="yd",Tz="yd²",Rz="mL/min/1.73m²",Oz="choc",Mz="{count, plural, one{pastille} other{pastilles}}",Nz="{count, plural, one{pastille} other{pastilles}}",Az="journalier",Pz="dilution homéopathique (centésimal 1/100)",Lz="cnt",Fz="fût",jz="dilution homéopathique (50 millisimaux au ratio 1:50,000)",Vz="divers",zz="ng",Bz="nmol",Hz="{count, plural, one{unité protéique} other{unités protéiques}}",qz="saturé",$z="strip",Gz="trace",Uz="dépendant du schéma thérapeutique",Wz="{count, plural, one{hostie} other{hosties}}",Zz="dilution homéopathique (décimal 1/10)",Yz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",Kz="Valeur sap cumulative",jre={"%":$5,amp:G5,bag:U5,box:W5,fl:Z5,"g/dl":Y5,gm:K5,kg:Q5,"kg/m2":X5,l:J5,lb:eV,mcg:tV,mcl:nV,meq:aV,mg:iV,"mg/dl":rV,"mg/l":oV,"mg/m2":sV,"mg/ml":lV,ml:uV,"ml/min":cV,mol:dV,oz:hV,ppm:pV,degree:mV,"1000/mm3":fV,cmm:gV,day:vV,spoon:bV,week:yV,month:_V,dis:wV,fld:xV,flo:EV,ftc:SV,fts:kV,minute:CV,mm:DV,"mm/h":IV,mmhg:TV,second:RV,millisecond:OV,hour:MV,goutte:NV,ctg:AV,gal:PV,mcm:LV,ondemand:FV,mgper100ml:jV,spr:VV,vil:zV,syr:BV,tpn:HV,tub:qV,pg:$V,ns:GV,sup:UV,tab:WV,tbl:ZV,tes:YV,unt:KV,tsp:QV,ton:XV,"%vv":JV,"%wv":ez,"%ww":tz,bitperminute:nz,bol:az,bot:iz,can:rz,cap:oz,cc:sz,cm:lz,ctr:uz,gr:cz,in:dz,inc:hz,jar:pz,kit:mz,mcn:fz,mic:gz,mil:vz,min:bz,mmo:yz,nl:_z,pel:wz,pkg:xz,pt:Ez,qs:Sz,qt:kz,sqc:Cz,umg:Dz,ydl:Iz,yds:Tz,"ml/min/1.73m2":Rz,shock:Oz,loz:Mz,tro:Nz,daily:Az,c:Pz,cnt:Lz,drm:Fz,lm:jz,mis:Vz,nmg:zz,nmo:Bz,pnu:Hz,sat:qz,stp:$z,trc:Gz,vpr:Uz,waf:Wz,x:Zz,atptreatment:Yz,sap:Kz},Qz={};pe(Qz,{"%":()=>Xz,"%vv":()=>s4,"%wv":()=>l4,"%ww":()=>u4,"1000/mm3":()=>EB,amp:()=>Jz,atptreatment:()=>a7,bag:()=>eB,bitperminute:()=>c4,bol:()=>d4,bot:()=>h4,box:()=>tB,c:()=>q4,can:()=>p4,cap:()=>m4,cc:()=>f4,cm:()=>g4,cmm:()=>SB,cnt:()=>$4,ctg:()=>HB,ctr:()=>v4,daily:()=>H4,day:()=>kB,default:()=>Vre,degree:()=>xB,dis:()=>TB,drm:()=>G4,fl:()=>nB,fld:()=>RB,flo:()=>OB,ftc:()=>MB,fts:()=>NB,"g/dl":()=>aB,gal:()=>qB,gm:()=>iB,goutte:()=>BB,gr:()=>b4,hour:()=>zB,in:()=>y4,inc:()=>_4,jar:()=>w4,kg:()=>rB,"kg/m2":()=>oB,kit:()=>x4,l:()=>sB,lb:()=>lB,lm:()=>U4,loz:()=>z4,mcg:()=>uB,mcl:()=>cB,mcm:()=>$B,mcn:()=>E4,meq:()=>dB,mg:()=>hB,"mg/dl":()=>pB,"mg/l":()=>mB,"mg/m2":()=>fB,"mg/ml":()=>gB,mgper100ml:()=>UB,mic:()=>S4,mil:()=>k4,millisecond:()=>VB,min:()=>C4,minute:()=>AB,mis:()=>W4,ml:()=>vB,"ml/min":()=>bB,"ml/min/1.73m2":()=>j4,mm:()=>PB,"mm/h":()=>LB,mmhg:()=>FB,mmo:()=>D4,mol:()=>yB,month:()=>IB,nl:()=>I4,nmg:()=>Z4,nmo:()=>Y4,ns:()=>JB,ondemand:()=>GB,oz:()=>_B,pel:()=>T4,pg:()=>XB,pkg:()=>R4,pnu:()=>K4,ppm:()=>wB,pt:()=>O4,qs:()=>M4,qt:()=>N4,sap:()=>i7,sat:()=>Q4,second:()=>jB,shock:()=>V4,spoon:()=>CB,spr:()=>WB,sqc:()=>A4,stp:()=>X4,sup:()=>e4,syr:()=>YB,tab:()=>t4,tbl:()=>n4,tes:()=>a4,ton:()=>o4,tpn:()=>KB,trc:()=>J4,tro:()=>B4,tsp:()=>r4,tub:()=>QB,umg:()=>P4,unt:()=>i4,vil:()=>ZB,vpr:()=>e7,waf:()=>t7,week:()=>DB,x:()=>n7,ydl:()=>L4,yds:()=>F4});var Xz="%",Jz="{count, plural, one{ampule} other{ampullen}}",eB="{count, plural, one{zak} other{zakken}}",tB="{count, plural, one{verstuiver} other{verstuivers}}",nB="fl",aB="g/dl",iB="g",rB="kg",oB="kg/m²",sB="l",lB="lb",uB="µg",cB="µl",dB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",hB="mg",pB="mg/dl",mB="mg/l",fB="mg/m²",gB="mg/ml",vB="ml",bB="ml/min",yB="mol",_B="oz",wB="ppm",xB="°",EB="1000/mm³",SB="mm³",kB="{count, plural, one{dag} other{dagen}}",CB="{count, plural, one{lepel} other{lepels}}",DB="{count, plural, one{week} other{weken}}",IB="{count, plural, one{maand} other{maanden}}",TB="{count, plural, one{schijf} other{schijven}}",RB="fl dr",OB="fl oz",MB="cu ft",NB="sq ft",AB="{count, plural, one{minuut} other{minuten}}",PB="mm",LB="mm/h",FB="mmHg",jB="{count, plural, one{seconde} other{seconden}}",VB="{count, plural, one{milliseconde} other{milliseconden}}",zB="{count, plural, one{uur} other{uren}}",BB="{count, plural, one{druppel} other{druppels}}",HB="{count, plural, one{patroon} other{patronen}}",qB="gal",$B="mmol",GB="op aanvraag",UB="mg/100mL",WB="{count, plural, one{spray} other{sprays}}",ZB="{count, plural, one{flesje} other{flesjes}}",YB="{count, plural, one{spuit} other{spuiten}}",KB="{count, plural, one{tampon} other{tampons}}",QB="{count, plural, one{buis} other{buizen}}",XB="pg",JB="niet gespecificeerd",e4="{count, plural, one{zetpil} other{zetpillen}}",t4="{count, plural, one{tablet} other{tabletten}}",n4="{count, plural, one{eetlepel} other{eetlepels}}",a4="{count, plural, one{test} other{tests}}",i4="{count, plural, one{eenheid} other{eenheden}}",r4="{count, plural, one{theelepel} other{theelepels}}",o4="{count, plural, one{ton} other{tonnen}}",s4="% v/v",l4="% w/v",u4="% w/w",c4="{count, plural, one{slag per minuut} other{slagen per minuut}}",d4="bolus",h4="{count, plural, one{fles} other{flessen}}",p4="{count, plural, one{blikje} other{blikjes}}",m4="{count, plural, one{capsule} other{capsules}}",f4="cm3",g4="cm",v4="{count, plural, one{houder} other{houders}}",b4="{count, plural, one{korrel} other{korrels}}",y4="in",_4="in²",w4="{count, plural, one{pot} other{potten}}",x4="{count, plural, one{kit} other{kits}}",E4="micron",S4="µCi",k4="mCi",C4="minim",D4="μmol",I4="normaal",T4="{count, plural, one{pil} other{pillen}}",R4="{count, plural, one{pakket} other{pakketten}}",O4="{count, plural, one{pint} other{pinten}}",M4="voldoende hoeveelheid",N4="qt",A4="cm²",P4="{count, plural, one{eenheid / mg} other{eenheden / mg}}",L4="yd",F4="yd²",j4="mL/min/1.73m²",V4="{count, plural, one{schok} other{schokken}}",z4="{count, plural, one{zuigtablet} other{zuigtabletten}}",B4="{count, plural, one{zuigtablet} other{zuigtabletten}}",H4="dagelijks",q4="homeopathische verdunning (centesimal 1/100)",$4="cnt",G4="vat",U4="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",W4="diverse",Z4="ng",Y4="nmol",K4="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",Q4="verzadigd",X4="{count, plural, one{strip} other{strips}}",J4="{count, plural, one{spoor} other{sporen}}",e7="behandelingsschema-afhankelijk",t7="{count, plural, one{ouwel} other{ouwels}}",n7="homeopathische verdunning (decimaal 1/10)",a7="aantal anti-tachycardie-stimulatiebehandelingen",i7="Cumulatieve sap waarde",Vre={"%":Xz,amp:Jz,bag:eB,box:tB,fl:nB,"g/dl":aB,gm:iB,kg:rB,"kg/m2":oB,l:sB,lb:lB,mcg:uB,mcl:cB,meq:dB,mg:hB,"mg/dl":pB,"mg/l":mB,"mg/m2":fB,"mg/ml":gB,ml:vB,"ml/min":bB,mol:yB,oz:_B,ppm:wB,degree:xB,"1000/mm3":EB,cmm:SB,day:kB,spoon:CB,week:DB,month:IB,dis:TB,fld:RB,flo:OB,ftc:MB,fts:NB,minute:AB,mm:PB,"mm/h":LB,mmhg:FB,second:jB,millisecond:VB,hour:zB,goutte:BB,ctg:HB,gal:qB,mcm:$B,ondemand:GB,mgper100ml:UB,spr:WB,vil:ZB,syr:YB,tpn:KB,tub:QB,pg:XB,ns:JB,sup:e4,tab:t4,tbl:n4,tes:a4,unt:i4,tsp:r4,ton:o4,"%vv":s4,"%wv":l4,"%ww":u4,bitperminute:c4,bol:d4,bot:h4,can:p4,cap:m4,cc:f4,cm:g4,ctr:v4,gr:b4,in:y4,inc:_4,jar:w4,kit:x4,mcn:E4,mic:S4,mil:k4,min:C4,mmo:D4,nl:I4,pel:T4,pkg:R4,pt:O4,qs:M4,qt:N4,sqc:A4,umg:P4,ydl:L4,yds:F4,"ml/min/1.73m2":j4,shock:V4,loz:z4,tro:B4,daily:H4,c:q4,cnt:$4,drm:G4,lm:U4,mis:W4,nmg:Z4,nmo:Y4,pnu:K4,sat:Q4,stp:X4,trc:J4,vpr:e7,waf:t7,x:n7,atptreatment:a7,sap:i7},zre={nl:Qz,fr:q5,de:DL,en:P3},r7={};pe(r7,{default:()=>Bre,header:()=>o7,patient:()=>s7,professional:()=>l7});var o7="Ausgegebene Medikamente?",s7={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."}},l7={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."}},Bre={header:o7,patient:s7,professional:l7},u7={};pe(u7,{default:()=>Hre,header:()=>c7,patient:()=>d7,professional:()=>h7});var c7="How to interpret the list?",d7={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."}},h7={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."}},Hre={header:c7,patient:d7,professional:h7},p7={};pe(p7,{default:()=>qre,header:()=>m7,patient:()=>f7,professional:()=>g7});var m7="Comment interpréter la liste?",f7={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."}},g7={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)."}},qre={header:m7,patient:f7,professional:g7},v7={};pe(v7,{default:()=>$re,header:()=>b7,patient:()=>y7,professional:()=>_7});var b7="Hoe de lijst interpreteren?",y7={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."}},_7={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)."}},$re={header:b7,patient:y7,professional:_7},Gre={nl:v7,fr:p7,de:r7,en:u7},w7={};pe(w7,{default:()=>Ure,headers:()=>x7,magisterialPreparation:()=>E7,noContent:()=>S7});var x7={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},E7="Verschreibungurarzneimittel",S7="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Ure={headers:x7,magisterialPreparation:E7,noContent:S7},k7={};pe(k7,{default:()=>Wre,headers:()=>C7,magisterialPreparation:()=>D7,noContent:()=>I7});var C7={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},D7="Magistral preparation",I7="There is no delivered medication found for this patient.",Wre={headers:C7,magisterialPreparation:D7,noContent:I7},T7={};pe(T7,{default:()=>Zre,headers:()=>R7,magisterialPreparation:()=>O7,noContent:()=>M7});var R7={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},O7="Préparation magistrale",M7="Aucun médicament délivré n'a été retrouvé pour ce patient.",Zre={headers:R7,magisterialPreparation:O7,noContent:M7},N7={};pe(N7,{default:()=>Yre,headers:()=>A7,magisterialPreparation:()=>P7,noContent:()=>L7});var A7={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},P7="Magistrale bereiding",L7="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Yre={headers:A7,magisterialPreparation:P7,noContent:L7},Kre={nl:N7,fr:T7,de:w7,en:k7},F7={};pe(F7,{composition:()=>j7,default:()=>Qre,"delivered-by":()=>$7,"delivery-date":()=>q7,dguid:()=>z7,"is-prescribed":()=>B7,leaflet:()=>Q7,"magisterial-preparation":()=>K7,medication:()=>J7,"no-pharmacy":()=>Z7,noDetails:()=>eH,package:()=>X7,patient:()=>Y7,posologie:()=>V7,quantity:()=>H7,"return-delivery-date":()=>U7,"returned-by":()=>W7,"returned-quantity":()=>G7});var j7="Zusammensetzung",V7="Dosierung",z7="ID Ausgabe",B7={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},H7="Gelieferte Menge",q7="Lieferdatum",$7="Geliefert von",G7="Zurückgenommene Menge",U7="Rücknahme am",W7="Rücknahme durch",Z7="Apotheke mit LIKIV-Erkennungsnummer",Y7="Patient",K7="Verschreibungurarzneimittel",Q7="Packungsbeilage",X7="{count, plural, one{Verpackung} other{Verpackungen}}",J7="Arzneimittel",eH="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Qre={composition:j7,posologie:V7,dguid:z7,"is-prescribed":B7,quantity:H7,"delivery-date":q7,"delivered-by":$7,"returned-quantity":G7,"return-delivery-date":U7,"returned-by":W7,"no-pharmacy":Z7,patient:Y7,"magisterial-preparation":K7,leaflet:Q7,package:X7,medication:J7,noDetails:eH},tH={};pe(tH,{composition:()=>nH,default:()=>Xre,"delivered-by":()=>aH,"delivery-date":()=>iH,dguid:()=>rH,"is-prescribed":()=>oH,leaflet:()=>sH,"magisterial-preparation":()=>lH,medication:()=>uH,"no-pharmacy":()=>cH,noDetails:()=>dH,package:()=>hH,patient:()=>pH,posologie:()=>mH,quantity:()=>fH,"return-delivery-date":()=>bH,"returned-by":()=>yH,"returned-quantity":()=>vH,title:()=>gH});var nH="Composition",aH="Dispensed by",iH="Date dispensed",rH="Dispensing ID",oH={no:"No",title:"Was prescribed",yes:"Yes"},sH="Package leaflet",lH="Compounded preparation",uH="Medication",cH="Pharmacy with NIHDI number",dH="The requested information has been deleted or doesn't exist.",hH="{count, plural, one{package} other{packages}}",pH="Patient",mH="Dosage",fH="Dispensed quality",gH="Detail of the dispensed medication",vH="Returned quantity",bH="Return on",yH="Return by",Xre={composition:nH,"delivered-by":aH,"delivery-date":iH,dguid:rH,"is-prescribed":oH,leaflet:sH,"magisterial-preparation":lH,medication:uH,"no-pharmacy":cH,noDetails:dH,package:hH,patient:pH,posologie:mH,quantity:fH,title:gH,"returned-quantity":vH,"return-delivery-date":bH,"returned-by":yH},_H={};pe(_H,{composition:()=>wH,default:()=>Jre,"delivered-by":()=>DH,"delivery-date":()=>CH,dguid:()=>EH,"is-prescribed":()=>SH,leaflet:()=>AH,"magisterial-preparation":()=>NH,medication:()=>LH,"no-pharmacy":()=>OH,noDetails:()=>FH,package:()=>PH,patient:()=>MH,posologie:()=>xH,quantity:()=>kH,"return-delivery-date":()=>TH,"returned-by":()=>RH,"returned-quantity":()=>IH});var wH="Composition",xH="Posologie",EH="ID délivrance",SH={title:"A été prescrit",yes:"Oui",no:"Non"},kH="Quantité délivrée",CH="Date de délivrance",DH="Délivré par",IH="Quantité retournée",TH="Retour le",RH="Retour par",OH="Pharmacie avec numéro INAMI",MH="Patient",NH="Préparation magistrale",AH="Notice d'information",PH="{count, plural, one{emballage} other{emballages}}",LH="Médicament",FH="La prescription demandée a été supprimée ou n'existe pas.",Jre={composition:wH,posologie:xH,dguid:EH,"is-prescribed":SH,quantity:kH,"delivery-date":CH,"delivered-by":DH,"returned-quantity":IH,"return-delivery-date":TH,"returned-by":RH,"no-pharmacy":OH,patient:MH,"magisterial-preparation":NH,leaflet:AH,package:PH,medication:LH,noDetails:FH},jH={};pe(jH,{composition:()=>VH,default:()=>eoe,"delivered-by":()=>GH,"delivery-date":()=>$H,dguid:()=>BH,"is-prescribed":()=>HH,leaflet:()=>XH,"magisterial-preparation":()=>QH,medication:()=>e9,"no-pharmacy":()=>YH,noDetails:()=>t9,package:()=>JH,patient:()=>KH,posologie:()=>zH,quantity:()=>qH,"return-delivery-date":()=>WH,"returned-by":()=>ZH,"returned-quantity":()=>UH});var VH="Samenstelling",zH="Posologie",BH="ID aflevering",HH={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},qH="Afgeleverde hoeveelheid",$H="Datum afgeleverd",GH="Afgeleverd door",UH="Teruggenomen hoeveelheid",WH="Terugname op",ZH="Terugname door",YH="Apotheek met RIZIV-nummer",KH="Patiënt",QH="Magistrale bereiding",XH="Bijsluiter",JH="{count, plural, one{verpakking} other{verpakkingen}}",e9="Geneesmiddel(en)",t9="Het gevraagde voorschrift is verwijderd of bestaat niet.",eoe={composition:VH,posologie:zH,dguid:BH,"is-prescribed":HH,quantity:qH,"delivery-date":$H,"delivered-by":GH,"returned-quantity":UH,"return-delivery-date":WH,"returned-by":ZH,"no-pharmacy":YH,patient:KH,"magisterial-preparation":QH,leaflet:XH,package:JH,medication:e9,noDetails:t9},toe={nl:jH,fr:_H,de:F7,en:tH},noe=class extends bs{getTranslation(e){return tt({commons:Qt(ce({},_re[e]),{units:zre[e],galenicFormCodes:fre[e],timeUnits:Pre[e],administrationUnits:ere[e],periods:kre[e],days:rre[e],posology:Rre[e],errors:cre[e]}),deliveredMedicationsList:Kre[e],deliveredMedicationsDisclaimer:Gre[e],deliveredMedicationDetails:toe[e]})}},aoe=[qie,bX({defaultLanguage:"fr",loader:{provide:bs,useClass:noe},compiler:{provide:_s,useClass:Wie}})];function uh(e){return(e==null?void 0:e.medication)!=null}var ioe=(()=>{const t=class t{transform(n){return uh(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"canDisplayDeliveredMedication",type:t,pure:!0});let e=t;return e})(),n9=(()=>{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})(),roe={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Er.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:Er.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:Er.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}]},a9=(()=>{const t=class t{constructor(){this.demoService=S(cie)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",roe)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),i9=(()=>{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})(),ooe=(e,t)=>e.getEnvironmentVariable("env")===ei.DEMO?t.get(a9):t.get(n9),soe={provide:i9,useFactory:ooe,deps:[no,ht]},tv=(()=>{const t=class t extends Sw{constructor(n,i){super(n.getServices(),Yo.DELIVERED_MEDICATIONS,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,Yo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=S(i9),this.authServiceSelector=S(Vr),this.deliveredMedicationsStateSubject$=new Ai({status:Sr.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return Rt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),i=this.deliveredMedicationsApiService.get(n);return n6(i)})}getDeliveredMedications(n=!0){return Rt(this,null,function*(){return hie(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(oe(qu),oe(Vr))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),loe=(()=>{const t=class t{constructor(){this.authService=S(Vr).getInstance(),this.templateRef=S(rn),this.viewContainer=S(jn),this.cdRef=S(ba)}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 r9(e){e||(fu(),e=S(mi));let t=new mt(a=>e.onDestroy(a.next.bind(a)));return a=>a.pipe(oi(t))}var o9={"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(o9);var uoe=o9,s9={"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(s9);var coe=s9,On=function(e,t,a,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 a==="m"?n:a==="a"?n.call(e):n?n.value:t.get(e)},sr,_o,Ti,doe=class{constructor(...e){sr.set(this,new Map),_o.set(this,new Map),Ti.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[a,n]of Object.entries(e)){a=a.toLowerCase(),n=n.map(o=>o.toLowerCase()),On(this,Ti,"f").has(a)||On(this,Ti,"f").set(a,new Set);let i=On(this,Ti,"f").get(a),r=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,i==null||i.add(o),r&&On(this,_o,"f").set(a,o),r=!1,l)continue;let u=On(this,sr,"f").get(o);if(u&&u!=a&&!t)throw new Error(`"${a} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);On(this,sr,"f").set(o,a)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),a=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(a.length<t.length-1)&&n?null:On(this,sr,"f").get(a)??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,Ti,"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,Ti,"f").values())Object.freeze(e);return this}_getTestState(){return{types:On(this,sr,"f"),extensions:On(this,_o,"f")}}};sr=new WeakMap,_o=new WeakMap,Ti=new WeakMap;var hoe=doe;new hoe(coe,uoe)._freeze();var poe=(()=>{const t=class t{transform(n){return Dw(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"fullname",type:t,pure:!0});let e=t;return e})(),vm=(()=>{const t=class t{constructor(){this.ingredientLabelService=S(gie),this.translate=S(Xn),this.destroyRef=S(mi),this.cd=S(ba),this.translate.onLangChange.pipe(r9(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=va({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),moe=(()=>{const t=class t{transform(n,i){return this.sortFn([...n],i.sortProperty,i.isAscending)}sortFn(n,i,r){return[...n].sort((o,l)=>{var d,m;let u=r?o:l,c=r?l:o;if(i==="deliveryDate"){let v=u[i]?(d=new Date(u[i]))==null?void 0:d.getTime():0,g=c[i]?(m=new Date(c[i]))==null?void 0:m.getTime():0;return this.compareData(v,g,r)}return this.compareData(u[i],c[i],r)})}compareData(n,i,r){return n==null&&i==null||n===i?0:n==null?r?-1:1:i==null?r?1:-1:n>i?1:-1}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({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=va({name:"translateValue",type:t,pure:!0});let e=t;return e})(),foe=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"absolute",type:t,pure:!0});let e=t;return e})();Iv(l$());var Js;function goe(){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=goe())==null?void 0:t.createHTML(e))||e}function nv(e){return Error(`Unable to find icon with the name "${e}"`)}function voe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function av(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function iv(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Ci=class{constructor(e,t,a){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=a}},boe=(()=>{const t=class t{constructor(n,i,r,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=i,this._errorHandler=o,this._document=r}addSvgIcon(n,i,r){return this.addSvgIconInNamespace("",n,i,r)}addSvgIconLiteral(n,i,r){return this.addSvgIconLiteralInNamespace("",n,i,r)}addSvgIconInNamespace(n,i,r,o){return this._addSvgIconConfig(n,i,new Ci(r,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,r,o){let l=this._sanitizer.sanitize(xn.HTML,r);if(!l)throw iv(r);let u=fo(l);return this._addSvgIconConfig(n,i,new Ci("",u,o))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,r){return this._addSvgIconSetConfig(n,new Ci(i,null,r))}addSvgIconSetLiteralInNamespace(n,i,r){let o=this._sanitizer.sanitize(xn.HTML,i);if(!o)throw iv(i);let l=fo(o);return this._addSvgIconSetConfig(n,new Ci("",l,r))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(xn.RESOURCE_URL,n);if(!i)throw av(n);let r=this._cachedIconsByUrl.get(i);return r?tt(el(r)):this._loadSvgIconFromConfig(new Ci(n,null)).pipe(tc(o=>this._cachedIconsByUrl.set(i,o)),Pt(o=>el(o)))}getNamedSvgIcon(n,i=""){let r=rv(i,n),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,n),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(i);return l?this._getSvgFromIconSetConfigs(n,l):p0(nv(r))}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(i=>el(i)))}_getSvgFromIconSetConfigs(n,i){let r=this._extractIconWithNameFromAnySet(n,i);if(r)return tt(r);let o=i.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,i);if(!l)throw nv(n);return l}))}_extractIconWithNameFromAnySet(n,i){for(let r=i.length-1;r>=0;r--){let o=i[r];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(i=>n.svgText=i),Pt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?tt(null):this._fetchIcon(n).pipe(tc(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,r){let o=n.querySelector(`[id="${i}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let u=this._svgElementFromString(fo("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,r)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(n){let i=this._svgElementFromString(fo("<svg></svg>")),r=n.attributes;for(let o=0;o<r.length;o++){let{name:l,value:u}=r[o];l!=="id"&&i.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(n.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(n,i){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),i&&i.viewBox&&n.setAttribute("viewBox",i.viewBox),n}_fetchIcon(n){let{url:i,options:r}=n,o=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw voe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let l=this._sanitizer.sanitize(xn.RESOURCE_URL,i);if(!l)throw av(i);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,i,r){return this._svgIconConfigs.set(rv(n,i),r),this}_addSvgIconSetConfig(n,i){let r=this._iconSetConfigs.get(n);return r?r.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,n);if(o)return yoe(o)?new Ci(o.url,null,o.options):new Ci(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 rv(e,t){return e+":"+t}function yoe(e){return!!(e.url&&e.options)}var _oe=["*"],woe=new K("MAT_ICON_DEFAULT_OPTIONS"),xoe=new K("mat-icon-location",{providedIn:"root",factory:Eoe});function Eoe(){let e=S(Ve),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var l9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Soe=l9.map(e=>`[${e}]`).join(", "),koe=/^url\(['"]?#(.*?)['"]?\)$/,$u=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(Xe));s(this,"_iconRegistry",S(boe));s(this,"_location",S(xoe));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}),i=S(woe,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.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 i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=n.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>n.classList.remove(r)),i.forEach(r=>n.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.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 i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(Soe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)l9.forEach(l=>{let u=i[o],c=u.getAttribute(l),d=c?c.match(koe):null;if(d){let m=r.get(u);m||(m=[],r.set(u,m)),m.push({name:l,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,r]=this._splitIconName(n);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(tn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${i}:${r}! ${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,i){n&2&&($t("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Mu(i.color?"mat-"+i.color:""),jt("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Lt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:_oe,decls:1,vars:0,template:function(n,i){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})(),Coe=(()=>{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,i){n&1&&(j(0,"a",0),Qe(1,"mat-icon",1),ee(2),te(3,"translate"),V()),n&2&&(Ie("href",i.leaflet(),iy),P(2),Ue(" ",ae(3,2,"commons.downloadLeaflet")," "))},dependencies:[Hu,V1,$u,$a],encapsulation:2});let e=t;return e})(),Doe=(()=>{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,i){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(ae(2,9,"commons.errors.report-message-title")),P(5),Ne(ae(7,11,"commons.errors.report-message-explanation")),P(4),Ne(ae(11,13,"commons.errors.report-message-content")),P(2),Ie("href",ae(13,15,"commons.errors.report-message-link"),iy),P(2),Ne(ae(15,17,"commons.errors.report-message-term-use")),P(4),Ie("mat-dialog-close",!0),P(),Ue(" ",ae(20,19,"commons.errors.report-message-report-button")," "),P(2),Ie("mat-dialog-close",!1),P(),Ue(" ",ae(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[N1,D1,T1,O1,R1,Hu,ws,$a],encapsulation:2});let e=t;return e})(),Ioe=(()=>{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,i){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(ae(2,4,"commons.errors.action-not-authorized-title")),P(5),Ne(ae(7,6,"commons.errors."+i.vidisErrorCode)),P(3),Ie("mat-dialog-close",!1),P(),Ue(" ",ae(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[N1,D1,T1,O1,R1,Hu,ws,$a],encapsulation:2});let e=t;return e})();function ov(e,t,a){let n=vw(),i=Ooe(e,a.timeZone,a.locale??n.locale);return"formatToParts"in i?Toe(i,t):Roe(i,t)}function Toe(e,t){let a=e.formatToParts(t);for(let n=a.length-1;n>=0;--n)if(a[n].type==="timeZoneName")return a[n].value}function Roe(e,t){let a=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function Ooe(e,t,a){return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Moe(e,t){let a=Foe(t);return"formatToParts"in a?Aoe(a,e):Poe(a,e)}var Noe={year:0,month:1,day:2,hour:3,minute:4,second:5};function Aoe(e,t){try{let a=e.formatToParts(t),n=[];for(let i=0;i<a.length;i++){let r=Noe[a[i].type];r!==void 0&&(n[r]=parseInt(a[i].value,10))}return n}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function Poe(e,t){let a=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);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")),Loe=sv==="06/25/2014, 00:00:00"||sv==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function Foe(e){return Wc[e]||(Wc[e]=Loe?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 u9(e,t,a,n,i,r,o){let l=new Date(0);return l.setUTCFullYear(e,t,a),l.setUTCHours(n,i,r,o),l}var lv=36e5,joe=6e4,Zc={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function c9(e,t,a){if(!e)return 0;let n=Zc.timezoneZ.exec(e);if(n)return 0;let i,r;if(n=Zc.timezoneHH.exec(e),n)return i=parseInt(n[1],10),uv(i)?-(i*lv):NaN;if(n=Zc.timezoneHHMM.exec(e),n){i=parseInt(n[2],10);let o=parseInt(n[3],10);return uv(i,o)?(r=Math.abs(i)*lv+o*joe,n[1]==="+"?-r:r):NaN}if(Boe(e)){t=new Date(t||Date.now());let o=a?t:Voe(t),l=ch(o,e);return-(a?l:zoe(t,l,e))}return NaN}function Voe(e){return u9(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ch(e,t){let a=Moe(e,t),n=u9(a[0],a[1]-1,a[2],a[3]%24,a[4],a[5],0).getTime(),i=e.getTime(),r=i%1e3;return i-=r>=0?r:1e3+r,n-i}function zoe(e,t,a){let n=e.getTime()-t,i=ch(new Date(n),a);if(t===i)return t;n-=i-t;let r=ch(new Date(n),a);return i===r?i:Math.max(i,r)}function uv(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var cv={};function Boe(e){if(cv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),cv[e]=!0,!0}catch{return!1}}var Hoe=60*1e3,qoe={X:function(e,t,a){let n=Yc(a.timeZone,e);if(n===0)return"Z";switch(t){case"X":return dv(n);case"XXXX":case"XX":return lr(n);case"XXXXX":case"XXX":default:return lr(n,":")}},x:function(e,t,a){let n=Yc(a.timeZone,e);switch(t){case"x":return dv(n);case"xxxx":case"xx":return lr(n);case"xxxxx":case"xxx":default:return lr(n,":")}},O:function(e,t,a){let n=Yc(a.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+$oe(n,":");case"OOOO":default:return"GMT"+lr(n,":")}},z:function(e,t,a){switch(t){case"z":case"zz":case"zzz":return ov("short",e,a);case"zzzz":default:return ov("long",e,a)}}};function Yc(e,t){let a=e?c9(e,t,!0)/Hoe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(a))throw new RangeError("Invalid time zone specified: "+e);return a}function eu(e,t){let a=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return a+n}function lr(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),i=eu(Math.floor(n/60),2),r=eu(Math.floor(n%60),2);return a+i+t+r}function dv(e,t){return e%60===0?(e>0?"-":"+")+eu(Math.abs(e)/60,2):lr(e,t)}function $oe(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),r=n%60;return r===0?a+String(i):a+String(i)+t+eu(r,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 Goe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Kc=36e5,pv=6e4,Uoe=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:Goe};function Woe(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 a=t.additionalDigits==null?Uoe:Number(t.additionalDigits);if(a!==2&&a!==1&&a!==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=Zoe(e),{year:i,restDateString:r}=Yoe(n.date,a),o=Koe(r,i);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=Qoe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=c9(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 Zoe(e){let t={},a=dn.dateTimePattern.exec(e),n;if(a?(t.date=a[1],n=a[3]):(a=dn.datePattern.exec(e),a?(t.date=a[1],n=a[2]):(t.date=null,n=e)),n){let i=dn.timeZone.exec(n);i?(t.time=n.replace(i[1],""),t.timeZone=i[1].trim()):t.time=n}return t}function Yoe(e,t){if(e){let a=dn.YYY[t],n=dn.YYYYY[t],i=dn.YYYY.exec(e)||n.exec(e);if(i){let r=i[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(i=dn.YY.exec(e)||a.exec(e),i){let r=i[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function Koe(e,t){if(t===null)return null;let a,n,i;if(!e||!e.length)return a=new Date(0),a.setUTCFullYear(t),a;let r=dn.MM.exec(e);if(r)return a=new Date(0),n=parseInt(r[1],10)-1,fv(t,n)?(a.setUTCFullYear(t,n),a):new Date(NaN);if(r=dn.DDD.exec(e),r){a=new Date(0);let o=parseInt(r[1],10);return ese(t,o)?(a.setUTCFullYear(t,0,o),a):new Date(NaN)}if(r=dn.MMDD.exec(e),r){a=new Date(0),n=parseInt(r[1],10)-1;let o=parseInt(r[2],10);return fv(t,n,o)?(a.setUTCFullYear(t,n,o),a):new Date(NaN)}if(r=dn.Www.exec(e),r)return i=parseInt(r[1],10)-1,gv(i)?mv(t,i):new Date(NaN);if(r=dn.WwwD.exec(e),r){i=parseInt(r[1],10)-1;let o=parseInt(r[2],10)-1;return gv(i,o)?mv(t,i,o):new Date(NaN)}return null}function Qoe(e){let t,a,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),a=parseFloat(n[2].replace(",",".")),Qc(t,a)?t%24*Kc+a*pv:NaN;if(n=dn.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);let i=parseFloat(n[3].replace(",","."));return Qc(t,a,i)?t%24*Kc+a*pv+i*1e3:NaN}return null}function mv(e,t,a){t=t||0,a=a||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let i=n.getUTCDay()||7,r=t*7+a+1-i;return n.setUTCDate(n.getUTCDate()+r),n}var Xoe=[31,28,31,30,31,30,31,31,30,31,30,31],Joe=[31,29,31,30,31,30,31,31,30,31,30,31];function d9(e){return e%400===0||e%4===0&&e%100!==0}function fv(e,t,a){if(t<0||t>11)return!1;if(a!=null){if(a<1)return!1;let n=d9(e);if(n&&a>Joe[t]||!n&&a>Xoe[t])return!1}return!0}function ese(e,t){if(t<1)return!1;let a=d9(e);return!(a&&t>366||!a&&t>365)}function gv(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Qc(e,t,a){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||a!=null&&(a<0||a>=60))}var tse=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function nse(e,t,a={}){t=String(t);let n=t.match(tse);if(n){let i=Woe(a.originalDate||e,a);t=n.reduce(function(r,o){if(o[0]==="'")return r;let l=r.indexOf(o),u=r[l-1]==="'",c=r.replace(o,"'"+qoe[o[0]](i,o,a)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return gw(e,t,a)}var ase=(()=>{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})(),ise=(()=>{const t=class t{constructor(){this.http=S(eo),this.authService=S(Vr).getInstance(),this.apiUrl=S(no).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Do.userType]:Ni.getUserType({isProfessional:this.authService.isProfessional}),[Do.clientType]:kw()?Ni.clientType.mobileApp:Ni.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})(),rse=(()=>{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(ase):this.injector.get(ise)}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})(),ose=(()=>{const t=class t extends tie{constructor(){super(...arguments),this.version=sh,this.authServiceSelector=S(Vr),this.translateService=S(Xn),this.webComponentConfig=S(no),this.injector=S(ht),this.servicesStore=S(qu),this.matDialog=S(Bu),this.destroyRef=S(mi),this.errorServiceSelector=S(rse),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)===La.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===La.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(Doe,{data:{error:n}}).beforeClosed().pipe(Sn(i=>i),r9(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let i={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(i).subscribe({next:r=>{r.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(Ioe,{data:n})}formatDateWithZone(){return nse(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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,i){},encapsulation:2});let e=t;return e})(),sse=["*"];function lse(e,t){e&1&&Yt(0)}function use(e,t){if(e&1&&(j(0,"div",3),he(1,lse,1,0,"ng-container",5),V()),e&2){le();let a=Nu(5);P(),Ie("ngTemplateOutlet",a)}}function cse(e,t){e&1&&Yt(0)}function dse(e,t){if(e&1){let a=qa();j(0,"div",6),hn("click",function(){kn(a);let n=le();return Cn(n.toggleExpanded())})("keydown.enter",function(){kn(a);let n=le();return Cn(n.toggleExpanded())})("keydown.space",function(){kn(a);let n=le();return Cn(n.toggleExpanded())}),he(1,cse,1,0,"ng-container",5),V()}if(e&2){let a=le(),n=Nu(5);$t("aria-label",a.currentExpandIconAriaLabel()),P(),Ie("ngTemplateOutlet",n)}}function hse(e,t){e&1&&Yt(0)}function pse(e,t){if(e&1&&he(0,hse,1,0,"ng-container",5),e&2){le();let a=Nu(7);Ie("ngTemplateOutlet",a)}}function mse(e,t){if(e&1&&(j(0,"h2"),ee(1),V()),e&2){let a=le(3);P(),Ne(a.alertTitle())}}function fse(e,t){if(e&1&&(j(0,"p"),ee(1),V()),e&2){let a=le(3);P(),Ne(a.alertSubtitle())}}function gse(e,t){if(e&1&&(j(0,"div"),he(1,mse,2,1,"h2")(2,fse,2,1,"p"),V()),e&2){let a=le(2);P(),je(a.alertTitle()?1:-1),P(),je(a.alertSubtitle()?2:-1)}}function vse(e,t){e&1&&Yt(0)}function bse(e,t){if(e&1&&he(0,vse,1,0,"ng-container",5),e&2){le(2);let a=Nu(7);Ie("ngTemplateOutlet",a)}}function yse(e,t){if(e&1){let a=qa();j(0,"mat-icon",11),hn("click",function(){kn(a);let n=le(2);return Cn(n.onCloseButtonClick())})("keydown.enter",function(){kn(a);let n=le(2);return Cn(n.onCloseButtonClick())})("keydown.space",function(){kn(a);let n=le(2);return Cn(n.onCloseButtonClick())}),V()}if(e&2){let a=le(2);$t("aria-label",a.closeButtonAriaLabel())}}function _se(e,t){if(e&1&&Qe(0,"mat-icon",10),e&2){let a=le(2);Ie("fontIcon",a.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function wse(e,t){if(e&1&&(Qe(0,"mat-icon",7),j(1,"div",8),he(2,gse,3,2,"div")(3,bse,1,1,"ng-container"),V(),he(4,yse,1,1,"mat-icon",9)(5,_se,1,1,"mat-icon",10)),e&2){let a=le();Ie("fontIcon",a.fontIcon()),P(2),je(a.alertTitle()||a.alertSubtitle()?2:a.dismissMode()!=="expandable"?3:-1),P(2),je(a.dismissMode()==="closable"?4:a.dismissMode()==="expandable"?5:-1)}}function xse(e,t){if(e&1){let a=qa();j(0,"button",14),hn("click",function(){kn(a);let n=le(2);return Cn(n.onActionButtonClicked())}),ee(1),V()}if(e&2){let a=le(2);Ie("disabled",a.buttonDisabled()),P(),Ue(" ",a.buttonLabel()," ")}}function Ese(e,t){if(e&1&&(j(0,"span",12),pt(1),V(),he(2,xse,2,2,"button",13)),e&2){let a=le();P(2),je(a.actionButton()?2:-1)}}var Sse=(()=>{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",pK(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",mr(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",mr(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",mr(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",mr(()=>({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:sse,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,i){n&1&&(Vn(),j(0,"div",2),he(1,use,2,1,"div",3)(2,dse,2,2,"div",4)(3,pse,1,1,"ng-container"),V(),he(4,wse,6,3,"ng-template",null,0,Pf)(6,Ese,3,1,"ng-template",null,1,Pf)),n&2&&(Mu(i.usage()),jt("white",i.backgroundColor()==="white"),P(),je(i.dismissMode()!=="expandable"?1:2),P(2),je(i.notExpandableMissingTitleAndSubtitle()||i.expandableExpanded()?3:-1))},dependencies:[T_,nQ,$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 kse(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 a=le();Ie("alertTitle",ae(1,2,"commons.errors.data-not-available-title")),P(3),Ne(ae(4,4,"commons.errors."+a.error().code))}}var Cse=(()=>{const t=class t{constructor(){this.error=ze.required(),this.vidisErrorGroup=La}};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,i){n&1&&he(0,kse,5,6,"mh-alert",0),n&2&&je(i.error().group===i.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[$a,Sse],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})(),Dse=["*"],Ise=(()=>{const t=class t{constructor(){this.item=ze.required(),this.expandedElement=sZ.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:Dse,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(n,i){n&1&&(Vn(),j(0,"button",0),hn("click",function(){return i.expandedElement.set(i.expandedElement()===i.item()?null:i.item())}),Qe(1,"mat-icon",1),pt(2),V()),n&2&&(P(),Ie("fontIcon",i.item()===i.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Hu,ws,$u],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})(),Tse=e=>({count:e});function Rse(e,t){e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V()),e&2&&(P(),Ne(ae(2,1,"deliveredMedicationDetails.leaflet")))}function Ose(e,t){if(e&1&&(j(0,"span",2),Qe(1,"vidis-download-link",5),V()),e&2){let a=le(3);P(),Ie("leaflet",a.leafletUrl())}}function Mse(e,t){e&1&&he(0,Rse,3,3,"span",3)(1,Ose,2,1,"span",4)}function Nse(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,Mse,2,0)),e&2){let a=le();P(),Ne(ae(2,3,"deliveredMedicationDetails.medication")),P(3),Ne(ae(5,5,a.item().medication.name)),P(2),je(a.displayAllDetails()&&a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?6:-1)}}function Ase(e,t){if(e&1&&(ee(0),te(1,"ingredientLabel")),e&2){let a=t.$implicit;Ue(" ",ae(1,1,a)," ")}}function Pse(e,t){if(e&1&&(j(0,"span",1)(1,"strong"),ee(2),te(3,"translate"),V()(),j(4,"span",2),Qr(5,Ase,2,3,null,null,Rp),V()),e&2){let a=le();P(2),Ne(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(3),Xr(a.item().medication.ingredients)}}function Lse(e,t){if(e&1&&(j(0,"li"),ee(1),te(2,"translateValue"),V()),e&2){let a=t.$implicit;P(),Ue(" ",ae(2,1,a.texts)," ")}}function Fse(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2)(4,"ul"),Qr(5,Lse,3,3,"li",null,Rp),V()()),e&2){let a=le();P(),Ne(ae(2,1,"deliveredMedicationDetails.posologie")),P(4),Xr(a.item().dosageInstructions)}}function jse(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 a=le(),n=le();P(),Ne(ae(2,2,a<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),P(3),Ne(vs(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function Vse(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,jse,6,7),j(9,"span",1),ee(10),te(11,"translate"),V()),e&2){let a=t,n=le();P(),Ne(ae(2,5,a<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),P(3),Np("",ae(5,7,a)," ",vs(7,11,"deliveredMedicationDetails.package",m_(16,Tse,ae(6,9,a))),""),P(4),je(n.displayAllDetails()?8:-1),P(2),Ne(ae(11,14,a<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function zse(e,t){if(e&1&&(ee(0),te(1,"translateValue"),Qe(2,"br"),ee(3)),e&2){let a=le();Ue(" ",ae(1,2,t)," "),P(3),Ue(" ",a.item().pharmacy.nihdi," ")}}function Bse(e,t){if(e&1&&(ee(0),te(1,"translate")),e&2){let a=le();Np(" ",ae(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",a.item().pharmacy.nihdi," ")}}function Hse(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 a=le();P(),Ne(ae(2,2,"deliveredMedicationDetails.patient")),P(3),Ne(ae(5,4,a.item().person))}}var qse=(()=>{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=Er}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,i){if(n&1&&(j(0,"span",0),he(1,Nse,7,7)(2,Pse,7,3)(3,Fse,7,3),j(4,"span",1),ee(5),te(6,"translate"),V(),j(7,"span",2),ee(8),te(9,"translate"),V(),he(10,Vse,12,18),j(11,"span",2),he(12,zse,4,4)(13,Bse,2,4),V(),he(14,Hse,6,6),j(15,"span",1),ee(16),te(17,"translate"),V(),j(18,"span",2),ee(19),V()()),n&2){let r,o,l;P(),je(i.item().medication.name?1:2),P(2),je((r=i.item().dosageInstructions)!=null&&r.length?3:-1),P(2),Ne(ae(6,9,"deliveredMedicationDetails.is-prescribed.title")),P(3),Ne(ae(9,11,"deliveredMedicationDetails.is-prescribed."+(i.item().isPrescribed?"yes":"no"))),P(2),je((o=(o=i.item().medication.quantity)==null?null:o.value)?10:-1,o),P(2),je((l=(l=i.item().pharmacy)==null?null:l.name)?12:13,l),P(2),je(i.displayAllDetails()&&!i.isProfessional()?14:-1),P(2),Ne(ae(17,13,"deliveredMedicationDetails.dguid")),P(3),Ne(i.item().dguid)}},dependencies:[$a,bm,vm,zp,poe,foe,loe,Coe],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"),$se=(()=>{const t=class t{constructor(){s(this,"accordion",S(vv,{optional:!0,skipSelf:!0}));s(this,"_changeDetectorRef",S(ba));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(Qi).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 i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((n,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&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})(),Gse=(()=>{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})(),Use=["body"],Wse=["bodyWrapper"],Zse=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Yse=["mat-expansion-panel-header","*","mat-action-row"];function Kse(e,t){}var Qse=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Xse=["mat-panel-title","mat-panel-description","*"];function Jse(e,t){e&1&&(j(0,"span",1),fb(),j(1,"svg",2),Qe(2,"path",3),V()())}var bv=new K("MAT_ACCORDION"),h9=new K("MAT_EXPANSION_PANEL"),ele=(()=>{const t=class t{constructor(){s(this,"_template",S(rn));s(this,"_expansionPanel",S(h9,{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})(),p9=new K("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),m9=(()=>{const t=class t extends $se{constructor(){super();s(this,"_viewContainerRef",S(jn));s(this,"_animationsDisabled",S(fi,{optional:!0})==="NoopAnimations");s(this,"_document",S(Ve));s(this,"_ngZone",S(He));s(this,"_elementRef",S(Xe));s(this,"_renderer",S(Ki));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(Qi).getId("mat-expansion-panel-header-"));s(this,"_transitionEndListener",({target:i,propertyName:r})=>{var o;i===((o=this._bodyWrapper)==null?void 0:o.nativeElement)&&r==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})});let i=S(p9,{optional:!0});this._expansionDispatcher=S(A1),i&&(this.hideToggle=i.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(i){this._hideToggle=i}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(i){this._togglePosition=i}_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(i){this._inputChanges.next(i)}ngOnDestroy(){var i;super.ngOnDestroy(),(i=this._cleanupTransitionEnd)==null||i.call(this),this._inputChanges.complete()}_containsFocus(){if(this._body){let i=this._document.activeElement,r=this._body.nativeElement;return i===r||r.contains(i)}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 i=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this._transitionEndListener),i.classList.add("mat-expansion-panel-animations-enabled")},200)})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&&Ma(o,ele,5),i&2){let l;un(l=cn())&&(r._lazyContent=l.first)}},viewQuery:function(i,r){if(i&1&&(Pr(Use,5),Pr(Wse,5)),i&2){let o;un(o=cn())&&(r._body=o.first),un(o=cn())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&jt("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Lt],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Tn([{provide:bv,useValue:void 0},{provide:h9,useExisting:t}]),Ye,hi],ngContentSelectors:Yse,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(i,r){i&1&&(Vn(Zse),pt(0),j(1,"div",2,0)(3,"div",3,1)(5,"div",4),pt(6,1),he(7,Kse,0,0,"ng-template",5),V(),pt(8,2),V()()),i&2&&(P(),$t("inert",r.expanded?null:""),P(2),Ie("id",r.id),$t("aria-labelledby",r._headerId),P(4),Ie("cdkPortalOutlet",r._portal))},dependencies:[Fr],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})(),tle=(()=>{const t=class t{constructor(){s(this,"panel",S(m9,{host:!0}));s(this,"_element",S(Xe));s(this,"_focusMonitor",S(ju));s(this,"_changeDetectorRef",S(ba));s(this,"_parentChangeSubscription",Kt.EMPTY);s(this,"expandedHeight");s(this,"collapsedHeight");s(this,"tabIndex",0);S(gi).load(Qp);let n=this.panel,i=S(p9,{optional:!0}),r=S(new np("tabindex"),{optional:!0}),o=n.accordion?n.accordion._stateChanges.pipe(Sn(l=>!!(l.hideToggle||l.togglePosition))):Dh;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=Li(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")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.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,i){n?this._focusMonitor.focusVia(this._element,n,i):this._element.nativeElement.focus(i)}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,i){n&1&&hn("click",function(){return i._toggle()})("keydown",function(r){return i._keydown(r)}),n&2&&($t("id",i.panel._headerId)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),t_("height",i._getHeaderHeight()),jt("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after",i._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",i._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:Lp(n)]},ngContentSelectors:Xse,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,i){n&1&&(Vn(Qse),j(0,"span",0),pt(1),pt(2,1),pt(3,2),V(),he(4,Jse,3,0,"span",1)),n&2&&(jt("mat-content-hide-toggle",!i._showToggle()),P(4),je(i._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})(),nle=(()=>{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})(),ale=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,Gse,Go]}));let e=t;return e})(),ile=(()=>{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 rle(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(" ",ae(2,2,"deliveredMedicationsDisclaimer.patient.part3.1")," "),P(3),Ne(ae(5,4,"deliveredMedicationsDisclaimer.patient.part3.2")))}var ole=(()=>{const t=class t{constructor(){this.deliveredMedicationsDisclaimerService=S(ile),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,i){n&1&&(j(0,"mat-expansion-panel",0),hn("click",function(){return i.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,rle,6,6,"p",3),V()),n&2&&(Ie("expanded",!i.hideDisclaimer()),P(3),Ne(ae(4,9,"deliveredMedicationsDisclaimer.header")),P(3),Ue(" ",ae(7,11,i.prefix+".part1.1")," "),P(3),Ne(ae(10,13,i.prefix+".part1.2")),P(2),Ue(" ",ae(12,15,i.prefix+".part1.3")," "),P(3),Ue(" ",ae(15,17,i.prefix+".part2.1")," "),P(3),Ne(ae(18,19,i.prefix+".part2.2")),P(2),Ue(" ",ae(20,21,i.prefix+".part2.3")," "),P(2),je(i.isProfessional()?-1:21))},dependencies:[ale,m9,tle,nle,$a],styles:["mat-expansion-panel[_ngcontent-%COMP%]{--mat-expansion-container-background-color: #ffeee0}"],changeDetection:0});let e=t;return e})(),sle=["*"];function lle(e,t){e&1&&(j(0,"div",2),fb(),j(1,"svg",3),Qe(2,"path",4),V()())}var f9=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 i=(n==null?void 0:n.disableClear)??this.disableClear??!!((l=this._defaultOptions)!=null&&l.disableClear),r=ule(n.start||this.start,i),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[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(f9,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:[hi]}));let e=t;return e})();function ule(e,t){let a=["asc","desc"];return e=="desc"&&a.reverse(),t||a.push(""),a}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 cle(e){return e||new tu}var dle={provide:tu,deps:[[new Mh,new Nh,tu]],useFactory:cle},hle=(()=>{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(ba));s(this,"_focusMonitor",S(ju));s(this,"_elementRef",S(Xe));s(this,"_ariaDescriber",S(QX,{optional:!0}));s(this,"_renderChanges");s(this,"_animationModule",S(fi,{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(gi).load(Qp);let n=S(f9,{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=Li(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,i;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),(n=this._renderChanges)==null||n.unsubscribe(),this._sortButton&&((i=this._ariaDescriber)==null||i.removeDescription(this._sortButton,this._sortActionDescription))}_toggleOnInteraction(){if(!this._isDisabled()){let n=this._isSorted(),i=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(n&&!this._isSorted()?i: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 i,r;this._sortButton&&((i=this._ariaDescriber)==null||i.removeDescription(this._sortButton,this._sortActionDescription),(r=this._ariaDescriber)==null||r.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,i){n&1&&hn("click",function(){return i._toggleOnInteraction()})("keydown",function(r){return i._handleKeydown(r)})("mouseleave",function(){return i._recentlyCleared.set(null)}),n&2&&($t("aria-sort",i._getAriaSortAttribute()),jt("mat-sort-header-disabled",i._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:sle,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,i){n&1&&(Vn(),j(0,"div",0)(1,"div",1),pt(2),V(),he(3,lle,3,0,"div",2),V()),n&2&&(jt("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before",i.arrowPosition==="before")("mat-sort-header-descending",i._sort.direction==="desc")("mat-sort-header-ascending",i._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",i._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",i._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",i._animationModule==="NoopAnimations"),$t("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),P(3),je(i._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})(),ple=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[dle],imports:[ma]}));let e=t;return e})(),mle=[[["caption"]],[["colgroup"],["col"]],"*"],fle=["caption","colgroup, col","*"];function gle(e,t){e&1&&pt(0,2)}function vle(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 ble(e,t){e&1&&Yt(0,1)(1,2)(2,3)(3,4)}var ya=new K("CDK_TABLE"),hh=(()=>{const t=class t{constructor(){s(this,"template",S(rn))}};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(rn))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),yle=(()=>{const t=class t{constructor(){s(this,"template",S(rn))}};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(ya,{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,i,r){if(n&1&&(Ma(r,hh,5),Ma(r,ph,5),Ma(r,yle,5)),n&2){let o;un(o=cn())&&(i.cell=o.first),un(o=cn())&&(i.headerCell=o.first),un(o=cn())&&(i.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})(),g9=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},_le=(()=>{const t=class t extends g9{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})(),wle=(()=>{const t=class t extends g9{constructor(){var o;let n=S(Ko),i=S(Xe);super(n,i);let r=(o=n._table)==null?void 0:o._getCellRole();r&&i.nativeElement.setAttribute("role",r)}};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"),v9=(()=>{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 i of n.tasks)i();for(let i of n.endTasks)i()}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(rn));s(this,"_differs",S(Jr));s(this,"columns");s(this,"_columnsDiffer")}ngOnChanges(n){if(!this._columnsDiffer){let i=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(n){return this instanceof nu?n.headerCell.template:this instanceof b9?n.footerCell.template:n.cell.template}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,features:[hi]}));let e=t;return e})(),nu=(()=>{const t=class t extends ym{constructor(){super(S(rn),S(Jr));s(this,"_table",S(ya,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Lt]},features:[Ye,hi]}));let e=t;return e})(),b9=(()=>{const t=class t extends ym{constructor(){super(S(rn),S(Jr));s(this,"_table",S(ya,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Lt]},features:[Ye,hi]}));let e=t;return e})(),fh=(()=>{const t=class t extends ym{constructor(){super(S(rn),S(Jr));s(this,"_table",S(ya,{optional:!0}));s(this,"when")}};s(t,"ɵfac",function(i){return new(i||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})(),zr=(()=>{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,i){n&1&&Yt(0,0)},dependencies:[zr],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,i){n&1&&Yt(0,0)},dependencies:[zr],encapsulation:2}));let e=t;return e})(),xle=(()=>{const t=class t{constructor(){s(this,"templateRef",S(rn));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"],Ele=class{constructor(e,t,a,n,i=!0,r=!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=a,this._coalescedStyleScheduler=n,this._isBrowser=i,this._needsPositionStickyOnElement=r,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 a=[];for(let n of e)n.nodeType===n.ELEMENT_NODE&&a.push(n,...Array.from(n.children));this._afterNextRender({write:()=>{for(let n of a)this._removeStickyStyle(n,t)}})}updateStickyColumns(e,t,a,n=!0,i=!0){var x,k;if(!e.length||!this._isBrowser||!(t.some(D=>D)||a.some(D=>D))){(x=this._positionListener)==null||x.stickyColumnsUpdated({sizes:[]}),(k=this._positionListener)==null||k.stickyEndColumnsUpdated({sizes:[]});return}let r=e[0],o=r.children.length,l=this.direction==="rtl",u=l?"right":"left",c=l?"left":"right",d=t.lastIndexOf(!0),m=a.indexOf(!0),v,g,w;i&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...a]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(r,n),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,a)},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),a[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)=>a[O+m]?D:null).reverse()}))}})}stickRows(e,t,a){if(!this._isBrowser)return;let n=a==="bottom"?e.slice().reverse():e,i=a==="bottom"?t.slice().reverse():t,r=[],o=[],l=[];this._afterNextRender({earlyRead:()=>{for(let u=0,c=0;u<n.length;u++){if(!i[u])continue;r[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=i.lastIndexOf(!0);for(let m=0;m<n.length;m++){if(!i[m])continue;let v=r[m],g=m===u;for(let w of l[m])this._addStickyStyle(w,a,v,g)}a==="top"?(c=this._positionListener)==null||c.stickyHeaderRowsUpdated({sizes:o,offsets:r,elements:l}):(d=this._positionListener)==null||d.stickyFooterRowsUpdated({sizes:o,offsets:r,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let a=e.querySelector("tfoot");a&&(t.some(n=>!n)?this._removeStickyStyle(a,["bottom"]):this._addStickyStyle(a,"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 a of t)e.style[a]="",e.classList.remove(this._borderCellCss[a]);xv.some(a=>t.indexOf(a)===-1&&e.style[a])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,a,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${a}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},a=0;for(let n of xv)e.style[n]&&(a+=t[n]);return a?`${a}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let a=[],n=e.children;for(let i=0;i<n.length;i++){let r=n[i];a.push(this._retrieveElementSize(r).width)}return this._cachedCellWidths=a,a}_getStickyStartColumnPositions(e,t){let a=[],n=0;for(let i=0;i<e.length;i++)t[i]&&(a[i]=n,n+=e[i]);return a}_getStickyEndColumnPositions(e,t){let a=[],n=0;for(let i=e.length;i>0;i--)t[i]&&(a[i]=n,n+=e[i]);return a}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let a=e.getBoundingClientRect(),n={width:a.width,height:a.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 a of this._updatedStickyColumnsParamsToReplay)a.rows=a.rows.filter(n=>!t.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(a=>!!a.rows.length)}_updateCachedSizes(e){var a,n;let t=!1;for(let i of e){let r=(a=i.borderBoxSize)!=null&&a.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==((n=this._elemSizeCache.get(i.target))==null?void 0:n.width)&&Sle(i.target)&&(t=!0),this._elemSizeCache.set(i.target,r)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.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 Sle(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var gh=new K("CDK_SPL"),y9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(ya);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})(),_9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(ya);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})(),w9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(ya);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})(),x9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Xe));let n=S(ya);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(Jr));s(this,"_changeDetectorRef",S(ba));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 Ai({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,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}_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(oi(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var n,i,r,o;(n=this._stickyStyler)==null||n.destroy(),[(i=this._rowOutlet)==null?void 0:i.viewContainer,(r=this._headerRowOutlet)==null?void 0:r.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 i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(n,i,(r,o,l)=>this._getEmbeddedViewArgs(r.item,l),r=>r.item.data,r=>{r.operation===ko.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),n.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);o.context.$implicit=r.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 r=Sv(this._headerRowOutlet,"thead");r&&(r.style.display=n.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let n=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=Sv(this._footerRowOutlet,"tfoot");r&&(r.style.display=n.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let n=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...n,...i,...r],["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<i.length;u++)this._renderRows[u].rowDef===o&&l.push(i[u]);this._addStickyColumnStyles(l,o)}),r.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=[],i=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return n;for(let r=0;r<this._data.length;r++){let o=this._data[r],l=this._getRenderRowsForData(o,r,i.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,i,r){return this._getRowDefs(n,i).map(o=>{let l=r&&r.has(o)?r.get(o):[];if(l.length){let u=l.shift();return u.dataIndex=i,u}else return{data:n,rowDef:o,dataIndex:i}})}_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(i=>!i.when);!this.multiTemplateDataRows&&n.length>1,this._defaultRowDef=n[0]}_renderUpdatedColumns(){let n=(l,u)=>{let c=!!u.getColumnsDiff();return l||c},i=this._rowDefs.reduce(n,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(n,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(n,!1);return o&&this._forceRenderFooterRows(),i||r||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):vr(this.dataSource)?n=this.dataSource:Array.isArray(this.dataSource)&&(n=tt(this.dataSource)),this._renderChangeSubscription=n.pipe(oi(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((n,i)=>this._renderRow(this._headerRowOutlet,n,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((n,i)=>this._renderRow(this._footerRowOutlet,n,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(n,i){let r=Array.from((i==null?void 0:i.columns)||[]).map(u=>this._columnDefsByName.get(u)),o=r.map(u=>u.sticky),l=r.map(u=>u.stickyEnd);this._stickyStyler.updateStickyColumns(n,o,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(n){let i=[];for(let r=0;r<n.viewContainer.length;r++){let o=n.viewContainer.get(r);i.push(o.rootNodes[0])}return i}_getRowDefs(n,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(o=>!o.when||o.when(i,n));else{let o=this._rowDefs.find(l=>l.when&&l.when(i,n))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(n,i){let r=n.rowDef,o={$implicit:n.data};return{templateRef:r.template,context:o,index:i}}_renderRow(n,i,r,o={}){let l=n.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),l}_renderCellTemplateForItem(n,i){for(let r of this._getCellTemplates(n))zr.mostRecentCellOutlet&&zr.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let n=this._rowOutlet.viewContainer;for(let i=0,r=n.length;i<r;i++){let o=n.get(i).context;o.count=r,o.first=i===0,o.last=i===r-1,o.even=i%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[i].dataIndex,o.renderIndex=i):o.index=this._renderRows[i].dataIndex}}_getCellTemplates(n){return!n||!n.columns?[]:Array.from(n.columns,i=>{let r=this._columnDefsByName.get(i);return n.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let n=(i,r)=>i||r.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 Ele(this._isNativeHtmlTable,this.stickyCssClass,n,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:tt()).pipe(oi(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(n){return n.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let n=this._customNoDataRow||this._noDataRow;if(!n)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let o=r.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 r.clear();this._isShowingNoDataRow=i,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,i,r){if(n&1&&(Ma(r,xle,5),Ma(r,Ko,5),Ma(r,fh,5),Ma(r,nu,5),Ma(r,b9,5)),n&2){let o;un(o=cn())&&(i._noDataRow=o.first),un(o=cn())&&(i._contentColumnDefs=o),un(o=cn())&&(i._contentRowDefs=o),un(o=cn())&&(i._contentHeaderRowDefs=o),un(o=cn())&&(i._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,i){n&2&&jt("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Lt],fixedLayout:[2,"fixedLayout","fixedLayout",Lt]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Tn([{provide:ya,useExisting:t},{provide:Yd,useClass:P1},{provide:mh,useClass:v9},{provide:gh,useValue:null}])],ngContentSelectors:fle,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,i){n&1&&(Vn(mle),pt(0),pt(1,1),he(2,gle,1,0)(3,vle,7,0)(4,ble,4,0)),n&2&&(P(2),je(i._isServer?2:-1),P(),je(i._isNativeHtmlTable?3:4))},dependencies:[_9,y9,x9,w9],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 a=t.toUpperCase(),n=e.viewContainer.element.nativeElement;for(;n;){let i=n.nodeType===1?n.nodeName:null;if(i===a)return n;if(i==="TABLE")break;n=n.parentNode}return null}var kle=(()=>{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})(),Cle=[[["caption"]],[["colgroup"],["col"]],"*"],Dle=["caption","colgroup, col","*"];function Ile(e,t){e&1&&pt(0,2)}function Tle(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 Rle(e,t){e&1&&Yt(0,1)(1,3)(2,4)(3,5)}var Ole=(()=>{const t=class t extends Ev{constructor(){super(...arguments);s(this,"stickyCssClass","mat-mdc-table-sticky");s(this,"needsPositionStickyOnElement",!1)}};s(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=nt(t)))(r||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(i,r){i&2&&jt("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[Tn([{provide:Ev,useExisting:t},{provide:ya,useExisting:t},{provide:mh,useClass:v9},{provide:Yd,useClass:P1},{provide:gh,useValue:null}]),Ye],ngContentSelectors:Dle,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Vn(Cle),pt(0),pt(1,1),he(2,Ile,1,0)(3,Tle,7,0)(4,Rle,4,0)),i&2&&(P(2),je(r._isServer?2:-1),P(),je(r._isNativeHtmlTable?3:4))},dependencies:[_9,y9,x9,w9],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})(),Mle=(()=>{const t=class t extends hh{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matCellDef",""]],features:[Tn([{provide:hh,useExisting:t}]),Ye]}));let e=t;return e})(),Nle=(()=>{const t=class t extends ph{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matHeaderCellDef",""]],features:[Tn([{provide:ph,useExisting:t}]),Ye]}));let e=t;return e})(),Ale=(()=>{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(i){return(n||(n=nt(t)))(i||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})(),Ple=(()=>{const t=class t extends _le{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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})(),Lle=(()=>{const t=class t extends wle{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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})(),Fle=(()=>{const t=class t extends nu{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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})(),jle=(()=>{const t=class t extends fh{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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})(),Vle=(()=>{const t=class t extends _v{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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,i){n&1&&Yt(0,0)},dependencies:[zr],encapsulation:2}));let e=t;return e})(),zle=(()=>{const t=class t extends wv{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=nt(t)))(i||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,i){n&1&&Yt(0,0)},dependencies:[zr],encapsulation:2}));let e=t;return e})(),Ble=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,kle,ma]}));let e=t;return e})(),Hle=9007199254740991,qle=class extends _J{constructor(t=[]){super();s(this,"_data");s(this,"_renderData",new Ai([]));s(this,"_filter",new Ai(""));s(this,"_internalPageChanges",new ve);s(this,"_renderChangesSubscription",null);s(this,"filteredData");s(this,"_sort");s(this,"_paginator");s(this,"sortingDataAccessor",(t,a)=>{let n=t[a];if(o1(n)){let i=Number(n);return i<Hle?i:n}return n});s(this,"sortData",(t,a)=>{let n=a.active,i=a.direction;return!n||i==""?t:t.sort((r,o)=>{let l=this.sortingDataAccessor(r,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*(i=="asc"?1:-1)})});s(this,"filterPredicate",(t,a)=>{let n=a.trim().toLowerCase();return Object.values(t).some(i=>`${i}`.toLowerCase().includes(n))});this._data=new Ai(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?Li(this._sort.sortChange,this._sort.initialized):tt(null),a=this._paginator?Li(this._paginator.page,this._internalPageChanges,this._paginator.initialized):tt(null),n=this._data,i=rl([n,this._filter]).pipe(Pt(([u])=>this._filterData(u))),r=rl([i,t]).pipe(Pt(([u])=>this._orderData(u))),o=rl([r,a]).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(a=>this.filterPredicate(a,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 a=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(a,a+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let a=this.paginator;if(a&&(a.length=t,a.pageIndex>0)){let n=Math.ceil(a.length/a.pageSize)-1||0,i=Math.min(a.pageIndex,n);i!==a.pageIndex&&(a.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}},$le=["*"],Gle=(e,t,a,n,i)=>({"custom-content":e,circle:t,progress:a,"progress-dark":n,pulse:i});function Ule(e,t){e&1&&pt(0)}function Wle(e,t){if(e&1&&(j(0,"div",0),he(1,Ule,1,0),V()),e&2){let a=le(),n=Af(0),i=Af(1);Ie("ngClass",OY(5,Gle,n==="custom-content",n==="circle",i==="progress",i==="progress-dark",i==="pulse"))("ngStyle",a.styles()),$t("aria-label",a.ariaLabel())("aria-valuetext",a.loadingText()),P(),je(n==="custom-content"?1:-1)}}var E9=new K("ngx-skeleton-loader.config"),S9=(()=>{var t;const a=class a{constructor(){Am(this,t);var i,r,o,l,u,c;Pm(this,t,S(E9,{optional:!0})),this.count=ze(((i=Ta(this,t))==null?void 0:i.count)||1,{transform:Lp}),this.loadingText=ze(((r=Ta(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=ze(((o=Ta(this,t))==null?void 0:o.appearance)||"line"),this.animation=ze(((l=Ta(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=ze(((u=Ta(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=ze(((c=Ta(this,t))==null?void 0:c.theme)||null),this.items=mr(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&ZY(),[...Array(d)].map((m,v)=>v)}),this.styles=mr(()=>{var m,v,g;let d=this.theme();return(v=(m=Ta(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ce(ce({},(g=Ta(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,a.ɵfac=function(i){return new(i||a)},a.ɵcmp=Ae({type:a,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:$le,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(i,r){i&1&&(Vn(),h_(0)(1),Qr(2,Wle,2,11,"div",0,Op)),i&2&&(Nf(r.appearance()),P(),Nf(r.animation()),P(),Xr(r.items()))},dependencies:[jp,tQ],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=a;return e})(),k9=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:E9,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 Zle(e,t){if(e&1){let a=qa();j(0,"a",1),hn("click",function(n){kn(a);let i=le();return Cn(i.onDownloadClick(n))}),Qe(1,"mat-icon",2),V()}}var Yle=(()=>{const t=class t{constructor(){this.translateService=S(Xn),this.leafletService=S(Iw),this.item=ze(),this.identifierType=Er}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translateService.currentLang,this.item().medication.identifier.value).pipe(tn(1)).subscribe(i=>{window.open(i,"_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,i){n&1&&he(0,Zle,2,0,"a",0),n&2&&je(i.item().medication.identifier&&i.item().medication.identifier.type===i.identifierType.CNK?0:-1)},dependencies:[$u,V1],encapsulation:2});let e=t;return e})(),Kle=()=>["error"],Qle=()=>["expandDetails"],Xle=(e,t)=>({"more-than-one-quantity":e,"negative-quantity":t}),Jle=()=>({height:"47px",margin:"0px"});function eue(e,t){e&1&&(j(0,"th",23),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.medicationName")," "))}function tue(e,t){if(e&1&&(j(0,"div",26),ee(1),te(2,"translateValue"),V()),e&2){let a=le().$implicit;P(),Ne(ae(2,1,a.medication.name))}}function nue(e,t){if(e&1&&(j(0,"div",28),ee(1),te(2,"ingredientLabel"),V()),e&2){let a=t.$implicit;P(),Ue(" ",ae(2,1,a)," ")}}function aue(e,t){if(e&1&&(j(0,"div",27)(1,"strong"),ee(2),te(3,"translate"),V()(),Qr(4,nue,3,3,"div",28,Rp),te(6,"slice")),e&2){let a=le().$implicit;P(2),Ne(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Xr(v_(6,3,a.medication.ingredients,0,2))}}function iue(e,t){if(e&1){let a=qa();j(0,"td",24)(1,"vidis-table-detail-button",25),c_("expandedElementChange",function(n){kn(a);let i=le();return kY(i.expandedElement,n)||(i.expandedElement=n),Cn(n)}),he(2,tue,3,3,"div",26)(3,aue,7,7),V()()}if(e&2){let a=t.$implicit,n=le();P(),Ie("item",a),u_("expandedElement",n.expandedElement),P(),je(a.medication.name?2:3)}}function rue(e,t){e&1&&(j(0,"th",29),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.deliveredOn")," "))}function oue(e,t){if(e&1&&(j(0,"td",30),ee(1),te(2,"date"),V()),e&2){let a=t.$implicit;P(),Ue(" ",vs(2,1,a.deliveryDate," dd/MM/yyy")," ")}}function sue(e,t){e&1&&(j(0,"th",31),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.quantity")," "))}function lue(e,t){if(e&1&&(j(0,"td",32)(1,"span",33),ee(2),V()()),e&2){let a=t.$implicit;P(),Ie("ngClass",RY(2,Xle,(a.medication.quantity==null?null:a.medication.quantity.value)>1,(a.medication.quantity==null?null:a.medication.quantity.value)<0)),P(),Ue(" ",a.medication.quantity.value," ")}}function uue(e,t){e&1&&(j(0,"th",34),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.leaflet")," "))}function cue(e,t){if(e&1&&(j(0,"td",35),Qe(1,"vidis-leaflet-download",36),V()),e&2){let a=t.$implicit;P(),Ie("item",a)}}function due(e,t){if(e&1&&(j(0,"td",37),ee(1),te(2,"translate"),Qe(3,"br"),ee(4),V()),e&2){let a=t.$implicit;$t("colspan",4),P(),Ue(" ",ae(2,3,"error.deliveredMedication")," "),P(3),Ue(" ( ",a.dguid," ) ")}}function hue(e,t){if(e&1&&(j(0,"td",38)(1,"div"),Qe(2,"vidis-delivered-medication-details-row",36),V()()),e&2){let a=t.$implicit,n=le();jt("mh-detail-row--expanded",a===n.expandedElement()),Ie("colSpan",n.columns.length),P(2),Ie("item",a)}}function pue(e,t){e&1&&Qe(0,"tr",39)}function mue(e,t){if(e&1&&Qe(0,"tr",40),e&2){let a=le();Ie("hidden",a.isLoading())}}function fue(e,t){e&1&&Qe(0,"tr",41)}function gue(e,t){e&1&&Qe(0,"tr",42)}function vue(e,t){e&1&&Qe(0,"ngx-skeleton-loader",21),e&2&&Ie("count",3)("theme",Bo(2,Jle))}function bue(e,t){e&1&&(j(0,"p",22),ee(1),te(2,"translate"),V()),e&2&&(P(),Ne(ae(2,1,"deliveredMedicationsList.noContent")))}var yue=(()=>{const t=class t{set sort(n){this.dataSource.sort=n,this.dataSource.sortingDataAccessor=(i,r)=>this.getSortingAccessor(i,r)}constructor(){this.translateService=S(Xn),this.data=ze(),this.isLoading=ze(),this.isProfessional=ze.required(),this.expandedElement=wu(null),this.dataSource=new qle,this.columns=["medicationName","deliveryDate","quantity","leaflet"],this.canDisplayDeliveredMedication=(n,i)=>uh(i),this.canNotDisplayDeliveredMedication=(n,i)=>!uh(i),sK(()=>{var n;return this.dataSource.data=(n=this.data())==null?void 0:n.items})}getSortingAccessor(n,i){var r;switch(i){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((r=n.medication.quantity)==null?void 0:r.value)||0;case"patientName":return Dw(n.person);default:return n[i]}}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-table"]],viewQuery:function(n,i){if(n&1&&Pr(dh,7),n&2){let r;un(r=cn())&&(i.sort=r.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,i){n&1&&(j(0,"table",0),te(1,"translate"),Ka(2,1),he(3,eue,3,3,"th",2)(4,iue,4,3,"td",3),Qa(),Ka(5,4),he(6,rue,3,3,"th",5)(7,oue,3,4,"td",6),Qa(),Ka(8,7),he(9,sue,3,3,"th",8)(10,lue,3,5,"td",9),Qa(),Ka(11,10),he(12,uue,3,3,"th",11)(13,cue,2,1,"td",12),Qa(),Ka(14,13),he(15,due,5,5,"td",14),Qa(),Ka(16,15),he(17,hue,3,4,"td",16),Qa(),he(18,pue,1,0,"tr",17)(19,mue,1,1,"tr",18)(20,fue,1,0,"tr",19)(21,gue,1,0,"tr",20),V(),he(22,vue,1,3,"ngx-skeleton-loader",21)(23,bue,3,3,"p",22)),n&2&&(Ie("dataSource",i.dataSource),$t("aria-label",ae(1,9,"deliveredMedicationsList.title")),P(18),Ie("matHeaderRowDef",i.columns),P(),Ie("matRowDefColumns",i.columns)("matRowDefWhen",i.canDisplayDeliveredMedication),P(),Ie("matRowDefColumns",Bo(11,Kle))("matRowDefWhen",i.canNotDisplayDeliveredMedication),P(),Ie("matRowDefColumns",Bo(12,Qle)),P(),je(i.isLoading()?22:i.dataSource.data.length<=0?23:-1))},dependencies:[Ble,Ole,Nle,Fle,Ale,Mle,jle,Ple,Lle,Vle,zle,ple,dh,hle,bm,zp,vm,$a,k9,S9,I_,qse,Ise,Yle,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})(),_ue=["*"],wue=new K("MAT_CARD_CONFIG"),xue=(()=>{const t=class t{constructor(){s(this,"appearance");let n=S(wue,{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,i){n&2&&jt("mat-mdc-card-outlined",i.appearance==="outlined")("mdc-card--outlined",i.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:_ue,decls:1,vars:0,template:function(n,i){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})(),Eue=(()=>{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})(),Sue=e=>({"negative-quantity":e});function kue(e,t){e&1&&(j(0,"strong",3),ee(1),te(2,"translateValue"),V()),e&2&&(P(),Ne(ae(2,1,t)))}function Cue(e,t){if(e&1&&(j(0,"div",3),ee(1),te(2,"ingredientLabel"),V()),e&2){let a=t.$implicit;P(),Ne(ae(2,1,a))}}function Due(e,t){if(e&1&&(j(0,"div")(1,"strong"),ee(2),te(3,"translate"),V()(),Qr(4,Cue,3,3,"div",3,Op),te(6,"slice")),e&2){let a=le(2);P(2),Ne(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Xr(v_(6,3,a.item().medication.ingredients,0,2))}}function Iue(e,t){if(e&1){let a=qa();j(0,"mat-card",1),hn("click",function(){kn(a);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,kue,3,3,"strong",3)(8,Due,7,7),V(),j(9,"div",4)(10,"span",5),ee(11),V()()()()}if(e&2){let a,n,i,r=le();P(4),Ne(vs(5,4,r.item().deliveryDate,"dd/MM/yyyy")),P(3),je((a=r.item().medication.name)?7:8,a),P(3),Ie("ngClass",m_(7,Sue,((n=r.item().medication.quantity)==null?null:n.value)<0)),P(),Ue(" ",(i=r.item().medication.quantity)==null?null:i.value," ")}}function Tue(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 a,n=le();P(3),Ne(ae(4,2,"error.deliveredMedication")),P(3),Ue("( ",(a=n.item())==null?null:a.dguid," )")}}var Rue=(()=>{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,i){n&1&&(he(0,Iue,12,9,"mat-card",0),te(1,"canDisplayDeliveredMedication"),he(2,Tue,7,4,"mat-card")),n&2&&je(ae(1,1,i.item())?0:2)},dependencies:[xue,Eue,zp,ioe,vm,bm,$a,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})(),Oue=()=>({sortProperty:"deliveryDate",isAscending:!1}),Mue=()=>({height:"47px",margin:"0px"});function Nue(e,t){if(e&1){let a=qa();j(0,"vidis-delivered-medications-card",1),hn("clickDetails",function(){let n=kn(a).$implicit,i=le(2);return Cn(i.clickDetails.emit(n.dguid))}),V()}if(e&2){let a=t.$implicit;Ie("item",a)}}function Aue(e,t){if(e&1&&(Qr(0,Nue,1,1,"vidis-delivered-medications-card",0,Op),te(2,"sortOn")),e&2){let a=le();Xr(vs(2,0,a.data().items,Bo(3,Oue)))}}function Pue(e,t){e&1&&Qe(0,"ngx-skeleton-loader",2),e&2&&Ie("count",10)("theme",Bo(2,Mue))}function Lue(e,t){e&1&&(j(0,"div",3),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.noContent")," "))}function Fue(e,t){if(e&1&&he(0,Pue,1,3,"ngx-skeleton-loader",2)(1,Lue,3,3,"div",3),e&2){let a=le();je(a.isLoading()?0:1)}}var jue=(()=>{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,i){if(n&1&&he(0,Aue,3,4)(1,Fue,2,1),n&2){let r;je(((r=i.data())==null||r.items==null?null:r.items.length)>0?0:1)}},dependencies:[Rue,$a,moe,k9,S9],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 Vue(e,t){e&1&&(j(0,"div"),ee(1,"Component not properly initialized!"),V())}function zue(e,t){if(e&1&&Qe(0,"vidis-status-message",0),e&2){let a=le();Ie("error",a.error)}}function Bue(e,t){if(e&1){let a=qa();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(a);let i=le(3);return Cn(i.onSelectMedication.emit(n))}),V()}if(e&2){let a=le(),n=le(2);P(),Ie("isProfessional",n.professional),P(),Ie("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional),P(),Ie("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional)}}function Hue(e,t){if(e&1&&he(0,zue,1,1,"vidis-status-message",0)(1,Bue,4,7),e&2){let a=le(2);je(t.status===a.loadingStatus.ERROR?0:1)}}function que(e,t){if(e&1&&(he(0,Hue,2,1),te(1,"async")),e&2){let a,n=le();je((a=ae(1,1,n.deliveredMedicationsState$))?0:-1,a)}}var $ue=(()=>{const t=class t extends ose{constructor(){super(...arguments),this.onSelectMedication=new ot,this.loadingStatus=Sr}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(i){return(n||(n=nt(t)))(i||t)}})(),t.ɵcmp=Ae({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[Tn([tv,n9,a9,soe]),Ye],decls:2,vars:1,consts:[[3,"error"],[1,"disclaimer"],[3,"isProfessional"],[3,"isLoading","data","isProfessional"],[3,"clickDetails","isLoading","data","isProfessional"]],template:function(n,i){n&1&&he(0,Vue,2,0,"div")(1,que,2,3),n&2&&je(i.isCorrectlySetup()?1:0)},dependencies:[yue,jue,ole,sQ,Cse],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})();TQ({providers:[aoe]}).then(e=>{let t=CK($ue,{injector:e.injector});customElements.define("vidis-delivered-medication-list",t)}).catch(e=>console.error(e));