@smals-belgium-shared/vidis-delivered-medication-list 3.4.2-snapshot.8 → 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.
package/assets/main-Y_rR8e1G.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var Bq=Object.defineProperty;var Nm=e=>{throw TypeError(e)};var Hq=(e,t,r)=>t in e?Bq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>Hq(e,typeof t!="symbol"?t+"":t,r),Mm=(e,t,r)=>t.has(e)||Nm("Cannot "+r);var Dr=(e,t,r)=>(Mm(e,t,"read from private field"),r?r.call(e):t.get(e)),Am=(e,t,r)=>t.has(e)?Nm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Pm=(e,t,r,n)=>(Mm(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var qq=Object.create,su=Object.defineProperty,$q=Object.defineProperties,Gq=Object.getOwnPropertyDescriptor,Uq=Object.getOwnPropertyDescriptors,Zq=Object.getOwnPropertyNames,_l=Object.getOwnPropertySymbols,Wq=Object.getPrototypeOf,vh=Object.prototype.hasOwnProperty,Cv=Object.prototype.propertyIsEnumerable,Lm=(e,t,r)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ce=(e,t)=>{for(var r in t||(t={}))vh.call(t,r)&&Lm(e,r,t[r]);if(_l)for(var r of _l(t))Cv.call(t,r)&&Lm(e,r,t[r]);return e},Ut=(e,t)=>$q(e,Uq(t)),Yq=(e,t)=>{var r={};for(var n in e)vh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_l)for(var n of _l(e))t.indexOf(n)<0&&Cv.call(e,n)&&(r[n]=e[n]);return r},se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),he=(e,t)=>{for(var r in t)su(e,r,{get:t[r],enumerable:!0})},Kq=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Zq(t))!vh.call(e,a)&&a!==r&&su(e,a,{get:()=>t[a],enumerable:!(n=Gq(t,a))||n.enumerable});return e},Dv=(e,t,r)=>(r=e!=null?qq(Wq(e)):{},Kq(t||!e||!e.__esModule?su(r,"default",{value:e,enumerable:!0}):r,e)),It=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{l(r.next(u))}catch(c){a(c)}},o=u=>{try{l(r.throw(u))}catch(c){a(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);l((r=r.apply(e,t)).next())}),Qq=se((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self,r.MessageFormat=n())})(e,function(){var r=function(){return r=Object.assign||function(p){for(var f,b=1,y=arguments.length;b<y;b++){f=arguments[b];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},r.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,b=f&&p[f],y=0;if(b)return b.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var b=typeof Symbol=="function"&&p[Symbol.iterator];if(!b)return p;var y=b.call(p),_,E=[],C;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(I){C={error:I}}finally{try{_&&!_.done&&(b=y.return)&&b.call(y)}finally{if(C)throw C.error}}return E}function i(p,f,b){if(arguments.length===2)for(var y=0,_=f.length,E;y<_;y++)(E||!(y in f))&&(E||(E=Array.prototype.slice.call(f,0,y)),E[y]=f[y]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,b,y){super(f),this.token=b,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",u=p=>p%2===0?"2-digit":"numeric";function c(p,f){switch(p.char){case"y":return{year:u(p.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${p.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function d(p,f){switch(p.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${p.desc} is not supported with width ${p.width}`);return}}function m(p,f){let{char:b,desc:y,width:_}=p;if(b==="d")return u(_);f(`${y} is not supported`)}function v(p,f){let{char:b,desc:y,width:_}=p;if((b==="c"||b==="e")&&_<3){let E=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=u(p.width),b;switch(p.char){case"h":b="h12";break;case"H":b="h23";break;case"k":b="h24";break;case"K":b="h11";break}return b?{hour:f,hourCycle:b}:{hour:f}}function w(p,f){let{char:b,desc:y,width:_}=p;switch(b){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${y} is not supported with width ${_}`);return;case"X":f(`${y} is not supported`);return}return"short"}function x(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return c(p,f);case"month":return{month:d(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:v(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:u(p.width)};case"sec":return{second:u(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function k(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:C,field:I,str:R}=E;if(C){let ae=new o(C.message,E);ae.stack=C.stack,b(ae)}if(R){let ae=`Ignoring string part: ${R}`;b(new o(ae,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):b(new o(`Duplicate ${I} token`,E)));let j=x(E,(ae,ge)=>b(new o(ae,E,ge)));j&&Object.assign(y,j)}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 N(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 X(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 N(p,f);if(b==="'")return X(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 _e(p){let f=[],b=0;for(;;){let y=ue(p,b);if(!y)return f;f.push(y),b+=y.width}}function Ot(p,f,b,y){typeof f=="string"&&(f=_e(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 yt(p,f,b,y){typeof f=="string"&&(f=_e(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 tt extends Error{constructor(f,b){super(b),this.code=f}}class St extends tt{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class Q extends tt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class U extends tt{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class xe extends tt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class L extends tt{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class H extends tt{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 Qe(p){let{scale:f,unit:b}=p,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function Kt(p){let f=Qe(p),{precision:b}=p;return b&&b.style==="precision-increment"?y=>Te(y,b.increment)*f:y=>y*f}function Me(p){let f=Qe(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 ze(p,f){let{decimal:b,group:y,integerWidth:_,notation:E,precision:C,roundingMode:I,sign:R,unit:j,unitPer:ae,unitWidth:ge}=p,Oe=(rt,_t)=>{},K={};if(j)switch(j.style){case"base-unit":K.style="decimal";break;case"currency":K.style="currency",K.currency=j.currency;break;case"measure-unit":K.style="unit",K.unit=j.unit.replace(/.*-/,""),ae&&(K.unit+="-per-"+ae.replace(/.*-/,""));break;case"percent":K.style="percent";break}switch(ge){case"unit-width-full-name":K.currencyDisplay="name",K.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":K.currencyDisplay="code";break;case"unit-width-narrow":K.currencyDisplay="narrowSymbol",K.unitDisplay="narrow";break;case"unit-width-short":K.currencyDisplay="symbol",K.unitDisplay="short";break}switch(y){case"group-off":K.useGrouping=!1;break;case"group-auto":K.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":K.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:rt,maxFraction:_t,minSignificant:Mt,maxSignificant:rn,source:Fn}=C;typeof rt=="number"&&(K.minimumFractionDigits=rt,typeof Mt=="number"&&Oe()),typeof _t=="number"&&(K.maximumFractionDigits=_t),typeof Mt=="number"&&(K.minimumSignificantDigits=Mt),typeof rn=="number"&&(K.maximumSignificantDigits=rn);break}case"precision-integer":K.maximumFractionDigits=0;break;case"precision-unlimited":K.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":K.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":Oe(C.style);break}if(E)switch(E.style){case"compact-short":K.notation="compact",K.compactDisplay="short";break;case"compact-long":K.notation="compact",K.compactDisplay="long";break;case"notation-simple":K.notation="standard";break;case"scientific":case"engineering":{let{expDigits:rt,expSign:_t,source:Mt,style:rn}=E;K.notation=rn;break}}if(_){let{min:rt,max:_t,source:Mt}=_;if(rt>0&&(K.minimumIntegerDigits=rt),Number(_t)>0){let rn=K.notation==="engineering"||K.notation==="scientific";_t===3&&rn?K.notation="engineering":Oe()}}switch(R){case"sign-auto":K.signDisplay="auto";break;case"sign-always":K.signDisplay="always";break;case"sign-except-zero":K.signDisplay="exceptZero";break;case"sign-never":K.signDisplay="never";break;case"sign-accounting":K.currencySign="accounting";break;case"sign-accounting-always":K.currencySign="accounting",K.signDisplay="always";break;case"sign-accounting-except-zero":K.currencySign="accounting",K.signDisplay="exceptZero";break}return K}function pt(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 L("¤",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 L("'",I)),{char:y,str:_,width:E}}else if(C==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=C}}}return null}let Ln=p=>p>="0"&&p<="9";function nt(p,f){let b=p[f];if(Ln(b)){let y=b;for(;;){let _=p[++f];if(Ln(_))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 Qt(p,f,b){let y;(function(j){j[j.Prefix=0]="Prefix",j[j.Number=1]="Number",j[j.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],C=[],I=y.Prefix,R="";for(;f<p.length;){let j=p[f];if(j===";"){f+=1;break}switch(I){case y.Prefix:{let ae=pt(p,f,b);if(ae)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(ae),f+=ae.width;else{let ge=nt(p,f);ge?(R&&(_.push({char:"'",str:R,width:R.length}),R=""),I=y.Number,E.push(ge),f+=ge.width):(R+=j,f+=1)}break}case y.Number:{let ae=nt(p,f);ae?(E.push(ae),f+=ae.width):I=y.Suffix;break}case y.Suffix:{let ae=pt(p,f,b);ae?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(ae),f+=ae.width):(R+=j,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}=Qt(p,0,f);if(y<p.length){let{pattern:_}=Qt(p,y,f);return{tokens:b,negative:_}}return{tokens:b}}function Xn(p,f){let b={},y=!1,_=!1,E=0,C="",I=-1,R="",j=0;for(let ge=0;ge<p.length;++ge){let Oe=p[ge];switch(Oe.char){case"#":{if(I===-1){if(C){let K="Pattern has # after integer digits";f(new L("#",K))}E+=Oe.width}else j+=Oe.width;break}case"0":{if(I===-1)C+=Oe.digits;else{if(j){let K="Pattern has digits after # in fraction";f(new L("0",K))}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 K="Pattern has more than one decimal separator";f(new L(".",K))}I=ge;break;case"E":{if(_&&f(new U("exponent",b.notation)),y){let K="Exponential patterns may not contain grouping separators";f(new L("E",K))}b.notation={style:"scientific"},Oe.expDigits>1&&(b.notation.expDigits=Oe.expDigits),Oe.plus&&(b.notation.expSign="sign-always"),_=!0}}}y?b.group="group-auto":E+C.length>3&&(b.group="group-off");let ae=+`${C||"0"}.${R}`;if(ae&&(b.precision={style:"precision-increment",increment:ae}),!_)C.length>1&&(b.integerWidth={min:C.length}),!b.precision&&(R.length||j)&&(b.precision={style:"precision-fraction",minFraction:R.length,maxFraction:R.length+j});else if((!b.precision||ae)&&(b.integerWidth=E?{min:1,max:E+C.length}:{min:Math.max(1,C.length)}),b.precision)ae||(b.integerWidth={min:1,max:1});else{let ge=C.length+R.length;I===-1?ge>0&&(b.precision={style:"precision-fraction",maxSignificant:ge}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,ge)+j},ge>1&&(b.precision.minSignificant=ge))}return b}function Gr(p,f,b,y,_){let E=!1,C="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:C="";break;case"¤":if(!b){let R="The ¤ pattern requires a currency";y(new L("¤",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=Xn(y.number,b),C=Gr(y.prefix,E,f,b,!0),I=Gr(y.suffix,E,f,b,!1);if(_){let R=xs(_.prefix,!0),j=xs(_.suffix,!1);E.affix={pos:[C,I],neg:[R,j]},E.sign="sign-never"}else(C||I)&&(E.affix={pos:[C,I]});return E}function J9(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 eq(p){return p in wm}function tq(p){return p in xm}function nq(p,f,b){if(eq(p)){let y=wm[p];if(f.length>y){if(y===0)for(let _ of f)b(new St(p,_));else b(new H(p,f,y));return!1}else if(tq(p)&&f.length<xm[p])return b(new xe(p)),!1}return!0}function $u(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 rq(p,f,b){let y=$u(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=$u(C,"significant");return I?(E.source=`${p}/${C}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):C&&b(new St(p,C)),E}let _=$u(p,"significant");if(_){for(let C of f)b(new St(p,C));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class aq{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new St(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new U(f,b))}parseToken(f,b){if(!nq(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":{J9(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=rq(f,b,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Q(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 aq(f);for(let{stem:_,options:E}of b)y.parseToken(_,E);return y.skeleton}function iq(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=ze(f),C=Kt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[R,j]=f.affix.pos,[ae,ge]=f.affix.neg||["",""];return Oe=>{let K=I.format(C(Oe));return Oe<0?`${ae}${K}${ge}`:`${R}${K}${j}`}}return R=>I.format(C(R))}function oq(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=ze(f),C=Me(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[j,ae]=f.affix.pos.map(ge=>JSON.stringify(ge));if(f.affix.neg){let[ge,Oe]=f.affix.neg.map(K=>JSON.stringify(K));R=`value < 0 ? ${ge} + ${R} + ${Oe} : ${j} + ${R} + ${ae}`}else R=`${j} + ${R} + ${ae}`}return I.push(`return function(value) { return ${R}; }`),I.join(`
|
|
4
|
-
`)+`
|
|
5
|
-
})()`}var Gu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sq(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var eo={},Sm={},km={exports:{}};(function(p){(function(f,b){p.exports?p.exports=b():f.moo=b()})(Gu,function(){var f=Object.prototype.hasOwnProperty,b=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&b.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function C(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(M){var G=new RegExp("|"+M);return G.exec("").length-1}function R(M){return"("+M+")"}function j(M){if(!M.length)return"(?!)";var G=M.map(function(te){return"(?:"+te+")"}).join("|");return"(?:"+G+")"}function ae(M){if(typeof M=="string")return"(?:"+C(M)+")";if(_(M)){if(M.ignoreCase)throw new Error("RegExp /i flag not allowed");if(M.global)throw new Error("RegExp /g flag is implied");if(M.sticky)throw new Error("RegExp /y flag is implied");if(M.multiline)throw new Error("RegExp /m flag is implied");return M.source}else throw new Error("Not a pattern: "+M)}function ge(M,G){return M.length>G?M:Array(G-M.length+1).join(" ")+M}function Oe(M,G){for(var te=M.length,ie=0;;){var we=M.lastIndexOf(`
|
|
6
|
-
`,te-1);if(we===-1||(ie++,te=we,ie===G)||te===0)break}var pe=ie<G?0:te+1;return M.substring(pe).split(`
|
|
7
|
-
`)}function K(M){for(var G=Object.getOwnPropertyNames(M),te=[],ie=0;ie<G.length;ie++){var we=G[ie],pe=M[we],Ae=[].concat(pe);if(we==="include"){for(var ct=0;ct<Ae.length;ct++)te.push({include:Ae[ct]});continue}var Ue=[];Ae.forEach(function(ve){E(ve)?(Ue.length&&te.push(_t(we,Ue)),te.push(_t(we,ve)),Ue=[]):Ue.push(ve)}),Ue.length&&te.push(_t(we,Ue))}return te}function rt(M){for(var G=[],te=0;te<M.length;te++){var ie=M[te];if(ie.include){for(var we=[].concat(ie.include),pe=0;pe<we.length;pe++)G.push({include:we[pe]});continue}if(!ie.type)throw new Error("Rule has no type: "+JSON.stringify(ie));G.push(_t(ie.type,ie))}return G}function _t(M,G){if(E(G)||(G={match:G}),G.include)throw new Error("Matching rules cannot also include states");var te={defaultType:M,lineBreaks:!!G.error||!!G.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ie in G)f.call(G,ie)&&(te[ie]=G[ie]);if(typeof te.type=="string"&&M!==te.type)throw new Error("Type transform cannot be a string (type '"+te.type+"' for token '"+M+"')");var we=te.match;return te.match=Array.isArray(we)?we:we?[we]:[],te.match.sort(function(pe,Ae){return _(pe)&&_(Ae)?0:_(Ae)?-1:_(pe)?1:Ae.length-pe.length}),te}function Mt(M){return Array.isArray(M)?rt(M):K(M)}var rn=_t("error",{lineBreaks:!0,shouldThrow:!0});function Fn(M,G){for(var te=null,ie=Object.create(null),we=!0,pe=null,Ae=[],ct=[],Ue=0;Ue<M.length;Ue++)M[Ue].fallback&&(we=!1);for(var Ue=0;Ue<M.length;Ue++){var ve=M[Ue];if(ve.include)throw new Error("Inheritance is not allowed in stateless lexers");if(ve.error||ve.fallback){if(te)throw!ve.fallback==!te.fallback?new Error("Multiple "+(ve.fallback?"fallback":"error")+" rules not allowed (for token '"+ve.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+ve.defaultType+"')");te=ve}var kt=ve.match.slice();if(we)for(;kt.length&&typeof kt[0]=="string"&&kt[0].length===1;){var Ja=kt.shift();ie[Ja.charCodeAt(0)]=ve}if(ve.pop||ve.push||ve.next){if(!G)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+ve.defaultType+"')");if(ve.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+ve.defaultType+"')")}if(kt.length!==0){we=!1,Ae.push(ve);for(var tr=0;tr<kt.length;tr++){var ga=kt[tr];if(_(ga)){if(pe===null)pe=ga.unicode;else if(pe!==ga.unicode&&ve.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ei=j(kt.map(ae)),jn=new RegExp(ei);if(jn.test(""))throw new Error("RegExp matches empty string: "+jn);var no=I(ei);if(no>0)throw new Error("RegExp has capture groups: "+jn+`
|
|
8
|
-
Use (?: … ) instead`);if(!ve.lineBreaks&&jn.test(`
|
|
9
|
-
`))throw new Error("Rule should declare lineBreaks: "+jn);ct.push(R(ei))}}var ti=te&&te.fallback,ro=y&&!ti?"ym":"gm",Rs=y||ti?"":"|";pe===!0&&(ro+="u");var zq=new RegExp(j(ct)+Rs,ro);return{regexp:zq,groups:Ae,fast:ie,error:te||rn}}function Zr(M){var G=Fn(Mt(M));return new gt({start:G},"start")}function Er(M,G,te){var ie=M&&(M.push||M.next);if(ie&&!te[ie])throw new Error("Missing state '"+ie+"' (in token '"+M.defaultType+"' of state '"+G+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+G+"')")}function Sr(M,G){var te=M.$all?Mt(M.$all):[];delete M.$all;var ie=Object.getOwnPropertyNames(M);G||(G=ie[0]);for(var we=Object.create(null),pe=0;pe<ie.length;pe++){var Ae=ie[pe];we[Ae]=Mt(M[Ae]).concat(te)}for(var pe=0;pe<ie.length;pe++)for(var Ae=ie[pe],ct=we[Ae],Ue=Object.create(null),ve=0;ve<ct.length;ve++){var kt=ct[ve];if(kt.include){var Ja=[ve,1];if(kt.include!==Ae&&!Ue[kt.include]){Ue[kt.include]=!0;var tr=we[kt.include];if(!tr)throw new Error("Cannot include nonexistent state '"+kt.include+"' (in state '"+Ae+"')");for(var ga=0;ga<tr.length;ga++){var ei=tr[ga];ct.indexOf(ei)===-1&&Ja.push(ei)}}ct.splice.apply(ct,Ja),ve--}}for(var jn=Object.create(null),pe=0;pe<ie.length;pe++){var Ae=ie[pe];jn[Ae]=Fn(we[Ae],!0)}for(var pe=0;pe<ie.length;pe++){for(var no=ie[pe],ti=jn[no],ro=ti.groups,ve=0;ve<ro.length;ve++)Er(ro[ve],no,jn);for(var Rs=Object.getOwnPropertyNames(ti.fast),ve=0;ve<Rs.length;ve++)Er(ti.fast[Rs[ve]],no,jn)}return new gt(jn,G)}function kr(M){for(var G=typeof Map<"u",te=G?new Map:Object.create(null),ie=Object.getOwnPropertyNames(M),we=0;we<ie.length;we++){var pe=ie[we],Ae=M[pe],ct=Array.isArray(Ae)?Ae:[Ae];ct.forEach(function(Ue){if(typeof Ue!="string")throw new Error("keyword must be string (in keyword '"+pe+"')");G?te.set(Ue,pe):te[Ue]=pe})}return function(Ue){return G?te.get(Ue):te[Ue]}}var gt=function(M,G){this.startState=G,this.states=M,this.buffer="",this.stack=[],this.reset()};gt.prototype.reset=function(M,G){return this.buffer=M||"",this.index=0,this.line=G?G.line:1,this.col=G?G.col:1,this.queuedToken=G?G.queuedToken:null,this.queuedText=G?G.queuedText:"",this.queuedThrow=G?G.queuedThrow:null,this.setState(G?G.state:this.startState),this.stack=G&&G.stack?G.stack.slice():[],this},gt.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}},gt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var G=this.states[M];this.groups=G.groups,this.error=G.error,this.re=G.regexp,this.fast=G.fast}},gt.prototype.popState=function(){this.setState(this.stack.pop())},gt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Is=y?function(M,G){return M.exec(G)}:function(M,G){var te=M.exec(G);return te[0].length===0?null:te};gt.prototype._getGroup=function(M){for(var G=this.groups.length,te=0;te<G;te++)if(M[te+1]!==void 0)return this.groups[te];throw new Error("Cannot find token type for matched text")};function Ts(){return this.value}if(gt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var G=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",G}var te=this.buffer;if(M!==te.length){var Ae=this.fast[te.charCodeAt(M)];if(Ae)return this._token(Ae,te.charAt(M),M);var ie=this.re;ie.lastIndex=M;var we=Is(ie,te),pe=this.error;if(we==null)return this._token(pe,te.slice(M,te.length),M);var Ae=this._getGroup(we),ct=we[0];return pe.fallback&&we.index!==M?(this.queuedGroup=Ae,this.queuedText=ct,this._token(pe,te.slice(M,we.index),M)):this._token(Ae,ct,M)}},gt.prototype._token=function(M,G,te){var ie=0;if(M.lineBreaks){var we=/\n/g,pe=1;if(G===`
|
|
10
|
-
`)ie=1;else for(;we.exec(G);)ie++,pe=we.lastIndex}var Ae={type:typeof M.type=="function"&&M.type(G)||M.defaultType,value:typeof M.value=="function"?M.value(G):G,text:G,toString:Ts,offset:te,lineBreaks:ie,line:this.line,col:this.col},ct=G.length;if(this.index+=ct,this.line+=ie,ie!==0?this.col=ct-pe+1:this.col+=ct,M.shouldThrow){var Ue=new Error(this.formatError(Ae,"invalid syntax"));throw Ue}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ae},typeof Symbol<"u"&&Symbol.iterator){var Cr=function(M){this.lexer=M};Cr.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Cr.prototype[Symbol.iterator]=function(){return this},gt.prototype[Symbol.iterator]=function(){return new Cr(this)}}return gt.prototype.formatError=function(ie,G){if(ie==null)var te=this.buffer.slice(this.index),ie={text:te,offset:this.index,lineBreaks:te.indexOf(`
|
|
11
|
-
`)===-1?0:1,line:this.line,col:this.col};var we=2,pe=Math.max(ie.line-we,1),Ae=ie.line+we,ct=String(Ae).length,Ue=Oe(this.buffer,this.line-ie.line+we+1).slice(0,5),ve=[];ve.push(G+" at line "+ie.line+" col "+ie.col+":"),ve.push("");for(var kt=0;kt<Ue.length;kt++){var Ja=Ue[kt],tr=pe+kt;ve.push(ge(String(tr),ct)+" "+Ja),tr===ie.line&&ve.push(ge("",ct+ie.col+1)+"^")}return ve.join(`
|
|
12
|
-
`)},gt.prototype.clone=function(){return new gt(this.states,this.state)},gt.prototype.has=function(M){return!0},{compile:Zr,states:Sr,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:kr}})})(km);var lq=km.exports;(function(p){var f=Gu&&Gu.__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(lq);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(eo,"__esModule",{value:!0});var Cm=eo.parse=eo.ParseError=void 0;let Dm=Sm,Ss=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Uu=p=>p==="plural"||p==="select"||p==="selectordinal";function uq(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 jt(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 cq=["number","date","time","spellout","ordinal","duration"],Im=["zero","one","two","few","many","other"];class jt extends Error{constructor(f,b){super(Dm.lexer.formatError(f,b))}}eo.ParseError=jt;class dq{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 jt(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 jt(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 jt(I,"Unexpected plural offset for select");if(C.cases.length>0)throw new jt(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 jt(I,`Unexpected lexer token: ${I.type}`)}throw new jt(null,"Unexpected message end")}parseArgToken(f,b){let y=Ss(f),_=this.lexer.next();if(!_)throw new jt(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!cq.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new jt(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 jt(null,"Unexpected message end");if(E.type!=="end")throw new jt(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,Uu(_.value.toLowerCase()))throw new jt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(Uu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new jt(_,C)}let E=this.parseBody(this.strict?!1:b);return this.strict&&E.length>0&&(E=uq(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(Uu(_.value))return this.parseSelect(f,b,y,_.value);throw new jt(_,`Unexpected select type ${_.value}`);default:throw new jt(_,`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 jt(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 jt(null,"Unexpected message end")}}function hq(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new dq(p,f).parse()}Cm=eo.parse=hq;function to(p){return to[p]||(to[p]=new Intl.NumberFormat(p))}function pq(p,f,b){return to(p).format(f-b)}function mq(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return to(p).format(_)}function fq(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 gq(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function vq(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 bq=Object.freeze({__proto__:null,_nf:to,number:pq,plural:fq,reqArgs:vq,select:gq,strictNumber:mq});function yq(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 _q(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 wq(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 xq=function(p,f,b){return ks(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Eq=function(p,f){return ks(f,{maximumFractionDigits:0}).format(p)},Sq=function(p,f){return ks(f,{style:"percent"}).format(p)};function kq(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 Wu=Object.freeze({__proto__:null,date:yq,duration:_q,numberCurrency:xq,numberFmt:wq,numberInteger:Eq,numberPercent:Sq,time:kq}),Cq={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}},Yu=sq(Cq);function Dq(p){let f=0;for(let b=0;b<p.length;++b){let y=p.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function Ur(p,f){f&&(p+=" "+Dq(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return Yu.ES3[b]||Yu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function Ku(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Yu.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var Iq=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Tq=new RegExp("^"+Iq.join("|^"));function Rq(p,f){var b=Tq.test(f),y=JSON.stringify(b?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var Oq="@messageformat/runtime",Nq="@messageformat/runtime/lib/cardinals",Tm="@messageformat/runtime/lib/plurals",Mq="@messageformat/runtime/lib/formatters",Aq=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,j=I.requireAllArguments,ae=I.strict,ge=I.strictPluralKeys;if(typeof f=="object"){var Oe={};try{for(var K=n(Object.keys(f)),rt=K.next();!rt.done;rt=K.next()){var _t=rt.value,Mt=R?R(_t):_t,rn=y&&Mt&&y[Mt]||b;Oe[_t]=this.compile(f[_t],rn,y)}}catch(gt){_={error:gt}}finally{try{rt&&!rt.done&&(E=K.return)&&E.call(K)}finally{if(_)throw _.error}}return Oe}this.plural=b;var Fn={cardinal:b.cardinals,ordinal:b.ordinals,strict:ae,strictPluralKeys:ge};this.arguments=[];var Zr=Cm(f,Fn).map(function(gt){return C.token(gt,null)}),Er=this.arguments.length>0,Sr=this.concatenate(Zr,!0);if(j&&Er){this.setRuntimeFn("reqArgs");var kr=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(kr,", d); return ").concat(Sr,"; }")}return"(".concat(Er?"d":"",") => ").concat(Sr)},p.prototype.cases=function(f,b){var y=this,_=!0,E=f.cases.map(function(ae){var ge=ae.key,Oe=ae.tokens;ge==="other"&&(_=!1);var K=Oe.map(function(rt){return y.token(rt,b)});return"".concat(Ku(null,ge.replace(/^=/,"")),": ").concat(y.concatenate(K,!1))});if(_){var C=f.type,I=this.plural,R=I.cardinals,j=I.ordinals;if(C==="select"||C==="plural"&&R.includes("other")||C==="selectordinal"&&j.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=[Ku("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?Rq(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],j=R&&"module"in R&&typeof R.module=="function";if(!R){if(f.key==="date"){I=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){I=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var ae=this.getFormatterArg(f,b);ae&&C.push(ae)}I=j?Ur("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),Ku("d",b.arg),b.pluralOffset||0],this.options.strict?(I="strictNumber",C.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(I="number",this.setRuntimeFn("number"));break}if(!I)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(I,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,b){if(Ur(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},p.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,C=_.getPlural,I=_.isDefault,R,j,ae;if(!b&&I&&E){if(y)return;R=function(ge){return E(ge)},j=Nq,ae=function(){return String(E)}}else{if(y&&(!I||y.module===Tm))return;R=function(ge,Oe){return C(ge,Oe)},j=I?Tm:C.module||null,ae=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:j,toString:ae,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(bq[f],{id:f,module:Oq,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,E,C,I=this,R=f.key,j=f.param,ae=this.options.customFormatters[R]||Rm(R)&&Wu[R];if(!ae||!j)return null;var ge="arg"in ae&&ae.arg||"string";if(ge==="options"){var Oe="";try{for(var K=n(j),rt=K.next();!rt.done;rt=K.next()){var _t=rt.value;if(_t.type==="content")Oe+=_t.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Cr){y={error:Cr}}finally{try{rt&&!rt.done&&(_=K.return)&&_.call(K)}finally{if(y)throw y.error}}var Mt={};try{for(var rn=n(Oe.split(",")),Fn=rn.next();!Fn.done;Fn=rn.next()){var Zr=Fn.value,Er=Zr.indexOf(":");if(Er===-1)Mt[Zr.trim()]=null;else{var Sr=Zr.substring(0,Er).trim(),kr=Zr.substring(Er+1).trim();if(kr==="true")Mt[Sr]=!0;else if(kr==="false")Mt[Sr]=!1;else if(kr==="null")Mt[Sr]=null;else{var gt=Number(kr);Mt[Sr]=Number.isFinite(gt)?gt:kr}}}}catch(Cr){E={error:Cr}}finally{try{Fn&&!Fn.done&&(C=rn.return)&&C.call(rn)}finally{if(E)throw E.error}}return JSON.stringify(Mt)}else{var Is=j.map(function(Cr){return I.token(Cr,b)});if(ge==="raw")return"[".concat(Is.join(", "),"]");var Ts=Is.join(" + ");return Ts?"(".concat(Ts,").trim()"):'""'}},p.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),r(r({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Ur(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(Rm(f))this.runtime[f]=Object.assign(Wu[f],{type:"formatter"},{id:f,module:Mq});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),j=Ur("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(j,"formatter")){var ae=Ot(C,R,this.options.timeZone);this.runtime[j]=Object.assign(ae,{id:j,module:null,toString:function(){return yt(C,R,_.options.timeZone)},type:"formatter"})}return j}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 j=Ur("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(j,"formatter")){var ae=this.options.currency,ge=iq(C,I,ae);this.runtime[j]=Object.assign(ge,{id:null,module:null,toString:function(){return oq(C,I,ae)},type:"formatter"})}return j}y&&this.options.strict&&(y=null);var Oe=E.map(function(K){return _.token(K,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 Wu}let q=p=>p==1?"one":"other",br=p=>p==0||p==1?"one":"other",Jn=p=>p>=0&&p<=1?"one":"other",Ht=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},Pe=p=>"other",yr=p=>p==1?"one":p==2?"two":"other";var Pq=Object.freeze({__proto__:null,af:q,ak:br,am:Jn,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:Jn,asa:q,ast:Ht,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:br,bm:Pe,bn:Jn,bo:Pe,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:Ht,doi:Jn,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:Pe,ee:q,el:q,en:Ht,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:Ht,eu:q,fa:Jn,ff:p=>p>=0&&p<2?"one":"other",fi:Ht,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:Ht,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:Ht,gsw:q,gu:Jn,guw:br,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:Jn,hnj:Pe,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:Ht,id:Pe,ig:Pe,ii:Pe,io:Ht,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:yr,ja:Pe,jbo:Pe,jgo:q,jmc:q,jv:Pe,jw:Pe,ka:q,kab:p=>p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Pe,kea:Pe,kk:q,kkj:q,kl:q,km:Pe,kn:Jn,ko:Pe,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:Ht,lkt:Pe,ln:br,lo:Pe,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:br,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:Pe,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:Pe,nah:q,naq:yr,nb:q,nd:q,ne:q,nl:Ht,nn:q,nnh:q,no:q,nqo:Pe,nr:q,nso:br,ny:q,nyn:q,om:q,or:q,os:q,osa:Pe,pa:br,pap:q,pcm:Jn,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:Pe,saq:q,sat:yr,sc:Ht,scn:Ht,sd:q,sdh:q,se:yr,seh:q,ses:Pe,sg:Pe,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:yr,smi:yr,smj:yr,smn:yr,sms:yr,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:Pe,sv:Ht,sw:Ht,syr:q,ta:q,te:q,teo:q,th:Pe,ti:br,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:Pe,tpi:Pe,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:Pe,ur:Ht,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:Pe,vo:q,vun:q,wa:br,wae:q,wo:Pe,xh:q,xog:q,yi:Ht,yo:Pe,yue:Pe,zh:Pe,zu:Jn});let _r="zero",Z="one",ut="two",ke="few",De="many",A="other",P={cardinal:[Z,A],ordinal:[A]},fa={cardinal:[Z,A],ordinal:[Z,A]},He={cardinal:[A],ordinal:[A]},er={cardinal:[Z,ut,A],ordinal:[A]};var Om=Object.freeze({__proto__:null,af:P,ak:P,am:P,an:P,ar:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[A]},ars:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[A]},as:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},asa:P,ast:P,az:{cardinal:[Z,A],ordinal:[Z,ke,De,A]},bal:fa,be:{cardinal:[Z,ke,De,A],ordinal:[ke,A]},bem:P,bez:P,bg:P,bho:P,bm:He,bn:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},bo:He,br:{cardinal:[Z,ut,ke,De,A],ordinal:[A]},brx:P,bs:{cardinal:[Z,ke,A],ordinal:[A]},ca:{cardinal:[Z,De,A],ordinal:[Z,ut,ke,A]},ce:P,ceb:P,cgg:P,chr:P,ckb:P,cs:{cardinal:[Z,ke,De,A],ordinal:[A]},cy:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[_r,Z,ut,ke,De,A]},da:P,de:P,doi:P,dsb:{cardinal:[Z,ut,ke,A],ordinal:[A]},dv:P,dz:He,ee:P,el:P,en:{cardinal:[Z,A],ordinal:[Z,ut,ke,A]},eo:P,es:{cardinal:[Z,De,A],ordinal:[A]},et:P,eu:P,fa:P,ff:P,fi:P,fil:fa,fo:P,fr:{cardinal:[Z,De,A],ordinal:[Z,A]},fur:P,fy:P,ga:{cardinal:[Z,ut,ke,De,A],ordinal:[Z,A]},gd:{cardinal:[Z,ut,ke,A],ordinal:[Z,ut,ke,A]},gl:P,gsw:P,gu:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},guw:P,gv:{cardinal:[Z,ut,ke,De,A],ordinal:[A]},ha:P,haw:P,he:er,hi:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},hnj:He,hr:{cardinal:[Z,ke,A],ordinal:[A]},hsb:{cardinal:[Z,ut,ke,A],ordinal:[A]},hu:fa,hy:fa,ia:P,id:He,ig:He,ii:He,io:P,is:P,it:{cardinal:[Z,De,A],ordinal:[De,A]},iu:er,ja:He,jbo:He,jgo:P,jmc:P,jv:He,jw:He,ka:{cardinal:[Z,A],ordinal:[Z,De,A]},kab:P,kaj:P,kcg:P,kde:He,kea:He,kk:{cardinal:[Z,A],ordinal:[De,A]},kkj:P,kl:P,km:He,kn:P,ko:He,ks:P,ksb:P,ksh:{cardinal:[_r,Z,A],ordinal:[A]},ku:P,kw:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[Z,De,A]},ky:P,lag:{cardinal:[_r,Z,A],ordinal:[A]},lb:P,lg:P,lij:{cardinal:[Z,A],ordinal:[De,A]},lkt:He,ln:P,lo:{cardinal:[A],ordinal:[Z,A]},lt:{cardinal:[Z,ke,De,A],ordinal:[A]},lv:{cardinal:[_r,Z,A],ordinal:[A]},mas:P,mg:P,mgo:P,mk:{cardinal:[Z,A],ordinal:[Z,ut,De,A]},ml:P,mn:P,mo:{cardinal:[Z,ke,A],ordinal:[Z,A]},mr:{cardinal:[Z,A],ordinal:[Z,ut,ke,A]},ms:{cardinal:[A],ordinal:[Z,A]},mt:{cardinal:[Z,ut,ke,De,A],ordinal:[A]},my:He,nah:P,naq:er,nb:P,nd:P,ne:fa,nl:P,nn:P,nnh:P,no:P,nqo:He,nr:P,nso:P,ny:P,nyn:P,om:P,or:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},os:P,osa:He,pa:P,pap:P,pcm:P,pl:{cardinal:[Z,ke,De,A],ordinal:[A]},prg:{cardinal:[_r,Z,A],ordinal:[A]},ps:P,pt:{cardinal:[Z,De,A],ordinal:[A]},pt_PT:{cardinal:[Z,De,A],ordinal:[A]},rm:P,ro:{cardinal:[Z,ke,A],ordinal:[Z,A]},rof:P,ru:{cardinal:[Z,ke,De,A],ordinal:[A]},rwk:P,sah:He,saq:P,sat:er,sc:{cardinal:[Z,A],ordinal:[De,A]},scn:{cardinal:[Z,A],ordinal:[De,A]},sd:P,sdh:P,se:er,seh:P,ses:He,sg:He,sh:{cardinal:[Z,ke,A],ordinal:[A]},shi:{cardinal:[Z,ke,A],ordinal:[A]},si:P,sk:{cardinal:[Z,ke,De,A],ordinal:[A]},sl:{cardinal:[Z,ut,ke,A],ordinal:[A]},sma:er,smi:er,smj:er,smn:er,sms:er,sn:P,so:P,sq:{cardinal:[Z,A],ordinal:[Z,De,A]},sr:{cardinal:[Z,ke,A],ordinal:[A]},ss:P,ssy:P,st:P,su:He,sv:fa,sw:P,syr:P,ta:P,te:P,teo:P,th:He,ti:P,tig:P,tk:{cardinal:[Z,A],ordinal:[ke,A]},tl:fa,tn:P,to:He,tpi:He,tr:P,ts:P,tzm:P,ug:P,uk:{cardinal:[Z,ke,De,A],ordinal:[ke,A]},und:He,ur:P,uz:P,ve:P,vec:{cardinal:[Z,De,A],ordinal:[De,A]},vi:{cardinal:[A],ordinal:[Z,A]},vo:P,vun:P,wa:P,wae:P,wo:He,xh:P,xog:P,yi:P,yo:He,yue:He,zh:He,zu:P});let W=(p,f)=>f?"other":p==1?"one":"other",wr=(p,f)=>f?"other":p==0||p==1?"one":"other",Xa=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Cn=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},qe=(p,f)=>"other",xr=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Cs=Object.freeze({__proto__:null,af:W,ak:wr,am:Xa,an:W,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:W,ast:Cn,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:W,bez:W,bg:W,bho:wr,bm:qe,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:qe,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:W,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),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>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:W,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:W,chr:W,ckb:W,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:Cn,doi:Xa,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},dv:W,dz:qe,ee:W,el:W,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:W,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:Cn,eu:W,fa:Xa,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Cn,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:W,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:W,fy:Cn,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:Cn,gsw:W,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:wr,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:W,haw:W,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:qe,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),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>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:Cn,id:qe,ig:qe,ii:qe,io:Cn,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:xr,ja:qe,jbo:qe,jgo:W,jmc:W,jv:qe,jw:qe,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:W,kcg:W,kde:qe,kea:qe,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:W,kl:W,km:qe,kn:Xa,ko:qe,ks:W,ksb:W,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:W,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:W,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:W,lg:W,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:qe,ln:wr,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),j=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&j==1&&R!=11||_!=2&&j==1?"one":"other"},mas:W,mg:wr,mgo:W,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),j=_.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&&j!=11?"one":"other"},ml:W,mn:W,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:qe,nah:W,naq:xr,nb:W,nd:W,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:Cn,nn:W,nnh:W,no:W,nqo:qe,nr:W,nso:wr,ny:W,nyn:W,om:W,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:W,osa:qe,pa:wr,pap:W,pcm:Xa,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),j=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&j==1&&R!=11||_!=2&&j==1?"one":"other"},ps:W,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:W,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:W,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:W,sah:qe,saq:W,sat:xr,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:W,sdh:W,se:xr,seh:W,ses:qe,sg:qe,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),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>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:xr,smi:xr,smj:xr,smn:xr,sms:xr,sn:W,so:W,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),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>14)?"few":"other"},ss:W,ssy:W,st:W,su:qe,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:Cn,syr:W,ta:W,te:W,teo:W,th:qe,ti:wr,tig:W,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:W,to:qe,tpi:qe,tr:W,ts:W,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:W,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),j=y.slice(-2);return f?C==3&&I!=13?"few":"other":_&&R==1&&j!=11?"one":_&&R>=2&&R<=4&&(j<12||j>14)?"few":_&&R==0||_&&R>=5&&R<=9||_&&j>=11&&j<=14?"many":"other"},und:qe,ur:Cn,uz:W,ve:W,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:W,vun:W,wa:wr,wae:W,wo:qe,xh:W,xog:W,yi:Cn,yo:qe,yue:qe,zh:qe,zu:Xa});function Qu(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=Qu(p.name);return{isDefault:!1,id:Ur(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=Qu(p),y=Ur(b);return jq(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:Pq[y],getPlural:Cs[y],cardinals:Om[y].cardinal,ordinals:Om[y].ordinal}:null}function Lq(p){var f=Object.keys(Cs).filter(function(b){return b!==p});return f.unshift(p),f.map(Ds)}function Fq(p){var f=Qu(p);return Ur(f)in Cs}function jq(p){return p in Cs}var Vq=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=Lq(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(Fq)},p.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new Aq(this.options),E="return "+_.compile(f,this.plurals[0]),C=[],I=[];try{for(var R=n(Object.entries(_.runtime)),j=R.next();!j.done;j=R.next()){var ae=a(j.value,2),ge=ae[0],Oe=ae[1];C.push(ge),I.push(Oe)}}catch(rt){b={error:rt}}finally{try{j&&!j.done&&(y=R.return)&&y.call(R)}finally{if(b)throw b.error}}var K=new(Function.bind.apply(Function,i(i([void 0],a(C),!1),[E],!1)));return K.apply(void 0,i([],a(I),!1))},p.defaultLocale="en",p}();return Vq})}),En=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var r=function n(a,i){t(this,n),this.data=a,this.text=i.text||a,this.options=i};e.default=r}),Xq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function k(D,O){for(var N=0;N<O.length;N++){var X=O[N];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(D,X.key,X)}}return function(D,O,N){return O&&k(D.prototype,O),N&&k(D,N),D}}(),r=En(),n=a(r);function a(k){return k&&k.__esModule?k:{default:k}}function i(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function o(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function l(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var u=function(k){l(D,k);function D(O,N){return i(this,D),O=O.toUpperCase(),N.mod43&&(O+=g(x(O))),o(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,O,N))}return t(D,[{key:"encode",value:function(){for(var O=m("*"),N=0;N<this.data.length;N++)O+=m(this.data[N])+"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}),Yo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(c,d,m){return d in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}var n=e.SET_A=0,a=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},r(t,o,n),r(t,l,a),r(t,u,i),t),e.SWAP={101:n,100:a,99:i},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),lu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=En(),n=i(r),a=Yo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return w.bytes=v.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,w=a.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var x=m.next(v,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,w){if(!v.length)return{result:"",checksum:0};var x=void 0,k=void 0;if(v[0]>=200){k=v.shift()-105;var D=a.SWAP[k];D!==void 0?x=m.next(v,g+1,D):((w===a.SET_A||w===a.SET_B)&&k===a.SHIFT&&(v[0]=w===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),x=m.next(v,g+1,w))}else k=m.correctIndex(v,w),x=m.next(v,g+1,w);var O=m.getBar(k),N=k*g;return{result:O+x.result,checksum:N+x.checksum}}}]),m}(n.default);e.default=c}),Jq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Yo(),r=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function i(l,u){var c=u?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+i(l.substring(m.length),!u)}function o(l){var u=a(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var d=r(l)>=n(l);return u+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var u=void 0,c=a(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var d=r(l)>n(l);u=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),e$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=lu(),r=i(t),n=Jq(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(w)}return m}(r.default);e.default=c}),t$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=lu(),n=i(r),a=Yo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),n$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=lu(),n=i(r),a=Yo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),r$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=lu(),n=i(r),a=Yo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),a$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=e$(),r=c(t),n=t$(),a=c(n),i=n$(),o=c(i),l=r$(),u=c(l);function c(d){return d&&d.__esModule?d:{default:d}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=u.default}),Ko=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"]}),Qo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ko(),r=function(n,a,i){var o=n.split("").map(function(u,c){return t.BINARIES[a[c]]}).map(function(u,c){return u?u[n[c]]:""});if(i){var l=n.length-1;o=o.map(function(u,c){return c<l?u+i:u})}return o.join("")};e.default=r}),Iv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=Ko(),n=Qo(),a=l(n),i=En(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){u(this,g);var k=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:r.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:r.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:r.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),i$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=function v(g,w,x){g===null&&(g=Function.prototype);var k=Object.getOwnPropertyDescriptor(g,w);if(k===void 0){var D=Object.getPrototypeOf(g);return D===null?void 0:v(D,w,x)}else{if("value"in k)return k.value;var O=k.get;return O===void 0?void 0:O.call(x)}},n=Ko(),a=Iv(),i=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){var g=v.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,k){return k%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.lastChar=x.lastChar,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),o$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(v,x.key,x)}}return function(v,g,w){return g&&m(v.prototype,g),w&&m(v,w),v}}(),r=function m(v,g,w){v===null&&(v=Function.prototype);var x=Object.getOwnPropertyDescriptor(v,g);if(x===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,g,w)}else{if("value"in x)return x.value;var D=x.get;return D===void 0?void 0:D.call(w)}},n=Iv(),a=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-v%10)%10},d=function(m){u(v,m);function v(g,w){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,w))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=d}),s$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var k=0;k<x.length;k++){var D=x[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,x,k){return x&&g(w.prototype,x),k&&g(w,k),w}}(),r=Ko(),n=Qo(),a=l(n),i=En(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function c(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function d(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,k,D){return D%2?x+k*9:x+k*3},0);return w%10},v=function(g){d(w,g);function w(x,k){return u(this,w),c(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,k))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=r.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=v}),l$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=Ko(),n=Qo(),a=l(n),i=En(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),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}}();e.checksum=m;var r=Qo(),n=o(r),a=En(),i=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.displayValue=x.displayValue,x.fontSize>x.width*10?k.fontSize=x.width*10:k.fontSize=x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(i.default);function m(v){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(v[w]);for(w=0;w<11;w+=2)g+=parseInt(v[w])*3;return(10-g%10)%10}e.default=d}),u$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(k,D){for(var O=0;O<D.length;O++){var N=D[O];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,N.key,N)}}return function(k,D,O){return D&&x(k.prototype,D),O&&x(k,O),k}}(),r=Qo(),n=l(r),a=En(),i=l(a),o=Tv();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 N=c(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D,O));if(N.isValid=!1,D.search(/^[0-9]{6}$/)!==-1)N.middleDigits=D,N.upcA=w(D,"0"),N.text=O.text||""+N.upcA[0]+D+N.upcA[N.upcA.length-1],N.isValid=!0;else if(D.search(/^[01][0-9]{7}$/)!==-1)if(N.middleDigits=D.substring(1,D.length-1),N.upcA=w(N.middleDigits,D[0]),N.upcA[N.upcA.length-1]===D[D.length-1])N.isValid=!0;else return c(N);else return c(N);return N.displayValue=O.displayValue,O.fontSize>O.width*10?N.fontSize=O.width*10:N.fontSize=O.fontSize,N.guardHeight=O.height+N.fontSize/2+O.textMargin,N}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],N=v[parseInt(O)][parseInt(D)];return(0,n.default)(this.middleDigits,N)}}]),k}(i.default);function w(x,k){for(var D=parseInt(x[x.length-1]),O=m[D],N="",X=0,ue=0;ue<O.length;ue++){var _e=O[ue];_e==="X"?N+=x[X++]:N+=_e}return N=""+k+N,""+N+(0,o.checksum)(N)}e.default=g}),c$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=i$(),r=g(t),n=o$(),a=g(n),i=s$(),o=g(i),l=l$(),u=g(l),c=Tv(),d=g(c),m=u$(),v=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=d.default,e.UPCE=v.default}),d$=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"]}),Rv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=d$(),n=En(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(w){return v.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=r.BINARIES[v[1]];return r.BINARIES[v[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=c}),h$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=Rv(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){var m=d.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,w){return v+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},c=function(d){l(m,d);function m(v,g){return i(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),p$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Rv(),r=i(t),n=h$(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=a.default}),Xo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=En(),n=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){l(m,d);function m(v,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=c(x,4-x.length);for(var k=0;k<x.length;k++)v+=x[k]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(d,m){for(var v=0;v<m;v++)d="0"+d;return d}e.default=u}),uu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=r;function t(n){for(var a=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function r(n){for(var a=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=i[o%i.length]*l}return(11-a%11)%11}}),m$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=a(t),n=uu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),v))}return d}(r.default);e.default=u}),f$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=a(t),n=uu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),v))}return d}(r.default);e.default=u}),g$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=a(t),n=uu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(r.default);e.default=u}),v$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=a(t),n=uu();function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(r.default);e.default=u}),b$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Xo(),r=m(t),n=m$(),a=m(n),i=f$(),o=m(i),l=g$(),u=m(l),c=v$(),d=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=d.default}),y$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=En(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v));return g.number=parseInt(m,10),g}return t(d,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=u}),_$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=En(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(d,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),d}(n.default);e.codabar=u}),w$=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"]}}),Ov=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),r=w$(),n=En(),a=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(k){return r.MULTI_SYMBOLS[k]||k}),g=v.map(function(k){return m.getEncoding(k)}).join(""),w=m.checksum(v,20),x=m.checksum(v.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return r.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return r.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return r.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var w=v.slice().reverse().reduce(function(x,k,D){var O=D%g+1;return x+m.symbolValue(k)*O},0);return m.getSymbol(w%47)}}]),m}(a.default);e.default=c}),x$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=Ov(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=u}),E$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Ov(),r=i(t),n=x$(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=a.default}),S$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=En(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=u}),k$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xq(),r=a$(),n=c$(),a=p$(),i=b$(),o=y$(),l=_$(),u=E$(),c=S$();e.default={CODE39:t.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),cu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r};e.default=function(r,n){return t({},r,n)}}),C$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=[];function a(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)a(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return a(r),n}}),D$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.marginTop=r.marginTop||r.margin,r.marginBottom=r.marginBottom||r.margin,r.marginRight=r.marginRight||r.margin,r.marginLeft=r.marginLeft||r.margin,r}}),Nv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof r[a]=="string"&&(r[a]=parseInt(r[a],10)));return typeof r.displayValue=="string"&&(r.displayValue=r.displayValue!="false"),r}}),Mv=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}),I$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nv(),r=i(t),n=Mv(),a=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in a.default)a.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,r.default)(u),u}e.default=o}),Av=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=cu(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function a(d,m){return m.height+(m.displayValue&&d.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(d,m,v){if(v.displayValue&&m<d){if(v.textAlign=="center")return Math.floor((d-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(d-m)}return 0}function o(d,m,v){for(var g=0;g<d.length;g++){var w=d[g],x=(0,r.default)(m,w.options),k;x.displayValue?k=c(w.text,x,v):k=0;var D=w.data.length*x.width;w.width=Math.ceil(Math.max(k,D)),w.height=a(w,x),w.barcodePadding=i(k,D,x)}}function l(d){for(var m=0,v=0;v<d.length;v++)m+=d[v].width;return m}function u(d){for(var m=0,v=0;v<d.length;v++)d[v].height>m&&(m=d[v].height);return m}function c(d,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=a,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),T$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,d){for(var m=0;m<d.length;m++){var v=d[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,d,m){return d&&u(c.prototype,d),m&&u(c,m),c}}(),r=cu(),n=i(r),a=Av();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l=function(){function u(c,d,m){o(this,u),this.canvas=c,this.encodings=d,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var d=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(d,this.encodings[c]),this.drawCanvasText(d,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,c);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=d+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,d){var m=this.canvas.getContext("2d"),v=d.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var w=0;w<v.length;w++){var x=w*c.width+d.barcodePadding;v[w]==="1"?m.fillRect(x,g,c.width,c.height):v[w]&&m.fillRect(x,g,c.width,c.height*v[w])}}},{key:"drawCanvasText",value:function(c,d){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,w;c.textPosition=="top"?w=c.marginTop+c.fontSize-c.textMargin:w=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||d.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=d.width-1,m.textAlign="right"):(g=d.width/2,m.textAlign="center"),m.fillText(d.text,g,w)}}},{key:"moveCanvasDrawing",value:function(c){var d=this.canvas.getContext("2d");d.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),R$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),r=cu(),n=i(r),a=Av();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(d,m,v){o(this,c),this.svg=d,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,v),this.drawSVGText(w,g,v),d+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(d,m,v){var g=v.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,k=0,D=0;D<g.length;D++)k=D*m.width+v.barcodePadding,g[D]==="1"?x++:x>0&&(this.drawRect(k-m.width*x,w,m.width*x,m.height,d),x=0);x>0&&this.drawRect(k-m.width*(x-1),w,m.width*x,m.height,d)}},{key:"drawSVGText",value:function(d,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var w,x;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?x=m.fontSize-m.textMargin:x=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=v.width-1,g.setAttribute("text-anchor","end")):(w=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(v.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,m){var v=this.svg;v.setAttribute("width",d+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+d+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1"),v.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(d,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(d,m){d.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(d,m,v,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",m),x.setAttribute("width",v),x.setAttribute("height",g),w.appendChild(x),x}}]),c}();e.default=u}),O$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i,o,l){r(this,a),this.object=i,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),N$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=T$(),r=l(t),n=R$(),a=l(n),i=O$(),o=l(i);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),Pv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function r(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var a=function(l){n(u,l);function u(c,d){t(this,u);var m=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),i=function(l){n(u,l);function u(){t(this,u);var c=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=a,e.InvalidElementException=i,e.NoElementException=o}),M$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},r=I$(),n=l(r),a=N$(),i=l(a),o=Pv();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return d(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],w=0;w<v.length;w++)g.push(u(v[w]));return g}}function d(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),A$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i){r(this,a),this.api=i}return t(a,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),P$=se((e,t)=>{var r=k$(),n=N(r),a=cu(),i=N(a),o=C$(),l=N(o),u=D$(),c=N(u),d=M$(),m=N(d),v=Nv(),g=N(v),w=A$(),x=N(w),k=Pv(),D=Mv(),O=N(D);function N(Q){return Q&&Q.__esModule?Q:{default:Q}}var X=function(){},ue=function(Q,U,xe){var L=new X;if(typeof Q>"u")throw Error("No element to render on was provided.");return L._renderProperties=(0,m.default)(Q),L._encodings=[],L._options=O.default,L._errorHandler=new x.default(L),typeof U<"u"&&(xe=xe||{},xe.format||(xe.format=tt()),L.options(xe)[xe.format](U,xe).render()),L};ue.getModule=function(Q){return n.default[Q]};for(_e in n.default)n.default.hasOwnProperty(_e)&&Ot(n.default,_e);var _e;function Ot(Q,U){X.prototype[U]=X.prototype[U.toUpperCase()]=X.prototype[U.toLowerCase()]=function(xe,L){var H=this;return H._errorHandler.wrapBarcodeCall(function(){L.text=typeof L.text>"u"?void 0:""+L.text;var Y=(0,i.default)(H._options,L);Y=(0,g.default)(Y);var Te=Q[U],Qe=yt(xe,Te,Y);return H._encodings.push(Qe),H})}}function yt(Q,U,xe){Q=""+Q;var L=new U(Q,xe);if(!L.valid())throw new k.InvalidInputException(L.constructor.name,Q);var H=L.encode();H=(0,l.default)(H);for(var Y=0;Y<H.length;Y++)H[Y].options=(0,i.default)(xe,H[Y].options);return H}function tt(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}X.prototype.options=function(Q){return this._options=(0,i.default)(this._options,Q),this},X.prototype.blank=function(Q){var U=new Array(Q+1).join("0");return this._encodings.push({data:U}),this},X.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Q;for(var U in this._renderProperties){Q=this._renderProperties[U];var xe=(0,i.default)(this._options,Q.options);xe.format=="auto"&&(xe.format=tt()),this._errorHandler.wrapBarcodeCall(function(){var L=xe.value,H=n.default[xe.format.toUpperCase()],Y=yt(L,H,xe);St(Q,Y,xe)})}}},X.prototype.render=function(){if(!this._renderProperties)throw new k.NoElementException;if(Array.isArray(this._renderProperties))for(var Q=0;Q<this._renderProperties.length;Q++)St(this._renderProperties[Q],this._encodings,this._options);else St(this._renderProperties,this._encodings,this._options);return this},X.prototype._defaults=O.default;function St(Q,U,xe){U=(0,l.default)(U);for(var L=0;L<U.length;L++)U[L].options=(0,i.default)(xe,U[L].options),(0,c.default)(U[L].options);(0,c.default)(xe);var H=Q.renderer,Y=new H(Q.element,U,xe);Y.render(),Q.afterRender&&Q.afterRender()}typeof window<"u"&&(window.JsBarcode=ue),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Q,U){var xe=[];return jQuery(this).each(function(){xe.push(this)}),ue(xe,Q,U)}),t.exports=ue});function bh(e,t){return Object.is(e,t)}var wt=null,rl=!1,yh=1,mn=Symbol("SIGNAL");function Ie(e){let t=wt;return wt=e,t}function L$(){return wt}var Fi={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 Jo(e){if(rl)throw new Error("");if(wt===null)return;wt.consumerOnSignalRead(e);let t=wt.nextProducerIndex++;if(mu(wt),t<wt.producerNode.length&&wt.producerNode[t]!==e&&Co(wt)){let r=wt.producerNode[t];pu(r,wt.producerIndexOfThis[t])}wt.producerNode[t]!==e&&(wt.producerNode[t]=e,wt.producerIndexOfThis[t]=Co(wt)?jv(e,wt,t):0),wt.producerLastReadVersion[t]=e.version}function F$(){yh++}function es(e){if(!(Co(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===yh)){if(!e.producerMustRecompute(e)&&!_h(e)){wl(e);return}e.producerRecomputeValue(e),wl(e)}}function Lv(e){if(e.liveConsumerNode===void 0)return;let t=rl;rl=!0;try{for(let r of e.liveConsumerNode)r.dirty||j$(r)}finally{rl=t}}function Fv(){return(wt==null?void 0:wt.consumerAllowSignalWrites)!==!1}function j$(e){var t;e.dirty=!0,Lv(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function wl(e){e.dirty=!1,e.lastCleanEpoch=yh}function ko(e){return e&&(e.nextProducerIndex=0),Ie(e)}function du(e,t){if(Ie(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Co(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)pu(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _h(e){mu(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(es(r),n!==r.version))return!0}return!1}function hu(e){if(mu(e),Co(e))for(let t=0;t<e.producerNode.length;t++)pu(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 jv(e,t,r){if(Vv(e),e.liveConsumerNode.length===0&&zv(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=jv(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function pu(e,t){if(Vv(e),e.liveConsumerNode.length===1&&zv(e))for(let n=0;n<e.producerNode.length;n++)pu(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];mu(a),a.producerIndexOfThis[n]=t}}function Co(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function mu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Vv(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function zv(e){return e.producerNode!==void 0}function V$(e,t){let r=Object.create(z$);r.computation=e,t!==void 0&&(r.equal=t);let n=()=>{if(es(r),Jo(r),r.value===ia)throw r.error;return r.value};return n[mn]=r,n}var Ia=Symbol("UNSET"),pi=Symbol("COMPUTING"),ia=Symbol("ERRORED"),z$=Ut(ce({},Fi),{value:Ia,dirty:!0,error:null,equal:bh,kind:"computed",producerMustRecompute(e){return e.value===Ia||e.value===pi},producerRecomputeValue(e){if(e.value===pi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=pi;let r=ko(e),n,a=!1;try{n=e.computation(),Ie(null),a=t!==Ia&&t!==ia&&n!==ia&&e.equal(t,n)}catch(i){n=ia,e.error=i}finally{du(e,r)}if(a){e.value=t;return}e.value=n,e.version++}});function B$(){throw new Error}var Bv=B$;function Hv(e){Bv(e)}function H$(e){Bv=e}function q$(e,t){let r=Object.create($v);r.value=e,t!==void 0&&(r.equal=t);let n=()=>(Jo(r),r.value);return n[mn]=r,n}function ts(e,t){Fv()||Hv(e),e.equal(e.value,t)||(e.value=t,$$(e))}function qv(e,t){Fv()||Hv(e),ts(e,t(e.value))}var $v=Ut(ce({},Fi),{equal:bh,value:void 0,kind:"signal"});function $$(e){e.version++,F$(),Lv(e)}function Fm(e,t,r){let n=Object.create(Z$);n.source=e,n.computation=t,r!=null&&(n.equal=r);let a=()=>{if(es(n),Jo(n),n.value===ia)throw n.error;return n.value};return a[mn]=n,a}function G$(e,t){es(e),ts(e,t),wl(e)}function U$(e,t){es(e),qv(e,t),wl(e)}var Z$=Ut(ce({},Fi),{value:Ia,dirty:!0,error:null,equal:bh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Ia||e.value===pi},producerRecomputeValue(e){if(e.value===pi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=pi;let r=ko(e),n;try{let a=e.source(),i=t===Ia||t===ia?void 0:{source:e.sourceValue,value:t};n=e.computation(a,i),e.sourceValue=a}catch(a){n=ia,e.error=a}finally{du(e,r)}if(t!==Ia&&n!==ia&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function W$(e){let t=Ie(null);try{return e()}finally{Ie(t)}}var Jc;function al(){return Jc}function Yr(e){let t=Jc;return Jc=e,t}var Gv=Symbol("NotFound");function at(e){return typeof e=="function"}function wh(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Xu=wh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
13
|
-
${t.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
|
|
14
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function xl(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ln=class ed{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(at(n))try{n()}catch(i){t=i instanceof Xu?i.errors:[i]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let i of a)try{jm(i)}catch(o){t=t??[],o instanceof Xu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Xu(t)}}add(t){var r;if(t&&t!==this)if(this.closed)jm(t);else{if(t instanceof ed){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&xl(r,t)}remove(t){let{_finalizers:r}=this;r&&xl(r,t),t instanceof ed&&t._removeParent(this)}};ln.EMPTY=(()=>{let e=new ln;return e.closed=!0,e})();var Uv=ln.EMPTY;function Zv(e){return e instanceof ln||e&&"closed"in e&&at(e.remove)&&at(e.add)&&at(e.unsubscribe)}function jm(e){at(e)?e():e.unsubscribe()}var Y$={Promise:void 0},K$={setTimeout(e,t,...r){return setTimeout(e,t,...r)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Wv(e){K$.setTimeout(()=>{throw e})}function td(){}function il(e){e()}var xh=class extends ln{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zv(e)&&e.add(this)):this.destination=J$}static create(e,t,r){return new Do(e,t,r)}next(e){this.isStopped?void 0:this._next(e)}error(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))}complete(){this.isStopped?void 0:(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Q$=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){Os(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){Os(r)}else Os(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Os(t)}}},Do=class extends xh{constructor(e,t,r){super();let n;at(e)||!e?n={next:e??void 0,error:t??void 0,complete:r??void 0}:n=e,this.destination=new Q$(n)}};function Os(e){Wv(e)}function X$(e){throw e}var J$={closed:!0,next:td,error:X$,complete:td},Eh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ji(e){return e}function e6(e){return e.length===0?ji:e.length===1?e[0]:function(t){return e.reduce((r,n)=>n(r),t)}}var ht=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,a){let i=n6(r)?r:new Do(r,n,a);return il(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Vm(n),new n((a,i)=>{let o=new Do({next:l=>{try{r(l)}catch(u){i(u),o.unsubscribe()}},error:i,complete:a});this.subscribe(o)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Eh](){return this}pipe(...r){return e6(r)(this)}toPromise(r){return r=Vm(r),new r((n,a)=>{let i;this.subscribe(o=>i=o,o=>a(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function Vm(e){var t;return(t=e??Y$.Promise)!==null&&t!==void 0?t:Promise}function t6(e){return e&&at(e.next)&&at(e.error)&&at(e.complete)}function n6(e){return e&&e instanceof xh||t6(e)&&Zv(e)}function Yv(e){return at(e==null?void 0:e.lift)}function Zt(e){return t=>{if(Yv(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Lt(e,t,r,n,a){return new r6(e,t,r,n,a)}var r6=class extends xh{constructor(e,t,r,n,a,i){super(e),this.onFinalize=a,this.shouldUnsubscribe=i,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(o){e.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function a6(){return Zt((e,t)=>{let r=null;e._refCount++;let n=Lt(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){r=null;return}let a=e._connection,i=r;r=null,a&&(!i||a===i)&&a.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}var i6=class extends ht{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Yv(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 ln;let t=this.getSubject();e.add(this.source.subscribe(Lt(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ln.EMPTY)}return e}refCount(){return a6()(this)}},o6=wh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),be=(()=>{class e extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new zm(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new o6}next(r){il(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){il(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){il(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:a,observers:i}=this;return n||a?Uv:(this.currentObservers=null,i.push(r),new ln(()=>{this.currentObservers=null,xl(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:a,isStopped:i}=this;n?r.error(a):i&&r.complete()}asObservable(){let r=new ht;return r.source=this,r}}return e.create=(t,r)=>new zm(t,r),e})(),zm=class extends be{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:Uv}},Ma=class extends be{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},Sh={now(){return(Sh.delegate||Date).now()},delegate:void 0},kh=class extends be{constructor(e=1/0,t=1/0,r=Sh){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:r,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:i}=this;t||(r.push(e),!n&&r.push(a.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:n}=this,a=n.slice();for(let i=0;i<a.length&&!e.closed;i+=r?1:2)e.next(a[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<r.length&&r.splice(0,r.length-a),!n){let i=t.now(),o=0;for(let l=1;l<r.length&&r[l]<=i;l+=2)o=l;o&&r.splice(0,o+1)}}},s6=class extends ln{constructor(e,t){super()}schedule(e,t=0){return this}},nd={setInterval(e,t,...r){let{delegate:n}=nd;return n!=null&&n.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){return clearInterval(e)},delegate:void 0},l6=class extends s6{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;let n=this.id,a=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(a,n,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,r=0){return nd.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&nd.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n;try{this.work(e)}catch(a){r=!0,n=a||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,xl(r,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},rd=class Kv{constructor(t,r=Kv.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};rd.now=Sh.now;var u6=class extends rd{constructor(e,t=rd.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},Ch=new u6(l6),c6=Ch,Qv=new ht(e=>e.complete());function Xv(e){return e&&at(e.schedule)}function Dh(e){return e[e.length-1]}function Jv(e){return at(Dh(e))?e.pop():void 0}function ns(e){return Xv(Dh(e))?e.pop():void 0}function d6(e,t){return typeof Dh(e)=="number"?e.pop():t}function h6(e,t,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function l(d){try{c(n.next(d))}catch(m){o(m)}}function u(d){try{c(n.throw(d))}catch(m){o(m)}}function c(d){d.done?i(d.value):a(d.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Bm(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function mi(e){return this instanceof mi?(this.v=e,this):new mi(e)}function p6(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),a,i=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(g){return function(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(a[g]=function(x){return new Promise(function(k,D){i.push([g,x,k,D])>1||u(g,x)})},w&&(a[g]=w(a[g])))}function u(g,w){try{c(n[g](w))}catch(x){v(i[0][3],x)}}function c(g){g.value instanceof mi?Promise.resolve(g.value.v).then(d,m):v(i[0][2],g)}function d(g){u("next",g)}function m(g){u("throw",g)}function v(g,w){g(w),i.shift(),i.length&&u(i[0][0],i[0][1])}}function m6(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Bm=="function"?Bm(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(o){return new Promise(function(l,u){o=e[i](o),a(l,u,o.done,o.value)})}}function a(i,o,l,u){Promise.resolve(u).then(function(c){i({value:c,done:l})},o)}}var e0=e=>e&&typeof e.length=="number"&&typeof e!="function";function t0(e){return at(e==null?void 0:e.then)}function n0(e){return at(e[Eh])}function r0(e){return Symbol.asyncIterator&&at(e==null?void 0:e[Symbol.asyncIterator])}function a0(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function f6(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var i0=f6();function o0(e){return at(e==null?void 0:e[i0])}function s0(e){return p6(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:n}=yield mi(t.read());if(n)return yield mi(void 0);yield yield mi(r)}}finally{t.releaseLock()}})}function l0(e){return at(e==null?void 0:e.getReader)}function gn(e){if(e instanceof ht)return e;if(e!=null){if(n0(e))return g6(e);if(e0(e))return v6(e);if(t0(e))return b6(e);if(r0(e))return u0(e);if(o0(e))return y6(e);if(l0(e))return _6(e)}throw a0(e)}function g6(e){return new ht(t=>{let r=e[Eh]();if(at(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function v6(e){return new ht(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function b6(e){return new ht(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Wv)})}function y6(e){return new ht(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function u0(e){return new ht(t=>{w6(e,t).catch(r=>t.error(r))})}function _6(e){return u0(s0(e))}function w6(e,t){var r,n,a,i;return h6(this,void 0,void 0,function*(){try{for(r=m6(e);n=yield r.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(a)throw a.error}}t.complete()})}function Lr(e,t,r,n=0,a=!1){let i=t.schedule(function(){r(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!a)return i}function c0(e,t=0){return Zt((r,n)=>{r.subscribe(Lt(n,a=>Lr(n,e,()=>n.next(a),t),()=>Lr(n,e,()=>n.complete(),t),a=>Lr(n,e,()=>n.error(a),t)))})}function d0(e,t=0){return Zt((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function x6(e,t){return gn(e).pipe(d0(t),c0(t))}function E6(e,t){return gn(e).pipe(d0(t),c0(t))}function S6(e,t){return new ht(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function k6(e,t){return new ht(r=>{let n;return Lr(r,t,()=>{n=e[i0](),Lr(r,t,()=>{let a,i;try{({value:a,done:i}=n.next())}catch(o){r.error(o);return}i?r.complete():r.next(a)},0,!0)}),()=>at(n==null?void 0:n.return)&&n.return()})}function h0(e,t){if(!e)throw new Error("Iterable cannot be null");return new ht(r=>{Lr(r,t,()=>{let n=e[Symbol.asyncIterator]();Lr(r,t,()=>{n.next().then(a=>{a.done?r.complete():r.next(a.value)})},0,!0)})})}function C6(e,t){return h0(s0(e),t)}function D6(e,t){if(e!=null){if(n0(e))return x6(e,t);if(e0(e))return S6(e,t);if(t0(e))return E6(e,t);if(r0(e))return h0(e,t);if(o0(e))return k6(e,t);if(l0(e))return C6(e,t)}throw a0(e)}function $a(e,t){return t?D6(e,t):gn(e)}function Je(...e){let t=ns(e);return $a(e,t)}function p0(e,t){let r=at(e)?e:()=>e,n=a=>a.error(r());return new ht(n)}function fi(e){return!!e&&(e instanceof ht||at(e.lift)&&at(e.subscribe))}var I6=wh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function T6(e,t){return new Promise((r,n)=>{let a=!1,i;e.subscribe({next:o=>{i=o,a=!0},error:n,complete:()=>{a?r(i):n(new I6)}})})}function R6(e){return e instanceof Date&&!isNaN(e)}function Tt(e,t){return Zt((r,n)=>{let a=0;r.subscribe(Lt(n,i=>{n.next(e.call(t,i,a++))}))})}var{isArray:O6}=Array;function N6(e,t){return O6(t)?e(...t):e(t)}function m0(e){return Tt(t=>N6(e,t))}var{isArray:M6}=Array,{getPrototypeOf:A6,prototype:P6,keys:L6}=Object;function f0(e){if(e.length===1){let t=e[0];if(M6(t))return{args:t,keys:null};if(F6(t)){let r=L6(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function F6(e){return e&&typeof e=="object"&&A6(e)===P6}function g0(e,t){return e.reduce((r,n,a)=>(r[n]=t[a],r),{})}function ol(...e){let t=ns(e),r=Jv(e),{args:n,keys:a}=f0(e);if(n.length===0)return $a([],t);let i=new ht(j6(n,t,a?o=>g0(a,o):ji));return r?i.pipe(m0(r)):i}function j6(e,t,r=ji){return n=>{Hm(t,()=>{let{length:a}=e,i=new Array(a),o=a,l=a;for(let u=0;u<a;u++)Hm(t,()=>{let c=$a(e[u],t),d=!1;c.subscribe(Lt(n,m=>{i[u]=m,d||(d=!0,l--),l||n.next(r(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Hm(e,t,r){e?Lr(r,e,t):t()}function V6(e,t,r,n,a,i,o,l){let u=[],c=0,d=0,m=!1,v=()=>{m&&!u.length&&!c&&t.complete()},g=x=>c<n?w(x):u.push(x),w=x=>{c++;let k=!1;gn(r(x,d++)).subscribe(Lt(t,D=>{t.next(D)},()=>{k=!0},void 0,()=>{if(k)try{for(c--;u.length&&c<n;){let D=u.shift();o?Lr(t,o,()=>w(D)):w(D)}v()}catch(D){t.error(D)}}))};return e.subscribe(Lt(t,g,()=>{m=!0,v()})),()=>{}}function Io(e,t,r=1/0){return at(t)?Io((n,a)=>Tt((i,o)=>t(n,i,a,o))(gn(e(n,a))),r):(typeof t=="number"&&(r=t),Zt((n,a)=>V6(n,a,e,r)))}function v0(e=1/0){return Io(ji,e)}function z6(){return v0(1)}function To(...e){return z6()($a(e,ns(e)))}function El(e){return new ht(t=>{gn(e()).subscribe(t)})}function b0(...e){let t=Jv(e),{args:r,keys:n}=f0(e),a=new ht(i=>{let{length:o}=r;if(!o){i.complete();return}let l=new Array(o),u=o,c=o;for(let d=0;d<o;d++){let m=!1;gn(r[d]).subscribe(Lt(i,v=>{m||(m=!0,c--),l[d]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||i.next(n?g0(n,l):l),i.complete())}))}});return t?a.pipe(m0(t)):a}function B6(e=0,t,r=c6){let n=-1;return t!=null&&(Xv(t)?r=t:n=t),new ht(a=>{let i=R6(e)?+e-r.now():e;i<0&&(i=0);let o=0;return r.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},i)})}function Ei(...e){let t=ns(e),r=d6(e,1/0),n=e;return n.length?n.length===1?gn(n[0]):v0(r)($a(n,t)):Qv}function Or(e,t){return Zt((r,n)=>{let a=0;r.subscribe(Lt(n,i=>e.call(t,i,a++)&&n.next(i)))})}function H6(e){return Zt((t,r)=>{let n=!1,a=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let c=a;a=null,r.next(c)}o&&r.complete()},u=()=>{i=null,o&&r.complete()};t.subscribe(Lt(r,c=>{n=!0,a=c,i||gn(e(c)).subscribe(i=Lt(r,l,u))},()=>{o=!0,(!n||!i||i.closed)&&r.complete()}))})}function y0(e,t=Ch){return H6(()=>B6(e,t))}function Ih(e){return Zt((t,r)=>{let n=null,a=!1,i;n=t.subscribe(Lt(r,void 0,void 0,o=>{i=gn(e(o,Ih(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):a=!0})),a&&(n.unsubscribe(),n=null,i.subscribe(r))})}function _0(e,t){return at(t)?Io(e,t,1):Io(e,1)}function q6(e,t=Ch){return Zt((r,n)=>{let a=null,i=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let c=i;i=null,n.next(c)}};function u(){let c=o+e,d=t.now();if(d<c){a=this.schedule(void 0,c-d),n.add(a);return}l()}r.subscribe(Lt(n,c=>{i=c,o=t.now(),a||(a=t.schedule(u,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{i=a=null}))})}function sn(e){return e<=0?()=>Qv:Zt((t,r)=>{let n=0;t.subscribe(Lt(r,a=>{++n<=e&&(r.next(a),e<=n&&r.complete())}))})}function $6(e,t=ji){return e=e??G6,Zt((r,n)=>{let a,i=!0;r.subscribe(Lt(n,o=>{let l=t(o);(i||!e(a,l))&&(i=!1,a=l,n.next(o))}))})}function G6(e,t){return e===t}function w0(e){return Zt((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function x0(e={}){let{connector:t=()=>new be,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return i=>{let o,l,u,c=0,d=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=u=void 0,d=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Zt((x,k)=>{c++,!m&&!d&&v();let D=u=u??t();k.add(()=>{c--,c===0&&!m&&!d&&(l=Ju(w,a))}),D.subscribe(k),!o&&c>0&&(o=new Do({next:O=>D.next(O),error:O=>{m=!0,v(),l=Ju(g,r,O),D.error(O)},complete:()=>{d=!0,v(),l=Ju(g,n),D.complete()}}),gn(x).subscribe(o))})(i)}}function Ju(e,t,...r){if(t===!0){e();return}if(t===!1)return;let n=new Do({next:()=>{n.unsubscribe(),e()}});return gn(t(...r)).subscribe(n)}function qm(e,t,r){let n;return n=e,x0({connector:()=>new kh(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function E0(e){return Or((t,r)=>e<=r)}function Th(...e){let t=ns(e);return Zt((r,n)=>{(t?To(e,r,t):To(e,r)).subscribe(n)})}function Sl(e,t){return Zt((r,n)=>{let a=null,i=0,o=!1,l=()=>o&&!a&&n.complete();r.subscribe(Lt(n,u=>{a==null||a.unsubscribe();let c=0,d=i++;gn(e(u,d)).subscribe(a=Lt(n,m=>n.next(t?t(u,m,d,c++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function oa(e){return Zt((t,r)=>{gn(e).subscribe(Lt(r,()=>r.complete(),td)),!r.closed&&t.subscribe(r)})}function ec(e,t,r){let n=at(e)||t||r?{next:e,error:t,complete:r}:e;return n?Zt((a,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe(Lt(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):ji}var S0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",$=class extends Error{constructor(t,r){super(k0(t,r));s(this,"code");this.code=t}};function U6(e){return`NG0${Math.abs(e)}`}function k0(e,t){return`${U6(e)}${t?": "+t:""}`}var fu=Symbol("InputSignalNode#UNSET"),C0=Ut(ce({},$v),{transformFn:void 0,applyValueToInputSignal(e,t){ts(e,t)}});function D0(e,t){let r=Object.create(C0);r.value=e,r.transformFn=t==null?void 0:t.transform;function n(){if(Jo(r),r.value===fu){let a=null;throw new $(-950,a)}return r.value}return n[mn]=r,n}function rs(e){return{toString:e}.toString()}var Ns="__parameters__";function Z6(e){return function(...t){}}function I0(e,t,r){return rs(()=>{let n=Z6();function a(...i){if(this instanceof a)return n.apply(this,i),this;let o=new a(...i);return l.annotation=o,l;function l(u,c,d){let m=u.hasOwnProperty(Ns)?u[Ns]:Object.defineProperty(u,Ns,{value:[]})[Ns];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(o),u}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var ta=globalThis;function it(e){for(let t in e)if(e[t]===it)return t;throw Error("Could not find renamed property on target object.")}function W6(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function Nn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Nn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(r==null)return""+r;let n=r.indexOf(`
|
|
15
|
-
`);return n>=0?r.slice(0,n):r}function ad(e,t){return e?t?`${e} ${t}`:e:t||""}var Y6=it({__forward_ref__:it});function T0(e){return e.__forward_ref__=T0,e.toString=function(){return Nn(this())},e}function qt(e){return R0(e)?e():e}function R0(e){return typeof e=="function"&&e.hasOwnProperty(Y6)&&e.__forward_ref__===T0}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Wt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rh(e){return $m(e,O0)||$m(e,N0)}function $m(e,t){return e.hasOwnProperty(t)?e[t]:null}function K6(e){return e&&(e[O0]||e[N0])||null}function Gm(e){return e&&(e.hasOwnProperty(Um)||e.hasOwnProperty(Q6))?e[Um]:null}var O0=it({ɵprov:it}),Um=it({ɵinj:it}),N0=it({ngInjectableDef:it}),Q6=it({ngInjectorDef:it}),J=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 M0(e){return e&&!!e.ɵproviders}var X6=it({ɵcmp:it}),J6=it({ɵdir:it}),eG=it({ɵpipe:it}),kl=it({ɵfac:it}),bo=it({__NG_ELEMENT_ID__:it}),Zm=it({__NG_ENV_ID__:it});function Pa(e){return typeof e=="string"?e:e==null?"":String(e)}function tG(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Pa(e)}function A0(e,t){throw new $(-200,e)}function Oh(e,t){throw new $(-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||{}),id;function P0(){return id}function hn(e){let t=id;return id=e,t}function L0(e,t,r){let n=Rh(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&Re.Optional)return null;if(t!==void 0)return t;Oh()}var nG={},Aa=nG,od="__NG_DI_FLAG__",F0=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?Gv:Aa,r)}},Cl="ngTempTokenPath",rG="ngTokenPath",aG=/\n/gm,iG="ɵ",Wm="__source";function oG(e,t=Re.Default){if(al()===void 0)throw new $(-203,!1);if(al()===null)return L0(e,void 0,t);{let r=al(),n;return r instanceof F0?n=r.injector:n=r,n.get(e,t&Re.Optional?null:void 0,t)}}function oe(e,t=Re.Default){return(P0()||oG)(qt(e),t)}function S(e,t=Re.Default){return oe(e,gu(t))}function gu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sd(e){let t=[];for(let r=0;r<e.length;r++){let n=qt(e[r]);if(Array.isArray(n)){if(n.length===0)throw new $(900,!1);let a,i=Re.Default;for(let o=0;o<n.length;o++){let l=n[o],u=sG(l);typeof u=="number"?u===-1?a=l.token:i|=u:a=l}t.push(oe(a,i))}else t.push(oe(n))}return t}function j0(e,t){return e[od]=t,e.prototype[od]=t,e}function sG(e){return e[od]}function lG(e,t,r,n){let a=e[Cl];throw t[Wm]&&a.unshift(t[Wm]),e.message=uG(`
|
|
16
|
-
`+e.message,a,r,n),e[rG]=a,e[Cl]=null,e}function uG(e,t,r,n=null){e=e&&e.charAt(0)===`
|
|
17
|
-
`&&e.charAt(1)==iG?e.slice(2):e;let a=Nn(t);if(Array.isArray(t))a=t.map(Nn).join(" -> ");else if(typeof t=="object"){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];i.push(o+":"+(typeof l=="string"?JSON.stringify(l):Nn(l)))}a=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${a}]: ${e.replace(aG,`
|
|
18
|
-
`)}`}var Nh=j0(I0("Optional"),8),Mh=j0(I0("SkipSelf"),4);function La(e,t){return e.hasOwnProperty(kl)?e[kl]:null}function cG(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],i=t[n];if(r&&(a=r(a),i=r(i)),i!==a)return!1}return!0}function dG(e){return e.flat(Number.POSITIVE_INFINITY)}function Ah(e,t){e.forEach(r=>Array.isArray(r)?Ah(r,t):t(r))}function V0(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Dl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hG(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function pG(e,t,r,n){let a=e.length;if(a==t)e.push(r,n);else if(a===1)e.push(n,e[0]),e[0]=r;else{for(a--,e.push(e[a-1],e[a]);a>t;){let i=a-2;e[a]=e[i],a--}e[t]=r,e[t+1]=n}}function Ph(e,t,r){let n=as(e,t);return n>=0?e[n|1]=r:(n=~n,pG(e,n,t,r)),n}function tc(e,t){let r=as(e,t);if(r>=0)return e[r|1]}function as(e,t){return mG(e,t,1)}function mG(e,t,r){let n=0,a=e.length>>r;for(;a!==n;){let i=n+(a-n>>1),o=e[i<<r];if(t===o)return i<<r;o>t?a=i:n=i+1}return~(a<<r)}var lr={},pn=[],Il=new J(""),z0=new J("",-1),B0=new J(""),H0=class{get(e,t=Aa){if(t===Aa){let r=new Error(`NullInjectorError: No provider for ${Nn(e)}!`);throw r.name="NullInjectorError",r}return t}};function Si(e){return e[X6]||null}function q0(e){return e[J6]||null}function fG(e){return e[eG]||null}function Lh(e){return{ɵproviders:e}}function gG(...e){return{ɵproviders:$0(!0,e),ɵfromNgModule:!0}}function $0(e,...t){let r=[],n=new Set,a,i=o=>{r.push(o)};return Ah(t,o=>{let l=o;ld(l,i,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&G0(a,i),r}function G0(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:a}=e[r];Fh(a,i=>{t(i,n)})}}function ld(e,t,r,n){if(e=qt(e),!e)return!1;let a=null,i=Gm(e),o=!i&&Si(e);if(!i&&!o){let u=e.ngModule;if(i=Gm(u),i)a=u;else return!1}else{if(o&&!o.standalone)return!1;a=e}let l=n.has(a);if(o){if(l)return!1;if(n.add(a),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)ld(c,t,r,n)}}else if(i){if(i.imports!=null&&!l){n.add(a);let c;try{Ah(i.imports,d=>{ld(d,t,r,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&G0(c,t)}if(!l){let c=La(a)||(()=>new a);t({provide:a,useFactory:c,deps:pn},a),t({provide:B0,useValue:a,multi:!0},a),t({provide:Il,useValue:()=>oe(a),multi:!0},a)}let u=i.providers;if(u!=null&&!l){let c=e;Fh(u,d=>{t(d,c)})}}else return!1;return a!==e&&e.providers!==void 0}function Fh(e,t){for(let r of e)M0(r)&&(r=r.ɵproviders),Array.isArray(r)?Fh(r,t):t(r)}var vG=it({provide:String,useValue:it});function U0(e){return e!==null&&typeof e=="object"&&vG in e}function bG(e){return!!(e&&e.useExisting)}function yG(e){return!!(e&&e.useFactory)}function ki(e){return typeof e=="function"}function _G(e){return!!e.useClass}var jh=new J(""),sl={},Ym={},nc;function vu(){return nc===void 0&&(nc=new H0),nc}var ur=class{},Vh=class extends ur{constructor(t,r,n,a){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=r,this.source=n,this.scopes=a,cd(t,o=>this.processProvider(o)),this.records.set(z0,li(void 0,this)),a.has("environment")&&this.records.set(ur,li(void 0,this));let i=this.records.get(jh);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(B0,pn,Re.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?Gv:Aa,n)}destroy(){po(this),this._destroyed=!0;let t=Ie(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ie(t)}}onDestroy(t){return po(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){po(this);let r=Yr(this),n=hn(void 0);try{return t()}finally{Yr(r),hn(n)}}get(t,r=Aa,n=Re.Default){if(po(this),t.hasOwnProperty(Zm))return t[Zm](this);n=gu(n);let a=Yr(this),i=hn(void 0);try{if(!(n&Re.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=kG(t)&&Rh(t);u&&this.injectableDefInScope(u)?l=li(ud(t),sl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Re.Self?vu():this.parent;return r=n&Re.Optional&&r===Aa?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[Cl]=o[Cl]||[]).unshift(Nn(t)),a)throw o;return lG(o,t,"R3InjectorError",this.source)}else throw o}finally{hn(i),Yr(a)}}resolveInjectorInitializers(){let t=Ie(null),r=Yr(this),n=hn(void 0);try{let a=this.get(Il,pn,Re.Self);for(let i of a)i()}finally{Yr(r),hn(n),Ie(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(Nn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qt(t);let r=ki(t)?t:qt(t&&t.provide),n=xG(t);if(!ki(t)&&t.multi===!0){let a=this.records.get(r);a||(a=li(void 0,sl,!0),a.factory=()=>sd(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let a=Ie(null);try{return r.value===Ym?A0(Nn(t)):r.value===sl&&(r.value=Ym,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&SG(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Ie(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=qt(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function ud(e){let t=Rh(e),r=t!==null?t.factory:La(e);if(r!==null)return r;if(e instanceof J)throw new $(204,!1);if(e instanceof Function)return wG(e);throw new $(204,!1)}function wG(e){if(e.length>0)throw new $(204,!1);let t=K6(e);return t!==null?()=>t.factory(e):()=>new e}function xG(e){if(U0(e))return li(void 0,e.useValue);{let t=Z0(e);return li(t,sl)}}function Z0(e,t,r){let n;if(ki(e)){let a=qt(e);return La(a)||ud(a)}else if(U0(e))n=()=>qt(e.useValue);else if(yG(e))n=()=>e.useFactory(...sd(e.deps||[]));else if(bG(e))n=(a,i)=>oe(qt(e.useExisting),i!==void 0&&i&Re.Optional?Re.Optional:void 0);else{let a=qt(e&&(e.useClass||e.provide));if(EG(e))n=()=>new a(...sd(e.deps));else return La(a)||ud(a)}return n}function po(e){if(e.destroyed)throw new $(205,!1)}function li(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function EG(e){return!!e.deps}function SG(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function kG(e){return typeof e=="function"||typeof e=="object"&&e instanceof J}function cd(e,t){for(let r of e)Array.isArray(r)?cd(r,t):r&&M0(r)?cd(r.ɵproviders,t):t(r)}function zh(e,t){let r;e instanceof Vh?(po(e),r=e):r=new F0(e);let n=Yr(r),a=hn(void 0);try{return t()}finally{Yr(n),hn(a)}}function W0(){return P0()!==void 0||al()!=null}function is(e){if(!W0())throw new $(-203,!1)}function CG(e){return typeof e=="function"}var zr=0,ye=1,fe=2,en=3,qn=4,vn=5,Ci=6,gi=7,Vt=8,Di=9,jr=10,ft=11,Ro=12,Km=13,Vi=14,An=15,Fa=16,ui=17,$n=18,bu=19,Y0=20,sa=21,rc=22,Nr=23,Mn=24,la=25,vt=26,K0=1,ja=7,Tl=8,Ii=9,Jt=10;function ua(e){return Array.isArray(e)&&typeof e[K0]=="object"}function Br(e){return Array.isArray(e)&&e[K0]===!0}function Bh(e){return(e.flags&4)!==0}function zi(e){return e.componentOffset>-1}function yu(e){return(e.flags&1)===1}function cr(e){return!!e.template}function Rl(e){return(e[fe]&512)!==0}function Bi(e){return(e[fe]&256)===256}var DG=class{constructor(e,t,r){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Q0(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var Ga=(()=>{let e=()=>X0;return e.ngInherit=!0,e})();function X0(e){return e.type.prototype.ngOnChanges&&(e.setInput=TG),IG}function IG(){let e=eb(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===lr)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function TG(e,t,r,n,a){let i=this.declaredInputs[n],o=eb(e)||RG(e,{previous:lr,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[i];l[i]=new DG(c&&c.currentValue,r,u===lr),Q0(e,t,a,r)}var J0="__ngSimpleChanges__";function eb(e){return e[J0]||null}function RG(e,t){return e[J0]=t}var Va=function(e,t=null,r){},tb="svg",OG="math";function dr(e){for(;Array.isArray(e);)e=e[zr];return e}function nb(e,t){return dr(t[e])}function mr(e,t){return dr(t[e.index])}function Hh(e,t){return e.data[t]}function os(e,t){return e[t]}function qh(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function hr(e,t){let r=t[e];return ua(r)?r:r[zr]}function NG(e){return(e[fe]&4)===4}function $h(e){return(e[fe]&128)===128}function MG(e){return Br(e[en])}function za(e,t){return t==null?null:e[t]}function rb(e){e[ui]=0}function Gh(e){e[fe]&1024||(e[fe]|=1024,$h(e)&&Hi(e))}function AG(e,t){for(;e>0;)t=t[Vi],e--;return t}function ss(e){var t;return!!(e[fe]&9216||(t=e[Mn])!=null&&t.dirty)}function dd(e){var t;(t=e[jr].changeDetectionScheduler)==null||t.notify(8),e[fe]&64&&(e[fe]|=1024),ss(e)&&Hi(e)}function Hi(e){var r;(r=e[jr].changeDetectionScheduler)==null||r.notify(0);let t=Ba(e);for(;t!==null&&!(t[fe]&8192||(t[fe]|=8192,!$h(t)));)t=Ba(t)}function ab(e,t){if(Bi(e))throw new $(911,!1);e[sa]===null&&(e[sa]=[]),e[sa].push(t)}function PG(e,t){if(e[sa]===null)return;let r=e[sa].indexOf(t);r!==-1&&e[sa].splice(r,1)}function Ba(e){let t=e[en];return Br(t)?t[en]:t}function Uh(e){return e[gi]??(e[gi]=[])}function Zh(e){return e.cleanup??(e.cleanup=[])}function LG(e,t,r,n){let a=Uh(t);a.push(r),e.firstCreatePass&&Zh(e).push(n,a.length-1)}var Ee={lFrame:hb(null),bindingsEnabled:!0,skipHydrationRootTNode:null},hd=!1;function FG(){return Ee.lFrame.elementDepthCount}function jG(){Ee.lFrame.elementDepthCount++}function VG(){Ee.lFrame.elementDepthCount--}function zG(){return Ee.bindingsEnabled}function ib(){return Ee.skipHydrationRootTNode!==null}function BG(e){return Ee.skipHydrationRootTNode===e}function HG(){Ee.skipHydrationRootTNode=null}function de(){return Ee.lFrame.lView}function st(){return Ee.lFrame.tView}function wn(e){return Ee.lFrame.contextLView=e,e[Vt]}function xn(e){return Ee.lFrame.contextLView=null,e}function nn(){let e=ob();for(;e!==null&&e.type===64;)e=e.parent;return e}function ob(){return Ee.lFrame.currentTNode}function qG(){let e=Ee.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ha(e,t){let r=Ee.lFrame;r.currentTNode=e,r.isParent=t}function Wh(){return Ee.lFrame.isParent}function Yh(){Ee.lFrame.isParent=!1}function sb(){return Ee.lFrame.contextLView}function lb(){return hd}function Ol(e){let t=hd;return hd=e,t}function Ua(){let e=Ee.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $G(){return Ee.lFrame.bindingIndex}function GG(e){return Ee.lFrame.bindingIndex=e}function Za(){return Ee.lFrame.bindingIndex++}function Kh(e){let t=Ee.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function UG(){return Ee.lFrame.inI18n}function ZG(e,t){let r=Ee.lFrame;r.bindingIndex=r.bindingRootIndex=e,pd(t)}function WG(){return Ee.lFrame.currentDirectiveIndex}function pd(e){Ee.lFrame.currentDirectiveIndex=e}function YG(e){let t=Ee.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ub(){return Ee.lFrame.currentQueryIndex}function Qh(e){Ee.lFrame.currentQueryIndex=e}function KG(e){let t=e[ye];return t.type===2?t.declTNode:t.type===1?e[vn]:null}function cb(e,t,r){if(r&Re.SkipSelf){let a=t,i=e;for(;(a=a.parent,a===null&&!(r&Re.Host))&&(a=KG(i),!(a===null||(i=i[Vi],a.type&10))););if(a===null)return!1;t=a,e=i}let n=Ee.lFrame=db();return n.currentTNode=t,n.lView=e,!0}function Xh(e){let t=db(),r=e[ye];Ee.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function db(){let e=Ee.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=Ee.lFrame;return Ee.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 QG(e){return(Ee.lFrame.contextLView=AG(e,Ee.lFrame.contextLView))[Vt]}function fr(){return Ee.lFrame.selectedIndex}function Ha(e){Ee.lFrame.selectedIndex=e}function _u(){let e=Ee.lFrame;return Hh(e.tView,e.selectedIndex)}function XG(){Ee.lFrame.currentNamespace=tb}function JG(){return Ee.lFrame.currentNamespace}var fb=!0;function wu(){return fb}function xu(e){fb=e}function eU(e,t,r){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(n){let o=X0(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o)}a&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,a),i&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,i),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,i))}function ep(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let a=e.data[r].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=a;i&&(e.contentHooks??(e.contentHooks=[])).push(-r,i),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-r,l),u&&((e.viewHooks??(e.viewHooks=[])).push(r,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,c)}}function ll(e,t,r){gb(e,t,3,r)}function ul(e,t,r,n){(e[fe]&3)===r&&gb(e,t,r,n)}function ac(e,t){let r=e[fe];(r&3)===t&&(r&=16383,r+=1,e[fe]=r)}function gb(e,t,r,n){let a=n!==void 0?e[ui]&65535:0,i=n??-1,o=t.length-1,l=0;for(let u=a;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[ui]+=65536),(l<i||i==-1)&&(tU(e,r,t,u),e[ui]=(e[ui]&4294901760)+u+2),u++}function Qm(e,t){let r=Ie(null);try{t.call(e)}finally{Ie(r)}}function tU(e,t,r,n){let a=r[n]<0,i=r[n+1],o=a?-r[n]:r[n],l=e[o];a?e[fe]>>14<e[ui]>>16&&(e[fe]&3)===t&&(e[fe]+=16384,Qm(l,i)):Qm(l,i)}var vi=-1,ls=class{constructor(e,t,r){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=r}};function nU(e){return(e.flags&8)!==0}function rU(e){return(e.flags&16)!==0}function aU(e,t,r){let n=0;for(;n<r.length;){let a=r[n];if(typeof a=="number"){if(a!==0)break;n++;let i=r[n++],o=r[n++],l=r[n++];e.setAttribute(t,o,l,i)}else{let i=a,o=r[++n];iU(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function vb(e){return e===3||e===4||e===6}function iU(e){return e.charCodeAt(0)===64}function Ti(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?r=a:r===0||(r===-1||r===2?Xm(e,r,a,null,t[++n]):Xm(e,r,a,null,null))}}return e}function Xm(e,t,r,n,a){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===r){a!==null&&(e[i+1]=a);return}i++,a!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,r),a!==null&&e.splice(i++,0,a)}function bb(e){return e!==vi}function Nl(e){return e&32767}function oU(e){return e>>16}function Ml(e,t){let r=oU(e),n=t;for(;r>0;)n=n[Vi],r--;return n}var md=!0;function Al(e){let t=md;return md=e,t}var sU=256,yb=sU-1,_b=5,lU=0,sr={};function uU(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(bo)&&(n=r[bo]),n==null&&(n=r[bo]=lU++);let a=n&yb,i=1<<a;t.data[e+(a>>_b)]|=i}function Pl(e,t){let r=wb(e,t);if(r!==-1)return r;let n=t[ye];n.firstCreatePass&&(e.injectorIndex=t.length,ic(n.data,e),ic(t,null),ic(n.blueprint,null));let a=tp(e,t),i=e.injectorIndex;if(bb(a)){let o=Nl(a),l=Ml(a,t),u=l[ye].data;for(let c=0;c<8;c++)t[i+c]=l[o+c]|u[o+c]}return t[i+8]=a,i}function ic(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wb(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function tp(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,a=t;for(;a!==null;){if(n=Cb(a),n===null)return vi;if(r++,a=a[Vi],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return vi}function fd(e,t,r){uU(e,t,r)}function cU(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,a=0;for(;a<n;){let i=r[a];if(vb(i))break;if(i===0)a=a+2;else if(typeof i=="number")for(a++;a<n&&typeof r[a]=="string";)a++;else{if(i===t)return r[a+1];a=a+2}}}return null}function xb(e,t,r){if(r&Re.Optional||e!==void 0)return e;Oh()}function Eb(e,t,r,n){if(r&Re.Optional&&n===void 0&&(n=null),(r&(Re.Self|Re.Host))===0){let a=e[Di],i=hn(void 0);try{return a?a.get(t,n,r&Re.Optional):L0(t,n,r&Re.Optional)}finally{hn(i)}}return xb(n,t,r)}function Sb(e,t,r,n=Re.Default,a){if(e!==null){if(t[fe]&2048&&!(n&Re.Self)){let o=mU(e,t,r,n,sr);if(o!==sr)return o}let i=kb(e,t,r,n,sr);if(i!==sr)return i}return Eb(t,r,n,a)}function kb(e,t,r,n,a){let i=hU(r);if(typeof i=="function"){if(!cb(t,e,n))return n&Re.Host?xb(a,r,n):Eb(t,r,n,a);try{let o;if(o=i(n),o==null&&!(n&Re.Optional))Oh(r);else return o}finally{mb()}}else if(typeof i=="number"){let o=null,l=wb(e,t),u=vi,c=n&Re.Host?t[An][vn]:null;for((l===-1||n&Re.SkipSelf)&&(u=l===-1?tp(e,t):t[l+8],u===vi||!ef(n,!1)?l=-1:(o=t[ye],l=Nl(u),t=Ml(u,t)));l!==-1;){let d=t[ye];if(Jm(i,l,d.data)){let m=dU(l,t,r,o,n,c);if(m!==sr)return m}u=t[l+8],u!==vi&&ef(n,t[ye].data[l+8]===c)&&Jm(i,l,t)?(o=d,l=Nl(u),t=Ml(u,t)):l=-1}}return a}function dU(e,t,r,n,a,i){let o=t[ye],l=o.data[e+8],u=n==null?zi(l)&&md:n!=o&&(l.type&3)!==0,c=a&Re.Host&&i===l,d=cl(l,o,r,u,c);return d!==null?Oo(t,o,d,l,a):sr}function cl(e,t,r,n,a){let i=e.providerIndexes,o=t.data,l=i&1048575,u=e.directiveStart,c=e.directiveEnd,d=i>>20,m=n?l:l+d,v=a?l+d:c;for(let g=m;g<v;g++){let w=o[g];if(g<u&&r===w||g>=u&&w.type===r)return g}if(a){let g=o[u];if(g&&cr(g)&&g.type===r)return u}return null}function Oo(e,t,r,n,a){let i=e[r],o=t.data;if(i instanceof ls){let l=i;l.resolving&&A0(tG(o[r]));let u=Al(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?hn(l.injectImpl):null;cb(e,n,Re.Default);try{i=e[r]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&eU(r,o[r],t)}finally{c!==null&&hn(c),Al(u),l.resolving=!1,mb()}}return i}function hU(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(bo)?e[bo]:void 0;return typeof t=="number"?t>=0?t&yb:pU:t}function Jm(e,t,r){let n=1<<e;return!!(r[t+(e>>_b)]&n)}function ef(e,t){return!(e&Re.Self)&&!(e&Re.Host&&t)}var yo=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return Sb(this._tNode,this._lView,e,gu(r),t)}};function pU(){return new yo(nn(),de())}function et(e){return rs(()=>{let t=e.prototype.constructor,r=t[kl]||gd(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let i=a[kl]||gd(a);if(i&&i!==r)return i;a=Object.getPrototypeOf(a)}return i=>new i})}function gd(e){return R0(e)?()=>{let t=gd(qt(e));return t&&t()}:La(e)}function mU(e,t,r,n,a){let i=e,o=t;for(;i!==null&&o!==null&&o[fe]&2048&&!Rl(o);){let l=kb(i,o,r,n|Re.Self,sr);if(l!==sr)return l;let u=i.parent;if(!u){let c=o[Y0];if(c){let d=c.get(r,sr,n);if(d!==sr)return d}u=Cb(o),o=o[Vi]}i=u}return a}function Cb(e){let t=e[ye],r=t.type;return r===2?t.declTNode:r===1?e[vn]:null}function fU(e){return cU(nn(),e)}function tf(e,t=null,r=null,n){let a=gU(e,t,r,n);return a.resolveInjectorInitializers(),a}function gU(e,t=null,r=null,n,a=new Set){let i=[r||pn,gG(e)];return n=n||(typeof e=="object"?void 0:Nn(e)),new Vh(i,t||vu(),n||null,a)}var nr,dt=(nr=class{static create(t,r){if(Array.isArray(t))return tf({name:""},r,t,"");{let n=t.name??"";return tf({name:n},t.parent,t.providers,n)}}},s(nr,"THROW_IF_NOT_FOUND",Aa),s(nr,"NULL",new H0),s(nr,"ɵprov",z({token:nr,providedIn:"any",factory:()=>oe(z0)})),s(nr,"__NG_ELEMENT_ID__",-1),nr),Db=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>fU(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},vU=new J("");vU.__NG_ELEMENT_ID__=e=>{let t=nn();if(t===null)throw new $(204,!1);if(t.type&2)return t.value;if(e&Re.Optional)return null;throw new $(204,!1)};var Ib=!1,pr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",bU),s(e,"__NG_ENV_ID__",r=>r),e})(),Tb=class extends pr{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return Bi(r)?(t(),()=>{}):(ab(r,t),()=>PG(r,t))}};function bU(){return new Tb(de())}var qi=class{},Rb=new J("",{providedIn:"root",factory:()=>!1}),Ob=new J(""),Nb=new J(""),us=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Ma(!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})(),yU=class extends be{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,W0()&&(this.destroyRef=S(pr,{optional:!0})??void 0,this.pendingTasks=S(us,{optional:!0})??void 0)}emit(t){let r=Ie(null);try{super.next(t)}finally{Ie(r)}}subscribe(t,r,n){var u,c,d;let a=t,i=r||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(u=m.next)==null?void 0:u.bind(m),i=(c=m.error)==null?void 0:c.bind(m),o=(d=m.complete)==null?void 0:d.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:i,complete:o});return t instanceof ln&&t.add(l),l}wrapInTimeout(t){return r=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var i;try{t(r)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},Pt=yU;function No(...e){}function Mb(e){let t,r;function n(){e=No;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function nf(e){return queueMicrotask(()=>e()),()=>{e=No}}var np="isAngularZone",Ll=np+"_ID",_U=0,$e=class vd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Pt(!1));s(this,"onMicrotaskEmpty",new Pt(!1));s(this,"onStable",new Pt(!1));s(this,"onError",new Pt(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:i=Ib}=t;if(typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=i,EU(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(np)===!0}static assertInAngularZone(){if(!vd.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(vd.isInAngularZone())throw new $(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,a){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+a,t,wU,No,No);try{return i.runTask(o,r,n)}finally{i.cancelTask(o)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},wU={};function rp(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 xU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Mb(()=>{e.callbackScheduled=!1,bd(e),e.isCheckStableRunning=!0,rp(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),bd(e)}function EU(e){let t=()=>{xU(e)},r=_U++;e._inner=e._inner.fork({name:"angular",properties:{[np]:!0,[Ll]:r,[Ll+r]:!0},onInvokeTask:(n,a,i,o,l,u)=>{if(kU(u))return n.invokeTask(i,o,l,u);try{return rf(e),n.invokeTask(i,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),af(e)}},onInvoke:(n,a,i,o,l,u,c)=>{try{return rf(e),n.invoke(i,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!CU(u)&&t(),af(e)}},onHasTask:(n,a,i,o)=>{n.hasTask(i,o),a===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,bd(e),rp(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function bd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function rf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function af(e){e._nesting--,rp(e)}var SU=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Pt);s(this,"onMicrotaskEmpty",new Pt);s(this,"onStable",new Pt);s(this,"onError",new Pt)}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}};function kU(e){return Ab(e,"__ignore_ng_zone__")}function CU(e){return Ab(e,"__scheduler_tick__")}function Ab(e,t){var r,n;return!Array.isArray(e)||e.length!==1?!1:((n=(r=e[0])==null?void 0:r.data)==null?void 0:n[t])===!0}var Gn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},DU=new J("",{providedIn:"root",factory:()=>{let e=S($e),t=S(Gn);return r=>e.runOutsideAngular(()=>t.handleError(r))}}),Pb=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",S(Gn,{optional:!0}));s(this,"destroyRef",S(pr));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new $(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var r,n;let t=(r=this.listeners)==null?void 0:r.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var r;if(this.destroyed){console.warn(k0(953,!1));return}if(this.listeners===null)return;let t=Ie(null);try{for(let n of this.listeners)try{n(e)}catch(a){(r=this.errorHandler)==null||r.handleError(a)}}finally{Ie(t)}}};function Fl(e){return new Pb}function of(e,t){return D0(e,t)}function IU(e){return D0(fu,e)}var Be=(of.required=IU,of);function TU(){return $i(nn(),de())}function $i(e,t){return new lt(mr(e,t))}var lt=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",TU),e})();function RU(e){return e instanceof lt?e.nativeElement:e}function OU(e){return typeof e=="function"&&e[mn]!==void 0}function Mo(e,t){let r=q$(e,t==null?void 0:t.equal),n=r[mn];return r.set=a=>ts(n,a),r.update=a=>qv(n,a),r.asReadonly=ap.bind(r),r}function ap(){let e=this[mn];if(e.readonlyFn===void 0){let t=()=>this();t[mn]=e,e.readonlyFn=t}return e.readonlyFn}function Lb(e){return OU(e)&&typeof e.set=="function"}function NU(){return this._results[Symbol.iterator]()}var Sv,MU=(Sv=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,Sv,NU);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new be)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let r=dG(e);(this._changesDetected=!cG(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function Fb(e){return(e.flags&128)===128}var jb=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(jb||{}),Vb=new Map,AU=0;function PU(){return AU++}function LU(e){Vb.set(e[bu],e)}function yd(e){Vb.delete(e[bu])}var sf="__ngContext__";function Gi(e,t){ua(t)?(e[sf]=t[bu],LU(t)):e[sf]=t}function zb(e){return Hb(e[Ro])}function Bb(e){return Hb(e[qn])}function Hb(e){for(;e!==null&&!Br(e);)e=e[qn];return e}var _d;function FU(e){_d=e}function qb(){if(_d!==void 0)return _d;if(typeof document<"u")return document;throw new $(210,!1)}var Eu=new J("",{providedIn:"root",factory:()=>jU}),jU="ng",$b=new J(""),Su=new J("",{providedIn:"platform",factory:()=>"unknown"}),Wa=new J(""),ip=new J("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=qb().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Gb=!1,VU=new J("",{providedIn:"root",factory:()=>Gb}),op=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(op||{}),cs=new J(""),lf=new Set;function Ya(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 sp=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",zU),e})();function zU(){return new sp(de(),nn())}var ci=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ci||{}),Ub=(()=>{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})(),BU=[ci.EarlyRead,ci.Write,ci.MixedReadWrite,ci.Read],HU=(()=>{const t=class t{constructor(){s(this,"ngZone",S($e));s(this,"scheduler",S(qi));s(this,"errorHandler",S(Gn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);S(cs,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of BU)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[a]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[a];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:a}=n;a!==void 0?((a[la]??(a[la]=[])).push(n),Hi(a),a[fe]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,a){return a?a.run(op.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),qU=class{constructor(e,t,r,n,a,i=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=r,this.once=n,this.snapshot=i,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,r;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(r=this.view)==null?void 0:r[la];e&&(this.view[la]=e.filter(n=>n!==this))}};function Zb(e,t){!(t!=null&&t.injector)&&is();let r=(t==null?void 0:t.injector)??S(dt);return Ya("NgAfterRender"),Wb(e,r,t,!1)}function ku(e,t){!(t!=null&&t.injector)&&is();let r=(t==null?void 0:t.injector)??S(dt);return Ya("NgAfterNextRender"),Wb(e,r,t,!0)}function $U(e,t){if(e instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[t]=e,r}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Wb(e,t,r,n){let a=t.get(Ub);a.impl??(a.impl=t.get(HU));let i=t.get(cs,null,{optional:!0}),o=(r==null?void 0:r.phase)??ci.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get(pr):null,u=t.get(sp,null,{optional:!0}),c=new qU(a.impl,$U(e,o),u==null?void 0:u.view,n,l,i==null?void 0:i.snapshot(null));return a.impl.register(c),c}var GU=()=>null;function Yb(e,t,r=!1){return GU()}function Kb(e,t){let r=e.contentQueries;if(r!==null){let n=Ie(null);try{for(let a=0;a<r.length;a+=2){let i=r[a],o=r[a+1];if(o!==-1){let l=e.data[o];Qh(i),l.contentQueries(2,t[o],o)}}}finally{Ie(n)}}}function wd(e,t,r){Qh(0);let n=Ie(null);try{t(e,r)}finally{Ie(n)}}function lp(e,t,r){if(Bh(t)){let n=Ie(null);try{let a=t.directiveStart,i=t.directiveEnd;for(let o=a;o<i;o++){let l=e.data[o];if(l.contentQueries){let u=r[o];l.contentQueries(1,u,o)}}}finally{Ie(n)}}}var Mr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Mr||{}),Ms;function UU(){if(Ms===void 0&&(Ms=null,ta.trustedTypes))try{Ms=ta.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ms}function Cu(e){var t;return((t=UU())==null?void 0:t.createHTML(e))||e}var As;function ZU(){if(As===void 0&&(As=null,ta.trustedTypes))try{As=ta.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return As}function uf(e){var t;return((t=ZU())==null?void 0:t.createHTML(e))||e}var Ka=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${S0})`}},WU=class extends Ka{getTypeName(){return"HTML"}},YU=class extends Ka{getTypeName(){return"Style"}},KU=class extends Ka{getTypeName(){return"Script"}},QU=class extends Ka{getTypeName(){return"URL"}},XU=class extends Ka{getTypeName(){return"ResourceURL"}};function Rr(e){return e instanceof Ka?e.changingThisBreaksApplicationSecurity:e}function Da(e,t){let r=JU(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${S0})`)}return r===t}function JU(e){return e instanceof Ka&&e.getTypeName()||null}function e8(e){return new WU(e)}function t8(e){return new YU(e)}function n8(e){return new KU(e)}function r8(e){return new QU(e)}function a8(e){return new XU(e)}function i8(e){let t=new s8(e);return l8()?new o8(t):t}var o8=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Cu(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},s8=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=Cu(e),t}};function l8(){try{return!!new window.DOMParser().parseFromString(Cu(""),"text/html")}catch{return!1}}var u8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function up(e){return e=String(e),e.match(u8)?e:"unsafe:"+e}function Hr(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function ds(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var Qb=Hr("area,br,col,hr,img,wbr"),Xb=Hr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jb=Hr("rp,rt"),c8=ds(Jb,Xb),d8=ds(Xb,Hr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),h8=ds(Jb,Hr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),cf=ds(Qb,d8,h8,c8),ey=Hr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),p8=Hr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),m8=Hr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),f8=ds(ey,p8,m8),g8=Hr("script,style,template"),v8=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,r=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){n.push(t),t=_8(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=y8(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=df(e).toLowerCase();if(!cf.hasOwnProperty(t))return this.sanitizedSomething=!0,!g8.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let n=0;n<r.length;n++){let a=r.item(n),i=a.name,o=i.toLowerCase();if(!f8.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;ey[o]&&(l=up(l)),this.buf.push(" ",i,'="',hf(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=df(e).toLowerCase();cf.hasOwnProperty(t)&&!Qb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(hf(e))}};function b8(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function y8(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ty(t);return t}function _8(e){let t=e.firstChild;if(t&&b8(e,t))throw ty(t);return t}function df(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ty(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var w8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x8=/([^\#-~ |!])/g;function hf(e){return e.replace(/&/g,"&").replace(w8,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(x8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ps;function ny(e,t){let r=null;try{Ps=Ps||i8(e);let n=t?String(t):"";r=Ps.getInertBodyElement(n);let a=5,i=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=i,i=r.innerHTML,r=Ps.getInertBodyElement(n)}while(n!==i);let o=new v8().sanitizeChildren(pf(r)||r);return Cu(o)}finally{if(r){let n=pf(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function pf(e){return"content"in e&&E8(e)?e.content:null}function E8(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var At=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}(At||{});function jl(e){let t=ay();return t?uf(t.sanitize(At.HTML,e)||""):Da(e,"HTML")?uf(Rr(e)):ny(qb(),Pa(e))}function ry(e){let t=ay();return t?t.sanitize(At.URL,e)||"":Da(e,"URL")?Rr(e):up(Pa(e))}function ay(){let e=de();return e&&e[jr].sanitizer}var S8=/^>|^->|<!--|-->|--!>|<!-$/g,k8=/(<|>)/g,C8="$1";function D8(e){return e.replace(S8,t=>t.replace(k8,C8))}function I8(e,t,r){let n=e.length;for(;;){let a=e.indexOf(t,r);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let i=t.length;if(a+i===n||e.charCodeAt(a+i)<=32)return a}r=a+1}}var iy="ng-template";function T8(e,t,r,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&I8(t[a+1].toLowerCase(),r,0)!==-1)return!0}else if(cp(e))return!1;if(a=t.indexOf(1,a),a>-1){let i;for(;++a<t.length&&typeof(i=t[a])=="string";)if(i.toLowerCase()===r)return!0}return!1}function cp(e){return e.type===4&&e.value!==iy}function R8(e,t,r){let n=e.type===4&&!r?iy:e.value;return t===n}function O8(e,t,r){let n=4,a=e.attrs,i=a!==null?A8(a):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Vn(n)&&!Vn(u))return!1;if(o&&Vn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!R8(e,u,r)||u===""&&t.length===1){if(Vn(n))return!1;o=!0}}else if(n&8){if(a===null||!T8(e,a,u,r)){if(Vn(n))return!1;o=!0}}else{let c=t[++l],d=N8(u,a,cp(e),r);if(d===-1){if(Vn(n))return!1;o=!0;continue}if(c!==""){let m;if(d>i?m="":m=a[d+1].toLowerCase(),n&2&&c!==m){if(Vn(n))return!1;o=!0}}}}return Vn(n)||o}function Vn(e){return(e&1)===0}function N8(e,t,r,n){if(t===null)return-1;let a=0;if(n||!r){let i=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)i=!0;else if(o===1||o===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=i?1:2}return-1}else return P8(t,e)}function oy(e,t,r=!1){for(let n=0;n<t.length;n++)if(O8(e,t[n],r))return!0;return!1}function M8(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function A8(e){for(let t=0;t<e.length;t++){let r=e[t];if(vb(r))return t}return e.length}function P8(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function L8(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];if(e.length===n.length){for(let a=0;a<e.length;a++)if(e[a]!==n[a])continue e;return!0}}return!1}function mf(e,t){return e?":not("+t.trim()+")":t}function F8(e){let t=e[0],r=1,n=2,a="",i=!1;for(;r<e.length;){let o=e[r];if(typeof o=="string")if(n&2){let l=e[++r];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!Vn(o)&&(t+=mf(i,a),a=""),n=o,i=i||!Vn(n);r++}return a!==""&&(t+=mf(i,a)),t}function j8(e){return e.map(F8).join(",")}function V8(e){let t=[],r=[],n=1,a=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")a===2?i!==""&&t.push(i,e[++n]):a===8&&r.push(i);else{if(!Vn(a))break;a=i}n++}return r.length&&t.push(1,...r),t}var Sn={};function z8(e,t){return e.createText(t)}function B8(e,t,r){e.setValue(t,r)}function H8(e,t){return e.createComment(D8(t))}function sy(e,t,r){return e.createElement(t,r)}function Vl(e,t,r,n,a){e.insertBefore(t,r,n,a)}function ly(e,t,r){e.appendChild(t,r)}function ff(e,t,r,n,a){n!==null?Vl(e,t,r,n,a):ly(e,t,r)}function q8(e,t,r){e.removeChild(null,t,r)}function $8(e,t,r){e.setAttribute(t,"style",r)}function G8(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function uy(e,t,r){let{mergedAttrs:n,classes:a,styles:i}=r;n!==null&&aU(e,t,n),a!==null&&G8(e,t,a),i!==null&&$8(e,t,i)}function dp(e,t,r,n,a,i,o,l,u,c,d){let m=vt+n,v=m+a,g=U8(m,v),w=typeof c=="function"?c():c;return g[ye]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function U8(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:Sn);return r}function Z8(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=dp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function hp(e,t,r,n,a,i,o,l,u,c,d){let m=t.blueprint.slice();return m[zr]=a,m[fe]=n|4|128|8|64|1024,(c!==null||e&&e[fe]&2048)&&(m[fe]|=2048),rb(m),m[en]=m[Vi]=e,m[Vt]=r,m[jr]=o||e&&e[jr],m[ft]=l||e&&e[ft],m[Di]=u||e&&e[Di]||null,m[vn]=i,m[bu]=PU(),m[Ci]=d,m[Y0]=c,m[An]=t.type==2?e[An]:m,m}function W8(e,t,r){let n=mr(t,e),a=Z8(r),i=e[jr].rendererFactory,o=pp(e,hp(e,a,null,cy(r),n,t,null,i.createRenderer(n,r),null,null,null));return e[t.index]=o}function cy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function dy(e,t,r,n){if(r===0)return-1;let a=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function pp(e,t){return e[Ro]?e[Km][qn]=t:e[Ro]=t,e[Km]=t,t}function F(e=1){hy(st(),de(),fr()+e)}function hy(e,t,r,n){if((t[fe]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ll(t,a,r)}else{let a=e.preOrderHooks;a!==null&&ul(t,a,0,r)}Ha(r)}var Du=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Du||{});function xd(e,t,r,n){let a=Ie(null);try{let[i,o,l]=e.inputs[r],u=null;o&Du.SignalBased&&(u=t[i][mn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,r,i):Q0(t,u,i,n)}finally{Ie(a)}}function py(e,t,r,n,a){let i=fr(),o=n&2;try{Ha(-1),o&&t.length>vt&&hy(e,t,vt,!1),Va(o?2:0,a),r(n,a)}finally{Ha(i)}}function Iu(e,t,r){X8(e,t,r),(r.flags&64)===64&&J8(e,t,r)}function mp(e,t,r=mr){let n=t.localNames;if(n!==null){let a=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?r(t,e):e[o];e[a++]=l}}}function Y8(e,t,r,n){let a=n.get(VU,Gb)||r===Mr.ShadowDom;return e.selectRootElement(t,a)}function K8(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function fp(e,t,r,n,a,i,o,l){if(!l&&vp(t,e,r,n,a)){zi(t)&&Q8(r,t.index);return}if(t.type&3){let u=mr(t,r);n=K8(n),a=o!=null?o(a,t.value||"",n):a,i.setProperty(u,n,a)}else t.type&12}function Q8(e,t){let r=hr(t,e);r[fe]&16||(r[fe]|=64)}function X8(e,t,r){let n=r.directiveStart,a=r.directiveEnd;zi(r)&&W8(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||Pl(r,t);let i=r.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],u=Oo(t,e,o,r);if(Gi(u,t),i!==null&&rZ(t,o-n,u,l,r,i),cr(l)){let c=hr(r.index,t);c[Vt]=Oo(t,e,o,r)}}}function J8(e,t,r){let n=r.directiveStart,a=r.directiveEnd,i=r.index,o=WG();try{Ha(i);for(let l=n;l<a;l++){let u=e.data[l],c=t[l];pd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&eZ(u,c)}}finally{Ha(-1),pd(o)}}function eZ(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function gp(e,t){let r=e.directiveRegistry,n=null;if(r)for(let a=0;a<r.length;a++){let i=r[a];oy(t,i.selectors,!1)&&(n??(n=[]),cr(i)?n.unshift(i):n.push(i))}return n}function tZ(e,t,r,n,a,i){let o=mr(e,t);nZ(t[ft],o,i,e.value,r,n,a)}function nZ(e,t,r,n,a,i,o){if(i==null)e.removeAttribute(t,a,r);else{let l=o==null?Pa(i):o(i,n||"",a);e.setAttribute(t,a,l,r)}}function rZ(e,t,r,n,a,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];xd(n,r,u,c)}}function aZ(e,t){let r=e[Di],n=r?r.get(Gn,null):null;n&&n.handleError(t)}function vp(e,t,r,n,a){var u,c;let i=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let m=o[d],v=o[d+1],g=t.data[m];xd(g,r[m],v,a),l=!0}if(i)for(let d of i){let m=r[d],v=t.data[d];xd(v,m,n,a),l=!0}return l}function iZ(e,t){let r=hr(t,e),n=r[ye];oZ(n,r);let a=r[zr];a!==null&&r[Ci]===null&&(r[Ci]=Yb(a,r[Di])),bp(n,r,r[Vt]),Va(19,r[Vt])}function oZ(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function bp(e,t,r){var n;Xh(t);try{let a=e.viewQuery;a!==null&&wd(1,a,r);let i=e.template;i!==null&&py(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[$n])==null||n.finishViewCreation(e),e.staticContentQueries&&Kb(e,t),e.staticViewQueries&&wd(2,e.viewQuery,r);let o=e.components;o!==null&&sZ(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[fe]&=-5,Jh()}}function sZ(e,t){for(let r=0;r<t.length;r++)iZ(e,t[r])}function hs(e,t,r,n){let a=Ie(null);try{let i=t.tView,o=e[fe]&4096?4096:16,l=hp(e,i,r,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[Fa]=u;let c=e[$n];return c!==null&&(l[$n]=c.createEmbeddedView(i)),bp(i,l,r),l}finally{Ie(a)}}function Ri(e,t){return!t||t.firstChild===null||Fb(e)}var lZ;function yp(e,t){return lZ(e,t)}var di=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(di||{});function _p(e){return(e.flags&32)===32}function hi(e,t,r,n,a){if(n!=null){let i,o=!1;Br(n)?i=n:ua(n)&&(o=!0,n=n[zr]);let l=dr(n);e===0&&r!==null?a==null?ly(t,r,l):Vl(t,r,l,a||null,!0):e===1&&r!==null?Vl(t,r,l,a||null,!0):e===2?q8(t,l,o):e===3&&t.destroyNode(l),i!=null&&bZ(t,e,i,r,a)}}function uZ(e,t){my(e,t),t[zr]=null,t[vn]=null}function cZ(e,t,r,n,a,i){n[zr]=a,n[vn]=t,Ou(e,n,r,1,a,i)}function my(e,t){var r;(r=t[jr].changeDetectionScheduler)==null||r.notify(9),Ou(e,t,t[ft],2,null,null)}function dZ(e){let t=e[Ro];if(!t)return oc(e[ye],e);for(;t;){let r=null;if(ua(t))r=t[Ro];else{let n=t[Jt];n&&(r=n)}if(!r){for(;t&&!t[qn]&&t!==e;)ua(t)&&oc(t[ye],t),t=t[en];t===null&&(t=e),ua(t)&&oc(t[ye],t),r=t&&t[qn]}t=r}}function wp(e,t){let r=e[Ii],n=r.indexOf(t);r.splice(n,1)}function Tu(e,t){if(Bi(t))return;let r=t[ft];r.destroyNode&&Ou(e,t,r,3,null,null),dZ(t)}function oc(e,t){if(Bi(t))return;let r=Ie(null);try{t[fe]&=-129,t[fe]|=256,t[Mn]&&hu(t[Mn]),pZ(e,t),hZ(e,t),t[ye].type===1&&t[ft].destroy();let n=t[Fa];if(n!==null&&Br(t[en])){n!==t[en]&&wp(n,t);let a=t[$n];a!==null&&a.detachView(e)}yd(t)}finally{Ie(r)}}function hZ(e,t){let r=e.cleanup,n=t[gi];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let l=r[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[r[o+1]];r[o].call(l)}n!==null&&(t[gi]=null);let a=t[sa];if(a!==null){t[sa]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let i=t[Nr];if(i!==null){t[Nr]=null;for(let o of i)o.destroy()}}function pZ(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let a=t[r[n]];if(!(a instanceof ls)){let i=r[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=a[i[o]],u=i[o+1];try{u.call(l)}finally{}}else try{i.call(a)}finally{}}}}function fy(e,t,r){return mZ(e,t.parent,r)}function mZ(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[zr];if(zi(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===Mr.None||a===Mr.Emulated)return null}return mr(n,r)}function gy(e,t,r){return gZ(e,t,r)}function fZ(e,t,r){return e.type&40?mr(e,r):null}var gZ=fZ;function Ru(e,t,r,n){let a=fy(e,n,t),i=t[ft],o=n.parent||t[vn],l=gy(o,n,t);if(a!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)ff(i,a,r[u],l,!1);else ff(i,a,r,l,!1)}function mo(e,t){if(t!==null){let r=t.type;if(r&3)return mr(t,e);if(r&4)return Ed(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return mo(e,n);{let a=e[t.index];return Br(a)?Ed(-1,a):dr(a)}}else{if(r&128)return mo(e,t.next);if(r&32)return yp(t,e)()||dr(e[t.index]);{let n=vy(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Ba(e[An]);return mo(a,n)}else return mo(e,t.next)}}}return null}function vy(e,t){if(t!==null){let r=e[An][vn],n=t.projection;return r.projection[n]}return null}function Ed(e,t){let r=Jt+e+1;if(r<t.length){let n=t[r],a=n[ye].firstChild;if(a!==null)return mo(n,a)}return t[ja]}function xp(e,t,r,n,a,i,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],u=r.type;if(o&&t===0&&(l&&Gi(dr(l),n),r.flags|=2),!_p(r))if(u&8)xp(e,t,r.child,n,a,i,!1),hi(t,e,a,l,i);else if(u&32){let c=yp(r,n),d;for(;d=c();)hi(t,e,a,d,i);hi(t,e,a,l,i)}else u&16?by(e,t,n,r,a,i):hi(t,e,a,l,i);r=o?r.projectionNext:r.next}}function Ou(e,t,r,n,a,i){xp(r,n,e.firstChild,t,a,i,!1)}function vZ(e,t,r){let n=t[ft],a=fy(e,r,t),i=r.parent||t[vn],o=gy(i,r,t);by(n,0,t,r,a,o)}function by(e,t,r,n,a,i){let o=r[An],l=o[vn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];hi(t,e,a,c,i)}else{let u=l,c=o[en];Fb(n)&&(u.flags|=128),xp(e,t,u,c,a,i,!0)}}function bZ(e,t,r,n,a){let i=r[ja],o=dr(r);i!==o&&hi(t,e,n,i,a);for(let l=Jt;l<r.length;l++){let u=r[l];Ou(u[ye],u,e,t,n,i)}}function yZ(e,t,r,n,a){a?e.addClass(r,n):e.removeClass(r,n)}function zl(e,t,r,n,a=!1){for(;r!==null;){if(r.type===128){r=a?r.projectionNext:r.next;continue}let i=t[r.index];i!==null&&n.push(dr(i)),Br(i)&&_Z(i,n);let o=r.type;if(o&8)zl(e,t,r.child,n);else if(o&32){let l=yp(r,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=vy(t,r);if(Array.isArray(l))n.push(...l);else{let u=Ba(t[An]);zl(u[ye],u,l,n,!0)}}r=a?r.projectionNext:r.next}return n}function _Z(e,t){for(let r=Jt;r<e.length;r++){let n=e[r],a=n[ye].firstChild;a!==null&&zl(n[ye],n,a,t)}e[ja]!==e[zr]&&t.push(e[ja])}function yy(e){if(e[la]!==null){for(let t of e[la])t.impl.addSequence(t);e[la].length=0}}var _y=[];function wZ(e){return e[Mn]??xZ(e)}function xZ(e){let t=_y.pop()??Object.create(SZ);return t.lView=e,t}function EZ(e){e.lView[Mn]!==e&&(e.lView=null,_y.push(e))}var SZ=Ut(ce({},Fi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Hi(e.lView)},consumerOnSignalRead(){this.lView[Mn]=this}});function kZ(e){let t=e[Mn]??Object.create(CZ);return t.lView=e,t}var CZ=Ut(ce({},Fi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ba(e.lView);for(;t&&!wy(t[ye]);)t=Ba(t);t&&Gh(t)},consumerOnSignalRead(){this.lView[Mn]=this}});function wy(e){return e.type!==2}function xy(e){if(e[Nr]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[Nr])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[fe]&8192)}}var DZ=100;function Ey(e,t=!0,r=0){var a,i;let n=e[jr].rendererFactory;(a=n.begin)==null||a.call(n);try{IZ(e,r)}catch(o){throw t&&aZ(e,o),o}finally{(i=n.end)==null||i.call(n)}}function IZ(e,t){let r=lb();try{Ol(!0),Sd(e,t);let n=0;for(;ss(e);){if(n===DZ)throw new $(103,!1);n++,Sd(e,1)}}finally{Ol(r)}}function TZ(e,t,r,n){if(Bi(t))return;let a=t[fe],i=!1,o=!1;Xh(t);let l=!0,u=null,c=null;wy(e)?(c=wZ(t),u=ko(c)):L$()===null?(l=!1,c=kZ(t),u=ko(c)):t[Mn]&&(hu(t[Mn]),t[Mn]=null);try{rb(t),GG(e.bindingStartIndex),r!==null&&py(e,t,r,2,n);let d=(a&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&ll(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ul(t,g,0,null),ac(t,0)}if(o||RZ(t),xy(t),Sy(t,0),e.contentQueries!==null&&Kb(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&ll(t,g)}else{let g=e.contentHooks;g!==null&&ul(t,g,1),ac(t,1)}NZ(e,t);let m=e.components;m!==null&&Cy(t,m,0);let v=e.viewQuery;if(v!==null&&wd(2,v,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&ll(t,g)}else{let g=e.viewHooks;g!==null&&ul(t,g,2),ac(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[rc]){for(let g of t[rc])g();t[rc]=null}i||(yy(t),t[fe]&=-73)}catch(d){throw Hi(t),d}finally{c!==null&&(du(c,u),l&&EZ(c)),Jh()}}function Sy(e,t){for(let r=zb(e);r!==null;r=Bb(r))for(let n=Jt;n<r.length;n++){let a=r[n];ky(a,t)}}function RZ(e){for(let t=zb(e);t!==null;t=Bb(t)){if(!(t[fe]&2))continue;let r=t[Ii];for(let n=0;n<r.length;n++){let a=r[n];Gh(a)}}}function OZ(e,t,r){let n=hr(t,e);ky(n,r),Va(19,n[Vt])}function ky(e,t){$h(e)&&Sd(e,t)}function Sd(e,t){let r=e[ye],n=e[fe],a=e[Mn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(a!=null&&a.dirty&&_h(a))),i||(i=!1),a&&(a.dirty=!1),e[fe]&=-9217,i)TZ(r,e,r.template,e[Vt]);else if(n&8192){xy(e),Sy(e,1);let o=r.components;o!==null&&Cy(e,o,1),yy(e)}}function Cy(e,t,r){for(let n=0;n<t.length;n++)OZ(e,t[n],r)}function NZ(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let a=r[n];if(a<0)Ha(~a);else{let i=a,o=r[++n],l=r[++n];ZG(o,i);let u=t[i];Va(24,u),l(2,u),Va(25,u)}}}finally{Ha(-1)}}function Ep(e,t){var n;let r=lb()?64:1088;for((n=e[jr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[fe]|=r;let a=Ba(e);if(Rl(e)&&!a)return e;e=a}return null}function Dy(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function Iy(e,t){let r=Jt+t;if(r<e.length)return e[r]}function ps(e,t,r,n=!0){let a=t[ye];if(MZ(a,t,e,r),n){let o=Ed(r,e),l=t[ft],u=l.parentNode(e[ja]);u!==null&&cZ(a,e[vn],l,t,u,o)}let i=t[Ci];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ty(e,t){let r=Ao(e,t);return r!==void 0&&Tu(r[ye],r),r}function Ao(e,t){if(e.length<=Jt)return;let r=Jt+t,n=e[r];if(n){let a=n[Fa];a!==null&&a!==e&&wp(a,n),t>0&&(e[r-1][qn]=n[qn]);let i=Dl(e,Jt+t);uZ(n[ye],n);let o=i[$n];o!==null&&o.detachView(i[ye]),n[en]=null,n[qn]=null,n[fe]&=-129}return n}function MZ(e,t,r,n){let a=Jt+n,i=r.length;n>0&&(r[a-1][qn]=t),n<i-Jt?(t[qn]=r[a],V0(r,Jt+n,t)):(r.push(t),t[qn]=null),t[en]=r;let o=t[Fa];o!==null&&r!==o&&Ry(o,t);let l=t[$n];l!==null&&l.insertView(e),dd(t),t[fe]|=128}function Ry(e,t){let r=e[Ii],n=t[en];if(ua(n))e[fe]|=2;else{let a=n[en][An];t[An]!==a&&(e[fe]|=2)}r===null?e[Ii]=[t]:r.push(t)}var Po=class{constructor(e,t,r=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=r}get rootNodes(){let e=this._lView,t=e[ye];return zl(t,e,t.firstChild,[])}get context(){return this._lView[Vt]}set context(e){this._lView[Vt]=e}get destroyed(){return Bi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[en];if(Br(e)){let t=e[Tl],r=t?t.indexOf(this):-1;r>-1&&(Ao(e,r),Dl(t,r))}this._attachedToViewContainer=!1}Tu(this._lView[ye],this._lView)}onDestroy(e){ab(this._lView,e)}markForCheck(){Ep(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[fe]&=-129}reattach(){dd(this._lView),this._lView[fe]|=128}detectChanges(){this._lView[fe]|=1024,Ey(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Rl(this._lView),t=this._lView[Fa];t!==null&&!e&&wp(t,this._lView),my(this._lView[ye],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=e;let t=Rl(this._lView),r=this._lView[Fa];r!==null&&!t&&Ry(r,this._lView),dd(this._lView)}};function AZ(e){return ss(e._lView)||!!(e._lView[fe]&64)}function PZ(e){Gh(e._cdRefInjectingView||e._lView)}var un=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",jZ),e})(),LZ=un,FZ=class extends LZ{constructor(t,r,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let a=hs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Po(a)}};function jZ(){return Nu(nn(),de())}function Nu(e,t){return e.type&4?new FZ(t,e,$i(e,t)):null}function Ui(e,t,r,n,a){let i=e.data[t];if(i===null)i=VZ(e,t,r,n,a),UG()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=a;let o=qG();i.injectorIndex=o===null?-1:o.injectorIndex}return ha(i,!0),i}function VZ(e,t,r,n,a){let i=ob(),o=Wh(),l=o?i:i&&i.parent,u=e.data[t]=BZ(e,l,r,t,n,a);return zZ(e,u,i,o),u}function zZ(e,t,r,n){e.firstChild===null&&(e.firstChild=t),r!==null&&(n?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function BZ(e,t,r,n,a,i){let o=t?t.injectorIndex:-1,l=0;return ib()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var HZ=()=>null;function Oi(e,t){return HZ()}var qZ=class{},Oy=class{},$Z=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Nn(e)}.`)}},Qc,ms=(Qc=class{},s(Qc,"NULL",new $Z),Qc),Un=class{},Zi=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>GZ()),e})();function GZ(){let e=de(),t=nn(),r=hr(t.index,e);return(ua(r)?r:e)[ft]}var UZ=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),sc={},ZZ=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=gu(r);let n=this.injector.get(e,sc,r);return n!==sc||t===sc?n:this.parentInjector.get(e,t,r)}};function kd(e,t,r){let n=r?e.styles:null,a=r?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)a=ad(a,l);else if(i==2){let u=l,c=t[++o];n=ad(n,u+": "+c+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=a:e.classesWithoutHost=a}function $t(e,t=Re.Default){let r=de();if(r===null)return oe(e,t);let n=nn();return Sb(n,r,qt(e),t)}function Sp(e,t,r,n,a){let i=n===null?null:{"":-1},o=a(e,r);if(o!==null){let l,u=null,c=null,d=YZ(o);d===null?l=o:[l,u,c]=d,XZ(e,t,r,l,i,u,c)}i!==null&&n!==null&&WZ(r,n,i)}function WZ(e,t,r){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let i=r[t[a+1]];if(i==null)throw new $(-301,!1);n.push(t[a],i)}}function YZ(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&cr(l)&&(t=l),l.findHostDirectiveDefs!==null){r=!0;break}}if(!r)return null;let n=null,a=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),i??(i=new Map),KZ(o,n,i,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,i]):null}function KZ(e,t,r,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[a,t.length-1])}function QZ(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function XZ(e,t,r,n,a,i,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&cr(g)&&(u=!0,QZ(e,r,v)),fd(Pl(r,t),e,g.type)}aW(r,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,d=!1,m=dy(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(r.mergedAttrs=Ti(r.mergedAttrs,g.hostAttrs),eW(e,r,t,m,g),rW(m,g,a),o!==null&&o.has(g)){let[x,k]=o.get(g);r.directiveToIndex.set(g.type,[m,x+r.directiveStart,k+r.directiveStart])}else(i===null||!i.has(g))&&r.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(r.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(r.flags|=64);let w=g.type.prototype;!c&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),c=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),d=!0),m++}JZ(e,r,i)}function JZ(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(r===null||!r.has(a))gf(0,t,a,n),gf(1,t,a,n),bf(t,n,!1);else{let i=r.get(a);vf(0,t,i,n),vf(1,t,i,n),bf(t,n,!0)}}}function gf(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),Ny(t,i)}}function vf(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o=a[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),Ny(t,o)}}function Ny(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function bf(e,t,r){let{attrs:n,inputs:a,hostDirectiveInputs:i}=e;if(n===null||!r&&a===null||r&&i===null||cp(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!r&&a.hasOwnProperty(u)){let c=a[u];for(let d of c)if(d===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(r&&i.hasOwnProperty(u)){let c=i[u];for(let d=0;d<c.length;d+=2)if(c[d]===t){o??(o=[]),o.push(c[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function eW(e,t,r,n,a){e.data[n]=a;let i=a.factory||(a.factory=La(a.type)),o=new ls(i,cr(a),$t);e.blueprint[n]=o,r[n]=o,tW(e,t,n,dy(e,r,a.hostVars,Sn),a)}function tW(e,t,r,n,a){let i=a.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;nW(o)!=l&&o.push(l),o.push(r,n,i)}}function nW(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function rW(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;cr(t)&&(r[""]=e)}}function aW(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function My(e,t,r,n,a,i,o,l){let u=t.consts,c=za(u,o),d=Ui(t,e,2,n,c);return Sp(t,r,d,za(u,l),a),d.mergedAttrs=Ti(d.mergedAttrs,d.attrs),d.attrs!==null&&kd(d,d.attrs,!1),d.mergedAttrs!==null&&kd(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Ay(e,t){ep(e,t),Bh(t)&&e.queries.elementEnd(t)}var iW=class extends ms{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=Si(t);return new kp(r,this.ngModule)}};function oW(e){return Object.keys(e).map(t=>{let[r,n,a]=e[t],i={propName:r,templateName:t,isSignal:(n&Du.SignalBased)!==0};return a&&(i.transform=a),i})}function sW(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function lW(e,t,r){let n=t instanceof ur?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new ZZ(r,n):r}function uW(e){let t=e.get(Un,null);if(t===null)throw new $(407,!1);let r=e.get(UZ,null),n=e.get(qi,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function cW(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return sy(t,r,r==="svg"?tb:r==="math"?OG:null)}var kp=class extends Oy{constructor(t,r){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=j8(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=oW(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=sW(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,a){let i=Ie(null);try{let o=this.componentDef,l=n?["ng-version","19.2.16"]:V8(this.componentDef.selectors[0]),u=dp(0,null,null,1,0,null,null,null,null,[l],null),c=lW(o,a||this.ngModule,t),d=uW(c),m=d.rendererFactory.createRenderer(null,o),v=n?Y8(m,n,o.encapsulation,c):cW(o,m),g=hp(null,u,null,512|cy(o),null,null,d,m,c,null,Yb(v,c,!0));g[vt]=v,Xh(g);let w=null;try{let x=My(vt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(uy(m,v,x),Gi(v,g)),Iu(u,g,x),lp(u,x,g),Ay(u,x),r!==void 0&&hW(x,this.ngContentSelectors,r),w=hr(x.index,g),g[Vt]=w[Vt],bp(u,g,null)}catch(x){throw w!==null&&yd(w),yd(g),x}finally{Va(23),Jh()}return new dW(this.componentType,g)}finally{Ie(i)}}},dW=class extends qZ{constructor(t,r){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=r,this._tNode=Hh(r[ye],vt),this.location=$i(this._tNode,r),this.instance=hr(this._tNode.index,r)[Vt],this.hostView=this.changeDetectorRef=new Po(r,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let a=this._rootLView;vp(n,a[ye],a,t,r),this.previousInputValues.set(t,r);let i=hr(n.index,a);Ep(i,1)}get injector(){return new yo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function hW(e,t,r){let n=e.projection=[];for(let a=0;a<t.length;a++){let i=r[a];n.push(i!=null&&i.length?Array.from(i):null)}}var Zn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",pW),e})();function pW(){let e=nn();return Ly(e,de())}var mW=Zn,Py=class extends mW{constructor(t,r,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return $i(this._hostTNode,this._hostLView)}get injector(){return new yo(this._hostTNode,this._hostLView)}get parentInjector(){let t=tp(this._hostTNode,this._hostLView);if(bb(t)){let r=Ml(t,this._hostLView),n=Nl(t),a=r[ye].data[n+8];return new yo(a,r)}else return new yo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=yf(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-Jt}createEmbeddedView(t,r,n){let a,i;typeof n=="number"?a=n:n!=null&&(a=n.index,i=n.injector);let o=Oi(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},i,o);return this.insertImpl(l,a,Ri(this._hostTNode,o)),l}createComponent(t,r,n,a,i){let o=t&&!CG(t),l;if(o)l=r;else{let w=r||{};l=w.index,n=w.injector,a=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let u=o?t:new kp(Si(t)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let w=(o?c:this.parentInjector).get(ur,null);w&&(i=w)}let d=Si(u.componentType??{}),m=Oi(this._lContainer,(d==null?void 0:d.id)??null),v=null,g=u.create(c,a,v,i);return this.insertImpl(g.hostView,l,Ri(this._hostTNode,m)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let a=t._lView;if(MG(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[en],c=new Py(u,u[vn],u[en]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(r),o=this._lContainer;return ps(o,a,i,n),t.attachToViewContainerRef(),V0(lc(o),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=yf(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=Ao(this._lContainer,r);n&&(Dl(lc(this._lContainer),r),Tu(n[ye],n))}detach(t){let r=this._adjustIndex(t,-1),n=Ao(this._lContainer,r);return n&&Dl(lc(this._lContainer),r)!=null?new Po(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function yf(e){return e[Tl]}function lc(e){return e[Tl]||(e[Tl]=[])}function Ly(e,t){let r,n=t[e.index];return Br(n)?r=n:(r=Dy(n,t,null,e),t[e.index]=r,pp(t,r)),gW(r,t,e,n),new Py(r,e,t)}function fW(e,t){let r=e[ft],n=r.createComment(""),a=mr(t,e),i=r.parentNode(a);return Vl(r,i,n,r.nextSibling(a),!1),n}var gW=vW;function vW(e,t,r,n){if(e[ja])return;let a;r.type&8?a=dr(n):a=fW(t,r),e[ja]=a}var bW=class Fy{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Fy(this.queryList)}setDirty(){this.queryList.setDirty()}},yW=class jy{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,a=[];for(let i=0;i<n;i++){let o=r.getByIndex(i),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new jy(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)Cp(t,r).matches!==null&&this.queries[r].setDirty()}},Vy=class{constructor(e,t,r=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=r,typeof e=="string"?this.predicate=TW(e):this.predicate=e}},_W=class zy{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let a=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,a);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new zy(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},wW=class By{constructor(t,r=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new By(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let i=n[a];this.matchTNodeWithReadOption(t,r,xW(r,i)),this.matchTNodeWithReadOption(t,r,cl(r,t,i,!1,!1))}else n===un?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,cl(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===lt||a===Zn||a===un&&r.type&4)this.addMatch(r.index,-2);else{let i=cl(r,t,a,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function xW(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function EW(e,t){return e.type&11?$i(e,t):e.type&4?Nu(e,t):null}function SW(e,t,r,n){return r===-1?EW(t,e):r===-2?kW(e,t,n):Oo(e,e[ye],r,t)}function kW(e,t,r){if(r===lt)return $i(t,e);if(r===un)return Nu(t,e);if(r===Zn)return Ly(t,e)}function Hy(e,t,r,n){let a=t[$n].queries[n];if(a.matches===null){let i=e.data,o=r.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let d=i[c];l.push(SW(t,d,o[u+1],r.metadata.read))}}a.matches=l}return a.matches}function Cd(e,t,r,n){let a=e.queries.getByIndex(r),i=a.matches;if(i!==null){let o=Hy(e,t,a,r);for(let l=0;l<i.length;l+=2){let u=i[l];if(u>0)n.push(o[l/2]);else{let c=i[l+1],d=t[-u];for(let m=Jt;m<d.length;m++){let v=d[m];v[Fa]===v[en]&&Cd(v[ye],v,c,n)}if(d[Ii]!==null){let m=d[Ii];for(let v=0;v<m.length;v++){let g=m[v];Cd(g[ye],g,c,n)}}}}}return n}function CW(e,t){return e[$n].queries[t].queryList}function qy(e,t,r){let n=new MU((r&4)===4);return LG(e,t,n,n.destroy),(t[$n]??(t[$n]=new yW)).queries.push(new bW(n))-1}function DW(e,t,r){let n=st();return n.firstCreatePass&&($y(n,new Vy(e,t,r),-1),n.staticViewQueries=!0),qy(n,de(),t)}function IW(e,t,r,n){let a=st();if(a.firstCreatePass){let i=nn();$y(a,new Vy(t,r,n),i.index),RW(a,e)}return qy(a,de(),r)}function TW(e){return e.split(",").map(t=>t.trim())}function $y(e,t,r){e.queries===null&&(e.queries=new _W),e.queries.track(new wW(t,r))}function RW(e,t){let r=e.contentQueries||(e.contentQueries=[]),n=r.length?r[r.length-1]:-1;t!==n&&r.push(e.queries.length-1,t)}function Cp(e,t){return e.queries.getByIndex(t)}function OW(e,t){let r=e[ye],n=Cp(r,t);return n.crossesNgTemplate?Cd(r,e,t,[]):Hy(r,e,n,t)}function Gy(e,t){let r=Object.create(C0),n=new Pb;r.value=e;function a(){return Jo(r),_f(r.value),r.value}return a[mn]=r,a.asReadonly=ap.bind(a),a.set=i=>{r.equal(r.value,i)||(ts(r,i),n.emit(i))},a.update=i=>{_f(r.value),a.set(i(r.value))},a.subscribe=n.subscribe.bind(n),a.destroyRef=n.destroyRef,a}function _f(e){if(e===fu)throw new $(952,!1)}function wf(e,t){return Gy(e)}function NW(e){return Gy(fu)}var MW=(wf.required=NW,wf),Lo=class{},Uy=class extends Lo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new iW(this));s(this,"instance",null);let r=new Vh([...t.providers,{provide:Lo,useValue:this},{provide:ms,useValue:this.componentFactoryResolver}],t.parent||vu(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function AW(e,t,r=null){return new Uy({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var PW=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let a=$0(!1,n.type),i=a.length>0?AW([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",z({token:t,providedIn:"environment",factory:()=>new t(oe(ur))}));let e=t;return e})();function Le(e){return rs(()=>{let t=Zy(e),r=Ut(ce({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===jb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(PW).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mr.Emulated,styles:e.styles||pn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ya("NgStandalone"),Wy(r);let n=e.dependencies;return r.directiveDefs=xf(n,!1),r.pipeDefs=xf(n,!0),r.id=zW(r),r})}function LW(e){return Si(e)||q0(e)}function FW(e){return e!==null}function Yt(e){return rs(()=>({type:e.type,bootstrap:e.bootstrap||pn,declarations:e.declarations||pn,imports:e.imports||pn,exports:e.exports||pn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function jW(e,t){if(e==null)return lr;let r={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],i,o,l,u;Array.isArray(a)?(l=a[0],i=a[1],o=a[2]??i,u=a[3]||null):(i=a,o=a,l=Du.None,u=null),r[i]=[n,l,u],t[i]=o}return r}function VW(e){if(e==null)return lr;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Se(e){return rs(()=>{let t=Zy(e);return Wy(t),t})}function Wn(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 Zy(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||lr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||pn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jW(e.inputs,t),outputs:VW(e.outputs),debugInfo:null}}function Wy(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function xf(e,t){if(!e)return null;let r=t?fG:LW;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(FW)}function zW(e){let t=0,r=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of n.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function BW(e){return Object.getPrototypeOf(e.prototype).constructor}function Ke(e){let t=BW(e.type),r=!0,n=[e];for(;t;){let a;if(cr(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new $(903,!1);a=t.ɵdir}if(a){if(r){n.push(a);let o=e;o.inputs=uc(e.inputs),o.declaredInputs=uc(e.declaredInputs),o.outputs=uc(e.outputs);let l=a.hostBindings;l&&UW(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&$W(e,u),c&&GW(e,c),HW(e,a),W6(e.outputs,a.outputs),cr(a)&&a.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(a.data.animation)}}let i=a.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===Ke&&(r=!1)}}t=Object.getPrototypeOf(t)}qW(n)}function HW(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function qW(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=Ti(a.hostAttrs,r=Ti(r,a.hostAttrs))}}function uc(e){return e===lr?{}:e===pn?[]:e}function $W(e,t){let r=e.viewQuery;r?e.viewQuery=(n,a)=>{t(n,a),r(n,a)}:e.viewQuery=t}function GW(e,t){let r=e.contentQueries;r?e.contentQueries=(n,a,i)=>{t(n,a,i),r(n,a,i)}:e.contentQueries=t}function UW(e,t){let r=e.hostBindings;r?e.hostBindings=(n,a)=>{t(n,a),r(n,a)}:e.hostBindings=t}function ZW(e){let t=r=>{let n=Array.isArray(e);r.hostDirectives===null?(r.findHostDirectiveDefs=Yy,r.hostDirectives=n?e.map(Dd):[e]):n?r.hostDirectives.unshift(...e.map(Dd)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Yy(e,t,r){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let i of a)Ef(Dd(i),t,r)}else Ef(n,t,r)}function Ef(e,t,r){let n=q0(e.directive);WW(n.declaredInputs,e.inputs),Yy(n,t,r),r.set(n,e),t.push(n)}function Dd(e){return typeof e=="function"?{directive:qt(e),inputs:lr,outputs:lr}:{directive:qt(e.directive),inputs:Sf(e.inputs),outputs:Sf(e.outputs)}}function Sf(e){if(e===void 0||e.length===0)return lr;let t={};for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function WW(e,t){for(let r in t)if(t.hasOwnProperty(r)){let n=t[r],a=e[r];e[n]=a}}function Ky(e){return Dp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function YW(e,t){if(Array.isArray(e))for(let r=0;r<e.length;r++)t(e[r]);else{let r=e[Symbol.iterator](),n;for(;!(n=r.next()).done;)t(n.value)}}function Dp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function fs(e,t,r){return e[t]=r}function Qy(e,t){return e[t]}function fn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function Fo(e,t,r,n){let a=fn(e,t,r);return fn(e,t+1,n)||a}function KW(e,t,r,n,a){let i=Fo(e,t,r,n);return fn(e,t+2,a)||i}function QW(e,t,r,n,a,i){let o=Fo(e,t,r,n);return Fo(e,t+2,a,i)||o}function XW(e,t,r,n,a,i,o,l,u){let c=t.consts,d=Ui(t,e,4,o||null,l||null);Sp(t,r,d,za(c,u),gp),d.mergedAttrs=Ti(d.mergedAttrs,d.attrs),ep(t,d);let m=d.tView=dp(2,d,n,a,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,d),m.queries=t.queries.embeddedTView(d)),d}function Xy(e,t,r,n,a,i,o,l,u,c){let d=r+vt,m=t.firstCreatePass?XW(d,t,e,n,a,i,o,l,u):t.data[d];ha(m,!1);let v=JW(t,e);wu()&&Ru(t,e,v,m),Gi(v,e);let g=Dy(v,e,v,m);return e[d]=g,pp(e,g),yu(m)&&Iu(t,e,m),u!=null&&mp(e,m,c),m}function me(e,t,r,n,a,i,o,l){let u=de(),c=st(),d=za(c.consts,i);return Xy(u,c,e,t,r,n,a,d,o,l),me}var JW=eY;function eY(e,t,r,n){return xu(!0),t[ft].createComment("")}var tY=new J(""),Jy=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new nY}));let e=t;return e})(),nY=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Ip(e){return!!e&&typeof e.then=="function"}function e_(e){return!!e&&typeof e.subscribe=="function"}var rY=new J(""),t_=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",S(rY,{optional:!0})??[]);s(this,"injector",S(dt))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=zh(this.injector,i);if(Ip(o))n.push(o);else if(e_(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(i=>{this.reject(i)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),aY=new J("");function iY(){H$(()=>{throw new $(600,!1)})}function oY(e){return e.isBoundToModule}var sY=10,ca=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",S(DU));s(this,"afterRenderManager",S(Ub));s(this,"zonelessEnabled",S(Rb));s(this,"rootEffectScheduler",S(Jy));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new be);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",S(us).hasPendingTasks.pipe(Tt(n=>!n)));s(this,"_injector",S(ur));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new $(101,!1);let n=Ie(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,Ie(n),this.afterTick.next()}});S(cs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(a=>{n=this.isStable.subscribe({next:i=>{i&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,i=dt.NULL){let o=n instanceof Oy;if(!this._injector.get(t_).done){let g="";throw new $(405,g)}let l;o?l=n:l=this._injector.get(ms).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=oY(l)?void 0:this._injector.get(Lo),c=a||l.selector,d=l.create(i,[],c,u),m=d.location.nativeElement,v=d.injector.get(tY,null);return v==null||v.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),dl(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(op.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Un,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<sY;)this.synchronizeOnce()}synchronizeOnce(){var n,a,i,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)lY(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(n=this._rendererFactory)==null?void 0:n.begin)==null||a.call(n),(o=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ss(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let a=n;this._views.push(a),a.attachToAppRef(this)}detachView(n){let a=n;dl(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(aY,[]).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>dl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new $(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function dl(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function lY(e,t,r,n){!r&&!ss(e)||Ey(e,t,r&&!n?0:1)}function cn(e,t,r,n){let a=de(),i=Za();if(fn(a,i,t)){st();let o=_u();tZ(o,a,e,t,r,n)}return cn}function uY(e,t,r,n){return fn(e,Za(),r)?t+Pa(r)+n:Sn}function cY(e,t,r,n,a,i){let o=$G(),l=Fo(e,o,r,a);return Kh(2),l?t+Pa(r)+n+Pa(a)+i:Sn}function Ls(e,t){return e<<17|t<<2}function qa(e){return e>>17&32767}function dY(e){return(e&2)==2}function hY(e,t){return e&131071|t<<17}function Id(e){return e|2}function Ni(e){return(e&131068)>>2}function cc(e,t){return e&-131069|t<<2}function pY(e){return(e&1)===1}function Td(e){return e|1}function mY(e,t,r,n,a,i){let o=t.classBindings,l=qa(o),u=Ni(o);e[n]=r;let c=!1,d;if(Array.isArray(r)){let m=r;d=m[1],(d===null||as(m,d)>0)&&(c=!0)}else d=r;if(a)if(u!==0){let m=qa(e[l+1]);e[n+1]=Ls(m,l),m!==0&&(e[m+1]=cc(e[m+1],n)),e[l+1]=hY(e[l+1],n)}else e[n+1]=Ls(l,0),l!==0&&(e[l+1]=cc(e[l+1],n)),l=n;else e[n+1]=Ls(u,0),l===0?l=n:e[u+1]=cc(e[u+1],n),u=n;c&&(e[n+1]=Id(e[n+1])),kf(e,d,n,!0),kf(e,d,n,!1),fY(t,d,e,n),o=Ls(l,u),t.classBindings=o}function fY(e,t,r,n,a){let i=e.residualClasses;i!=null&&typeof t=="string"&&as(i,t)>=0&&(r[n+1]=Td(r[n+1]))}function kf(e,t,r,n){let a=e[r+1],i=t===null,o=n?qa(a):Ni(a),l=!1;for(;o!==0&&(l===!1||i);){let u=e[o],c=e[o+1];gY(u,t)&&(l=!0,e[o+1]=n?Td(c):Id(c)),o=n?qa(c):Ni(c)}l&&(e[r+1]=n?Id(a):Td(a))}function gY(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?as(e,t)>=0:!1}var Hn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vY(e){return e.substring(Hn.key,Hn.keyEnd)}function bY(e){return yY(e),n_(e,r_(e,0,Hn.textEnd))}function n_(e,t){let r=Hn.textEnd;return r===t?-1:(t=Hn.keyEnd=_Y(e,Hn.key=t,r),r_(e,t,r))}function yY(e){Hn.key=0,Hn.keyEnd=0,Hn.value=0,Hn.valueEnd=0,Hn.textEnd=e.length}function r_(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function _Y(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function Ce(e,t,r){let n=de(),a=Za();if(fn(n,a,t)){let i=st(),o=_u();fp(i,o,n,e,t,n[ft],r,!1)}return Ce}function Rd(e,t,r,n,a){vp(t,e,r,a?"class":"style",n)}function tn(e,t){return xY(e,t,null,!0),tn}function Mu(e){EY(TY,wY,e,!0)}function wY(e,t){for(let r=bY(t);r>=0;r=n_(t,r))Ph(e,vY(t),!0)}function xY(e,t,r,n){let a=de(),i=st(),o=Kh(2);if(i.firstUpdatePass&&i_(i,e,o,n),t!==Sn&&fn(a,o,t)){let l=i.data[fr()];o_(i,l,a,a[ft],e,a[o+1]=OY(t),n,o)}}function EY(e,t,r,n){let a=st(),i=Kh(2);a.firstUpdatePass&&i_(a,null,i,n);let o=de();if(r!==Sn&&fn(o,i,r)){let l=a.data[fr()];if(s_(l)&&!a_(a,i)){let u=l.classesWithoutHost;u!==null&&(r=ad(u,r||"")),Rd(a,l,o,r,n)}else RY(a,l,o,o[ft],o[i+1],o[i+1]=IY(e,t,r),n,i)}}function a_(e,t){return t>=e.expandoStartIndex}function i_(e,t,r,n){let a=e.data;if(a[r+1]===null){let i=a[fr()],o=a_(e,r);s_(i)&&t===null&&!o&&(t=!1),t=SY(a,i,t,n),mY(a,i,t,r,o)}}function SY(e,t,r,n){let a=YG(e),i=t.residualClasses;if(a===null)t.classBindings===0&&(r=dc(null,e,t,r),r=jo(r,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(r=dc(a,e,t,r),i===null){let l=kY(e,t);l!==void 0&&Array.isArray(l)&&(l=dc(null,e,t,l[1]),l=jo(l,t.attrs),CY(e,t,n,l))}else i=DY(e,t)}return i!==void 0&&(t.residualClasses=i),r}function kY(e,t,r){let n=t.classBindings;if(Ni(n)!==0)return e[qa(n)]}function CY(e,t,r,n){let a=t.classBindings;e[qa(a)]=n}function DY(e,t,r){let n,a=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<a;i++){let o=e[i].hostAttrs;n=jo(n,o)}return jo(n,t.attrs)}function dc(e,t,r,n,a){let i=null,o=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<o&&(i=t[l],n=jo(n,i.hostAttrs),i!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function jo(e,t,r){let n=1,a=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ph(e,o,!0))}return e===void 0?null:e}function IY(e,t,r){if(r==null||r==="")return pn;let n=[],a=Rr(r);if(Array.isArray(a))for(let i=0;i<a.length;i++)e(n,a[i],!0);else if(typeof a=="object")for(let i in a)a.hasOwnProperty(i)&&e(n,i,a[i]);else typeof a=="string"&&t(n,a);return n}function TY(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&Ph(e,n,r)}function RY(e,t,r,n,a,i,o,l){a===Sn&&(a=pn);let u=0,c=0,d=0<a.length?a[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let v=u<a.length?a[u+1]:void 0,g=c<i.length?i[c+1]:void 0,w=null,x;d===m?(u+=2,c+=2,v!==g&&(w=m,x=g)):m===null||d!==null&&d<m?(u+=2,w=d):(c+=2,w=m,x=g),w!==null&&o_(e,t,r,n,w,x,o,l),d=u<a.length?a[u]:null,m=c<i.length?i[c]:null}}function o_(e,t,r,n,a,i,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],d=pY(c)?Cf(u,t,r,a,Ni(c)):void 0;if(!Bl(d)){Bl(i)||dY(c)&&(i=Cf(u,null,r,a,l));let m=nb(fr(),r);yZ(n,o,m,a,i)}}function Cf(e,t,r,n,a,i){let o=t===null,l;for(;a>0;){let u=e[a],c=Array.isArray(u),d=c?u[1]:u,m=d===null,v=r[a+1];v===Sn&&(v=m?pn:void 0);let g=m?tc(v,n):d===n?v:void 0;if(c&&!Bl(g)&&(g=tc(u,n)),Bl(g)&&(l=g,o))return l;let w=e[a+1];a=o?qa(w):Ni(w)}if(t!==null){let u=t.residualClasses;u!=null&&(l=tc(u,n))}return l}function Bl(e){return e!==void 0}function OY(e,t){return e==null||e===""||typeof e=="object"&&(e=Nn(Rr(e))),e}function s_(e,t){return(e.flags&8)!==0}var NY=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-r>1){let i=this.detach(r);this.attach(r,a),this.attach(n,i)}else this.attach(r,a)}move(e,t){this.attach(t,this.detach(e))}};function hc(e,t,r,n,a){return e===r&&Object.is(t,n)?1:Object.is(a(e,t),a(r,n))?-1:0}function MY(e,t,r){let n,a,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let u=e.at(i),c=t[i],d=hc(i,u,i,c,r);if(d!==0){d<0&&e.updateValue(i,c),i++;continue}let m=e.at(o),v=t[l],g=hc(o,m,l,v,r);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let w=r(i,u),x=r(o,m),k=r(i,c);if(Object.is(k,x)){let D=r(l,v);Object.is(D,w)?(e.swap(i,o),e.updateValue(o,v),l--,o--):e.move(o,i),e.updateValue(i,c),i++;continue}if(n??(n=new Tf),a??(a=If(e,i,o,r)),Od(e,n,i,k))e.updateValue(i,c),i++,o++;else if(a.has(k))n.set(w,e.detach(i)),o--;else{let D=e.create(i,t[i]);e.attach(i,D),i++,o++}}for(;i<=l;)Df(e,n,r,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&i<=o;){let c=e.at(i),d=u.value,m=hc(i,c,i,d,r);if(m!==0)m<0&&e.updateValue(i,d),i++,u=l.next();else{n??(n=new Tf),a??(a=If(e,i,o,r));let v=r(i,d);if(Od(e,n,i,v))e.updateValue(i,d),i++,o++,u=l.next();else if(!a.has(v))e.attach(i,e.create(i,d)),i++,o++,u=l.next();else{let g=r(i,c);n.set(g,e.detach(i)),o--}}}for(;!u.done;)Df(e,n,r,e.length,u.value),u=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Od(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Df(e,t,r,n,a){if(Od(e,t,n,r(n,a)))e.updateValue(n,a);else{let i=e.create(n,a);e.attach(n,i)}}function If(e,t,r,n){let a=new Set;for(let i=t;i<=r;i++)a.add(n(i,e.at(i)));return a}var Tf=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}};function Fe(e,t){Ya("NgControlFlow");let r=de(),n=Za(),a=r[n]!==Sn?r[n]:-1,i=a!==-1?Hl(r,vt+a):void 0,o=0;if(fn(r,n,e)){let l=Ie(null);try{if(i!==void 0&&Ty(i,o),e!==-1){let u=vt+e,c=Hl(r,u),d=Nd(r[ye],u),m=Oi(c,d.tView.ssrId),v=hs(r,d,t,{dehydratedView:m});ps(c,v,o,Ri(d,m))}}finally{Ie(l)}}else if(i!==void 0){let l=Iy(i,o);l!==void 0&&(l[Vt]=t)}}var AY=class{constructor(e,t,r){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Jt}};function Tp(e){return e}function Rp(e,t){return t}var PY=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function Wi(e,t,r,n,a,i,o,l,u,c,d,m,v){Ya("NgControlFlow");let g=de(),w=st(),x=u!==void 0,k=de(),D=o,O=new PY(x,D);k[vt+e]=O,Xy(g,w,e+1,t,r,n,a,za(w.consts,i))}var LY=class extends NY{constructor(t,r,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-Jt}at(t){return this.getLView(t)[Vt].$implicit}attach(t,r){let n=r[Ci];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),ps(this.lContainer,r,t,Ri(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),FY(this.lContainer,t)}create(t,r){var i;let n=Oi(this.lContainer,this.templateTNode.tView.ssrId),a=hs(this.hostLView,this.templateTNode,new AY(this.lContainer,r,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),a}destroy(t){var r;Tu(t[ye],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[Vt].$implicit=r}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Vt].$index=t}getLView(t){return jY(this.lContainer,t)}};function Yi(e){let t=Ie(null),r=fr();try{let n=de(),a=n[ye],i=n[r],o=r+1,l=Hl(n,o);if(i.liveCollection===void 0){let c=Nd(a,o);i.liveCollection=new LY(l,n,c)}else i.liveCollection.reset();let u=i.liveCollection;if(MY(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Za(),d=u.length===0;if(fn(n,c,d)){let m=r+2,v=Hl(n,m);if(d){let g=Nd(a,m),w=Oi(v,g.tView.ssrId),x=hs(n,g,void 0,{dehydratedView:w});ps(v,x,0,Ri(g,w))}else Ty(v,0)}}}finally{Ie(t)}}function Hl(e,t){return e[t]}function FY(e,t){return Ao(e,t)}function jY(e,t){return Iy(e,t)}function Nd(e,t){return Hh(e,t)}function V(e,t,r,n){let a=de(),i=st(),o=vt+e,l=a[ft],u=i.firstCreatePass?My(o,i,a,t,gp,zG(),r,n):i.data[o],c=VY(i,a,u,l,t);a[o]=c;let d=yu(u);return ha(u,!0),uy(l,c,u),!_p(u)&&wu()&&Ru(i,a,c,u),(FG()===0||d)&&Gi(c,a),jG(),d&&(Iu(i,a,u),lp(i,u,a)),n!==null&&mp(a,u),V}function B(){let e=nn();Wh()?Yh():(e=e.parent,ha(e,!1));let t=e;BG(t)&&HG(),VG();let r=st();return r.firstCreatePass&&Ay(r,t),t.classesWithoutHost!=null&&nU(t)&&Rd(r,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&rU(t)&&Rd(r,t,de(),t.stylesWithoutHost,!1),B}function We(e,t,r,n){return V(e,t,r,n),B(),We}var VY=(e,t,r,n,a,i)=>(xu(!0),sy(n,a,JG()));function zY(e,t,r,n,a){let i=t.consts,o=za(i,n),l=Ui(t,e,8,"ng-container",o);o!==null&&kd(l,o,!0);let u=za(i,a);return Sp(t,r,l,u,gp),l.mergedAttrs=Ti(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Kr(e,t,r){let n=de(),a=st(),i=e+vt,o=a.firstCreatePass?zY(i,a,n,t,r):a.data[i];ha(o,!0);let l=BY(a,n);return n[i]=l,wu()&&Ru(a,n,l,o),Gi(l,n),yu(o)&&(Iu(a,n,o),lp(a,o,n)),r!=null&&mp(n,o),Kr}function Qr(){let e=nn(),t=st();return Wh()?Yh():(e=e.parent,ha(e,!1)),t.firstCreatePass&&(ep(t,e),Bh(e)&&t.queries.elementEnd(e)),Qr}function Gt(e,t,r){return Kr(e,t,r),Qr(),Gt}var BY=(e,t,r,n)=>(xu(!0),H8(t[ft],""));function qr(){return de()}function Op(e,t,r){let n=de(),a=Za();if(fn(n,a,t)){let i=st(),o=_u();fp(i,o,n,e,t,n[ft],r,!0)}return Op}var va=void 0;function HY(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var qY=["en",[["a","p"],["AM","PM"],va],[["AM","PM"],va,va],[["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"]],va,[["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"]],va,[["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}",va,"{1} 'at' {0}",va],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",HY],_o={};function $Y(e,t,r){typeof t!="string"&&(r=t,t=e[Rt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),_o[t]=e,r&&(_o[t][Rt.ExtraData]=r)}function Yn(e){let t=GY(e),r=Rf(t);if(r)return r;let n=t.split("-")[0];if(r=Rf(n),r)return r;if(n==="en")return qY;throw new $(701,!1)}function Rf(e){return e in _o||(_o[e]=ta.ng&&ta.ng.common&&ta.ng.common.locales&&ta.ng.common.locales[e]),_o[e]}var Rt=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}(Rt||{});function GY(e){return e.toLowerCase().replace(/_/g,"-")}var Md="en-US";function UY(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Of(e,t,r){return function n(a){if(a===Function)return r;let i=zi(e)?hr(e.index,t):t;Ep(i,5);let o=t[Vt],l=Nf(t,o,r,a),u=n.__ngNextListenerFn__;for(;u;)l=Nf(t,o,u,a)&&l,u=u.__ngNextListenerFn__;return l}}function Nf(e,t,r,n){let a=Ie(null);try{return Va(6,t,r),r(n)!==!1}catch(i){return ZY(e,i),!1}finally{Ie(a)}}function ZY(e,t){let r=e[Di],n=r?r.get(Gn,null):null;n&&n.handleError(t)}function Mf(e,t,r,n,a,i){let o=t[r],l=t[ye],u=l.data[r].outputs[n],c=o[u],d=l.firstCreatePass?Zh(l):null,m=Uh(t),v=c.subscribe(i),g=m.length;m.push(i,v),d&&d.push(a,e.index,g,-(g+1))}function kn(e,t,r,n){let a=de(),i=st(),o=nn();return l_(i,a,a[ft],o,e,t,n),kn}function WY(e,t,r,n){let a=e.cleanup;if(a!=null)for(let i=0;i<a.length-1;i+=2){let o=a[i];if(o===r&&a[i+1]===n){let l=t[gi],u=a[i+2];return l.length>u?l[u]:null}typeof o=="string"&&(i+=2)}return null}function l_(e,t,r,n,a,i,o){var m,v;let l=yu(n),u=e.firstCreatePass?Zh(e):null,c=Uh(t),d=!0;if(n.type&3||o){let g=mr(n,t),w=o?o(g):g,x=c.length,k=o?O=>o(dr(O[n.index])):n.index,D=null;if(!o&&l&&(D=WY(e,t,a,n.index)),D!==null){let O=D.__ngLastListenerFn__||D;O.__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,d=!1}else{i=Of(n,t,i);let O=r.listen(w,a,i);c.push(i,O),u&&u.push(a,k,x,x+1)}}else i=Of(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[a],w=(v=n.hostDirectiveOutputs)==null?void 0:v[a];if(w&&w.length)for(let x=0;x<w.length;x+=2){let k=w[x],D=w[x+1];Mf(n,t,k,D,a,i)}if(g&&g.length)for(let x of g)Mf(n,t,x,a,a,i)}}function le(e=1){return QG(e)}function YY(e,t){let r=null,n=M8(e);for(let a=0;a<t.length;a++){let i=t[a];if(i==="*"){r=a;continue}if(n===null?oy(e,i,!0):L8(n,i))return a}return r}function gr(e){let t=de()[An][vn];if(!t.projection){let r=e?e.length:1,n=t.projection=hG(r,null),a=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?YY(i,e):0;o!==null&&(a[o]?a[o].projectionNext=i:n[o]=i,a[o]=i)}i=i.next}}}function zt(e,t=0,r,n,a,i){let o=de(),l=st(),u=null,c=Ui(l,vt+e,16,null,null);c.projection===null&&(c.projection=t),Yh();let d=!o[Ci]||ib();o[An][vn].projection[c.projection]===null&&u!==null?KY(o,l,u):d&&!_p(c)&&vZ(l,o,c)}function KY(e,t,r){let n=vt+r,a=t.data[n],i=e[n],o=Oi(i,a.tView.ssrId),l=hs(e,a,void 0,{dehydratedView:o});ps(i,l,0,Ri(a,o))}function Xr(e,t,r,n){IW(e,t,r,n)}function ql(e,t,r){DW(e,t,r)}function Rn(e){let t=de(),r=st(),n=ub();Qh(n+1);let a=Cp(r,n);if(e.dirty&&NG(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let i=OW(t,n);e.reset(i,RU),e.notifyOnChanges()}return!0}return!1}function On(){return CW(de(),ub())}function Au(e){let t=sb();return os(t,vt+e)}function ne(e,t=""){let r=de(),n=st(),a=e+vt,i=n.firstCreatePass?Ui(n,a,1,t,null):n.data[a],o=QY(n,r,i,t);r[a]=o,wu()&&Ru(n,r,o,i),ha(i,!1)}var QY=(e,t,r,n,a)=>(xu(!0),z8(t[ft],n));function je(e){return ot("",e,""),je}function ot(e,t,r){let n=de(),a=uY(n,e,t,r);return a!==Sn&&u_(n,fr(),a),ot}function Np(e,t,r,n,a){let i=de(),o=cY(i,e,t,r,n,a);return o!==Sn&&u_(i,fr(),o),Np}function u_(e,t,r){let n=nb(t,e);B8(e[ft],n,r)}function c_(e,t,r){Lb(t)&&(t=t());let n=de(),a=Za();if(fn(n,a,t)){let i=st(),o=_u();fp(i,o,n,e,t,n[ft],r,!1)}return c_}function XY(e,t){let r=Lb(e);return r&&e.set(t),r}function d_(e,t){let r=de(),n=st(),a=nn();return l_(n,r,r[ft],a,e,t),d_}var h_={};function p_(e){let t=st(),r=de(),n=e+vt,a=Ui(t,n,128,null,null);return ha(a,!1),qh(t,r,n,h_),p_}function Af(e){Ya("NgLet");let t=st(),r=de(),n=fr();return qh(t,r,n,e),e}function Pf(e){let t=sb(),r=os(t,vt+e);if(r===h_)throw new $(314,!1);return r}function JY(e,t,r){let n=st();if(n.firstCreatePass){let a=cr(e);Ad(r,n.data,n.blueprint,a,!0),Ad(t,n.data,n.blueprint,a,!1)}}function Ad(e,t,r,n,a){if(e=qt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ad(e[i],t,r,n,a);else{let i=st(),o=de(),l=nn(),u=ki(e)?e:qt(e.provide),c=Z0(e),d=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(ki(e)||!e.multi){let g=new ls(c,a,$t),w=mc(u,t,a?d:d+v,m);w===-1?(fd(Pl(l,o),i,u),pc(i,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=mc(u,t,d+v,m),w=mc(u,t,d,d+v),x=g>=0&&r[g],k=w>=0&&r[w];if(a&&!k||!a&&!x){fd(Pl(l,o),i,u);let D=nK(a?tK:eK,r.length,a,n,c);!a&&k&&(r[w].providerFactory=D),pc(i,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(D),o.push(D)}else{let D=m_(r[a?w:g],c,!a&&n);pc(i,e,g>-1?g:w,D)}!a&&n&&k&&r[w].componentProviders++}}}function pc(e,t,r,n){let a=ki(t),i=_G(t);if(a||i){let o=(i?qt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,o]):l[u+1].push(n,o)}else l.push(r,o)}}}function m_(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function mc(e,t,r,n){for(let a=r;a<n;a++)if(t[a]===e)return a;return-1}function eK(e,t,r,n,a){return Pd(this.multi,[])}function tK(e,t,r,n,a){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Oo(n,n[ye],this.providerFactory.index,a);o=u.slice(0,l),Pd(i,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Pd(i,o);return o}function Pd(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function nK(e,t,r,n,a){let i=new ls(e,r,$t);return i.multi=[],i.index=t,i.componentProviders=0,m_(i,a,n&&!r),i}function Kn(e,t=[]){return r=>{r.providersResolver=(n,a)=>JY(n,a?a(e):e,t)}}function Vo(e,t,r){let n=Ua()+e,a=de();return a[n]===Sn?fs(a,n,t()):Qy(a,n)}function f_(e,t,r,n){return g_(de(),Ua(),e,t,r,n)}function rK(e,t,r,n,a){return v_(de(),Ua(),e,t,r,n,a)}function aK(e,t,r,n,a,i,o,l){let u=Ua()+e,c=de(),d=QW(c,u,r,n,a,i);return fn(c,u+4,o)||d?fs(c,u+5,t(r,n,a,i,o)):Qy(c,u+5)}function Mp(e,t){let r=e[t];return r===Sn?void 0:r}function g_(e,t,r,n,a,i){let o=t+r;return fn(e,o,a)?fs(e,o+1,i?n.call(i,a):n(a)):Mp(e,o+1)}function v_(e,t,r,n,a,i,o){let l=t+r;return Fo(e,l,a,i)?fs(e,l+2,o?n.call(o,a,i):n(a,i)):Mp(e,l+2)}function iK(e,t,r,n,a,i,o,l){let u=t+r;return KW(e,u,a,i,o)?fs(e,u+3,l?n.call(l,a,i,o):n(a,i,o)):Mp(e,u+3)}function ee(e,t){let r=st(),n,a=e+vt;r.firstCreatePass?(n=oK(t,r.pipeRegistry),r.data[a]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(a,n.onDestroy)):n=r.data[a];let i=n.factory||(n.factory=La(n.type)),o=hn($t);try{let l=Al(!1),u=i();return Al(l),qh(r,de(),a,u),u}finally{hn(o)}}function oK(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function re(e,t,r){let n=e+vt,a=de(),i=os(a,n);return Ap(a,n)?g_(a,Ua(),t,i.transform,r,i):i.transform(r)}function gs(e,t,r,n){let a=e+vt,i=de(),o=os(i,a);return Ap(i,a)?v_(i,Ua(),t,o.transform,r,n,o):o.transform(r,n)}function b_(e,t,r,n,a){let i=e+vt,o=de(),l=os(o,i);return Ap(o,i)?iK(o,Ua(),t,l.transform,r,n,a,l):l.transform(r,n,a)}function Ap(e,t){return e[ye].data[t].pure}function Lf(e,t){return Nu(e,t)}var sK=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(".")}},Ff=new sK("19.2.16"),lK=(()=>{const t=class t{constructor(){s(this,"zone",S($e));s(this,"changeDetectionScheduler",S(qi));s(this,"applicationRef",S(ca));s(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function uK({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new $e(Ut(ce({},cK()),{scheduleInRootZone:r}))),[{provide:$e,useFactory:e},{provide:Il,multi:!0,useFactory:()=>{let n=S(lK,{optional:!0});return()=>n.initialize()}},{provide:Il,multi:!0,useFactory:()=>{let n=S(dK);return()=>{n.initialize()}}},t===!0?{provide:Ob,useValue:!0}:[],{provide:Nb,useValue:r??Ib}]}function cK(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var dK=(()=>{const t=class t{constructor(){s(this,"subscription",new ln);s(this,"initialized",!1);s(this,"zone",S($e));s(this,"pendingTasks",S(us))}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(()=>{$e.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$e.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})(),hK=(()=>{var t;const r=class r{constructor(){s(this,"appRef",S(ca));s(this,"taskService",S(us));s(this,"ngZone",S($e));s(this,"zonelessEnabled",S(Rb));s(this,"tracing",S(cs,{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 ln);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Ll):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(Nb,{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 SU||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let i=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(i))return;let o=this.useMicrotaskScheduler?nf:Mb;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ll+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(a),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,nf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(r,"ɵfac",function(a){return new(a||r)}),s(r,"ɵprov",z({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function pK(){return typeof $localize<"u"&&$localize.locale||Md}var Pu=new J("",{providedIn:"root",factory:()=>S(Pu,Re.Optional|Re.SkipSelf)||pK()}),Ld=new J(""),mK=new J("");function ao(e){return!e.moduleRef}function fK(e){let t=ao(e)?e.r3Injector:e.moduleRef.injector,r=t.get($e);return r.run(()=>{ao(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Gn,null),a;if(r.runOutsideAngular(()=>{a=r.onError.subscribe({next:i=>{n.handleError(i)}})}),ao(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Ld);o.add(i),t.onDestroy(()=>{a.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Ld);o.add(i),e.moduleRef.onDestroy(()=>{dl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(i)})}return vK(n,r,()=>{let i=t.get(t_);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Pu,Md);if(UY(o||Md),!t.get(mK,!0))return ao(e)?t.get(ca):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ao(e)){let l=t.get(ca);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return gK(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function gK(e,t){let r=e.injector.get(ca);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new $(-403,!1);t.push(e)}function vK(e,t,r){try{let n=r();return Ip(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var hl=null;function bK(e=[],t){return dt.create({name:t,providers:[{provide:jh,useValue:"platform"},{provide:Ld,useValue:new Set([()=>hl=null])},...e]})}function yK(e=[]){if(hl)return hl;let t=bK(e);return hl=t,iY(),_K(t),t}function _K(e){let t=e.get($b,null);zh(e,()=>{t==null||t.forEach(r=>r())})}function wK(){return!1}var pa=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",xK),e})();function xK(e){return EK(nn(),de(),(e&16)===16)}function EK(e,t,r){if(zi(e)&&!r){let n=hr(e.index,t);return new Po(n,n)}else if(e.type&175){let n=t[An];return new Po(n,t)}return null}var SK=class{constructor(){}supports(e){return Ky(e)}create(e){return new CK(e)}},kK=(e,t)=>t,CK=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||kK}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,n=0,a=null;for(;t||r;){let i=!r||t&&t.currentIndex<Vf(r,n,a)?t:r,o=Vf(i,n,a),l=i.currentIndex;if(i===r)n--,r=r._nextRemoved;else if(t=t._next,i.previousIndex==null)n++;else{a||(a=[]);let u=o-n,c=l-n;if(u!=c){for(let m=0;m<u;m++){let v=m<a.length?a[m]:a[m]=0,g=v+m;c<=g&&g<u&&(a[m]=v+1)}let d=i.previousIndex;a[d]=c-u}}o!==l&&e(i,o,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!Ky(e))throw new $(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,r=!1,n,a,i;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)a=e[o],i=this._trackByFn(o,a),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,a,i,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,i,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next}else n=0,YW(e,o=>{i=this._trackByFn(n,o),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,o,i,n),r=!0):(r&&(t=this._verifyReinsertion(t,o,i,n)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next,n++}),this.length=n;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,n){let a;return e===null?a=this._itTail:(a=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,a,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,n),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,a,n)):e=this._addAfter(new DK(t,r),a,n)),e}_verifyReinsertion(e,t,r,n){let a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return a!==null?e=this._reinsertAfter(a,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,a=e._nextRemoved;return n===null?this._removalsHead=a:n._nextRemoved=a,a===null?this._removalsTail=n:a._prevRemoved=n,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){let n=t===null?this._itHead:t._next;return e._next=n,e._prev=t,n===null?this._itTail=e:n._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new jf),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,r=e._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new jf),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}},DK=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}},IK=class{constructor(){s(this,"_head",null);s(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let t=e._prevDup,r=e._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},jf=class{constructor(){s(this,"map",new Map)}put(e){let t=e.trackById,r=this.map.get(t);r||(r=new IK,this.map.set(t,r)),r.add(e)}get(e,t){let r=e,n=this.map.get(r);return n?n.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Vf(e,t,r){let n=e.previousIndex;if(n===null)return n;let a=0;return r&&n<r.length&&(a=r[n]),n+t+a}var TK=class{constructor(){}supports(e){return e instanceof Map||Dp(e)}create(){return new RK}},RK=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||Dp(e)))throw new $(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let a=n._prev,i=n._next;return a&&(a._next=i),i&&(i._prev=a),n._next=null,n._prev=null,n}let r=new OK(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}},OK=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 zf(){return new Ki([new SK])}var Ki=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a!=null){let i=a.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||zf()),deps:[[t,new Mh,new Nh]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a!=null)return a;throw new $(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:zf}));let e=t;return e})();function Bf(){return new y_([new TK])}var y_=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let i=a.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||Bf()),deps:[[t,new Mh,new Nh]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a)return a;throw new $(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:Bf}));let e=t;return e})();function NK(e){let{rootComponent:t,appProviders:r,platformProviders:n,platformRef:a}=e;try{let i=(a==null?void 0:a.injector)??yK(n),o=[uK({}),{provide:qi,useExisting:hK},...r||[]],l=new Uy({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return fK({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Xt(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function __(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Fd(e){return W$(e)}function Ta(e,t){return V$(e,t==null?void 0:t.equal)}var kv,MK=(kv=mn,class{constructor(e){s(this,kv);this[mn]=e}destroy(){this[mn].destroy()}});function AK(e,t){!(t!=null&&t.injector)&&is();let r=(t==null?void 0:t.injector)??S(dt),n=(t==null?void 0:t.manualCleanup)!==!0?r.get(pr):null,a,i=r.get(sp,null,{optional:!0}),o=r.get(qi);return i!==null&&!(t!=null&&t.forceRoot)?(a=FK(i.view,o,e),n instanceof Tb&&n._lView===i.view&&(n=null)):a=jK(e,r.get(Jy),o),a.injector=r,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new MK(a)}var w_=Ut(ce({},Fi),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:No,run(){if(this.dirty=!1,this.hasRun&&!_h(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=ko(this),r=Ol(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ol(r),du(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),PK=Ut(ce({},w_),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){hu(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),LK=Ut(ce({},w_),{consumerMarkedDirty(){this.view[fe]|=8192,Hi(this.view),this.notifier.notify(13)},destroy(){var e;hu(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Nr])==null||e.delete(this)}});function FK(e,t,r){let n=Object.create(LK);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=r,e[Nr]??(e[Nr]=new Set),e[Nr].add(n),n.consumerMarkedDirty(n),n}function jK(e,t,r){let n=Object.create(PK);return n.fn=e,n.scheduler=t,n.notifier=r,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var VK=e=>e;function zK(e,t){if(typeof e=="function"){let r=Fm(e,VK,t==null?void 0:t.equal);return Hf(r)}else{let r=Fm(e.source,e.computation,e.equal);return Hf(r)}}function Hf(e){let t=e[mn],r=e;return r.set=n=>G$(t,n),r.update=n=>U$(t,n),r.asReadonly=ap.bind(e),r}function x_(e,t){let r=Si(e),n=t.elementInjector||vu();return new kp(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var BK={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function HK(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function qK(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var fc;function $K(e,t){if(!fc){let r=Element.prototype;fc=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?fc.call(e,t):!1}function GK(e){let t={};return e.forEach(({propName:r,templateName:n,transform:a})=>{t[HK(n)]=[r,a]}),t}function UK(e,t){return t.get(ms).resolveComponentFactory(e).inputs}function ZK(e,t){let r=e.childNodes,n=t.map(()=>[]),a=-1;t.some((i,o)=>i==="*"?(a=o,!0):!1);for(let i=0,o=r.length;i<o;++i){let l=r[i],u=WK(l,t,a);u!==-1&&n[u].push(l)}return n}function WK(e,t,r){let n=r;return qK(e)&&t.some((a,i)=>a!=="*"&&$K(e,a)?(n=i,!0):!1),n}var YK=10,KK=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(ms).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new QK(this.componentFactory,e,this.inputMap)}},QK=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new kh(1));s(this,"events",this.eventEmitters.pipe(Sl(e=>Ei(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get($e),this.appRef=this.injector.get(ca),this.cdScheduler=t.get(qi),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=BK.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},YK))})}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),AZ(this.componentRef.hostView)&&(PZ(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=dt.create({providers:[],parent:this.injector}),r=ZK(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:r,templateName:n})=>{let a=e.instance[r];return new ht(i=>{let o=a.subscribe(l=>i.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},XK=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function JK(e,t){let r=UK(e,t.injector),n=t.strategyFactory||new KK(e,t.injector),a=GK(r);class i extends XK{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,d)})}return this._ngElementStrategy}attributeChangedCallback(u,c,d,m){let[v,g]=a[u];this.ngElementStrategy.setInputValue(v,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(i,"observedAttributes",Object.keys(a)),r.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),i}var Ve=new J(""),E_=null;function wo(){return E_}function eQ(e){E_??(E_=e)}var tQ=class{},S_=(()=>{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(nQ),providedIn:"platform"}));let e=t;return e})(),nQ=(()=>{const t=class t extends S_{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",S(Ve));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return wo().getBaseHref(this._doc)}onPopState(a){let i=wo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",a,!1),()=>i.removeEventListener("popstate",a)}onHashChange(a){let i=wo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",a,!1),()=>i.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,i,o){this._history.pushState(a,i,o)}replaceState(a,i,o){this._history.replaceState(a,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function k_(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function qf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ra(e){return e&&e[0]!=="?"?`?${e}`:e}var Pp=(()=>{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(aQ),providedIn:"root"}));let e=t;return e})(),rQ=new J(""),aQ=(()=>{const t=class t extends Pp{constructor(a,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=S(Ve).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return k_(this._baseHref,a)}path(a=!1){let i=this._platformLocation.pathname+Ra(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${i}${o}`:i}pushState(a,i,o,l){let u=this.prepareExternalUrl(o+Ra(l));this._platformLocation.pushState(a,i,u)}replaceState(a,i,o,l){let u=this.prepareExternalUrl(o+Ra(l));this._platformLocation.replaceState(a,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,a)}};s(t,"ɵfac",function(a){return new(a||t)(oe(S_),oe(rQ,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),C_=(()=>{const t=class t{constructor(n){s(this,"_subject",new be);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=sQ(qf($f(a))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+Ra(a))}normalize(n){return t.stripTrailingSlash(oQ(this._basePath,$f(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",i=null){this._locationStrategy.pushState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ra(a)),i)}replaceState(n,a="",i=null){this._locationStrategy.replaceState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ra(a)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,i;(i=(a=this._locationStrategy).historyGo)==null||i.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var i;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(i=>i(n,a))}subscribe(n,a,i){return this._subject.subscribe({next:n,error:a??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",Ra),s(t,"joinWithSlash",k_),s(t,"stripTrailingSlash",qf),s(t,"ɵfac",function(n){return new(n||t)(oe(Pp))}),s(t,"ɵprov",z({token:t,factory:()=>iQ(),providedIn:"root"}));let e=t;return e})();function iQ(){return new C_(oe(Pp))}function oQ(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function $f(e){return e.replace(/\/index.html$/,"")}function sQ(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var an=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(an||{}),Ye=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ye||{}),bn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(bn||{}),Lu={MinusSign:5};function lQ(e){return Yn(e)[Rt.LocaleId]}function uQ(e,t,r){let n=Yn(e),a=[n[Rt.DayPeriodsFormat],n[Rt.DayPeriodsStandalone]],i=Pn(a,t);return Pn(i,r)}function cQ(e,t,r){let n=Yn(e),a=[n[Rt.DaysFormat],n[Rt.DaysStandalone]],i=Pn(a,t);return Pn(i,r)}function dQ(e,t,r){let n=Yn(e),a=[n[Rt.MonthsFormat],n[Rt.MonthsStandalone]],i=Pn(a,t);return Pn(i,r)}function hQ(e,t){let r=Yn(e)[Rt.Eras];return Pn(r,t)}function Fs(e,t){let r=Yn(e);return Pn(r[Rt.DateFormat],t)}function js(e,t){let r=Yn(e);return Pn(r[Rt.TimeFormat],t)}function Vs(e,t){let r=Yn(e)[Rt.DateTimeFormat];return Pn(r,t)}function Fu(e,t){return Yn(e)[Rt.NumberSymbols][t]}function D_(e){if(!e[Rt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Rt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function pQ(e){let t=Yn(e);return D_(t),(t[Rt.ExtraData][2]||[]).map(r=>typeof r=="string"?gc(r):[gc(r[0]),gc(r[1])])}function mQ(e,t,r){let n=Yn(e);D_(n);let a=[n[Rt.ExtraData][0],n[Rt.ExtraData][1]],i=Pn(a,t)||[];return Pn(i,r)||[]}function Pn(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function gc(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var fQ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ni={},gQ=/((?:[^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 vQ(e,t,r,n){let a=CQ(e);t=Ir(r,t)||t;let i=[],o;for(;t;)if(o=gQ.exec(t),o){i=i.concat(o.slice(1));let c=i.pop();if(!c)break;t=c}else{i.push(t);break}let l=a.getTimezoneOffset();n&&(l=T_(n,l),a=kQ(a,n));let u="";return i.forEach(c=>{let d=EQ(c);u+=d?d(a,r,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function $l(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function Ir(e,t){let r=lQ(e);if(ni[r]??(ni[r]={}),ni[r][t])return ni[r][t];let n="";switch(t){case"shortDate":n=Fs(e,bn.Short);break;case"mediumDate":n=Fs(e,bn.Medium);break;case"longDate":n=Fs(e,bn.Long);break;case"fullDate":n=Fs(e,bn.Full);break;case"shortTime":n=js(e,bn.Short);break;case"mediumTime":n=js(e,bn.Medium);break;case"longTime":n=js(e,bn.Long);break;case"fullTime":n=js(e,bn.Full);break;case"short":let a=Ir(e,"shortTime"),i=Ir(e,"shortDate");n=zs(Vs(e,bn.Short),[a,i]);break;case"medium":let o=Ir(e,"mediumTime"),l=Ir(e,"mediumDate");n=zs(Vs(e,bn.Medium),[o,l]);break;case"long":let u=Ir(e,"longTime"),c=Ir(e,"longDate");n=zs(Vs(e,bn.Long),[u,c]);break;case"full":let d=Ir(e,"fullTime"),m=Ir(e,"fullDate");n=zs(Vs(e,bn.Full),[d,m]);break}return n&&(ni[r][t]=n),n}function zs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function Bn(e,t,r="-",n,a){let i="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,i=r));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function bQ(e,t){return Bn(e,3).substring(0,t)}function Ct(e,t,r=0,n=!1,a=!1){return function(i,o){let l=yQ(e,i);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return bQ(l,t);let u=Fu(o,Lu.MinusSign);return Bn(l,t,u,n,a)}}function yQ(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 Xe(e,t,r=an.Format,n=!1){return function(a,i){return _Q(a,i,e,t,r,n)}}function _Q(e,t,r,n,a,i){switch(r){case 2:return dQ(t,a,n)[e.getMonth()];case 1:return cQ(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let c=pQ(t),d=mQ(t,a,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,w]=v,x=o>=g.hours&&l>=g.minutes,k=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&k)return!0}else if(x||k)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return uQ(t,a,n)[o<12?0:1];case 3:return hQ(t,n)[e.getFullYear()<=0?0:1];default:let u=r;throw new Error(`unexpected translation type ${u}`)}}function Bs(e){return function(t,r,n){let a=-1*n,i=Fu(r,Lu.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Bn(o,2,i)+Bn(Math.abs(a%60),2,i);case 1:return"GMT"+(a>=0?"+":"")+Bn(o,1,i);case 2:return"GMT"+(a>=0?"+":"")+Bn(o,2,i)+":"+Bn(Math.abs(a%60),2,i);case 3:return n===0?"Z":(a>=0?"+":"")+Bn(o,2,i)+":"+Bn(Math.abs(a%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var wQ=0,pl=4;function xQ(e){let t=$l(e,wQ,1).getDay();return $l(e,0,1+(t<=pl?pl:pl+7)-t)}function I_(e){let t=e.getDay(),r=t===0?-3:pl-t;return $l(e.getFullYear(),e.getMonth(),e.getDate()+r)}function vc(e,t=!1){return function(r,n){let a;if(t){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();a=1+Math.floor((o+i)/7)}else{let i=I_(r),o=xQ(i.getFullYear()),l=i.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Bn(a,e,Fu(n,Lu.MinusSign))}}function Hs(e,t=!1){return function(r,n){let a=I_(r).getFullYear();return Bn(a,e,Fu(n,Lu.MinusSign),t)}}var bc={};function EQ(e){if(bc[e])return bc[e];let t;switch(e){case"G":case"GG":case"GGG":t=Xe(3,Ye.Abbreviated);break;case"GGGG":t=Xe(3,Ye.Wide);break;case"GGGGG":t=Xe(3,Ye.Narrow);break;case"y":t=Ct(0,1,0,!1,!0);break;case"yy":t=Ct(0,2,0,!0,!0);break;case"yyy":t=Ct(0,3,0,!1,!0);break;case"yyyy":t=Ct(0,4,0,!1,!0);break;case"Y":t=Hs(1);break;case"YY":t=Hs(2,!0);break;case"YYY":t=Hs(3);break;case"YYYY":t=Hs(4);break;case"M":case"L":t=Ct(1,1,1);break;case"MM":case"LL":t=Ct(1,2,1);break;case"MMM":t=Xe(2,Ye.Abbreviated);break;case"MMMM":t=Xe(2,Ye.Wide);break;case"MMMMM":t=Xe(2,Ye.Narrow);break;case"LLL":t=Xe(2,Ye.Abbreviated,an.Standalone);break;case"LLLL":t=Xe(2,Ye.Wide,an.Standalone);break;case"LLLLL":t=Xe(2,Ye.Narrow,an.Standalone);break;case"w":t=vc(1);break;case"ww":t=vc(2);break;case"W":t=vc(1,!0);break;case"d":t=Ct(2,1);break;case"dd":t=Ct(2,2);break;case"c":case"cc":t=Ct(7,1);break;case"ccc":t=Xe(1,Ye.Abbreviated,an.Standalone);break;case"cccc":t=Xe(1,Ye.Wide,an.Standalone);break;case"ccccc":t=Xe(1,Ye.Narrow,an.Standalone);break;case"cccccc":t=Xe(1,Ye.Short,an.Standalone);break;case"E":case"EE":case"EEE":t=Xe(1,Ye.Abbreviated);break;case"EEEE":t=Xe(1,Ye.Wide);break;case"EEEEE":t=Xe(1,Ye.Narrow);break;case"EEEEEE":t=Xe(1,Ye.Short);break;case"a":case"aa":case"aaa":t=Xe(0,Ye.Abbreviated);break;case"aaaa":t=Xe(0,Ye.Wide);break;case"aaaaa":t=Xe(0,Ye.Narrow);break;case"b":case"bb":case"bbb":t=Xe(0,Ye.Abbreviated,an.Standalone,!0);break;case"bbbb":t=Xe(0,Ye.Wide,an.Standalone,!0);break;case"bbbbb":t=Xe(0,Ye.Narrow,an.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ye.Abbreviated,an.Format,!0);break;case"BBBB":t=Xe(0,Ye.Wide,an.Format,!0);break;case"BBBBB":t=Xe(0,Ye.Narrow,an.Format,!0);break;case"h":t=Ct(3,1,-12);break;case"hh":t=Ct(3,2,-12);break;case"H":t=Ct(3,1);break;case"HH":t=Ct(3,2);break;case"m":t=Ct(4,1);break;case"mm":t=Ct(4,2);break;case"s":t=Ct(5,1);break;case"ss":t=Ct(5,2);break;case"S":t=Ct(6,1);break;case"SS":t=Ct(6,2);break;case"SSS":t=Ct(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Bs(0);break;case"ZZZZZ":t=Bs(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Bs(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Bs(2);break;default:return null}return bc[e]=t,t}function T_(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function SQ(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function kQ(e,t,r){let n=e.getTimezoneOffset(),a=T_(t,n);return SQ(e,-1*(a-n))}function CQ(e){if(Gf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,i=1,o=1]=e.split("-").map(l=>+l);return $l(a,i-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(fQ))return DQ(n)}let t=new Date(e);if(!Gf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function DQ(e){let t=new Date(0),r=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-r,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,u,c),t}function Gf(e){return e instanceof Date&&!isNaN(e.valueOf())}var yc=/\s+/,Uf=[],Lp=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Uf);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(yc):Uf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(yc):n}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let a of n)this._updateState(a,!0);else if(n!=null)for(let a of Object.keys(n))this._updateState(a,!!n[a]);this._applyStateDiff()}_updateState(n,a){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==a&&(i.changed=!0,i.enabled=a),i.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],i=n[1];i.changed?(this._toggleClass(a,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),i.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(yc).forEach(i=>{a?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)($t(lt),$t(Zi))}),s(t,"ɵdir",Se({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),IQ=(()=>{const t=class t{constructor(n,a,i){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=a,this._renderer=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:di.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,l)}_applyChanges(n){n.forEachRemovedItem(a=>this._setStyle(a.key,null)),n.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),n.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)($t(lt),$t(y_),$t(Zi))}),s(t,"ɵdir",Se({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),TQ=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,i):!1,get:(n,a,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,i)}})}};s(t,"ɵfac",function(n){return new(n||t)($t(Zn))}),s(t,"ɵdir",Se({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ga]}));let e=t;return e})();function Fp(e,t){return new $(2100,!1)}var RQ=class{createSubscription(e,t){return Fd(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){Fd(()=>e.unsubscribe())}},OQ=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},NQ=new OQ,MQ=new RQ,AQ=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,a=>this._updateLatestValue(n,a))}_selectStrategy(n){if(Ip(n))return NQ;if(e_(n))return MQ;throw Fp()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,a){var i;n===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)($t(pa,16))}),s(t,"ɵpipe",Wn({name:"async",type:t,pure:!1}));let e=t;return e})(),PQ="mediumDate",LQ=new J(""),FQ=new J(""),jp=(()=>{const t=class t{constructor(n,a,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=i}transform(n,a,i,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??PQ,d=i??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return vQ(n,c,o||this.locale,d)}catch(c){throw Fp(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)($t(Pu,16),$t(LQ,24),$t(FQ,24))}),s(t,"ɵpipe",Wn({name:"date",type:t,pure:!0}));let e=t;return e})(),R_=(()=>{const t=class t{transform(n,a,i){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw Fp();return n.slice(a,i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",Wn({name:"slice",type:t,pure:!1}));let e=t;return e})(),O_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})();function N_(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[a,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(a.trim()===t)return decodeURIComponent(i)}return null}var M_="browser",jQ="server";function VQ(e){return e===M_}function A_(e){return e===jQ}var P_=class{};function ju(e,t,r){return $Y(e,t,r)}var jd=new J(""),L_=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,i,o){return this._findPluginFor(a).addEventListener(n,a,i,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(i=>i.supports(n)),!a)throw new $(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(oe(jd),oe($e))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),F_=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},ml="ng-app-id";function Zf(e){for(let t of e)t.remove()}function Wf(e,t){let r=t.createElement("style");return r.textContent=e,r}function zQ(e,t,r,n){var i;let a=(i=e.head)==null?void 0:i.querySelectorAll(`style[${ml}="${t}"],link[${ml}="${t}"]`);if(a)for(let o of a)o.removeAttribute(ml),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&r.set(o.textContent,{usage:0,elements:[o]})}function Vd(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var j_=(()=>{const t=class t{constructor(n,a,i,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=i,this.isServer=A_(o),zQ(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let i of n)this.addUsage(i,this.inline,Wf);a==null||a.forEach(i=>this.addUsage(i,this.external,Vd))}removeStyles(n,a){for(let i of n)this.removeUsage(i,this.inline);a==null||a.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,a,i){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,a){let i=a.get(n);i&&(i.usage--,i.usage<=0&&(Zf(i.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Zf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:i}]of this.inline)i.push(this.addElement(n,Wf(a,this.doc)));for(let[a,{elements:i}]of this.external)i.push(this.addElement(n,Vd(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(ml,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(Eu),oe(ip,8),oe(Su))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),_c={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"},Vp=/%COMP%/g,V_="%COMP%",BQ=`_nghost-${V_}`,HQ=`_ngcontent-${V_}`,qQ=!0,$Q=new J("",{providedIn:"root",factory:()=>qQ});function GQ(e){return HQ.replace(Vp,e)}function UQ(e){return BQ.replace(Vp,e)}function z_(e,t){return t.map(r=>r.replace(Vp,e))}var zd=(()=>{const t=class t{constructor(n,a,i,o,l,u,c,d=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=a,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=d,this.tracingService=m,this.platformIsServer=A_(u),this.defaultRenderer=new zp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===Mr.ShadowDom&&(a=Ut(ce({},a),{encapsulation:Mr.Emulated}));let i=this.getOrCreateRenderer(n,a);return i instanceof Kf?i.applyToHost(n):i instanceof Bd&&i.applyStyles(),i}getOrCreateRenderer(n,a){let i=this.rendererByCompId,o=i.get(a.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case Mr.Emulated:o=new Kf(c,d,a,this.appId,m,l,u,v,g);break;case Mr.ShadowDom:return new ZQ(c,d,n,a,l,u,this.nonce,v,g);default:o=new Bd(c,d,a,m,l,u,v,g);break}i.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(oe(L_),oe(j_),oe(Eu),oe($Q),oe(Ve),oe(Su),oe($e),oe(ip),oe(cs,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),zp=class{constructor(e,t,r,n,a){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=r,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(_c[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Yf(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(Yf(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new $(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let a=_c[n];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=_c[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(di.DashCase|di.Important)?e.style.setProperty(t,r,n&di.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&di.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){var i;if(typeof e=="string"&&(e=wo().getGlobalEventTarget(this.doc,e),!e))throw new $(5102,!1);let a=this.decoratePreventDefault(r);return(i=this.tracingService)!=null&&i.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Yf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ZQ=class extends zp{constructor(t,r,n,a,i,o,l,u,c){var v;super(t,i,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=a.styles;d=z_(a.id,d);for(let g of d){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let w=Vd(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Bd=class extends zp{constructor(t,r,n,a,i,o,l,u,c){var m;super(t,i,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=a;let d=n.styles;this.styles=c?z_(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)}},Kf=class extends Bd{constructor(t,r,n,a,i,o,l,u,c){let d=a+"-"+n.id;super(t,r,n,i,o,l,u,c,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=GQ(d),this.hostAttr=UQ(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},WQ=class B_ extends tQ{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){eQ(new B_)}onAndCancel(r,n,a,i){return r.addEventListener(n,a,i),()=>{r.removeEventListener(n,a,i)}}dispatchEvent(r,n){r.dispatchEvent(n)}remove(r){r.remove()}createElement(r,n){return n=n||this.getDefaultDocument(),n.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,n){return n==="window"?window:n==="document"?r:n==="body"?r.body:null}getBaseHref(r){let n=YQ();return n==null?null:KQ(n)}resetBaseElement(){fo=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return N_(document.cookie,r)}},fo=null;function YQ(){return fo=fo||document.head.querySelector("base"),fo?fo.getAttribute("href"):null}function KQ(e){return new URL(e,document.baseURI).pathname}var QQ=(()=>{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})(),XQ=(()=>{const t=class t extends F_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,i,o){return n.addEventListener(a,i,o),()=>this.removeEventListener(n,a,i,o)}removeEventListener(n,a,i,o){return n.removeEventListener(a,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Qf=["alt","control","meta","shift"],JQ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},eX={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},tX=(()=>{const t=class t extends F_{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,i,o){let l=t.parseEventName(a),u=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>wo().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let a=n.toLowerCase().split("."),i=a.shift();if(a.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",u=a.indexOf("code");if(u>-1&&(a.splice(u,1),l="code."),Qf.forEach(d=>{let m=a.indexOf(d);m>-1&&(a.splice(m,1),l+=d+".")}),l+=o,a.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=l,c}static matchEventFullKeyCode(n,a){let i=JQ[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Qf.forEach(l=>{if(l!==i){let u=eX[l];u(n)&&(o+=l+".")}}),o+=i,o===a)}static eventCallback(n,a,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function nX(e){return NK(rX(e))}function rX(e){return{appProviders:[...lX,...(e==null?void 0:e.providers)??[]],platformProviders:sX}}function aX(){WQ.makeCurrent()}function iX(){return new Gn}function oX(){return FU(document),document}var sX=[{provide:Su,useValue:M_},{provide:$b,useValue:aX,multi:!0},{provide:Ve,useFactory:oX}],lX=[{provide:jh,useValue:"root"},{provide:Gn,useFactory:iX},{provide:jd,useClass:XQ,multi:!0,deps:[Ve]},{provide:jd,useClass:tX,multi:!0,deps:[Ve]},zd,j_,L_,{provide:Un,useExisting:zd},{provide:P_,useClass:QQ},[]],Bp=class{},H_=class{},Mi=class fl{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
19
|
-
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let a=r.slice(0,n),i=r.slice(n+1).trim();this.addHeaderEntry(a,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof fl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new fl;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof fl?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,r);let a=(t.op==="a"?this.headers.get(r):void 0)||[];a.push(...n),this.headers.set(r,a);break;case"d":let i=t.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let o=this.headers.get(r);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,o)}break}}addHeaderEntry(t,r){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(t,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},uX=class{encodeKey(e){return Xf(e)}encodeValue(e){return Xf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function cX(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[i,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=r.get(i)||[];l.push(o),r.set(i,l)}),r}var dX=/%(\d[a-f0-9])/gi,hX={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Xf(e){return encodeURIComponent(e).replace(dX,(t,r)=>hX[r]??t)}function qs(e){return`${e}`}var bi=class q_{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new uX,t.fromString){if(t.fromObject)throw new $(2805,!1);this.map=cX(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],a=Array.isArray(n)?n.map(qs):[qs(n)];this.map.set(r,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:a,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new q_({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(qs(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(qs(t.value));a!==-1&&n.splice(a,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},pX=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 mX(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Jf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function eg(e){return typeof Blob<"u"&&e instanceof Blob}function tg(e){return typeof FormData<"u"&&e instanceof FormData}function fX(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ng="Content-Type",rg="Accept",$_="X-Request-URL",G_="text/plain",U_="application/json",gX=`${U_}, ${G_}, */*`,wc=class Z_{constructor(t,r,n,a){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=r,this.method=t.toUpperCase();let i;if(mX(this.method)||a?(this.body=n!==void 0?n:null,i=a):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??(this.headers=new Mi),this.context??(this.context=new pX),!this.params)this.params=new bi,this.urlWithParams=r;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),u=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Jf(this.body)||eg(this.body)||tg(this.body)||fX(this.body)?this.body:this.body instanceof bi?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||tg(this.body)?null:eg(this.body)?this.body.type||null:Jf(this.body)?null:typeof this.body=="string"?G_:this.body instanceof bi?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?U_:null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,i=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,d=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),c)),t.setParams&&(d=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),d)),new Z_(r,n,o,{params:d,headers:c,context:m,reportProgress:u,responseType:a,withCredentials:l,transferCache:i})}},yi=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}(yi||{}),Hp=class{constructor(e,t=200,r="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Mi,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},vX=class W_ extends Hp{constructor(r={}){super(r);s(this,"type",yi.ResponseHeader)}clone(r={}){return new W_({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Y_=class K_ extends Hp{constructor(r={}){super(r);s(this,"body");s(this,"type",yi.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new K_({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},ag=class extends Hp{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}},bX=200,yX=204;function xc(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 Qi=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,i={}){let o;if(n instanceof wc)o=n;else{let c;i.headers instanceof Mi?c=i.headers:c=new Mi(i.headers);let d;i.params&&(i.params instanceof bi?d=i.params:d=new bi({fromObject:i.params})),o=new wc(n,a,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=Je(o).pipe(_0(c=>this.handler.handle(c)));if(n instanceof wc||i.observe==="events")return l;let u=l.pipe(Or(c=>c instanceof Y_));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(Tt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new $(2806,!1);return c.body}));case"blob":return u.pipe(Tt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new $(2807,!1);return c.body}));case"text":return u.pipe(Tt(c=>{if(c.body!==null&&typeof c.body!="string")throw new $(2808,!1);return c.body}));case"json":default:return u.pipe(Tt(c=>c.body))}case"response":return u;default:throw new $(2809,!1)}}delete(n,a={}){return this.request("DELETE",n,a)}get(n,a={}){return this.request("GET",n,a)}head(n,a={}){return this.request("HEAD",n,a)}jsonp(n,a){return this.request("JSONP",n,{params:new bi().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,i={}){return this.request("PATCH",n,xc(i,a))}post(n,a,i={}){return this.request("POST",n,xc(i,a))}put(n,a,i={}){return this.request("PUT",n,xc(i,a))}};s(t,"ɵfac",function(n){return new(n||t)(oe(Bp))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),_X=new J("");function wX(e,t){return t(e)}function xX(e,t,r){return(n,a)=>zh(r,()=>t(n,i=>e(i,a)))}var qp=new J(""),EX=new J(""),SX=new J("",{providedIn:"root",factory:()=>!0}),ig=(()=>{const t=class t extends Bp{constructor(a,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",S(us));s(this,"contributeToStability",S(SX));this.backend=a,this.injector=i}handle(a){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(qp),...this.injector.get(EX,[])]));this.chain=i.reduceRight((o,l)=>xX(o,l,this.injector),wX)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(w0(()=>this.pendingTasks.remove(i)))}else return this.chain(a,i=>this.backend.handle(i))}};s(t,"ɵfac",function(a){return new(a||t)(oe(H_),oe(ur))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),kX=/^\)\]\}',?\n/,CX=RegExp(`^${$_}:`,"m");function DX(e){return"responseURL"in e&&e.responseURL?e.responseURL:CX.test(e.getAllResponseHeaders())?e.getResponseHeader($_):null}var og=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new $(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?$a(a.ɵloadImpl()):Je(null)).pipe(Sl(()=>new ht(i=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,k)=>o.setRequestHeader(x,k.join(","))),n.headers.has(rg)||o.setRequestHeader(rg,gX),!n.headers.has(ng)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(ng,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 Mi(o.getAllResponseHeaders()),D=DX(o)||n.url;return u=new vX({headers:k,status:o.status,statusText:x,url:D}),u},d=()=>{let{headers:x,status:k,statusText:D,url:O}=c(),N=null;k!==yX&&(N=typeof o.response>"u"?o.responseText:o.response),k===0&&(k=N?bX:0);let X=k>=200&&k<300;if(n.responseType==="json"&&typeof N=="string"){let ue=N;N=N.replace(kX,"");try{N=N!==""?JSON.parse(N):null}catch(_e){N=ue,X&&(X=!1,N={error:_e,text:N})}}X?(i.next(new Y_({body:N,headers:x,status:k,statusText:D,url:O||void 0})),i.complete()):i.error(new ag({error:N,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});i.error(D)},v=!1,g=x=>{v||(i.next(c()),v=!0);let k={type:yi.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),n.responseType==="text"&&o.responseText&&(k.partialText=o.responseText),i.next(k)},w=x=>{let k={type:yi.UploadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),i.next(k)};return o.addEventListener("load",d),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(l),i.next({type:yi.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(P_))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Q_=new J(""),IX="XSRF-TOKEN",TX=new J("",{providedIn:"root",factory:()=>IX}),RX="X-XSRF-TOKEN",OX=new J("",{providedIn:"root",factory:()=>RX}),X_=class{},NX=(()=>{const t=class t{constructor(n,a){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=a}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=N_(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(TX))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),MX=/^(?:https?:)?\/\//i;function AX(e,t){if(!S(Q_)||e.method==="GET"||e.method==="HEAD"||MX.test(e.url))return t(e);let r=S(X_).getToken(),n=S(OX);return r!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,r)})),t(e)}var J_=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}(J_||{});function PX(e,t){return{ɵkind:e,ɵproviders:t}}function LX(...e){let t=[Qi,og,ig,{provide:Bp,useExisting:ig},{provide:H_,useFactory:()=>S(_X,{optional:!0})??S(og)},{provide:qp,useValue:AX,multi:!0},{provide:Q_,useValue:!0},{provide:X_,useClass:NX}];for(let r of e)t.push(...r.ɵproviders);return Lh(t)}function FX(e){return PX(J_.Interceptors,e.map(t=>({provide:qp,useValue:t,multi:!0})))}var $p=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=oe(jX),a},providedIn:"root"}));let e=t;return e})(),jX=(()=>{const t=class t extends $p{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,i){if(i==null)return null;switch(a){case At.NONE:return i;case At.HTML:return Da(i,"HTML")?Rr(i):ny(this._doc,String(i)).toString();case At.STYLE:return Da(i,"Style")?Rr(i):i;case At.SCRIPT:if(Da(i,"Script"))return Rr(i);throw new $(5200,!1);case At.URL:return Da(i,"URL")?Rr(i):up(String(i));case At.RESOURCE_URL:if(Da(i,"ResourceURL"))return Rr(i);throw new $(5201,!1);default:throw new $(5202,!1)}}bypassSecurityTrustHtml(a){return e8(a)}bypassSecurityTrustStyle(a){return t8(a)}bypassSecurityTrustScript(a){return n8(a)}bypassSecurityTrustUrl(a){return r8(a)}bypassSecurityTrustResourceUrl(a){return a8(a)}};s(t,"ɵfac",function(a){return new(a||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vs=class{},VX=(()=>{const t=class t extends vs{getTranslation(n){return Je({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),ew=class{},zX=(()=>{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 Gl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,n=typeof t,a,i,o;if(r==n&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(i=0;i<a;i++)if(!Gl(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!Gl(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!(i in o)&&typeof t[i]<"u")return!1;return!0}return!1}function na(e){return typeof e<"u"&&e!==null}function bs(e){return gl(e)&&!Gp(e)&&e!==null}function gl(e){return typeof e=="object"}function Gp(e){return Array.isArray(e)}function Up(e){return typeof e=="string"}function BX(e){return typeof e=="function"}function Hd(e,t){let r=Object.assign({},e);return gl(e)?(gl(e)&&gl(t)&&Object.keys(t).forEach(n=>{bs(t[n])?n in e?r[n]=Hd(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):Hd({},t)}function qd(e,t){let r=t.split(".");t="";do t+=r.shift(),na(e)&&na(e[t])&&(bs(e[t])||Gp(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0;while(r.length);return e}function HX(e,t,r){let n=t.split("."),a=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?a[o]=r:((!a[o]||!bs(a[o]))&&(a[o]={}),a=a[o])}}var Zp=class{},qX=(()=>{const t=class t extends Zp{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,i){if(Up(a))return this.interpolateString(a,i);if(BX(a))return this.interpolateFunction(a,i)}interpolateFunction(a,i){return a(i)}interpolateString(a,i){return i?a.replace(this.templateMatcher,(o,l)=>{let u=qd(i,l);return na(u)?u:o}):a}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),ys=class{},$X=(()=>{const t=class t extends ys{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),$d=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Pt);s(this,"onLangChange",new Pt);s(this,"onDefaultLangChange",new Pt)}},tw=new J("ISOLATE_TRANSLATE_SERVICE"),nw=new J("USE_DEFAULT_LANG"),rw=new J("DEFAULT_LANGUAGE"),aw=new J("USE_EXTEND"),io=e=>fi(e)?e:Je(e),Qn=(()=>{const t=class t{constructor(n,a,i,o,l,u=!0,c=!1,d=!1,m){s(this,"store");s(this,"currentLoader");s(this,"compiler");s(this,"parser");s(this,"missingTranslationHandler");s(this,"useDefaultLang");s(this,"extend");s(this,"loadingTranslations");s(this,"pending",!1);s(this,"_translationRequests",{});s(this,"lastUseLanguage",null);this.store=n,this.currentLoader=a,this.compiler=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=u,this.extend=d,c&&(this.store=new $d),m&&this.setDefaultLang(m)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let a=this.retrieveTranslations(n);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=n),a.pipe(sn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return Je(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return fi(a)?(a.pipe(sn(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),Je(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let a=this.currentLoader.getTranslation(n).pipe(qm(1),sn(1));return this.loadingTranslations=a.pipe(Tt(i=>this.compiler.compileTranslations(i,n)),qm(1),sn(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?ce(ce({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),a}setTranslation(n,a,i=!1){let o=this.compiler.compileTranslations(a,n);(i||this.extend)&&this.translations[n]?this.translations[n]=Hd(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let a=n.filter(i=>!this.langs.includes(i));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,i){let o;if(n&&(o=this.runInterpolation(qd(n,a),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(qd(this.translations[this.defaultLang],a),i)),o===void 0){let l={key:a,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(Gp(n))return n.map(i=>this.runInterpolation(i,a));if(bs(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,a)}getParsedResult(n,a,i){if(a instanceof Array){let o={},l=!1;for(let c of a)o[c]=this.getParsedResultForKey(n,c,i),l=l||fi(o[c]);if(!l)return o;let u=a.map(c=>io(o[c]));return b0(u).pipe(Tt(c=>{let d={};return c.forEach((m,v)=>{d[a[v]]=m}),d}))}return this.getParsedResultForKey(n,a,i)}get(n,a){if(!na(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(_0(i=>io(this.getParsedResult(i,n,a)))):io(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!na(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return To(El(()=>this.get(n,a)),this.onTranslationChange.pipe(Sl(i=>{let o=this.getParsedResult(i.translations,n,a);return io(o)})))}stream(n,a){if(!na(n)||!n.length)throw new Error('Parameter "key" required');return To(El(()=>this.get(n,a)),this.onLangChange.pipe(Sl(i=>{let o=this.getParsedResult(i.translations,n,a);return io(o)})))}instant(n,a){if(!na(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,a);return fi(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,a,i=this.currentLang){HX(this.translations[i],n,Up(a)?this.compiler.compile(a,i):this.compiler.compileTranslations(a,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};s(t,"ɵfac",function(n){return new(n||t)(oe($d),oe(vs),oe(ys),oe(Zp),oe(ew),oe(nw),oe(tw),oe(aw),oe(rw))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$r=(()=>{const t=class t{constructor(n,a){s(this,"translate");s(this,"_ref");s(this,"value","");s(this,"lastKey",null);s(this,"lastParams",[]);s(this,"onTranslationChange");s(this,"onLangChange");s(this,"onDefaultLangChange");this.translate=n,this._ref=a}updateValue(n,a,i){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(i){let l=this.translate.getParsedResult(i,n,a);fi(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Gl(n,this.lastKey)&&Gl(a,this.lastParams))return this.value;let i;if(na(a[0])&&a.length)if(Up(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{i=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else bs(a[0])&&(i=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)($t(Qn,16),$t(pa,16))}),s(t,"ɵpipe",Wn({name:"translate",type:t,pure:!1})),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),GX=(e={})=>Lh([e.loader||{provide:vs,useClass:VX},e.compiler||{provide:ys,useClass:$X},e.parser||{provide:Zp,useClass:qX},e.missingTranslationHandler||{provide:ew,useClass:zX},$d,{provide:tw,useValue:e.isolate},{provide:nw,useValue:e.useDefaultLang},{provide:aw,useValue:e.extend},{provide:rw,useValue:e.defaultLanguage},Qn]);function iw(e){return e.buttons===0||e.detail===0}function ow(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 Ec;function UX(){if(Ec==null){let e=typeof document<"u"?document.head:null;Ec=!!(e&&(e.createShadowRoot||e.attachShadow))}return Ec}function ZX(e){if(UX()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Sc(){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 Fr(e){return e.composedPath?e.composedPath()[0]:e.target}function ra(e,t,r,n,a){let i=parseInt(Ff.major),o=parseInt(Ff.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,r,n,a):(t.addEventListener(r,n,a),()=>{t.removeEventListener(r,n,a)})}var Gd;try{Gd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Gd=!1}var dn=(()=>{const t=class t{constructor(){s(this,"_platformId",S(Su));s(this,"isBrowser",this._platformId?VQ(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||Gd)&&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})(),oo;function WX(){if(oo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>oo=!0}))}finally{oo=oo||!1}return oo}function Wp(e){return WX()?e:!!e.capture}function sg(e,t=0){return sw(e)?Number(e):arguments.length===2?t:0}function sw(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function _i(e){return e instanceof lt?e.nativeElement:e}var YX=new J("cdk-input-modality-detector-options"),KX={ignoreKeys:[18,17,224,91,16]},lw=650,kc={passive:!0,capture:!0},QX=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new Ma(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,i;(i=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Fr(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<lw||(this._modality.next(iw(n)?"keyboard":"mouse"),this._mostRecentTarget=Fr(n))});s(this,"_onTouchstart",n=>{if(ow(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Fr(n)});let n=S($e),a=S(Ve),i=S(YX,{optional:!0});if(this._options=ce(ce({},KX),i),this.modalityDetected=this._modality.pipe(E0(1)),this.modalityChanged=this.modalityDetected.pipe($6()),this._platform.isBrowser){let o=S(Un).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[ra(o,a,"keydown",this._onKeydown,kc),ra(o,a,"mousedown",this._onMousedown,kc),ra(o,a,"touchstart",this._onTouchstart,kc)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(a=>a())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vl=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(vl||{}),XX=new J("cdk-focus-monitor-default-options"),$s=Wp({passive:!0,capture:!0}),Yp=(()=>{const t=class t{constructor(){s(this,"_ngZone",S($e));s(this,"_platform",S(dn));s(this,"_inputModalityDetector",S(QX));s(this,"_origin",null);s(this,"_lastFocusOrigin");s(this,"_windowFocused",!1);s(this,"_windowFocusTimeoutId");s(this,"_originTimeoutId");s(this,"_originFromTouchInteraction",!1);s(this,"_elementInfo",new Map);s(this,"_monitoredElementCount",0);s(this,"_rootNodeFocusListenerCount",new Map);s(this,"_detectionMode");s(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});s(this,"_document",S(Ve,{optional:!0}));s(this,"_stopInputModalityDetector",new be);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=Fr(n);for(let i=a;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=S(XX,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||vl.IMMEDIATE}monitor(n,a=!1){let i=_i(n);if(!this._platform.isBrowser||i.nodeType!==1)return Je();let o=ZX(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return a&&(l.checkChildren=!0),l.subject;let u={checkChildren:a,subject:new be,rootNode:o};return this._elementInfo.set(i,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let a=_i(n),i=this._elementInfo.get(a);i&&(i.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(i))}focusVia(n,a,i){let o=_i(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,a,c)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((n,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===vl.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,a){n.classList.toggle("cdk-focused",!!a),n.classList.toggle("cdk-touch-focused",a==="touch"),n.classList.toggle("cdk-keyboard-focused",a==="keyboard"),n.classList.toggle("cdk-mouse-focused",a==="mouse"),n.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(n,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&a,this._detectionMode===vl.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?lw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,a){let i=this._elementInfo.get(a),o=Fr(n);!i||!i.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),i)}_onBlur(n,a){let i=this._elementInfo.get(a);!i||i.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(i,null))}_emitOrigin(n,a){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(a))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let a=n.rootNode,i=this._rootNodeFocusListenerCount.get(a)||0;i||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,$s),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,$s)}),this._rootNodeFocusListenerCount.set(a,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oa(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let i=this._rootNodeFocusListenerCount.get(a);i>1?this._rootNodeFocusListenerCount.set(a,i-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$s),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$s),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,i){this._setClasses(n,a),this._emitOrigin(i,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&a.push([o,i])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!a||a===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let o=n.labels;if(o){for(let l=0;l<o.length;l++)if(o[l].contains(a))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Gs=new WeakMap,Qa=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",S(dt));s(this,"_environmentInjector",S(ur))}load(n){let a=this._appRef=this._appRef||this._injector.get(ca),i=Gs.get(a);i||(i={loaders:new Set,refs:[]},Gs.set(a,i),a.onDestroy(()=>{var o;(o=Gs.get(a))==null||o.refs.forEach(l=>l.destroy()),Gs.delete(a)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(x_(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})(),uw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
20
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function Ul(e){return Array.isArray(e)?e:[e]}var lg=new Set,ba,JX=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_nonce",S(ip,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tJ}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&eJ(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 eJ(e,t){if(!lg.has(e))try{ba||(ba=document.createElement("style"),t&&ba.setAttribute("nonce",t),ba.setAttribute("type","text/css"),document.head.appendChild(ba)),ba.sheet&&(ba.sheet.insertRule(`@media ${e} {body{ }}`,0),lg.add(e))}catch(r){console.error(r)}}function tJ(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Kp=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",S(JX));s(this,"_zone",S($e));s(this,"_queries",new Map);s(this,"_destroySubject",new be)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return ug(Ul(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=ug(Ul(n)).map(o=>this._registerQuery(o).observable),i=ol(a);return i=To(i.pipe(sn(1)),i.pipe(E0(1),q6(0))),i.pipe(Tt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),i={observable:new ht(o=>{let l=u=>this._zone.run(()=>o.next(u));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(Th(a),Tt(({matches:o})=>({query:n,matches:o})),oa(this._destroySubject)),mql:a};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ug(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var nJ=(()=>{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})(),rJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[nJ]}));let e=t;return e})(),cw=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return iJ(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=aJ(pJ(n));if(a&&(cg(a)===-1||!this.isVisible(a)))return!1;let i=n.nodeName.toLowerCase(),o=cg(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!dJ(n)?!1:i==="audio"?n.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,a){return hJ(n)&&!this.isDisabled(n)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function aJ(e){try{return e.frameElement}catch{return null}}function iJ(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function oJ(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function sJ(e){return uJ(e)&&e.type=="hidden"}function lJ(e){return cJ(e)&&e.hasAttribute("href")}function uJ(e){return e.nodeName.toLowerCase()=="input"}function cJ(e){return e.nodeName.toLowerCase()=="a"}function dw(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function cg(e){if(!dw(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function dJ(e){let t=e.nodeName.toLowerCase(),r=t==="input"&&e.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function hJ(e){return sJ(e)?!1:oJ(e)||lJ(e)||e.hasAttribute("contenteditable")||dw(e)}function pJ(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var mJ=class{constructor(e,t,r,n,a=!1,i){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=r,this._document=n,this._injector=i,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let r=this._getFirstTabbableElement(t);return r==null||r.focus(e),!!r}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let r=0;r<t.length;r++){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[r]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let r=t.length-1;r>=0;r--){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?ku(e,{injector:this._injector}):setTimeout(e)}},fJ=(()=>{const t=class t{constructor(){s(this,"_checker",S(cw));s(this,"_ngZone",S($e));s(this,"_document",S(Ve));s(this,"_injector",S(dt));S(Qa).load(uw)}create(n,a=!1){return new mJ(n,this._checker,this._ngZone,this._document,a,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),gJ=new J("liveAnnouncerElement",{providedIn:"root",factory:vJ});function vJ(){return null}var bJ=new J("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),yJ=0,_J=(()=>{const t=class t{constructor(){s(this,"_ngZone",S($e));s(this,"_defaultOptions",S(bJ,{optional:!0}));s(this,"_liveElement");s(this,"_document",S(Ve));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=S(gJ,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let i=this._defaultOptions,o,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[o,l]=a,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),l==null&&i&&(l=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,a;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",a=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${yJ++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<a.length;i++){let o=a[i],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Sa=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}(Sa||{}),dg="cdk-high-contrast-black-on-white",hg="cdk-high-contrast-white-on-black",Cc="cdk-high-contrast-active",hw=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",S(Ve));s(this,"_breakpointSubscription");this._breakpointSubscription=S(Kp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Sa.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let a=this._document.defaultView||window,i=a&&a.getComputedStyle?a.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Sa.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Sa.BLACK_ON_WHITE}return Sa.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Cc,dg,hg),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===Sa.BLACK_ON_WHITE?n.add(Cc,dg):a===Sa.WHITE_ON_BLACK&&n.add(Cc,hg)}}};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})(),wJ=(()=>{const t=class t{constructor(){S(hw)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[rJ]}));let e=t;return e})(),Dc={},_s=(()=>{const t=class t{constructor(){s(this,"_appId",S(Eu))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Dc.hasOwnProperty(n)||(Dc[n]=0),`${n}${Dc[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 pw(e,...t){return t.length?t.some(r=>e[r]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var mw=" ";function xJ(e,t,r){let n=Zl(e,t);r=r.trim(),!n.some(a=>a.trim()===r)&&(n.push(r),e.setAttribute(t,n.join(mw)))}function EJ(e,t,r){let n=Zl(e,t);r=r.trim();let a=n.filter(i=>i!==r);a.length?e.setAttribute(t,a.join(mw)):e.removeAttribute(t)}function Zl(e,t){var r;return((r=e.getAttribute(t))==null?void 0:r.match(/\S+/g))??[]}var fw="cdk-describedby-message",Us="cdk-describedby-host",Ud=0,SJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_document",S(Ve));s(this,"_messageRegistry",new Map);s(this,"_messagesContainer",null);s(this,"_id",`${Ud++}`);S(Qa).load(uw),this._id=S(Eu)+"-"+Ud++}describe(n,a,i){if(!this._canBeDescribed(n,a))return;let o=Ic(a,i);typeof a!="string"?(pg(a,this._id),this._messageRegistry.set(o,{messageElement:a,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(a,i),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o)}removeDescription(n,a,i){var l;if(!a||!this._isElementNode(n))return;let o=Ic(a,i);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),typeof a=="string"){let u=this._messageRegistry.get(o);u&&u.referenceCount===0&&this._deleteMessageElement(o)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var a;let n=this._document.querySelectorAll(`[${Us}="${this._id}"]`);for(let i=0;i<n.length;i++)this._removeCdkDescribedByReferenceIds(n[i]),n[i].removeAttribute(Us);(a=this._messagesContainer)==null||a.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,a){let i=this._document.createElement("div");pg(i,this._id),i.textContent=n,a&&i.setAttribute("role",a),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(Ic(n,a),{messageElement:i,referenceCount:0})}_deleteMessageElement(n){var a,i;(i=(a=this._messageRegistry.get(n))==null?void 0:a.messageElement)==null||i.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",a=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let o=0;o<a.length;o++)a[o].remove();let i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(n),i.classList.add("cdk-visually-hidden"),this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(n){let a=Zl(n,"aria-describedby").filter(i=>i.indexOf(fw)!=0);n.setAttribute("aria-describedby",a.join(" "))}_addMessageReference(n,a){let i=this._messageRegistry.get(a);xJ(n,"aria-describedby",i.messageElement.id),n.setAttribute(Us,this._id),i.referenceCount++}_removeMessageReference(n,a){let i=this._messageRegistry.get(a);i.referenceCount--,EJ(n,"aria-describedby",i.messageElement.id),n.removeAttribute(Us)}_isElementDescribedByMessage(n,a){let i=Zl(n,"aria-describedby"),o=this._messageRegistry.get(a),l=o&&o.messageElement.id;return!!l&&i.indexOf(l)!=-1}_canBeDescribed(n,a){if(!this._isElementNode(n))return!1;if(a&&typeof a=="object")return!0;let i=a==null?"":`${a}`.trim(),o=n.getAttribute("aria-label");return i?!o||o.trim()!==i:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ic(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function pg(e,t){e.id||(e.id=`${fw}-${t}-${Ud++}`)}var kJ=new J("cdk-dir-doc",{providedIn:"root",factory:CJ});function CJ(){return S(Ve)}var DJ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function IJ(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?DJ.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var zo=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Pt);let n=S(kJ,{optional:!0});if(n){let a=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=IJ(a||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Bo=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})(),Vr=(()=>{const t=class t{constructor(){S(hw)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Bo,Bo]}));let e=t;return e})(),Zd=new J("MAT_DATE_LOCALE",{providedIn:"root",factory:TJ});function TJ(){return S(Pu)}var ri="Method not implemented",gw=class{constructor(){s(this,"locale");s(this,"_localeChanges",new be);s(this,"localeChanges",this._localeChanges)}setTime(e,t,r,n){throw new Error(ri)}getHours(e){throw new Error(ri)}getMinutes(e){throw new Error(ri)}getSeconds(e){throw new Error(ri)}parseTime(e,t){throw new Error(ri)}addSeconds(e,t){throw new Error(ri)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}sameTime(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareTime(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}},RJ=new J("mat-date-formats"),vw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|
|
21
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),rr=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(rr||{}),Zs,ya;function bw(){if(ya==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ya=!1,ya;if("scrollBehavior"in document.documentElement.style)ya=!0;else{let e=Element.prototype.scrollTo;e?ya=!/\{\s*\[native code\]\s*\}/.test(e.toString()):ya=!1}}return ya}function so(){if(typeof document!="object"||!document)return rr.NORMAL;if(Zs==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",e.appendChild(r),document.body.appendChild(e),Zs=rr.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Zs=e.scrollLeft===0?rr.NEGATED:rr.INVERTED),e.remove()}return Zs}function mg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Dt(e){return e==null?"":typeof e=="string"?e:`${e}px`}var In=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}(In||{}),OJ=class{constructor(e,t,r,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",In.HIDDEN);this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},fg=Wp({passive:!0,capture:!0}),NJ=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var r;let t=Fr(e);t&&((r=this._events.get(e.type))==null||r.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,r,n){let a=this._events.get(t);if(a){let i=a.get(r);i?i.add(n):a.set(r,new Set([n]))}else this._events.set(t,new Map([[r,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,fg)})}removeHandler(e,t,r){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(r),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,fg)))}},Wl={enterDuration:225,exitDuration:150},MJ=800,gg=Wp({passive:!0,capture:!0}),vg=["mousedown","touchstart"],bg=["mouseup","mouseleave","touchend","touchcancel"],AJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
22
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),aa,PJ=(aa=class{constructor(t,r,n,a,i){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=r,this._platform=a,a.isBrowser&&(this._containerElement=_i(n)),i&&i.get(Qa).load(AJ)}fadeInRipple(t,r,n={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=ce(ce({},Wl),n.animation);n.centered&&(t=a.left+a.width/2,r=a.top+a.height/2);let o=n.radius||LJ(t,r,a),l=t-a.left,u=r-a.top,c=i.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${l-o}px`,d.style.top=`${u-o}px`,d.style.height=`${o*2}px`,d.style.width=`${o*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let m=window.getComputedStyle(d),v=m.transitionProperty,g=m.transitionDuration,w=v==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,x=new OJ(this,d,n,w);d.style.transform="scale3d(1, 1, 1)",x.state=In.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let k=null;return!w&&(c||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{k&&(k.fallbackTimer=null),clearTimeout(N),this._finishRippleTransition(x)},O=()=>this._destroyRipple(x),N=setTimeout(O,c+100);d.addEventListener("transitionend",D),d.addEventListener("transitioncancel",O),k={onTransitionEnd:D,onTransitionCancel:O,fallbackTimer:N}}),this._activeRipples.set(x,k),(w||!c)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===In.FADING_OUT||t.state===In.HIDDEN)return;let r=t.element,n=ce(ce({},Wl),t.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",t.state=In.FADING_OUT,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=_i(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,vg.forEach(n=>{aa._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{bg.forEach(r=>{this._triggerElement.addEventListener(r,this,gg)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===In.FADING_IN?this._startFadeOutTransition(t):t.state===In.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=In.VISIBLE,!n&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=In.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),t.element.remove()}_onMousedown(t){let r=iw(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+MJ;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!ow(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=t.changedTouches;if(r)for(let n=0;n<r.length;n++)this.fadeInRipple(r[n].clientX,r[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let r=t.state===In.VISIBLE||t.config.terminateOnPointerUp&&t.state===In.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(vg.forEach(r=>aa._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(bg.forEach(r=>t.removeEventListener(r,this,gg)),this._pointerUpEventsRegistered=!1))}},s(aa,"_eventManager",new NJ),aa);function LJ(e,t,r){let n=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),a=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(n*n+a*a)}var FJ=new J("mat-ripple-global-options"),jJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Vr,Vr]}));let e=t;return e})(),VJ={capture:!0},zJ=["focus","mousedown","mouseenter","touchstart"],Tc="mat-ripple-loader-uninitialized",Rc="mat-ripple-loader-class-name",yg="mat-ripple-loader-centered",Ws="mat-ripple-loader-disabled",BJ=(()=>{const t=class t{constructor(){s(this,"_document",S(Ve));s(this,"_animationMode",S(Wa,{optional:!0}));s(this,"_globalRippleOptions",S(FJ,{optional:!0}));s(this,"_platform",S(dn));s(this,"_ngZone",S($e));s(this,"_injector",S(dt));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var i;let a=Fr(n);if(a instanceof HTMLElement){let o=a.closest(`[${Tc}="${((i=this._globalRippleOptions)==null?void 0:i.namespace)??""}"]`);o&&this._createRipple(o)}});let n=S(Un).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>zJ.map(a=>ra(n,this._document,a,this._onInteraction,VJ)))}ngOnDestroy(){let n=this._hosts.keys();for(let a of n)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(n,a){var i;n.setAttribute(Tc,((i=this._globalRippleOptions)==null?void 0:i.namespace)??""),(a.className||!n.hasAttribute(Rc))&&n.setAttribute(Rc,a.className||""),a.centered&&n.setAttribute(yg,""),a.disabled&&n.setAttribute(Ws,"")}setDisabled(n,a){let i=this._hosts.get(n);i?(i.target.rippleDisabled=a,!a&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(n))):a?n.setAttribute(Ws,""):n.removeAttribute(Ws)}_createRipple(n){var v,g,w;if(!this._document||this._hosts.has(n))return;(v=n.querySelector(".mat-ripple"))==null||v.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",n.getAttribute(Rc)),n.append(a);let i=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=i?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Wl.enterDuration,u=i?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??Wl.exitDuration,c={rippleDisabled:i||(o==null?void 0:o.disabled)||n.hasAttribute(Ws),rippleConfig:{centered:n.hasAttribute(yg),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:u}}},d=new PJ(c,this._ngZone,a,this._platform,this._injector),m=!c.rippleDisabled;m&&d.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:d,hasSetUpEvents:m}),n.removeAttribute(Tc)}destroyRipple(n){let a=this._hosts.get(n);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),HJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,qJ=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Oc(e,t){let r=Array(e);for(let n=0;n<e;n++)r[n]=t(n);return r}var $J=(()=>{const t=class t extends gw{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",S(Zd,{optional:!0}));let a=S(Zd,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let i=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Oc(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Oc(31,i=>this._format(a,new Date(2017,0,i+1)))}getDayOfWeekNames(a){let i=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Oc(7,o=>this._format(i,new Date(2017,0,o+1)))}getYearName(a){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,a)}getFirstDayOfWeek(){var a,i;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((i=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:i.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,i,o){let l=this._createDateWithOverflow(a,i,o);return l.getMonth()!=i,l}today(){return new Date}parse(a,i){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,i){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Ut(ce({},i),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,i){return this.addCalendarMonths(a,i*12)}addCalendarMonths(a,i){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+i,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+i)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,i){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+i)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(HJ.test(a)){let i=new Date(a);if(this.isValid(i))return i}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,i,o,l){let u=this.clone(a);return u.setHours(i,o,l,0),u}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,i){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let o=a.trim();if(o.length===0)return null;let l=this._parseTimeString(o);if(l===null){let u=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();u.length>0&&(l=this._parseTimeString(u))}return l||this.invalid()}addSeconds(a,i){return new Date(a.getTime()+i*1e3)}_createDateWithOverflow(a,i,o){let l=new Date;return l.setFullYear(a,i,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,i){let o=new Date;return o.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),o.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),a.format(o)}_parseTimeString(a){let i=a.toUpperCase().match(qJ);if(i){let o=parseInt(i[1]),l=parseInt(i[2]),u=i[3]==null?void 0:parseInt(i[3]),c=i[4];if(o===12?o=c==="AM"?0:o:c==="PM"&&(o+=12),Nc(o,0,23)&&Nc(l,0,59)&&(u==null||Nc(u,0,59)))return this.setTime(this.today(),o,l,u||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Nc(e,t,r){return!isNaN(e)&&e>=t&&e<=r}var Qp=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}},Ho=class extends Qp{constructor(t,r,n,a,i){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=r,this.injector=n,this.projectableNodes=i}},Xp=class extends Qp{constructor(t,r,n,a){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=r,this.context=n,this.injector=a}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},GJ=class extends Qp{constructor(t){super();s(this,"element");this.element=t instanceof lt?t.nativeElement:t}},Vu=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 Ho)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Xp)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof GJ)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)}},UJ=class extends Vu{constructor(t,r,n,a,i){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let r=t.element;r.parentNode;let n=this._document.createComment("dom-portal");r.parentNode.insertBefore(n,r),this.outletElement.appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(r,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=a,this._document=i}attachComponentPortal(t){let r;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,a=n.get(Lo,null,{optional:!0})||void 0;r=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>r.destroy())}else{let n=this._appRef,a=t.injector||this._defaultInjector||dt.NULL,i=a.get(ur,n.injector);r=x_(t.component,{elementInjector:a,environmentInjector:i,projectableNodes:t.projectableNodes||void 0}),n.attachView(r.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(r.hostView),r.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let r=t.viewContainerRef,n=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(a=>this.outletElement.appendChild(a)),n.detectChanges(),this.setDisposeFn(()=>{let a=r.indexOf(n);a!==-1&&r.remove(a)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},qo=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_moduleRef",S(Lo,{optional:!0}));s(this,"_document",S(Ve));s(this,"_viewContainerRef",S(Zn));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new Pt);s(this,"attachDomPortal",a=>{let i=a.element;i.parentNode;let o=this._document.createComment("dom-portal");a.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._getRootNode().appendChild(i),this._attachedPortal=a,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(i,o)})})}get portal(){return this._attachedPortal}set portal(a){this.hasAttached()&&!a&&!this._isInitialized||(this.hasAttached()&&super.detach(),a&&super.attach(a),this._attachedPortal=a||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(a){a.setAttachedHost(this);let i=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,o=i.createComponent(a.component,{index:i.length,injector:a.injector||i.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=a,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(a){a.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ke]}));let e=t;return e})(),Yl=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})(),ZJ=class{};function Mc(e){return e&&typeof e.connect=="function"&&!(e instanceof i6)}var xo=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(xo||{}),Wd=new J("_ViewRepeater"),WJ=20,yw=(()=>{const t=class t{constructor(){s(this,"_ngZone",S($e));s(this,"_platform",S(dn));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new be);s(this,"_scrolledCount",0);s(this,"scrollContainers",new Map)}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let a=this.scrollContainers.get(n);a&&(a.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=WJ){return this._platform.isBrowser?new ht(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=n>0?this._scrolled.pipe(y0(n)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var o;i.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):Je()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((a,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,a){let i=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(Or(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){let a=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,n)&&a.push(o)}),a}_scrollableContainsElement(n,a){let i=_i(a),o=n.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),YJ=(()=>{const t=class t{constructor(){s(this,"elementRef",S(lt));s(this,"scrollDispatcher",S(yw));s(this,"ngZone",S($e));s(this,"dir",S(zo,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new be);s(this,"_renderer",S(Zi));s(this,"_cleanupScroll");s(this,"_elementScrolled",new be)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",n=>this._elementScrolled.next(n))),this.scrollDispatcher.register(this)}ngOnDestroy(){var n;(n=this._cleanupScroll)==null||n.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let a=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=i?n.end:n.start),n.right==null&&(n.right=i?n.start:n.end),n.bottom!=null&&(n.top=a.scrollHeight-a.clientHeight-n.bottom),i&&so()!=rr.NORMAL?(n.left!=null&&(n.right=a.scrollWidth-a.clientWidth-n.left),so()==rr.INVERTED?n.left=n.right:so()==rr.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=a.scrollWidth-a.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let a=this.elementRef.nativeElement;bw()?a.scrollTo(n):(n.top!=null&&(a.scrollTop=n.top),n.left!=null&&(a.scrollLeft=n.left))}measureScrollOffset(n){let a="left",i="right",o=this.elementRef.nativeElement;if(n=="top")return o.scrollTop;if(n=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let l=this.dir&&this.dir.value=="rtl";return n=="start"?n=l?i:a:n=="end"&&(n=l?a:i),l&&so()==rr.INVERTED?n==a?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&so()==rr.NEGATED?n==a?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==a?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),KJ=20,Jp=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new be);s(this,"_document",S(Ve,{optional:!0}));let n=S($e),a=S(Un).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[a.listen("window","resize",i),a.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var n;(n=this._listeners)==null||n.forEach(a=>a()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:a,height:i}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+i,right:n.left+a,height:i,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,a=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect(),l=-o.top||n.body.scrollTop||a.scrollY||i.scrollTop||0,u=-o.left||n.body.scrollLeft||a.scrollX||i.scrollLeft||0;return{top:l,left:u}}change(n=KJ){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})(),_g=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})(),Yd=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Bo,_g,Bo,_g]}));let e=t;return e})(),wg=bw(),QJ=class{constructor(e,t){s(this,"_viewportRuler");s(this,"_previousHTMLStyles",{top:"",left:""});s(this,"_previousScrollPosition");s(this,"_isEnabled",!1);s(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Dt(-this._previousScrollPosition.left),e.style.top=Dt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,r=e.style,n=t.style,a=r.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),wg&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wg&&(r.scrollBehavior=a,n.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},XJ=class{constructor(e,t,r,n){s(this,"_scrollDispatcher");s(this,"_ngZone");s(this,"_viewportRuler");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");s(this,"_initialScrollPosition");s(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Or(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}},_w=class{enable(){}disable(){}attach(){}};function Kd(e,t){return t.some(r=>{let n=e.bottom<r.top,a=e.top>r.bottom,i=e.right<r.left,o=e.left>r.right;return n||a||i||o})}function xg(e,t){return t.some(r=>{let n=e.top<r.top,a=e.bottom>r.bottom,i=e.left<r.left,o=e.right>r.right;return n||a||i||o})}var JJ=class{constructor(e,t,r,n){s(this,"_scrollDispatcher");s(this,"_viewportRuler");s(this,"_ngZone");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:n}=this._viewportRuler.getViewportSize();Kd(t,[{width:r,height:n,bottom:n,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},eee=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",S(yw));s(this,"_viewportRuler",S(Jp));s(this,"_ngZone",S($e));s(this,"_document",S(Ve));s(this,"noop",()=>new _w);s(this,"close",n=>new XJ(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new QJ(this._viewportRuler,this._document));s(this,"reposition",n=>new JJ(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 _w);s(this,"panelClass","");s(this,"hasBackdrop",!1);s(this,"backdropClass","cdk-overlay-dark-backdrop");s(this,"width");s(this,"height");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"direction");s(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let r of t)e[r]!==void 0&&(this[r]=e[r])}}},tee=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},ww=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",S(Ve));s(this,"_isAttached")}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let a=this._attachedOverlays.indexOf(n);a>-1&&this._attachedOverlays.splice(a,1),this._attachedOverlays.length===0&&this.detach()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),nee=(()=>{const t=class t extends ww{constructor(){super(...arguments);s(this,"_ngZone",S($e));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",a=>{let i=this._attachedOverlays;for(let o=i.length-1;o>-1;o--)if(i[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[o]._keydownEvents.next(a));break}})}add(a){super.add(a),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var a;this._isAttached&&((a=this._cleanupKeydown)==null||a.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ree=(()=>{const t=class t extends ww{constructor(){super(...arguments);s(this,"_platform",S(dn));s(this,"_ngZone",S($e));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=Fr(a)});s(this,"_clickListener",a=>{let i=Fr(a),o=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){let c=l[u];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(Eg(c.overlayElement,i)||Eg(c.overlayElement,o))break;let d=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(a)):d.next(a)}})}add(a){if(super.add(a),!this._isAttached){let i=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[ra(this._renderer,i,"pointerdown",this._pointerDownListener,o),ra(this._renderer,i,"click",this._clickListener,o),ra(this._renderer,i,"auxclick",this._clickListener,o),ra(this._renderer,i,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(i=>i()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Eg(e,t){let r=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=r&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var xw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
23
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),tm=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_containerElement");s(this,"_document",S(Ve));s(this,"_styleLoader",S(Qa))}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||mg()){let i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let a=this._document.createElement("div");a.classList.add(n),mg()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(xw)}};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})(),aee=class{constructor(e,t,r,n){s(this,"_renderer");s(this,"_ngZone");s(this,"element");s(this,"_cleanupClick");s(this,"_cleanupTransitionEnd");s(this,"_fallbackTimeout");s(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=r,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",n)}detach(){this._ngZone.runOutsideAngular(()=>{var t;let e=this.element;clearTimeout(this._fallbackTimeout),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}},nm=class{constructor(e,t,r,n,a,i,o,l,u,c=!1,d,m){s(this,"_portalOutlet");s(this,"_host");s(this,"_pane");s(this,"_config");s(this,"_ngZone");s(this,"_keyboardDispatcher");s(this,"_document");s(this,"_location");s(this,"_outsideClickDispatcher");s(this,"_animationsDisabled");s(this,"_injector");s(this,"_renderer");s(this,"_backdropClick",new be);s(this,"_attachments",new be);s(this,"_detachments",new be);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",ln.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new be);s(this,"_outsidePointerEvents",new be);s(this,"_renders",new be);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=r,this._config=n,this._ngZone=a,this._keyboardDispatcher=i,this._document=o,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=c,this._injector=d,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=Fd(()=>Zb(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){var e;return((e=this._backdropRef)==null?void 0:e.element)||null}get hostElement(){return this._host}attach(e){var r;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(r=this._afterNextRenderRef)==null||r.destroy(),this._afterNextRenderRef=ku(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(t==null?void 0:t.onDestroy)=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t,r,n;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),(t=this._backdropRef)==null||t.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(r=this._host)==null||r.remove(),(n=this._afterNextRenderRef)==null||n.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=ce(ce({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Ut(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=Dt(this._config.width),e.height=Dt(this._config.height),e.minWidth=Dt(this._config.minWidth),e.minHeight=Dt(this._config.minHeight),e.maxWidth=Dt(this._config.maxWidth),e.maxHeight=Dt(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 aee(this._document,this._renderer,this._ngZone,r=>{this._backdropClick.next(r)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{var r;return(r=this._backdropRef)==null?void 0:r.element.classList.add(e)})}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){var e,t;this._animationsDisabled?((e=this._backdropRef)==null||e.dispose(),this._backdropRef=null):(t=this._backdropRef)==null||t.detach()}_toggleClasses(e,t,r){let n=Ul(t||[]).filter(a=>!!a);n.length&&(r?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(oa(Ei(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)}},Sg="cdk-overlay-connected-position-bounding-box",iee=/([A-Za-z%]+)$/,oee=class{constructor(e,t,r,n,a){s(this,"_viewportRuler");s(this,"_document");s(this,"_platform");s(this,"_overlayContainer");s(this,"_overlayRef");s(this,"_isInitialRender");s(this,"_lastBoundingBoxSize",{width:0,height:0});s(this,"_isPushed",!1);s(this,"_canPush",!0);s(this,"_growAfterOpen",!1);s(this,"_hasFlexibleDimensions",!0);s(this,"_positionLocked",!1);s(this,"_originRect");s(this,"_overlayRect");s(this,"_viewportRect");s(this,"_containerRect");s(this,"_viewportMargin",0);s(this,"_scrollables",[]);s(this,"_preferredPositions",[]);s(this,"_origin");s(this,"_pane");s(this,"_isDisposed");s(this,"_boundingBox");s(this,"_lastPosition");s(this,"_lastScrollVisibility");s(this,"_positionChanges",new be);s(this,"_resizeSubscription",ln.EMPTY);s(this,"_offsetX",0);s(this,"_offsetY",0);s(this,"_transformOriginSelector");s(this,"_appliedPanelClasses",[]);s(this,"_previousPushAmount");s(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=r,this._platform=n,this._overlayContainer=a,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Sg),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,r=this._viewportRect,n=this._containerRect,a=[],i;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),u=this._getOverlayPoint(l,t,o),c=this._getOverlayFit(u,t,r,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(c,u,r)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!i||i.overlayFit.visibleArea<c.visibleArea)&&(i={overlayFit:c,overlayPoint:u,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let u of a){let c=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);c>l&&(l=c,o=u)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(i.position,i.originPoint);return}this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_a(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Sg),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,r){let n;if(r.originX=="center")n=e.left+e.width/2;else{let i=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=r.originX=="start"?i:o}t.left<0&&(n-=t.left);let a;return r.originY=="center"?a=e.top+e.height/2:a=r.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:n,y:a}}_getOverlayPoint(e,t,r){let n;r.overlayX=="center"?n=-t.width/2:r.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let a;return r.overlayY=="center"?a=-t.height/2:a=r.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,t,r,n){let a=Cg(t),{x:i,y:o}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(i+=l),u&&(o+=u);let c=0-i,d=i+a.width-r.width,m=0-o,v=o+a.height-r.height,g=this._subtractOverflows(a.width,c,d),w=this._subtractOverflows(a.height,m,v),x=g*w;return{visibleArea:x,isCompletelyWithinViewport:a.width*a.height===x,fitsInViewportVertically:w===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){let n=r.bottom-t.y,a=r.right-t.x,i=kg(this._overlayRef.getConfig().minHeight),o=kg(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||i!=null&&i<=n,u=e.fitsInViewportHorizontally||o!=null&&o<=a;return l&&u}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Cg(t),a=this._viewportRect,i=Math.max(e.x+n.width-a.width,0),o=Math.max(e.y+n.height-a.height,0),l=Math.max(a.top-r.top-e.y,0),u=Math.max(a.left-r.left-e.x,0),c=0,d=0;return n.width<=a.width?c=u||-i:c=e.x<this._viewportMargin?a.left-r.left-e.x:0,n.height<=a.height?d=l||-o:d=e.y<this._viewportMargin?a.top-r.top-e.y:0,this._previousPushAmount={x:c,y:d},{x:e.x+c,y:e.y+d}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!see(this._lastScrollVisibility,r)){let n=new tee(e,r);this._positionChanges.next(n)}this._lastScrollVisibility=r}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,n=e.overlayY;e.overlayX==="center"?r="center":this._isRtl()?r=e.overlayX==="start"?"right":"left":r=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${r} ${n}`}_calculateBoundingBoxRect(e,t){let r=this._viewportRect,n=this._isRtl(),a,i,o;if(t.overlayY==="top")i=e.y,a=r.height-i+this._viewportMargin;else if(t.overlayY==="bottom")o=r.height-e.y+this._viewportMargin*2,a=r.height-o+this._viewportMargin;else{let v=Math.min(r.bottom-e.y+r.top,e.y),g=this._lastBoundingBoxSize.height;a=v*2,i=e.y-v,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,u=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,c,d,m;if(u)m=r.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)d=e.x,c=r.right-e.x;else{let v=Math.min(r.right-e.x+r.left,e.x),g=this._lastBoundingBoxSize.width;c=v*2,d=e.x-v,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-g/2)}return{top:i,left:d,bottom:o,right:m,width:c,height:a}}_setBoundingBoxStyles(e,t){let r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;n.height=Dt(r.height),n.top=Dt(r.top),n.bottom=Dt(r.bottom),n.width=Dt(r.width),n.left=Dt(r.left),n.right=Dt(r.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=Dt(a)),i&&(n.maxWidth=Dt(i))}this._lastBoundingBoxSize=r,_a(this._boundingBox.style,n)}_resetBoundingBoxStyles(){_a(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_a(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let r={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();_a(r,this._getExactOverlayY(t,e,c)),_a(r,this._getExactOverlayX(t,e,c))}else r.position="static";let o="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),u&&(o+=`translateY(${u}px)`),r.transform=o.trim(),i.maxHeight&&(n?r.maxHeight=Dt(i.maxHeight):a&&(r.maxHeight="")),i.maxWidth&&(n?r.maxWidth=Dt(i.maxWidth):a&&(r.maxWidth="")),_a(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r)),e.overlayY==="bottom"){let i=this._document.documentElement.clientHeight;n.bottom=`${i-(a.y+this._overlayRect.height)}px`}else n.top=Dt(a.y);return n}_getExactOverlayX(e,t,r){let n={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r));let i;if(this._isRtl()?i=e.overlayX==="end"?"left":"right":i=e.overlayX==="end"?"right":"left",i==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(a.x+this._overlayRect.width)}px`}else n.left=Dt(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xg(e,r),isOriginOutsideView:Kd(e,r),isOverlayClipped:xg(t,r),isOverlayOutsideView:Kd(t,r)}}_subtractOverflows(e,...t){return t.reduce((r,n)=>r-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Ul(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 lt)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}};function _a(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function kg(e){if(typeof e!="number"&&e!=null){let[t,r]=e.split(iee);return!r||r==="px"?parseFloat(t):null}return e||null}function Cg(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 see(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Dg="cdk-global-overlay-wrapper",lee=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(Dg),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:i,maxHeight:o}=r,l=(n==="100%"||n==="100vw")&&(!i||i==="100%"||i==="100vw"),u=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),c=this._xPosition,d=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",v="",g="",w="";l?w="flex-start":c==="center"?(w="center",m?g=d:v=d):m?c==="left"||c==="end"?(w="flex-end",v=d):(c==="right"||c==="start")&&(w="flex-start",g=d):c==="left"||c==="start"?(w="flex-start",v=d):(c==="right"||c==="end")&&(w="flex-end",g=d),e.position=this._cssPosition,e.marginLeft=l?"0":v,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(Dg),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},uee=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",S(Jp));s(this,"_document",S(Ve));s(this,"_platform",S(dn));s(this,"_overlayContainer",S(tm))}global(){return new lee}flexibleConnectedTo(n){return new oee(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})(),ma=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",S(eee));s(this,"_overlayContainer",S(tm));s(this,"_positionBuilder",S(uee));s(this,"_keyboardDispatcher",S(nee));s(this,"_injector",S(dt));s(this,"_ngZone",S($e));s(this,"_document",S(Ve));s(this,"_directionality",S(zo));s(this,"_location",S(C_));s(this,"_outsideClickDispatcher",S(ree));s(this,"_animationsModuleType",S(Wa,{optional:!0}));s(this,"_idGenerator",S(_s));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",S(Qa))}create(n){this._styleLoader.load(xw);let a=this._createHostElement(),i=this._createPaneElement(a),o=this._createPortalOutlet(i),l=new em(n);return l.direction=l.direction||this._directionality.value,new nm(o,a,i,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(ur),this._renderer)}position(){return this._positionBuilder}_createPaneElement(n){let a=this._document.createElement("div");return a.id=this._idGenerator.getId("cdk-overlay-"),a.classList.add("cdk-overlay-pane"),n.appendChild(a),a}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(ca)),new UJ(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})(),cee=new J("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(ma);return()=>e.scrollStrategies.reposition()}});function dee(e){return()=>e.scrollStrategies.reposition()}var hee={provide:cee,deps:[ma],useFactory:dee},Ew=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[ma,hee],imports:[Bo,Yl,Yd,Yd]}));let e=t;return e})();function pee(e,t){}var $o=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")}},Sw=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_elementRef",S(lt));s(this,"_focusTrapFactory",S(fJ));s(this,"_config");s(this,"_interactivityChecker",S(cw));s(this,"_ngZone",S($e));s(this,"_overlayRef",S(nm));s(this,"_focusMonitor",S(Yp));s(this,"_renderer",S(Zi));s(this,"_changeDetectorRef",S(pa));s(this,"_injector",S(dt));s(this,"_platform",S(dn));s(this,"_document",S(Ve,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new be);s(this,"_focusTrap",null);s(this,"_elementFocusedBeforeDialogWasOpened",null);s(this,"_closeInteractionType",null);s(this,"_ariaLabelledByQueue",[]);s(this,"_isDestroyed",!1);s(this,"attachDomPortal",a=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(a);return this._contentAttached(),i});this._config=S($o,{optional:!0})||new $o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(a){this._ariaLabelledByQueue.push(a),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(a){let i=this._ariaLabelledByQueue.indexOf(a);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(a){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(a);return this._contentAttached(),i}attachTemplatePortal(a){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(a);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(a,i){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),u(),a.removeAttribute("tabindex")},l=this._renderer.listen(a,"blur",o),u=this._renderer.listen(a,"mousedown",o)})),a.focus(i)}_focusByCssSelector(a,i){let o=this._elementRef.nativeElement.querySelector(a);o&&this._forceFocus(o,i)}_trapFocus(a){this._isDestroyed||ku(()=>{var o;let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(a);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(a)||this._focusDialogContainer(a);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',a);break;default:this._focusByCssSelector(this._config.autoFocus,a);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let a=this._config.restoreFocus,i=null;if(typeof a=="string"?i=this._document.querySelector(a):typeof a=="boolean"?i=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(i=a),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=Sc(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(a){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(a)}_containsFocus(){let a=this._elementRef.nativeElement,i=Sc();return a===i||a.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Sc()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(a,i){if(a&1&&ql(qo,7),a&2){let o;Rn(o=On())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,i){a&2&&cn("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[Ke],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a,i){a&1&&me(0,pee,0,0,"ng-template",0)},dependencies:[qo],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
|
|
24
|
-
`],encapsulation:2}));let e=t;return e})(),Ac=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 be);s(this,"backdropClick");s(this,"keydownEvents");s(this,"outsidePointerEvents");s(this,"id");s(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!pw(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let r=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(e),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},mee=new J("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=S(ma);return()=>e.scrollStrategies.block()}}),fee=new J("DialogData"),gee=new J("DefaultDialogConfig"),kw=(()=>{const t=class t{constructor(){s(this,"_overlay",S(ma));s(this,"_injector",S(dt));s(this,"_defaultOptions",S(gee,{optional:!0}));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",S(tm));s(this,"_idGenerator",S(_s));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",S(mee));s(this,"afterAllClosed",El(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Th(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(n,a){let i=this._defaultOptions||new $o;a=ce(ce({},i),a),a.id=a.id||this._idGenerator.getId("cdk-dialog-"),a.id&&this.getDialogById(a.id);let o=this._getOverlayConfig(a),l=this._overlay.create(o),u=new Ac(l,a),c=this._attachContainer(l,u,a);if(u.containerInstance=c,!this.openDialogs.length){let d=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(sn(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(d)}):this._hideNonDialogContentFromAssistiveTechnology(d)}return this._attachDialogContent(n,u,c,a),this.openDialogs.push(u),u.closed.subscribe(()=>this._removeOpenDialog(u,!0)),this.afterOpened.next(u),u}closeAll(){Pc(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){Pc(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),Pc(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let a=new em({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(a.backdropClass=n.backdropClass),a}_attachContainer(n,a,i){var d;let o=i.injector||((d=i.viewContainerRef)==null?void 0:d.injector),l=[{provide:$o,useValue:i},{provide:Ac,useValue:a},{provide:nm,useValue:n}],u;i.container?typeof i.container=="function"?u=i.container:(u=i.container.type,l.push(...i.container.providers(i))):u=Sw;let c=new Ho(u,i.viewContainerRef,dt.create({parent:o||this._injector,providers:l}));return n.attach(c).instance}_attachDialogContent(n,a,i,o){if(n instanceof un){let l=this._createInjector(o,a,i,void 0),u={$implicit:o.data,dialogRef:a};o.templateContext&&(u=ce(ce({},u),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new Xp(n,null,u,l))}else{let l=this._createInjector(o,a,i,this._injector),u=i.attachComponentPortal(new Ho(n,o.viewContainerRef,l));a.componentRef=u,a.componentInstance=u.instance}}_createInjector(n,a,i,o){var c;let l=n.injector||((c=n.viewContainerRef)==null?void 0:c.injector),u=[{provide:fee,useValue:n.data},{provide:Ac,useValue:a}];return n.providers&&(typeof n.providers=="function"?u.push(...n.providers(a,n,i)):u.push(...n.providers)),n.direction&&(!l||!l.get(zo,null,{optional:!0}))&&u.push({provide:zo,useValue:{value:n.direction,change:Je()}}),dt.create({parent:l||o,providers:u})}_removeOpenDialog(n,a){let i=this.openDialogs.indexOf(n);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),a&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let a=n.parentElement.children;for(let i=a.length-1;i>-1;i--){let o=a[i];o!==n&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Pc(e,t){let r=e.length;for(;r--;)t(e[r])}var vee=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[kw],imports:[Ew,Yl,wJ,Yl]}));let e=t;return e})();function bee(e,t){}var Ig=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")}},Lc="mdc-dialog--open",Tg="mdc-dialog--opening",Rg="mdc-dialog--closing",yee=150,_ee=75,wee=(()=>{const t=class t extends Sw{constructor(){super(...arguments);s(this,"_animationMode",S(Wa,{optional:!0}));s(this,"_animationStateChanged",new Pt);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?Ng(this._config.enterAnimationDuration)??yee:0);s(this,"_exitAnimationDuration",this._animationsEnabled?Ng(this._config.exitAnimationDuration)??_ee: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(Og,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Tg,Lc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Lc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Lc),this._animationsEnabled?(this._hostElement.style.setProperty(Og,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Rg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(a){this._actionSectionCount+=a,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Tg,Rg)}_waitForAnimationToComplete(a,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,a)}_requestAnimationFrame(a){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(a):a()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(a){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:a})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(a){let i=super.attachComponentPortal(a);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,i){a&2&&(Op("id",i._config.id),cn("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),tn("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},features:[Ke],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a,i){a&1&&(V(0,"div",0)(1,"div",1),me(2,bee,0,0,"ng-template",2),B()())},dependencies:[qo],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})(),Og="--mat-dialog-transition-duration";function Ng(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?sg(e.substring(0,e.length-2)):e.endsWith("s")?sg(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var bl=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(bl||{}),rm=class{constructor(e,t,r){s(this,"_ref");s(this,"_containerInstance");s(this,"componentInstance");s(this,"componentRef");s(this,"disableClose");s(this,"id");s(this,"_afterOpened",new be);s(this,"_beforeClosed",new be);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",bl.OPEN);s(this,"_closeInteractionType");this._ref=e,this._containerInstance=r,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(Or(n=>n.state==="opened"),sn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Or(n=>n.state==="closed"),sn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ei(this.backdropClick(),this.keydownEvents().pipe(Or(n=>n.keyCode===27&&!this.disableClose&&!pw(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Cw(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Or(t=>t.state==="closing"),sn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=bl.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=bl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Cw(e,t,r){return e._closeInteractionType=t,e.close(r)}var Dw=new J("MatMdcDialogData"),Iw=new J("mat-mdc-dialog-default-options"),xee=new J("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(ma);return()=>e.scrollStrategies.block()}}),zu=(()=>{const t=class t{constructor(){s(this,"_overlay",S(ma));s(this,"_defaultOptions",S(Iw,{optional:!0}));s(this,"_scrollStrategy",S(xee));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",S(_s));s(this,"_dialog",S(kw));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"dialogConfigClass",Ig);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",El(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Th(void 0))));this._dialogRefConstructor=rm,this._dialogContainerType=wee,this._dialogDataToken=Dw}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(n,a){let i;a=ce(ce({},this._defaultOptions||new Ig),a),a.id=a.id||this._idGenerator.getId("mat-mdc-dialog-"),a.scrollStrategy=a.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,Ut(ce({},a),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:a},{provide:$o,useValue:a}]},templateContext:()=>({dialogRef:i}),providers:(l,u,c)=>(i=new this._dialogRefConstructor(l,a,c),i.updatePosition(a==null?void 0:a.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:u.data},{provide:this._dialogRefConstructor,useValue:i}])}));return i.componentRef=o.componentRef,i.componentInstance=o.componentInstance,this.openDialogs.push(i),this.afterOpened.next(i),i.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(i);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let a=n.length;for(;a--;)n[a].close()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Tw=(()=>{const t=class t{constructor(){s(this,"dialogRef",S(rm,{optional:!0}));s(this,"_elementRef",S(lt));s(this,"_dialog",S(zu));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=Aw(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let a=n._matDialogClose||n._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}_onButtonClick(n){Cw(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,a){n&1&&kn("click",function(i){return a._onButtonClick(i)}),n&2&&cn("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ga]}));let e=t;return e})(),Rw=(()=>{const t=class t{constructor(){s(this,"_dialogRef",S(rm,{optional:!0}));s(this,"_elementRef",S(lt));s(this,"_dialog",S(zu))}ngOnInit(){this._dialogRef||(this._dialogRef=Aw(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",Se({type:t}));let e=t;return e})(),Ow=(()=>{const t=class t extends Rw{constructor(){super(...arguments);s(this,"id",S(_s).getId("mat-mdc-dialog-title-"))}_onAdd(){var a,i;(i=(a=this._dialogRef._containerInstance)==null?void 0:a._addAriaLabelledBy)==null||i.call(a,this.id)}_onRemove(){var a,i,o;(o=(i=(a=this._dialogRef)==null?void 0:a._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||o.call(i,this.id)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,i){a&2&&Op("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ke]}));let e=t;return e})(),Nw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[ZW([YJ])]}));let e=t;return e})(),Mw=(()=>{const t=class t extends Rw{constructor(){super(...arguments);s(this,"align")}_onAdd(){var a,i;(i=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||i.call(a,1)}_onRemove(){var a,i;(i=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||i.call(a,-1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(a,i){a&2&&tn("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end")},inputs:{align:"align"},features:[Ke]}));let e=t;return e})();function Aw(e,t){let r=e.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(n=>n.id===r.id):null}var Pw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[zu],imports:[vee,Ew,Yl,Vr,Vr]}));let e=t;return e})(),Lw=class{applyChanges(e,t,r,n,a){e.forEachOperation((i,o,l)=>{let u,c;if(i.previousIndex==null){let d=r(i,o,l);u=t.createEmbeddedView(d.templateRef,d.context,d.index),c=xo.INSERTED}else l==null?(t.remove(o),c=xo.REMOVED):(u=t.get(o),t.move(u,l),c=xo.MOVED);a&&a({context:u==null?void 0:u.context,operation:c,record:i})})}detach(){}},Eee=new J("MAT_BUTTON_CONFIG"),See=[{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"]}],Fw=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(lt));s(this,"_ngZone",S($e));s(this,"_animationMode",S(Wa,{optional:!0}));s(this,"_focusMonitor",S(Yp));s(this,"_rippleLoader",S(BJ));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;S(Qa).load(vw);let n=S(Eee,{optional:!0}),a=this._elementRef.nativeElement,i=a.classList;this.disabledInteractive=(n==null?void 0:n.disabledInteractive)??!1,this.color=(n==null?void 0:n.color)??null,(o=this._rippleLoader)==null||o.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:u}of See)a.hasAttribute(l)&&i.add(...u)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var n;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement)}focus(n="program",a){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,a):this._elementRef.nativeElement.focus(a)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Xt],disabled:[2,"disabled","disabled",Xt],ariaDisabled:[2,"aria-disabled","ariaDisabled",Xt],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Xt]}}));let e=t;return e})(),kee=(()=>{const t=class t extends Fw{constructor(){super(...arguments);s(this,"_renderer",S(Zi));s(this,"_cleanupClick");s(this,"tabIndex");s(this,"_haltDisabledEvents",a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var a;super.ngOnDestroy(),(a=this._cleanupClick)==null||a.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:__(a)]},features:[Ke]}));let e=t;return e})(),jw=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Vw=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Cee=`.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
|
-
`,Dee=`@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 Fw{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,a){n&2&&(cn("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),Mu(a.color?"mat-"+a.color:""),tn("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ke],ngContentSelectors:Vw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(gr(jw),We(0,"span",0),zt(1),V(2,"span",1),zt(3,1),B(),zt(4,2),We(5,"span",2)(6,"span",3)),n&2&&tn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
|
|
28
|
-
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
29
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),zw=(()=>{const t=class t extends kee{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,a){n&2&&(cn("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),Mu(a.color?"mat-"+a.color:""),tn("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ke],ngContentSelectors:Vw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(gr(jw),We(0,"span",0),zt(1),V(2,"span",1),zt(3,1),B(),zt(4,2),We(5,"span",2)(6,"span",3)),n&2&&tn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[Cee,Dee],encapsulation:2,changeDetection:0}));let e=t;return e})(),Bu=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Vr,jJ,Vr]}));let e=t;return e})(),Bw=(()=>{const t=class t{constructor(){s(this,"changes",new be);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,a,i)=>{if(i==0||a==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*a,l=o<i?Math.min(o+a,i):o+a;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ne=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}(Ne||{}),Ar="*";function Iee(e,t=null){return{type:Ne.Sequence,steps:e,options:t}}function Mg(e){return{type:Ne.Style,styles:e,offset:null}}var Go=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Hw=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,r=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==a&&this._onFinish()}),i.onDestroy(()=>{++r==a&&this._onDestroy()}),i.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},am="!";function Ag(e){return new $(3e3,!1)}function Tee(){return new $(3100,!1)}function Ree(){return new $(3101,!1)}function Oee(e){return new $(3001,!1)}function Nee(e){return new $(3003,!1)}function Mee(e){return new $(3004,!1)}function Aee(e,t){return new $(3005,!1)}function Pee(){return new $(3006,!1)}function Lee(){return new $(3007,!1)}function Fee(e,t){return new $(3008,!1)}function jee(e){return new $(3002,!1)}function Vee(e,t,r,n,a){return new $(3010,!1)}function zee(){return new $(3011,!1)}function Bee(){return new $(3012,!1)}function Hee(){return new $(3200,!1)}function qee(){return new $(3202,!1)}function $ee(){return new $(3013,!1)}function Gee(e){return new $(3014,!1)}function Uee(e){return new $(3015,!1)}function Zee(e){return new $(3016,!1)}function Wee(e,t){return new $(3404,!1)}function Yee(e){return new $(3502,!1)}function Kee(e){return new $(3503,!1)}function Qee(){return new $(3300,!1)}function Xee(e){return new $(3504,!1)}function Jee(e){return new $(3301,!1)}function ete(e,t){return new $(3302,!1)}function tte(e){return new $(3303,!1)}function nte(e,t){return new $(3400,!1)}function rte(e){return new $(3401,!1)}function ate(e){return new $(3402,!1)}function ite(e,t){return new $(3505,!1)}function Jr(e){switch(e.length){case 0:return new Go;case 1:return e[0];default:return new Hw(e)}}function qw(e,t,r=new Map,n=new Map){let a=[],i=[],o=-1,l=null;if(t.forEach(u=>{let c=u.get("offset"),d=c==o,m=d&&l||new Map;u.forEach((v,g)=>{let w=g,x=v;if(g!=="offset")switch(w=e.normalizePropertyName(w,a),x){case am:x=r.get(g);break;case Ar:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,a);break}m.set(w,x)}),d||i.push(m),l=m,o=c}),a.length)throw Yee();return i}function im(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&Fc(r,"start",e)));break;case"done":e.onDone(()=>n(r&&Fc(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&Fc(r,"destroy",e)));break}}function Fc(e,t,r){let n=r.totalTime,a=!!r.disabled,i=om(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(i._data=o),i}function om(e,t,r,n,a="",i=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:a,totalTime:i,disabled:!!o}}function _n(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function Pg(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var ote=typeof document>"u"?null:document.documentElement;function sm(e){let t=e.parentNode||e.host||null;return t===ote?null:t}function ste(e){return e.substring(1,6)=="ebkit"}var wa=null,Lg=!1;function lte(e){wa||(wa=ute()||{},Lg=wa.style?"WebkitAppearance"in wa.style:!1);let t=!0;return wa.style&&!ste(e)&&(t=e in wa.style,!t&&Lg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in wa.style)),t}function ute(){return typeof document<"u"?document.body:null}function $w(e,t){for(;t;){if(t===e)return!0;t=sm(t)}return!1}function Gw(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var cte=1e3,Uw="{{",dte="}}",Zw="ng-enter",Qd="ng-leave",Ys="ng-trigger",Kl=".ng-trigger",Fg="ng-animating",Xd=".ng-animating";function Tr(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Jd(parseFloat(t[1]),t[2])}function Jd(e,t){switch(t){case"s":return e*cte;default:return e}}function Ql(e,t,r){return e.hasOwnProperty("duration")?e:hte(e,t,r)}function hte(e,t,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Ag()),{duration:0,delay:0,easing:""};a=Jd(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(i=Jd(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else a=e;if(!r){let l=!1,u=t.length;a<0&&(t.push(Tee()),l=!0),i<0&&(t.push(Ree()),l=!0),l&&t.splice(u,0,Ag())}return{duration:a,delay:i,easing:o}}function pte(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ar(e,t,r){t.forEach((n,a)=>{let i=lm(a);r&&!r.has(a)&&r.set(a,e.style[i]),e.style[i]=n})}function Oa(e,t){t.forEach((r,n)=>{let a=lm(n);e.style[a]=""})}function lo(e){return Array.isArray(e)?e.length==1?e[0]:Iee(e):e}function mte(e,t,r){let n=t.params||{},a=Ww(e);a.length&&a.forEach(i=>{n.hasOwnProperty(i)||r.push(Oee())})}var eh=new RegExp(`${Uw}\\s*(.+?)\\s*${dte}`,"g");function Ww(e){let t=[];if(typeof e=="string"){let r;for(;r=eh.exec(e);)t.push(r[1]);eh.lastIndex=0}return t}function Uo(e,t,r){let n=`${e}`,a=n.replace(eh,(i,o)=>{let l=t[o];return l==null&&(r.push(Nee()),l=""),l.toString()});return a==n?e:a}var fte=/-+([a-z0-9])/g;function lm(e){return e.replace(fte,(...t)=>t[1].toUpperCase())}function gte(e,t){return e===0||t===0}function vte(e,t,r){if(r.size&&t.length){let n=t[0],a=[];if(r.forEach((i,o)=>{n.has(o)||a.push(o),n.set(o,i)}),a.length)for(let i=1;i<t.length;i++){let o=t[i];a.forEach(l=>o.set(l,um(e,l)))}}return t}function yn(e,t,r){switch(t.type){case Ne.Trigger:return e.visitTrigger(t,r);case Ne.State:return e.visitState(t,r);case Ne.Transition:return e.visitTransition(t,r);case Ne.Sequence:return e.visitSequence(t,r);case Ne.Group:return e.visitGroup(t,r);case Ne.Animate:return e.visitAnimate(t,r);case Ne.Keyframes:return e.visitKeyframes(t,r);case Ne.Style:return e.visitStyle(t,r);case Ne.Reference:return e.visitReference(t,r);case Ne.AnimateChild:return e.visitAnimateChild(t,r);case Ne.AnimateRef:return e.visitAnimateRef(t,r);case Ne.Query:return e.visitQuery(t,r);case Ne.Stagger:return e.visitStagger(t,r);default:throw Mee(t.type)}}function um(e,t){return window.getComputedStyle(e)[t]}var bte=(()=>{const t=class t{validateStyleProperty(n){return lte(n)}containsElement(n,a){return $w(n,a)}getParentElement(n){return sm(n)}query(n,a,i){return Gw(n,a,i)}computeStyle(n,a,i){return i||""}animate(n,a,i,o,l,u=[],c){return new Go(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Xc,Yw=(Xc=class{},s(Xc,"NOOP",new bte),Xc),cm=class{},yte=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"]),_te=class extends cm{normalizePropertyName(e,t){return lm(e)}normalizeStyleValue(e,t,r,n){let a="",i=r.toString().trim();if(yte.has(t)&&r!==0&&r!=="0")if(typeof r=="number")a="px";else{let o=r.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Aee())}return i+a}},Xl="*";function wte(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>xte(n,r,t)):r.push(e),r}function xte(e,t,r){if(e[0]==":"){let u=Ete(e,r);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(Uee()),t;let a=n[1],i=n[2],o=n[3];t.push(jg(a,o));let l=a==Xl&&o==Xl;i[0]=="<"&&!l&&t.push(jg(o,a))}function Ete(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return t.push(Zee()),"* => *"}}var Ks=new Set(["true","1"]),Qs=new Set(["false","0"]);function jg(e,t){let r=Ks.has(e)||Qs.has(e),n=Ks.has(t)||Qs.has(t);return(a,i)=>{let o=e==Xl||e==a,l=t==Xl||t==i;return!o&&r&&typeof a=="boolean"&&(o=a?Ks.has(e):Qs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Ks.has(t):Qs.has(t)),o&&l}}var Kw=":self",Ste=new RegExp(`s*${Kw}s*,?`,"g");function Qw(e,t,r,n){return new kte(e).build(t,r,n)}var Vg="",kte=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new Ite(t);return this._resetContextStyleTimingState(n),yn(this,lo(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Vg,e.collectedStyles=new Map,e.collectedStyles.set(Vg,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,a=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(Pee()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ne.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,a.push(this.visitState(l,t))}),l.name=u}else if(o.type==Ne.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(Lee())}),{type:Ne.Trigger,name:e.name,states:a,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let a=new Set,i=n||{};r.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Ww(l).forEach(u=>{i.hasOwnProperty(u)||a.add(u)})})}),a.size&&t.errors.push(Fee(e.name,[...a.values()]))}return{type:Ne.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=yn(this,lo(e.animation),t),n=wte(e.expr,t.errors);return{type:Ne.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:xa(e.options)}}visitSequence(e,t){return{type:Ne.Sequence,steps:e.steps.map(r=>yn(this,r,t)),options:xa(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,a=e.steps.map(i=>{t.currentTime=r;let o=yn(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ne.Group,steps:a,options:xa(e.options)}}visitAnimate(e,t){let r=Rte(e.timings,t.errors);t.currentAnimateTimings=r;let n,a=e.styles?e.styles:Mg({});if(a.type==Ne.Keyframes)n=this.visitKeyframes(a,t);else{let i=e.styles,o=!1;if(!i){o=!0;let u={};r.easing&&(u.easing=r.easing),i=Mg(u)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ne.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===Ar?r.push(o):t.errors.push(jee()):r.push(new Map(Object.entries(o)));let a=!1,i=null;return r.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(Uw)>=0){a=!0;break}}}),{type:Ne.Style,styles:r,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),d=!0;c&&(a!=n&&a>=c.startTime&&n<=c.endTime&&(t.errors.push(Vee(l,c.startTime,c.endTime)),d=!1),a=c.startTime),d&&u.set(l,{startTime:a,endTime:n}),t.options&&mte(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:Ne.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(zee()),r;let n=1,a=0,i=[],o=!1,l=!1,u=0,c=e.steps.map(k=>{let D=this._makeStyleAst(k,t),O=D.offset!=null?D.offset:Tte(D.styles),N=0;return O!=null&&(a++,N=D.offset=O),l=l||N<0||N>1,o=o||N<u,u=N,i.push(N),D});l&&t.errors.push(Bee()),o&&t.errors.push(Hee());let d=e.steps.length,m=0;a>0&&a<d?t.errors.push(qee()):a==0&&(m=n/(d-1));let v=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return c.forEach((k,D)=>{let O=m>0?D==v?1:m*D:i[D],N=O*x;t.currentTime=g+w.delay+N,w.duration=N,this._validateStyleAst(k,t),k.offset=O,r.styles.push(k)}),r}visitReference(e,t){return{type:Ne.Reference,animation:yn(this,lo(e.animation),t),options:xa(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ne.AnimateChild,options:xa(e.options)}}visitAnimateRef(e,t){return{type:Ne.AnimateRef,animation:this.visitReference(e.animation,t),options:xa(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,i]=Cte(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,_n(t.collectedStyles,t.currentQuerySelector,new Map);let o=yn(this,lo(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:Ne.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:xa(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push($ee());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ql(e.timings,t.errors,!0);return{type:Ne.Stagger,animation:yn(this,lo(e.animation),t),timings:r,options:null}}};function Cte(e){let t=!!e.split(/\s*,\s*/).find(r=>r==Kw);return t&&(e=e.replace(Ste,"")),e=e.replace(/@\*/g,Kl).replace(/@\w+/g,r=>Kl+"-"+r.slice(1)).replace(/:animating/g,Xd),[e,t]}function Dte(e){return e?ce({},e):null}var Ite=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 Tte(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function Rte(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=Ql(e,t).duration;return jc(a,0,"")}let r=e;if(r.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=jc(0,0,"");return a.dynamic=!0,a.strValue=r,a}let n=Ql(r,t);return jc(n.duration,n.delay,n.easing)}function xa(e){return e?(e=ce({},e),e.params&&(e.params=Dte(e.params))):e={},e}function jc(e,t,r){return{duration:e,delay:t,easing:r}}function dm(e,t,r,n,a,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:l}}var hm=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ote=1,Nte=":enter",Mte=new RegExp(Nte,"g"),Ate=":leave",Pte=new RegExp(Ate,"g");function Xw(e,t,r,n,a,i=new Map,o=new Map,l,u,c=[]){return new Lte().buildKeyframes(e,t,r,n,a,i,o,l,u,c)}var Lte=class{buildKeyframes(e,t,r,n,a,i,o,l,u,c=[]){u=u||new hm;let d=new Fte(e,t,u,n,a,c,[]);d.options=l;let m=l.delay?Tr(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),yn(this,r,d);let v=d.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let w=v.length-1;w>=0;w--){let x=v[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[dm(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let a=n==null?void 0:n.delay;if(a){let i=typeof a=="number"?a:Tr(Uo(a,(n==null?void 0:n.params)??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,a=r.duration!=null?Tr(r.duration):null,i=r.delay!=null?Tr(r.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),yn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,n=t,a=e.options;if(a&&(a.params||a.delay)&&(n=t.createSubContext(a),n.transformIntoNewTimeline(),a.delay!=null)){n.previousNode.type==Ne.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Jl);let i=Tr(a.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>yn(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?Tr(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),yn(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?Uo(r,t.params,t.errors):r;return Ql(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let a=e.style;a.type==Ne.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,a=r.duration,i=t.createSubContext().currentTimeline;i.easing=r.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*a),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?Tr(n.delay):0;a&&(t.previousNode.type===Ne.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Jl);let i=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let d=t.createSubContext(e.options,u);a&&d.delayNextStep(a),u===t.element&&(l=d.currentTimeline),yn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let m=d.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=r.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;yn(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-c+(n.startTime-r.currentTimeline.startTime)}},Jl={},Fte=class Jw{constructor(t,r,n,a,i,o,l,u){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",Jl);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=r,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=u||new e1(this._driver,r,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=Tr(n.duration)),n.delay!=null&&(a.delay=Tr(n.delay));let i=n.params;if(i){let o=a.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!r||!o.hasOwnProperty(l))&&(o[l]=Uo(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let n=t.params={};Object.keys(r).forEach(a=>{n[a]=r[a]})}}return t}createSubContext(t=null,r,n){let a=r||this.element,i=new Jw(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Jl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,n){let a={duration:r??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new jte(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(i),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,n,a,i,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(Mte,"."+this._enterClassName),t=t.replace(Pte,"."+this._leaveClassName);let u=n!=1,c=this._driver.query(this.element,t,u);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),l.push(...c)}return!i&&l.length==0&&o.push(Gee()),l}},e1=class t1{constructor(t,r,n,a){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new t1(this._driver,t,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ote,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Ar),this._currentKeyframe.set(r,Ar);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,a){r&&this._previousKeyframe.set("easing",r);let i=a&&a.params||{},o=Vte(t,this._globalTimelineStyles);for(let[l,u]of o){let c=Uo(u,i,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Ar),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,n)=>{let a=this._styleSummary.get(n);(!a||r.time>a.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((d,m)=>{d===am?t.add(m):d===Ar&&r.add(m)}),n||c.set("offset",u/this.duration),a.push(c)});let i=[...t.values()],o=[...r.values()];if(n){let l=a[0],u=new Map(l);l.set("offset",0),u.set("offset",1),a=[l,u]}return dm(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}},jte=class extends e1{constructor(t,r,n,a,i,o,l=!1){super(t,r,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=a,this.postStyleProps=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:r,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&r){let i=[],o=n+r,l=r/o,u=new Map(t[0]);u.set("offset",0),i.push(u);let c=new Map(t[0]);c.set("offset",zg(l)),i.push(c);let d=t.length-1;for(let m=1;m<=d;m++){let v=new Map(t[m]),g=v.get("offset"),w=r+g*n;v.set("offset",zg(w/o)),i.push(v)}n=o,r=0,a="",t=i}return dm(this.element,t,this.preStyleProps,this.postStyleProps,n,r,a,!0)}};function zg(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function Vte(e,t){let r=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let i of n)r.set(i,Ar)}else for(let[i,o]of a)r.set(i,o)}),r}function Bg(e,t,r,n,a,i,o,l,u,c,d,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:r,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:d,totalTime:m,errors:v}}var Vc={},n1=class{constructor(e,t,r){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return zte(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,a,i,o,l,u,c){var Ot;let d=[],m=this.ast.options&&this.ast.options.params||Vc,v=o&&o.params||Vc,g=this.buildStyles(r,v,d),w=l&&l.params||Vc,x=this.buildStyles(n,w,d),k=new Set,D=new Map,O=new Map,N=n==="void",X={params:r1(w,m),delay:(Ot=this.ast.options)==null?void 0:Ot.delay},ue=c?[]:Xw(e,t,this.ast.animation,a,i,g,x,X,u,d),_e=0;return ue.forEach(yt=>{_e=Math.max(yt.duration+yt.delay,_e)}),d.length?Bg(t,this._triggerName,r,n,N,g,x,[],[],D,O,_e,d):(ue.forEach(yt=>{let tt=yt.element,St=_n(D,tt,new Set);yt.preStyleProps.forEach(U=>St.add(U));let Q=_n(O,tt,new Set);yt.postStyleProps.forEach(U=>Q.add(U)),tt!==t&&k.add(tt)}),Bg(t,this._triggerName,r,n,N,g,x,ue,[...k.values()],D,O,_e))}};function zte(e,t,r,n,a){return e.some(i=>i(t,r,n,a))}function r1(e,t){let r=ce({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(r[n]=a)}),r}var Bte=class{constructor(e,t,r){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=r1(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((i,o)=>{i&&(i=Uo(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),r.set(o,i)})}),r}};function Hte(e,t,r){return new qte(e,t,r)}var qte=class{constructor(e,t,r){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=r,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new Bte(n.style,a,r))}),Hg(this.states,"true","1"),Hg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new n1(e,n,this.states))}),this.fallbackTransition=$te(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(a=>a.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function $te(e,t,r){let n=[(o,l)=>!0],a={type:Ne.Sequence,steps:[],options:null},i={type:Ne.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new n1(e,i,t)}function Hg(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var Gte=new hm,Ute=class{constructor(e,t,r){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=r}register(e,t){let r=[],n=[],a=Qw(this._driver,t,r,n);if(r.length)throw Kee();this._animations.set(e,a)}_buildPlayer(e,t,r){let n=e.element,a=qw(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],a=this._animations.get(e),i,o=new Map;if(a?(i=Xw(this._driver,t,a,Zw,Qd,new Map,new Map,r,Gte,n),i.forEach(c=>{let d=_n(o,c.element,new Map);c.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(Qee()),i=[]),n.length)throw Xee();o.forEach((c,d)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(d,v,Ar))})});let l=i.map(c=>{let d=o.get(c.element);return this._buildPlayer(c,new Map,d)}),u=Jr(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Jee();return t}listen(e,t,r,n){let a=om(t,"","","");return im(this._getPlayer(e),r,a,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let a=this._getPlayer(e);switch(r){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},qg="ng-animate-queued",Zte=".ng-animate-queued",zc="ng-animate-disabled",Wte=".ng-animate-disabled",Yte="ng-star-inserted",Kte=".ng-star-inserted",Qte=[],a1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xte={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed",th=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=nne(n),r){let a=e,{value:i}=a,o=Yq(a,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},Eo="void",Bc=new th(Eo),Jte=class{constructor(e,t,r){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=r,this._hostClassName="ng-tns-"+e,Tn(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw ete();if(r==null||r.length==0)throw tte();if(!rne(r))throw nte();let a=_n(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};a.push(i);let o=_n(this._engine.statesByElement,e,new Map);return o.has(t)||(Tn(e,Ys),Tn(e,Ys+"-"+t),o.set(t,Bc)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(i);l>=0&&a.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw rte();return t}trigger(e,t,r,n=!0){let a=this._getTrigger(t),i=new nh(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Tn(e,Ys),Tn(e,Ys+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new th(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Bc),u.value!==Eo&&l.value===u.value){if(!one(l.params,u.params)){let v=[],g=a.matchStyles(l.value,l.params,v),w=a.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Oa(e,g),ar(e,w)})}return}let c=_n(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let d=a.matchTransition(l.value,u.value,e,u.params),m=!1;if(!d){if(!n)return;d=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:i,isFallbackTransition:m}),m||(Tn(e,qg),i.onStart(()=>{ii(e,qg)})),i.onDone(()=>{let v=this.players.indexOf(i);v>=0&&this.players.splice(v,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),c.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Kl,!0);r.forEach(n=>{if(n[zn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let a=this._engine.statesByElement.get(e),i=new Map;if(a){let o=[];if(a.forEach((l,u)=>{if(i.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,Eo,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&Jr(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(a=>{let i=a.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=r.get(i)||Bc,u=new th(Eo),c=new nh(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:u,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let a=e[zn];(!a||a===a1)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){Tn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let a=r.element,i=this._elementListeners.get(a);i&&i.forEach(o=>{if(o.name==r.triggerName){let l=om(a,r.triggerName,r.fromState.value,r.toState.value);l._data=e,im(r.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let a=r.transition.ast.depCount,i=n.transition.ast.depCount;return a==0||i==0?a-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ene=class{constructor(e,t,r){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=r}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new Jte(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=r.indexOf(o);r.splice(l+1,0,e),a=!0;break}i=this.driver.getParentElement(i)}a||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,r,n){if(Xs(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Xs(t))return;let a=t[zn];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Tn(e,zc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ii(e,zc))}removeNode(e,t,r){if(Xs(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,a){this.collectedLeaveElements.push(t),t[zn]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,n,a){return Xs(t)?this._fetchNamespace(e).listen(t,r,n,a):()=>{}}_buildInstruction(e,t,r,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,Kl,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Xd,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Jr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[zn];if(t&&t.setForRemoval){if(e[zn]=a1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(zc)&&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((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];Tn(n,Yte)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?Jr(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw ate()}_flushAnimations(e,t){let r=new hm,n=[],a=new Map,i=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(L=>{c.add(L);let H=this.driver.query(L,Zte,!0);for(let Y=0;Y<H.length;Y++)c.add(H[Y])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=Ug(m,this.collectedEnterElements),g=new Map,w=0;v.forEach((L,H)=>{let Y=Zw+w++;g.set(H,Y),L.forEach(Te=>Tn(Te,Y))});let x=[],k=new Set,D=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let H=this.collectedLeaveElements[L],Y=H[zn];Y&&Y.setForRemoval&&(x.push(H),k.add(H),Y.hasAnimation?this.driver.query(H,Kte,!0).forEach(Te=>k.add(Te)):D.add(H))}let O=new Map,N=Ug(m,Array.from(k));N.forEach((L,H)=>{let Y=Qd+w++;O.set(H,Y),L.forEach(Te=>Tn(Te,Y))}),e.push(()=>{v.forEach((L,H)=>{let Y=g.get(H);L.forEach(Te=>ii(Te,Y))}),N.forEach((L,H)=>{let Y=O.get(H);L.forEach(Te=>ii(Te,Y))}),x.forEach(L=>{this.processLeaveNode(L)})});let X=[],ue=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(H=>{let Y=H.player,Te=H.element;if(X.push(Y),this.collectedEnterElements.length){let nt=Te[zn];if(nt&&nt.setForMove){if(nt.previousTriggersValues&&nt.previousTriggersValues.has(H.triggerName)){let Qt=nt.previousTriggersValues.get(H.triggerName),Nt=this.statesByElement.get(H.element);if(Nt&&Nt.has(H.triggerName)){let Xn=Nt.get(H.triggerName);Xn.value=Qt,Nt.set(H.triggerName,Xn)}}Y.destroy();return}}let Qe=!d||!this.driver.containsElement(d,Te),Kt=O.get(Te),Me=g.get(Te),ze=this._buildInstruction(H,r,Me,Kt,Qe);if(ze.errors&&ze.errors.length){ue.push(ze);return}if(Qe){Y.onStart(()=>Oa(Te,ze.fromStyles)),Y.onDestroy(()=>ar(Te,ze.toStyles)),n.push(Y);return}if(H.isFallbackTransition){Y.onStart(()=>Oa(Te,ze.fromStyles)),Y.onDestroy(()=>ar(Te,ze.toStyles)),n.push(Y);return}let pt=[];ze.timelines.forEach(nt=>{nt.stretchStartingKeyframe=!0,this.disabledNodes.has(nt.element)||pt.push(nt)}),ze.timelines=pt,r.append(Te,ze.timelines);let Ln={instruction:ze,player:Y,element:Te};i.push(Ln),ze.queriedElements.forEach(nt=>_n(o,nt,[]).push(Y)),ze.preStyleProps.forEach((nt,Qt)=>{if(nt.size){let Nt=l.get(Qt);Nt||l.set(Qt,Nt=new Set),nt.forEach((Xn,Gr)=>Nt.add(Gr))}}),ze.postStyleProps.forEach((nt,Qt)=>{let Nt=u.get(Qt);Nt||u.set(Qt,Nt=new Set),nt.forEach((Xn,Gr)=>Nt.add(Gr))})});if(ue.length){let L=[];ue.forEach(H=>{L.push(ite(H.triggerName,H.errors))}),X.forEach(H=>H.destroy()),this.reportError(L)}let _e=new Map,Ot=new Map;i.forEach(L=>{let H=L.element;r.has(H)&&(Ot.set(H,H),this._beforeAnimationBuild(L.player.namespaceId,L.instruction,_e))}),n.forEach(L=>{let H=L.element;this._getPreviousPlayers(H,!1,L.namespaceId,L.triggerName,null).forEach(Y=>{_n(_e,H,[]).push(Y),Y.destroy()})});let yt=x.filter(L=>Zg(L,l,u)),tt=new Map;Gg(tt,this.driver,D,u,Ar).forEach(L=>{Zg(L,l,u)&&yt.push(L)});let St=new Map;v.forEach((L,H)=>{Gg(St,this.driver,new Set(L),l,am)}),yt.forEach(L=>{let H=tt.get(L),Y=St.get(L);tt.set(L,new Map([...(H==null?void 0:H.entries())??[],...(Y==null?void 0:Y.entries())??[]]))});let Q=[],U=[],xe={};i.forEach(L=>{let{element:H,player:Y,instruction:Te}=L;if(r.has(H)){if(c.has(H)){Y.onDestroy(()=>ar(H,Te.toStyles)),Y.disabled=!0,Y.overrideTotalTime(Te.totalTime),n.push(Y);return}let Qe=xe;if(Ot.size>1){let Me=H,ze=[];for(;Me=Me.parentNode;){let pt=Ot.get(Me);if(pt){Qe=pt;break}ze.push(Me)}ze.forEach(pt=>Ot.set(pt,Qe))}let Kt=this._buildAnimation(Y.namespaceId,Te,_e,a,St,tt);if(Y.setRealPlayer(Kt),Qe===xe)Q.push(Y);else{let Me=this.playersByElement.get(Qe);Me&&Me.length&&(Y.parentPlayer=Jr(Me)),n.push(Y)}}else Oa(H,Te.fromStyles),Y.onDestroy(()=>ar(H,Te.toStyles)),U.push(Y),c.has(H)&&n.push(Y)}),U.forEach(L=>{let H=a.get(L.element);if(H&&H.length){let Y=Jr(H);L.setRealPlayer(Y)}}),n.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<x.length;L++){let H=x[L],Y=H[zn];if(ii(H,Qd),Y&&Y.hasAnimation)continue;let Te=[];if(o.size){let Kt=o.get(H);Kt&&Kt.length&&Te.push(...Kt);let Me=this.driver.query(H,Xd,!0);for(let ze=0;ze<Me.length;ze++){let pt=o.get(Me[ze]);pt&&pt.length&&Te.push(...pt)}}let Qe=Te.filter(Kt=>!Kt.destroyed);Qe.length?ane(this,H,Qe):this.processLeaveNode(H)}return x.length=0,Q.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let H=this.players.indexOf(L);this.players.splice(H,1)}),L.play()}),Q}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,a){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==Eo;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||i.push(u)})}}return(r||n)&&(i=i.filter(o=>!(r&&r!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,a=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==a,d=_n(r,u,[]);this._getPreviousPlayers(u,c,i,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),d.push(m)})}Oa(a,t.fromStyles)}_buildAnimation(e,t,r,n,a,i){let o=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;c.add(w);let x=w[zn];if(x&&x.removedBeforeQueried)return new Go(g.duration,g.delay);let k=w!==l,D=ine((r.get(w)||Qte).map(_e=>_e.getRealPlayer())).filter(_e=>{let Ot=_e;return Ot.element?Ot.element===w:!1}),O=a.get(w),N=i.get(w),X=qw(this._normalizer,g.keyframes,O,N),ue=this._buildPlayer(g,X,D);if(g.subTimeline&&n&&d.add(w),k){let _e=new nh(e,o,w);_e.setRealPlayer(ue),u.push(_e)}return ue});u.forEach(g=>{_n(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>tne(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Tn(g,Fg));let v=Jr(m);return v.onDestroy(()=>{c.forEach(g=>ii(g,Fg)),ar(l,t.toStyles)}),d.forEach(g=>{_n(n,g,[]).push(v)}),v}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Go(e.duration,e.delay)}},nh=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Go);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>im(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){_n(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 tne(e,t,r){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(r);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function nne(e){return e??null}function Xs(e){return e&&e.nodeType===1}function rne(e){return e=="start"||e=="done"}function $g(e,t){let r=e.style.display;return e.style.display=t??"none",r}function Gg(e,t,r,n,a){let i=[];r.forEach(u=>i.push($g(u)));let o=[];n.forEach((u,c)=>{let d=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,a);d.set(m,v),(!v||v.length==0)&&(c[zn]=Xte,o.push(c))}),e.set(c,d)});let l=0;return r.forEach(u=>$g(u,i[l++])),o}function Ug(e,t){let r=new Map;if(e.forEach(l=>r.set(l,[])),t.length==0)return r;let n=1,a=new Set(t),i=new Map;function o(l){if(!l)return n;let u=i.get(l);if(u)return u;let c=l.parentNode;return r.has(c)?u=c:a.has(c)?u=n:u=o(c),i.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&r.get(u).push(l)}),r}function Tn(e,t){var r;(r=e.classList)==null||r.add(t)}function ii(e,t){var r;(r=e.classList)==null||r.remove(t)}function ane(e,t,r){Jr(r).onDone(()=>e.processLeaveNode(t))}function ine(e){let t=[];return i1(e,t),t}function i1(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof Hw?i1(n.players,t):t.push(n)}}function one(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let a=0;a<r.length;a++){let i=r[a];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function Zg(e,t,r){let n=r.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(i=>a.add(i)):t.set(e,n),r.delete(e),!0}var rh=class{constructor(e,t,r){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=r,this._transitionEngine=new ene(e.body,t,r),this._timelineEngine=new Ute(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,r,n,a){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],u=[],c=Qw(this._driver,a,l,u);if(l.length)throw Wee();o=Hte(n,c,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[a,i]=Pg(r),o=n;this._timelineEngine.command(a,t,i,o)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,a){if(r.charAt(0)=="@"){let[i,o]=Pg(r);return this._timelineEngine.listen(i,t,o,a)}return this._transitionEngine.listen(e,t,r,n,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function sne(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=Hc(t[0]),t.length>1&&(n=Hc(t[t.length-1]))):t instanceof Map&&(r=Hc(t)),r||n?new lne(e,r,n):null}var lne=(()=>{const t=class t{constructor(n,a,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ar(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ar(this._element,this._initialStyles),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Oa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Oa(this._element,this._endStyles),this._endStyles=null),ar(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Hc(e){let t=null;return e.forEach((r,n)=>{une(n)&&(t=t||new Map,t.set(n,r))}),t}function une(e){return e==="display"||e==="position"}var Wg=class{constructor(e,t,r,n){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,r)=>{r!=="offset"&&e.set(r,this._finished?t:um(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},cne=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return $w(e,t)}getParentElement(e){return sm(e)}query(e,t,r){return Gw(e,t,r)}computeStyle(e,t,r){return um(e,t)}animate(e,t,r,n,a,i=[]){let o=n==0?"both":"forwards",l={duration:r,delay:n,fill:o};a&&(l.easing=a);let u=new Map,c=i.filter(v=>v instanceof Wg);gte(r,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,w)=>u.set(w,g))});let d=pte(t).map(v=>new Map(v));d=vte(e,d,u);let m=sne(e,d);return new Wg(e,d,l,m)}},yl="@",o1="@.disabled",s1=class{constructor(e,t,r,n){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==yl&&t==o1?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},dne=class extends s1{constructor(t,r,n,a,i){super(r,n,a,i);s(this,"factory");this.factory=t,this.namespaceId=r}setProperty(t,r,n){r.charAt(0)==yl?r.charAt(1)=="."&&r==o1?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,r.slice(1),n):this.delegate.setProperty(t,r,n)}listen(t,r,n,a){if(r.charAt(0)==yl){let i=hne(t),o=r.slice(1),l="";return o.charAt(0)!=yl&&([o,l]=pne(o)),this.engine.listen(this.namespaceId,i,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,r,n,a)}};function hne(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function pne(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var mne=class{constructor(e,t,r){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=r,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let r="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let u=this._rendererCache,c=u.get(n);if(!c){let d=()=>u.delete(n);c=new s1(r,n,this.engine,d),u.set(n,c)}return c}let a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(a,i,e,u.name,u)};return t.data.animation.forEach(o),new dne(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[i,o]=a;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,r;this.engine.flush(),(r=(t=this.delegate).componentReplaced)==null||r.call(t,e)}},fne=(()=>{const t=class t extends rh{constructor(n,a,i){super(n,a,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(Yw),oe(cm))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function gne(){return new _te}function vne(e,t,r){return new mne(e,t,r)}var bne=[{provide:cm,useFactory:gne},{provide:rh,useClass:fne},{provide:Un,useFactory:vne,deps:[zd,rh,$e]}],yne=[{provide:Yw,useFactory:()=>new cne},{provide:Wa,useFactory:()=>"BrowserAnimations"},...bne];function _ne(){return Ya("NgEagerAnimations"),[...yne]}var wne=(()=>{const t=class t extends Bw{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*i,u=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${u} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(oe(Qn))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),l1=6048e5,xne=864e5,Ene=6e4,Sne=36e5,kne=1e3,Yg=Symbol.for("constructDateFrom");function Bt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Yg in e?e[Yg](t):e instanceof Date?new e.constructor(t):new Date(t)}function Ft(e,t){return Bt(t||e,e)}function u1(e,t,r){let n=Ft(e,r==null?void 0:r.in);return isNaN(t)?Bt((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Cne={};function Xi(){return Cne}function da(e,t){var l,u,c,d;let r=Xi(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??r.weekStartsOn??((d=(c=r.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??0,a=Ft(e,t==null?void 0:t.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function Ai(e,t){return da(e,Ut(ce({},t),{weekStartsOn:1}))}function c1(e,t){let r=Ft(e,t==null?void 0:t.in),n=r.getFullYear(),a=Bt(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=Ai(a),o=Bt(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=Ai(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function eu(e){let t=Ft(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function Dne(e,...t){let r=Bt.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function Kg(e,t){let r=Ft(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function Ine(e,t,r){let[n,a]=Dne(r==null?void 0:r.in,e,t),i=Kg(n),o=Kg(a),l=+i-eu(i),u=+o-eu(o);return Math.round((l-u)/xne)}function Tne(e,t){let r=c1(e,t),n=Bt(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),Ai(n)}function Rne(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function One(e){return!(!Rne(e)&&typeof e!="number"||isNaN(+Ft(e)))}function Nne(e,t){let r=Ft(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var Mne={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"}},Ane=(e,t,r)=>{let n,a=Mne[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function qc(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Pne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Lne={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Fne={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},jne={date:qc({formats:Pne,defaultWidth:"full"}),time:qc({formats:Lne,defaultWidth:"full"}),dateTime:qc({formats:Fne,defaultWidth:"full"})},Vne={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},zne=(e,t,r,n)=>Vne[e];function uo(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}var Bne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Hne={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},qne={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"]},$ne={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"]},Gne={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"}},Une={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"}},Zne=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Wne={ordinalNumber:Zne,era:uo({values:Bne,defaultWidth:"wide"}),quarter:uo({values:Hne,defaultWidth:"wide",argumentCallback:e=>e-1}),month:uo({values:qne,defaultWidth:"wide"}),day:uo({values:$ne,defaultWidth:"wide"}),dayPeriod:uo({values:Gne,defaultWidth:"wide",formattingValues:Une,defaultFormattingWidth:"wide"})};function co(e){return(t,r={})=>{let n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?Kne(l,m=>m.test(o)):Yne(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=r.valueCallback?r.valueCallback(c):c;let d=t.slice(o.length);return{value:c,rest:d}}}function Yne(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function Kne(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Qne(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var Xne=/^(\d+)(th|st|nd|rd)?/i,Jne=/\d+/i,ere={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},tre={any:[/^b/i,/^(a|c)/i]},nre={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},rre={any:[/1/i,/2/i,/3/i,/4/i]},are={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},ire={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]},ore={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},sre={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]},lre={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},ure={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}},cre={ordinalNumber:Qne({matchPattern:Xne,parsePattern:Jne,valueCallback:e=>parseInt(e,10)}),era:co({matchPatterns:ere,defaultMatchWidth:"wide",parsePatterns:tre,defaultParseWidth:"any"}),quarter:co({matchPatterns:nre,defaultMatchWidth:"wide",parsePatterns:rre,defaultParseWidth:"any",valueCallback:e=>e+1}),month:co({matchPatterns:are,defaultMatchWidth:"wide",parsePatterns:ire,defaultParseWidth:"any"}),day:co({matchPatterns:ore,defaultMatchWidth:"wide",parsePatterns:sre,defaultParseWidth:"any"}),dayPeriod:co({matchPatterns:lre,defaultMatchWidth:"any",parsePatterns:ure,defaultParseWidth:"any"})},d1={code:"en-US",formatDistance:Ane,formatLong:jne,formatRelative:zne,localize:Wne,match:cre,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dre(e,t){let r=Ft(e,t==null?void 0:t.in);return Ine(r,Nne(r))+1}function h1(e,t){let r=Ft(e,t==null?void 0:t.in),n=+Ai(r)-+Tne(r);return Math.round(n/l1)+1}function pm(e,t){var d,m,v,g;let r=Ft(e,t==null?void 0:t.in),n=r.getFullYear(),a=Xi(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Bt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=da(o,t),u=Bt((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,i),u.setHours(0,0,0,0);let c=da(u,t);return+r>=+l?n+1:+r>=+c?n:n-1}function hre(e,t){var o,l,u,c;let r=Xi(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??r.firstWeekContainsDate??((c=(u=r.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,a=pm(e,t),i=Bt((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),da(i,t)}function p1(e,t){let r=Ft(e,t==null?void 0:t.in),n=+da(r,t)-+hre(r,t);return Math.round(n/l1)+1}function Ze(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var Wr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):Ze(r+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return Ze(a,t.length)}},ai={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Qg={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return Wr.y(e,t)},Y:function(e,t,r,n){let a=pm(e,n),i=a>0?a:1-a;if(t==="YY"){let o=i%100;return Ze(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):Ze(i,t.length)},R:function(e,t){let r=c1(e);return Ze(r,t.length)},u:function(e,t){let r=e.getFullYear();return Ze(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return Wr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a=p1(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):Ze(a,t.length)},I:function(e,t,r){let n=h1(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Wr.d(e,t)},D:function(e,t,r){let n=dre(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ze(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ze(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return Ze(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),a;switch(n===12?a=ai.noon:n===0?a=ai.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),a;switch(n>=17?a=ai.evening:n>=12?a=ai.afternoon:n>=4?a=ai.morning:a=ai.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Wr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Wr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Wr.s(e,t)},S:function(e,t){return Wr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Jg(n);case"XXXX":case"XX":return ka(n);case"XXXXX":case"XXX":default:return ka(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return Jg(n);case"xxxx":case"xx":return ka(n);case"xxxxx":case"xxx":default:return ka(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Xg(n,":");case"OOOO":default:return"GMT"+ka(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Xg(n,":");case"zzzz":default:return"GMT"+ka(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,r){return Ze(+e,t.length)}};function Xg(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+Ze(i,2)}function Jg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):ka(e,t)}function ka(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Ze(Math.trunc(n/60),2),i=Ze(n%60,2);return r+a+t+i}var ev=(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"})}},m1=(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"})}},pre=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return ev(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",ev(n,t)).replace("{{time}}",m1(a,t))},ah={p:m1,P:pre},mre=/^D+$/,fre=/^Y+$/,gre=["D","DD","YY","YYYY"];function f1(e){return mre.test(e)}function g1(e){return fre.test(e)}function ih(e,t,r){let n=vre(e,t,r);if(console.warn(n),gre.includes(e))throw new RangeError(n)}function vre(e,t,r){let n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var bre=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,yre=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_re=/^'([^]*?)'?$/,wre=/''/g,xre=/[a-zA-Z]/;function v1(e,t,r){var d,m,v,g,w,x,k,D;let n=Xi(),a=(r==null?void 0:r.locale)??n.locale??d1,i=(r==null?void 0:r.firstWeekContainsDate)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((x=(w=r==null?void 0:r.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((D=(k=n.locale)==null?void 0:k.options)==null?void 0:D.weekStartsOn)??0,l=Ft(e,r==null?void 0:r.in);if(!One(l))throw new RangeError("Invalid time value");let u=t.match(yre).map(O=>{let N=O[0];if(N==="p"||N==="P"){let X=ah[N];return X(O,a.formatLong)}return O}).join("").match(bre).map(O=>{if(O==="''")return{isToken:!1,value:"'"};let N=O[0];if(N==="'")return{isToken:!1,value:Ere(O)};if(Qg[N])return{isToken:!0,value:O};if(N.match(xre))throw new RangeError("Format string contains an unescaped latin alphabet character `"+N+"`");return{isToken:!1,value:O}});a.localize.preprocessor&&(u=a.localize.preprocessor(l,u));let c={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return u.map(O=>{if(!O.isToken)return O.value;let N=O.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&g1(N)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&f1(N))&&ih(N,t,String(e));let X=Qg[N[0]];return X(l,N,a.localize,c)}).join("")}function Ere(e){let t=e.match(_re);return t?t[1].replace(wre,"'"):e}function b1(){return Object.assign({},Xi())}function Sre(e,t){let r=Ft(e,t==null?void 0:t.in).getDay();return r===0?7:r}function kre(e,t){let r=Cre(t)?new t(0):Bt(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function Cre(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Dre=10,y1=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},Ire=class extends y1{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}},Tre=class extends y1{constructor(t,r){super();s(this,"priority",Dre);s(this,"subPriority",-1);this.context=t||(n=>Bt(r,n))}set(t,r){return r.timestampIsSet?t:Bt(t,kre(t,this.context))}},Ge=class{run(e,t,r,n){let a=this.parse(e,t,r,n);return a?{setter:new Ire(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}},Rre=class extends Ge{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},xt={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}/},ir={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 Et(e,t){return e&&{value:t(e.value),rest:e.rest}}function mt(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function or(e,t){let r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};let n=r[1]==="+"?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(a*Sne+i*Ene+o*kne),rest:t.slice(r[0].length)}}function _1(e){return mt(xt.anyDigitsSigned,e)}function bt(e,t){switch(e){case 1:return mt(xt.singleDigit,t);case 2:return mt(xt.twoDigits,t);case 3:return mt(xt.threeDigits,t);case 4:return mt(xt.fourDigits,t);default:return mt(new RegExp("^\\d{1,"+e+"}"),t)}}function tu(e,t){switch(e){case 1:return mt(xt.singleDigitSigned,t);case 2:return mt(xt.twoDigitsSigned,t);case 3:return mt(xt.threeDigitsSigned,t);case 4:return mt(xt.fourDigitsSigned,t);default:return mt(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 w1(e,t){let r=t>0,n=r?t:1-t,a;if(n<=50)a=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return r?a:1-a}function x1(e){return e%400===0||e%4===0&&e%100!==0}var Ore=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="yy"});switch(r){case"y":return Et(bt(4,t),a);case"yo":return Et(n.ordinalNumber(t,{unit:"year"}),a);default:return Et(bt(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=w1(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Nre=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Et(bt(4,t),a);case"Yo":return Et(n.ordinalNumber(t,{unit:"year"}),a);default:return Et(bt(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,a){let i=pm(t,a);if(n.isTwoDigitYear){let l=w1(n.year,i);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),da(t,a)}let o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),da(t,a)}},Mre=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,r){return tu(r==="R"?4:r.length,t)}set(t,r,n){let a=Bt(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Ai(a)}},Are=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return tu(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Pre=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"Q":case"QQ":return bt(r.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Lre=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"q":case"qq":return bt(r.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Fre=class extends Ge{constructor(){super(...arguments);s(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);s(this,"priority",110)}parse(t,r,n){let a=i=>i-1;switch(r){case"M":return Et(mt(xt.month,t),a);case"MM":return Et(bt(2,t),a);case"Mo":return Et(n.ordinalNumber(t,{unit:"month"}),a);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},jre=class extends Ge{constructor(){super(...arguments);s(this,"priority",110);s(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,r,n){let a=i=>i-1;switch(r){case"L":return Et(mt(xt.month,t),a);case"LL":return Et(bt(2,t),a);case"Lo":return Et(n.ordinalNumber(t,{unit:"month"}),a);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function Vre(e,t,r){let n=Ft(e,r==null?void 0:r.in),a=p1(n,r)-t;return n.setDate(n.getDate()-a*7),Ft(n,r==null?void 0:r.in)}var zre=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,r,n){switch(r){case"w":return mt(xt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,a){return da(Vre(t,n,a),a)}};function Bre(e,t,r){let n=Ft(e,r==null?void 0:r.in),a=h1(n,r)-t;return n.setDate(n.getDate()-a*7),n}var Hre=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,r,n){switch(r){case"I":return mt(xt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return Ai(Bre(t,n))}},qre=[31,28,31,30,31,30,31,31,30,31,30,31],$re=[31,29,31,30,31,30,31,31,30,31,30,31],Gre=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subPriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"d":return mt(xt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return bt(r.length,t)}}validate(t,r){let n=t.getFullYear(),a=x1(n),i=t.getMonth();return a?r>=1&&r<=$re[i]:r>=1&&r<=qre[i]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},Ure=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subpriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,r,n){switch(r){case"D":case"DD":return mt(xt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return bt(r.length,t)}}validate(t,r){let n=t.getFullYear();return x1(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function fm(e,t,r){var d,m,v,g;let n=Xi(),a=(r==null?void 0:r.weekStartsOn)??((m=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,i=Ft(e,r==null?void 0:r.in),o=i.getDay(),l=(t%7+7)%7,u=7-a,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return u1(i,c,r)}var Zre=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=fm(t,n,a),t.setHours(0,0,0,0),t}},Wre=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return Et(bt(r.length,t),i);case"eo":return Et(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=fm(t,n,a),t.setHours(0,0,0,0),t}},Yre=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return Et(bt(r.length,t),i);case"co":return Et(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=fm(t,n,a),t.setHours(0,0,0,0),t}};function Kre(e,t,r){let n=Ft(e,r==null?void 0:r.in),a=Sre(n,r),i=t-a;return u1(n,i,r)}var Qre=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,r,n){let a=i=>i===0?7:i;switch(r){case"i":case"ii":return bt(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return Et(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Et(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Et(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Et(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,r){return r>=1&&r<=7}set(t,r,n){return t=Kre(t,n),t.setHours(0,0,0,0),t}},Xre=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(mm(n),0,0,0),t}},Jre=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(mm(n),0,0,0),t}},eae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(mm(n),0,0,0),t}},tae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return mt(xt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,n){let a=t.getHours()>=12;return a&&n<12?t.setHours(n+12,0,0,0):!a&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},nae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return mt(xt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,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,r,n){switch(r){case"K":return mt(xt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},aae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return mt(xt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},iae=class extends Ge{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return mt(xt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},oae=class extends Ge{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return mt(xt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},sae=class extends Ge{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,r){let n=a=>Math.trunc(a*Math.pow(10,-r.length+3));return Et(bt(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},lae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return or(ir.basicOptionalMinutes,t);case"XX":return or(ir.basic,t);case"XXXX":return or(ir.basicOptionalSeconds,t);case"XXXXX":return or(ir.extendedOptionalSeconds,t);case"XXX":default:return or(ir.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Bt(t,t.getTime()-eu(t)-n)}},uae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return or(ir.basicOptionalMinutes,t);case"xx":return or(ir.basic,t);case"xxxx":return or(ir.basicOptionalSeconds,t);case"xxxxx":return or(ir.extendedOptionalSeconds,t);case"xxx":default:return or(ir.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Bt(t,t.getTime()-eu(t)-n)}},cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return _1(t)}set(t,r,n){return[Bt(t,n*1e3),{timestampIsSet:!0}]}},dae=class extends Ge{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return _1(t)}set(t,r,n){return[Bt(t,n),{timestampIsSet:!0}]}},hae={G:new Rre,y:new Ore,Y:new Nre,R:new Mre,u:new Are,Q:new Pre,q:new Lre,M:new Fre,L:new jre,w:new zre,I:new Hre,d:new Gre,D:new Ure,E:new Zre,e:new Wre,c:new Yre,i:new Qre,a:new Xre,b:new Jre,B:new eae,h:new tae,H:new nae,K:new rae,k:new aae,m:new iae,s:new oae,S:new sae,X:new lae,x:new uae,t:new cae,T:new dae},pae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,mae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fae=/^'([^]*?)'?$/,gae=/''/g,vae=/\S/,bae=/[a-zA-Z]/;function yae(e,t,r,n){var k,D,O,N;let a=()=>Bt(r,NaN),i=b1(),o=i.locale??d1,l=i.firstWeekContainsDate??((D=(k=i.locale)==null?void 0:k.options)==null?void 0:D.firstWeekContainsDate)??1,u=i.weekStartsOn??((N=(O=i.locale)==null?void 0:O.options)==null?void 0:N.weekStartsOn)??0,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},d=[new Tre(n==null?void 0:n.in,r)],m=t.match(mae).map(X=>{let ue=X[0];if(ue in ah){let _e=ah[ue];return _e(X,o.formatLong)}return X}).join("").match(pae),v=[];for(let X of m){g1(X)&&ih(X,t,e),f1(X)&&ih(X,t,e);let ue=X[0],_e=hae[ue];if(_e){let{incompatibleTokens:Ot}=_e;if(Array.isArray(Ot)){let tt=v.find(St=>Ot.includes(St.token)||St.token===ue);if(tt)throw new RangeError(`The format string mustn't contain \`${tt.fullToken}\` and \`${X}\` at the same time`)}else if(_e.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${X}\` and any other token at the same time`);v.push({token:ue,fullToken:X});let yt=_e.run(e,X,o.match,c);if(!yt)return a();d.push(yt.setter),e=yt.rest}else{if(ue.match(bae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ue+"`");if(X==="''"?X="'":ue==="'"&&(X=_ae(X)),e.indexOf(X)===0)e=e.slice(X.length);else return a()}}if(e.length>0&&vae.test(e))return a();let g=d.map(X=>X.priority).sort((X,ue)=>ue-X).filter((X,ue,_e)=>_e.indexOf(X)===ue).map(X=>d.filter(ue=>ue.priority===X).sort((ue,_e)=>_e.subPriority-ue.subPriority)).map(X=>X[0]),w=Ft(r,n==null?void 0:n.in);if(isNaN(+w))return a();let x={};for(let X of g){if(!X.validate(w,c))return a();let ue=X.set(w,x,c);Array.isArray(ue)?(w=ue[0],Object.assign(x,ue[1])):w=ue}return w}function _ae(e){return e.match(fae)[1].replace(gae,"'")}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 J("ngx-mask config"),E1=new J("new ngx-mask config"),S1=new J("initial ngx-mask config"),wae={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 Pt,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 xae=(()=>{const t=class t{constructor(){s(this,"_config",S(gm));s(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);s(this,"hiddenInput",this._config.hiddenInput);s(this,"showTemplate");s(this,"clearIfNotMatch",this._config.clearIfNotMatch);s(this,"specialCharacters",this._config.specialCharacters);s(this,"patterns",this._config.patterns);s(this,"prefix",this._config.prefix);s(this,"suffix",this._config.suffix);s(this,"thousandSeparator",this._config.thousandSeparator);s(this,"decimalMarker",this._config.decimalMarker);s(this,"customPattern");s(this,"showMaskTyped",this._config.showMaskTyped);s(this,"placeHolderCharacter",this._config.placeHolderCharacter);s(this,"validation",this._config.validation);s(this,"separatorLimit",this._config.separatorLimit);s(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);s(this,"leadZeroDateTime",this._config.leadZeroDateTime);s(this,"leadZero",this._config.leadZero);s(this,"apm",this._config.apm);s(this,"inputTransformFn",this._config.inputTransformFn);s(this,"outputTransformFn",this._config.outputTransformFn);s(this,"keepCharacterPositions",this._config.keepCharacterPositions);s(this,"_shift",new Set);s(this,"plusOnePosition",!1);s(this,"maskExpression","");s(this,"actualValue","");s(this,"showKeepCharacterExp","");s(this,"shownMaskExpression","");s(this,"deletedSpecialCharacter",!1);s(this,"ipError");s(this,"cpfCnpjError");s(this,"_formatWithSeparators",(n,a,i,o)=>{var g;let l=[],u="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),u=((g=n.match(w))==null?void 0:g[0])??T.EMPTY_STRING}else l=n.split(i),u=i;let c=l.length>1?`${u}${l[1]}`:T.EMPTY_STRING,d=l[0]??T.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);m&&+m&&(d[0]===T.MINUS?d=`-${d.slice(1,d.length).slice(0,m.length)}`:d=d.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(d);)d=d.replace(v,"$1"+a+"$2");return typeof o>"u"?d+c:o===0?d:d+c.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(T.MINUS)?a.slice(1,n.length):a);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let a=n.split(T.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var a,i,o,l;for(let u=((a=this.suffix)==null?void 0:a.length)-1;u>=0;u--){let c=this.suffix.substring(u,(i=this.suffix)==null?void 0:i.length);if(n.includes(c)&&u!==((o=this.suffix)==null?void 0:o.length)-1&&(u-1<0||!n.includes(this.suffix.substring(u-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(c,T.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,i)=>{var u;let o=n,l=i;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),d=o.match(c),m=(d&&((u=d[0])==null?void 0:u.length))??0;if(m-1>a){let v=m-1-a;o=o.substring(0,o.length-v)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[i,o]=a;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,a,i=0,o=!1,l=!1,u=()=>{}){var yt,tt,St;if(!a||typeof n!="string")return T.EMPTY_STRING;let c=0,d="",m=!1,v=!1,g=1,w=!1,x=n,k=i;x.slice(0,this.prefix.length)===this.prefix&&(x=x.slice(this.prefix.length,x.length)),this.suffix&&x.length>0&&(x=this.checkAndRemoveSuffix(x)),x==="("&&this.prefix&&(x="");let D=x.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&(d+=x.slice(c,c+1)),a===T.IP){let Q=x.split(T.DOT);this.ipError=this._validIP(Q),a="099.099.099.099"}let O=[];for(let Q=0;Q<x.length;Q++)(yt=x[Q])!=null&&yt.match("\\d")&&O.push(x[Q]??T.EMPTY_STRING);if(a===T.CPF_CNPJ&&(this.cpfCnpjError=O.length!==11&&O.length!==14,O.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(T.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let xe=this.getPrecision(a);x=this.checkInputPrecision(x,xe,this.decimalMarker)}let Q=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(x.indexOf(Q)>0&&!this.percentage(x.substring(0,x.indexOf(Q)))){let xe=x.substring(0,x.indexOf(Q)-1);this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&!l&&(xe=x.substring(0,x.indexOf(Q))),x=`${xe}${x.substring(x.indexOf(Q),x.length)}`}let U="";this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS?U=`${T.MINUS}${x.slice(c+1,c+x.length)}`:U=x,this.percentage(U)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(a.startsWith(T.SEPARATOR)){(x.match("[wа-яА-Я]")||x.match("[ЁёА-я]")||x.match("[a-z]|[A-Z]")||x.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||x.match("[^A-Za-z0-9,]"))&&(x=this._stripToDecimal(x));let Q=this.getPrecision(a),U=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(Q===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 Me=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),ze=x[k]===T.NUMBER_ZERO||x[k]===U,pt=x[0]===T.NUMBER_ZERO,Ln=x[0]===T.MINUS,nt=x[0]===this.thousandSeparator,Qt=x[1]===U,Nt=x[1]===T.NUMBER_ZERO,Xn=x[2]===U;pt&&Qt&&ze&&k<2&&(x=Me),Ln&&Nt&&Xn&&ze&&k<3&&(x=T.MINUS+Me),Me!==T.MINUS&&(k===0&&(pt||nt)||this.allowNegativeNumbers&&k===1&&Ln&&!Nt)&&(x=Ln?T.MINUS+Me:Me)}let xe=this._charToRegExpExpression(this.thousandSeparator),L='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(xe,"");if(Array.isArray(this.decimalMarker))for(let Me of this.decimalMarker)L=L.replace(this._charToRegExpExpression(Me),T.EMPTY_STRING);else L=L.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+L+"]");x.match(H)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Q,this.decimalMarker);let Y=x.replace(new RegExp(xe,"g"),"");d=this._formatWithSeparators(Y,this.thousandSeparator,this.decimalMarker,Q);let Te=d.indexOf(T.COMMA)-x.indexOf(T.COMMA),Qe=d.length-x.length,Kt=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(Qe>0&&d[k]!==this.thousandSeparator||Kt){v=!0;let Me=0;do this._shift.add(k+Me),Me++;while(Me<Qe)}else d[k-1]===this.thousandSeparator||Qe===-4||Qe===-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)&&Qe<=0?(this._shift.clear(),v=!0,g=Qe,k+=Qe,this._shift.add(k)):this._shift.clear()}else for(let Q=0,U=D[0];Q<D.length&&c!==a.length;Q++,U=D[Q]??T.EMPTY_STRING){let xe=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(U,a[c]??T.EMPTY_STRING)&&a[c+1]===T.SYMBOL_QUESTION)d+=U,c+=2;else if(a[c+1]===T.SYMBOL_STAR&&m&&this._checkSymbolMask(U,a[c+2]??T.EMPTY_STRING))d+=U,c+=3,m=!1;else if(this._checkSymbolMask(U,a[c]??T.EMPTY_STRING)&&a[c+1]===T.SYMBOL_STAR&&!xe)d+=U,m=!0;else if(a[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(U,a[c+2]??T.EMPTY_STRING))d+=U,c+=3;else if(this._checkSymbolMask(U,a[c]??T.EMPTY_STRING)){if(a[c]===T.HOURS&&(this.apm?Number(U)>9:Number(U)>2)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}if(a[c]===T.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(U)>2||x.slice(c-1,c).length===1&&Number(x.slice(c-1,c))>2||x.slice(c-1,c)==="1"&&Number(U)>2:d==="2"&&Number(U)>3||(d.slice(c-2,c)==="2"||d.slice(c-3,c)==="2"||d.slice(c-4,c)==="2"||d.slice(c-1,c)==="2")&&Number(U)>3&&c>10)){k=k+1,c+=1,Q--;continue}if((a[c]===T.MINUTE||a[c]===T.SECOND)&&Number(U)>5){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}let L=31,H=x[c],Y=x[c+1],Te=x[c+2],Qe=x[c-1],Kt=x[c-2],Me=x.slice(c-3,c-1),ze=x.slice(c-1,c+1),pt=x.slice(c,c+2),Ln=x.slice(c-2,c);if(a[c]===T.DAY){let nt=a.slice(0,2)===T.MONTHS,Qt=a.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Kt);if(Number(U)>3&&this.leadZeroDateTime||!nt&&(Number(pt)>L||Number(ze)>L||this.specialCharacters.includes(Y))||(Qt?Number(ze)>L||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Te)||this.specialCharacters.includes(H):Number(pt)>L||this.specialCharacters.includes(Y)&&!l)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}}if(a[c]===T.MONTH){let nt=c===0&&(Number(U)>2||Number(pt)>12||this.specialCharacters.includes(Y)&&!l),Qt=a.slice(c+2,c+3),Nt=Me.includes(Qt)&&a.includes("d0")&&(this.specialCharacters.includes(Kt)&&Number(ze)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),Xn=Number(Me)<=L&&!this.specialCharacters.includes(Me)&&this.specialCharacters.includes(Qe)&&(Number(pt)>12||this.specialCharacters.includes(Y)),Gr=Number(pt)>12&&c===5||this.specialCharacters.includes(Y)&&c===5,xs=Number(Me)>L&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Ln)&&Number(Ln)>12&&a.includes("d0"),Es=Number(Me)<=L&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Qe)&&Number(ze)>12;if(Number(U)>1&&this.leadZeroDateTime||nt||Nt||Es||xs||Xn||Gr&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(a,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}}d+=U,c++}else this.specialCharacters.includes(U)&&a[c]===U?(d+=U,c++):this.specialCharacters.indexOf(a[c]??T.EMPTY_STRING)!==-1?(d+=a[c],c++,this._shiftStep(a,c,D.length),Q--):a[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,c,D.length):this.patterns[a[c]??T.EMPTY_STRING]&&((tt=this.patterns[a[c]??T.EMPTY_STRING])!=null&&tt.optional)?(D[c]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((St=this.patterns[a[c]??T.EMPTY_STRING])!=null&&St.optional)&&(d+=D[c]),a.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&a.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&c++,c++,Q--):this.maskExpression[c+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(U)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(U)===this.maskExpression[c+2]&&m?(c+=3,d+=U):this.showMaskTyped&&this.specialCharacters.indexOf(U)<0&&U!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??T.EMPTY_STRING)!==-1&&(d+=a[a.length-1]);let N=k+1;for(;this._shift.has(N);)g++,N++;let X=o&&!a.startsWith(T.SEPARATOR)?c:this._shift.has(k)?g:0;w&&X--,u(X,v),g<0&&this._shift.clear();let ue=!1;l&&(ue=D.every(Q=>this.specialCharacters.includes(Q)));let _e=`${this.prefix}${ue?T.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(_e=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let Ot=x.length===1&&this.specialCharacters.includes(a[0])&&x!==a[0];if(!this._checkSymbolMask(x,a[1])&&Ot)return"";if(d.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===T.MINUS)return"";_e=`${T.MINUS}${this.prefix}${d.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return _e}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(a=>a===n)}_checkSymbolMask(n,a){var i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[a])==null?void 0:i.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(T.EMPTY_STRING).filter((a,i)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===T.MINUS&&i===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,i){let o=/[*?]/g.test(n.slice(0,a))?i:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,i){return Array.isArray(a)?a.filter(o=>o!==i).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,i)=>n.length!==i+1?a===T.EMPTY_STRING||Number(a)>255:a===T.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===T.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(T.DOT),i=this.allowNegativeNumbers&&n.includes(T.MINUS)?"-":"";if(a===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?T.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return u===T.EMPTY_STRING?T.EMPTY_STRING:`${i}${u}${c}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let i=n[a];if(i&&i>="1"&&i<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Eae=(()=>{const t=class t extends xae{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",a=>{});s(this,"_elementRef",S(lt,{optional:!0}));s(this,"document",S(Ve));s(this,"_config",S(gm));s(this,"_renderer",S(Zi,{optional:!0}))}applyMask(a,i,o=0,l=!1,u=!1,c=()=>{}){if(!i)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=a&&typeof this.selStart=="number"?a[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let k=a&&a.length===1?a.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==T.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>k.length?k.splice(this.selStart,0,d):a.length<k.length&&(k.length-a.length===1?u?k.splice(this.selStart-1,1):k.splice(a.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&k.length<=a.length?this.shiftTypedSymbols(k.join(T.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),u&&this.specialCharacters.indexOf(this.maskExpression[v]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:i.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(a)),this.maskChanged?m=a:m=m&&m.length?m:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let k=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(k),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,i,v,l,u,c);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(k=>!this._compareOrIncludes(k,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?u?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let k=this._numberSkipedSymbols(g);return`${g}${x.slice(w+k)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(a){let i=/(^|\D)(\d\D)/g,o=i.exec(a),l=0;for(;o!=null;)l+=1,o=i.exec(a);return l}applyValueChanges(a,i,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,a,i,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,i){return a.split(T.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[i[l]??T.EMPTY_STRING]&&((u=this.patterns[i[l]??T.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[i[l]??T.EMPTY_STRING])==null?void 0:c.symbol:o}).join(T.EMPTY_STRING)}getActualValue(a){let i=a.split(T.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return i.join(T.EMPTY_STRING)===a?i.join(T.EMPTY_STRING):a}shiftTypedSymbols(a){let i="";return(a&&a.split(T.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??T.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return i=o,a[l+1];if(i.length){let u=i;return i=T.EMPTY_STRING,u}return o})||[]).join(T.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===T.IP)return this._checkForIp(a);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;let a=(i=this._elementRef)==null?void 0:i.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,i)})}checkDropSpecialCharAmount(a){return a.split(T.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<a.length;o++){let l=a[o]??T.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===T.HASH)return i;let l=[];for(let u=0;u<a.length;u++){let c=a[u]??T.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):l.length===11?"":l.length===12?a.length===17?o.slice(16,o.length):o.slice(15,o.length):l.length>12&&l.length<=14?o.slice(l.length+4,o.length):""}_getActiveElement(a=this.document){var o;let i=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(a);let i=Number(a);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(i)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(i)?a:i}_removeMask(a,i){return this.maskExpression.startsWith(T.PERCENT)&&a.includes(T.DOT)?a:a&&a.replace(this._regExpForRemove(i),T.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,T.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,T.EMPTY_STRING):a}_retrieveSeparatorValue(a){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(i=i.filter(o=>o!==T.WHITE_SPACE)),this._removeMask(a,i)}_regExpForRemove(a){return new RegExp(a.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(i),T.DOT)}_checkSymbols(a){let i=a;if(i===T.EMPTY_STRING)return i;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(i=i.replace(T.COMMA,T.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,i,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let u=(i=this.patterns[l])==null?void 0:i.pattern.toString(),c=(o=this.patterns[l])==null?void 0:o.pattern;if(u!=null&&u.includes(T.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let i=a.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(a,i){let o=this.getPrecision(a),l=i;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(T.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===T.CURLY_BRACKETS_LEFT?l:this._start,o!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let u=Number(a.slice(this._start+1,this._end)),c=new Array(u+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(T.LETTER_S)){let d=a.slice(0,this._start-1);return d.includes(T.CURLY_BRACKETS_LEFT)?i+c:d+i+c}else return i+c},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Sae(){let e=S(S1),t=S(E1);return t instanceof Function?ce(ce({},e),t()):ce(ce({},e),t)}function kae(e){return[{provide:E1,useValue:e},{provide:S1,useValue:wae},{provide:gm,useFactory:Sae},Eae]}function Cae(e){return Lh(kae(e))}var Hu=(()=>{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})(),Dae="4.0",oh=Dae,ea=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ea||{}),Iae=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Pt);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=oh.split(".").map(i=>parseInt(i)),a=(this.version||"").split(".").map(i=>parseInt(i));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${oh})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=a.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),l),{missingFields:[],presentFields:[]});return i.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${i.join(", ")}; Present inputs: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(n){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(n):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(n){}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Ga],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),k1=class{constructor(e,t,r,n,a){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=r}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return It(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return It(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 It(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 It(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 It(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 It(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return It(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`))})}},C1=()=>{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)},Zo=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}(Zo||{}),wi=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(wi||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var Na={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},So={authorization:"Authorization",userType:"user-type",clientType:"client-type"},go=class extends Error{};go.prototype.name="InvalidTokenError";function Tae(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Rae(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 Tae(t)}catch{return atob(t)}}function Oae(e,t){if(typeof e!="string")throw new go("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new go(`Invalid token specified: missing part #${r+1}`);let a;try{a=Rae(n)}catch(i){throw new go(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(a)}catch(i){throw new go(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var Nae=class extends k1{constructor(e,t,r){super(e,Zo.USER_INFOS,t,r,Zo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return It(this,null,function*(){return Oae(yield this.getLocalAccessToken("")).userProfile})}},D1=(()=>{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 Mae(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0].ssin:e.ssin}function Aae(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Pae=(()=>{const t=class t extends D1{constructor(){super(...arguments),this.servicesStore=S(Hu)}resolveSsin(){return It(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Mae(n)})}resolvePatientInfo(){return It(this,null,function*(){let n=yield this.fetchUserProfileToken();return Aae(n)})}resolveUserInfo(){return It(this,null,function*(){var d,m,v,g;let n=yield this.fetchUserProfileToken(),a=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((d=n==null?void 0:n.organizations)==null?void 0:d.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,u=(v=n==null?void 0:n.organizations)!=null&&v.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,c=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:a,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return It(this,null,function*(){var n,a;return((a=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:a.length)>0})}resolveProfessional(n,a){return a?n[a]:void 0}extractProfessionalRole(n){let a=["physician","nurse","midwife","dentist"],i="patient";return a.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new Nae(this.servicesStore.getServices(),n,a)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Lae=(()=>{const t=class t extends D1{resolveSsin(){return It(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 It(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Fae=(()=>{const t=class t{constructor(){this.http=S(Qi)}get(n,a,i){return Js()?this.http.get(n,{headers:i}):Je(a)}patch(n,a,i){return Js()?this.http.patch(n,{},{headers:i}):Je(a)}post(n,a,i){return Js()?this.http.post(n,{},{headers:i}):Je(a)}delete(n,a,i){return Js()?this.http.delete(n,{headers:i}):Je(a)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Js=()=>window.Cypress,xi=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(xi||{}),Pr=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(Pr||{});function jae(e,t){return It(this,null,function*(){t.next({status:xi.LOADING});try{let r=yield e,n={status:xi.SUCCESS,data:r};return t.next(n),n}catch(r){let n={status:xi.ERROR,error:Bae(r)};return t.next(n),n}})}var tv={[Pr.NO_DATA]:["VIDIS_0140"],[Pr.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"],[Pr.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"],[Pr.OTHER]:[]};function Vae(e){for(let t of Object.keys(tv))if(tv[t].includes(e))return t;return Pr.OTHER}function zae(e,t,r){let n=e||"UNKNOWN",a=Vae(n);return{code:n,message:r??"An unexpected error occurred",group:a,traceId:t}}function Bae(e){var a,i,o;let t=((a=e.error)==null?void 0:a.code)??void 0,r=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return zae(t,n,r)}var sh={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function I1(e){e||(is(),e=S(pr));let t=new ht(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(oa(t))}function Hae(e,t){var u;let r=!(t!=null&&t.manualCleanup);r&&!(t!=null&&t.injector)&&is();let n=r?((u=t==null?void 0:t.injector)==null?void 0:u.get(pr))??S(pr):null,a=qae(t==null?void 0:t.equal),i;t!=null&&t.requireSync?i=Mo({kind:0},{equal:a}):i=Mo({kind:1,value:t==null?void 0:t.initialValue},{equal:a});let o,l=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{if(t!=null&&t.rejectErrors)throw c;i.set({kind:2,error:c})},complete:()=>{o==null||o()}});if(t!=null&&t.requireSync&&i().kind===0)throw new $(601,!1);return o=n==null?void 0:n.onDestroy(l.unsubscribe.bind(l)),Ta(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new $(601,!1)}},{equal:t==null?void 0:t.equal})}function qae(e=Object.is){return(t,r)=>t.kind===1&&r.kind===1&&e(t.value,r.value)}var $ae=(e=S(Kp))=>Hae(e.observe([sh.XSmall,sh.Small]).pipe(Tt(t=>t.matches)),{initialValue:!1});function T1(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var Gae={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function nu(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of Gae[t]){let n=e.find(a=>a.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Uae=(()=>{const t=class t{constructor(){this.translate=S(Qn)}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 nu(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})(),R1=(()=>{const t=class t{constructor(){this.http=S(Qi),this.snackbarService=S(N1)}getLeaflet(n,a){return this.http.get(`/v2/leaflet/${n}/${a}`,{responseType:"text"}).pipe(sn(1),Ih(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),p0(()=>i))))}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Pi=(()=>{const t=class t{constructor(){this.config=S(Ji),this.injector=S(dt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Lae):this.injector.get(Pae)}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})();function Zae(e,t){if(e&1){let r=qr();V(0,"div",1)(1,"button",2),kn("click",function(){wn(r);let n=le();return xn(n.action())}),ne(2),B()()}if(e&2){let r=le();F(2),ot(" ",r.data.action," ")}}var Wae=["label"];function Yae(e,t){}var Kae=Math.pow(2,31)-1,lh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new be);s(this,"_afterOpened",new be);s(this,"_onAction",new be);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,Kae))}_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}},O1=new J("MatSnackBarData"),ru=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")}},Qae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),Xae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),Jae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),eie=(()=>{const t=class t{constructor(){s(this,"snackBarRef",S(lh));s(this,"data",S(O1))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,a){n&1&&(V(0,"div",0),ne(1),B(),me(2,Zae,3,1,"div",1)),n&2&&(F(),ot(" ",a.data.message,`
|
|
30
|
-
`),F(),Fe(a.hasAction?2:-1))},dependencies:[ws,Qae,Xae,Jae],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
31
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),$c="_mat-snack-bar-enter",Gc="_mat-snack-bar-exit",tie=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_ngZone",S($e));s(this,"_elementRef",S(lt));s(this,"_changeDetectorRef",S(pa));s(this,"_platform",S(dn));s(this,"_rendersRef");s(this,"_animationsDisabled",S(Wa,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",S(ru));s(this,"_document",S(Ve));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new be);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new be);s(this,"_onExit",new be);s(this,"_onEnter",new be);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",S(_s).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),i});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Zb(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),i}attachTemplatePortal(a){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),i}onAnimationEnd(a){a===Gc?this._completeExit():a===$c&&(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(sn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd($c)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd($c)},200)))}exit(){return this._destroyed?Je(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(sn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Gc)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Gc),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(u=>a.classList.add(u)):a.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let l=i[o],u=l.getAttribute("aria-owns");this._trackedModals.add(l),u?u.indexOf(a)===-1&&l.setAttribute("aria-owns",u+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let i=a.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?a.setAttribute("aria-owns",o):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,i=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(i&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(l=document.activeElement),i.removeAttribute("aria-hidden"),o.appendChild(i),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(ql(qo,7),ql(Wae,7)),a&2){let o;Rn(o=On())&&(i._portalOutlet=o.first),Rn(o=On())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,i){a&1&&kn("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),a&2&&tn("mat-snack-bar-container-enter",i._animationState==="visible")("mat-snack-bar-container-exit",i._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!i._animationsDisabled)},features:[Ke],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,i){a&1&&(V(0,"div",1)(1,"div",2,0)(3,"div",3),me(4,Yae,0,0,"ng-template",4),B(),We(5,"div"),B()()),a&2&&(F(5),cn("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[qo],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 nie(){return new ru}var rie=new J("mat-snack-bar-default-options",{providedIn:"root",factory:nie}),aie=(()=>{const t=class t{constructor(){s(this,"_overlay",S(ma));s(this,"_live",S(_J));s(this,"_injector",S(dt));s(this,"_breakpointObserver",S(Kp));s(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",S(rie));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",eie);s(this,"snackBarContainerComponent",tie);s(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}openFromComponent(n,a){return this._attach(n,a)}openFromTemplate(n,a){return this._attach(n,a)}open(n,a="",i){let o=ce(ce({},this._defaultConfig),i);return o.data={message:n,action:a},o.announcementMessage===n&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,a){let i=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=dt.create({parent:i||this._injector,providers:[{provide:ru,useValue:a}]}),l=new Ho(this.snackBarContainerComponent,a.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=a,u.instance}_attach(n,a){let i=ce(ce(ce({},new ru),this._defaultConfig),a),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),u=new lh(l,o);if(n instanceof un){let c=new Xp(n,null,{$implicit:i.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(i,u),d=new Ho(n,void 0,c),m=l.attachComponentPortal(d);u.instance=m.instance}return this._breakpointObserver.observe(sh.HandsetPortrait).pipe(oa(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(u,i),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(n,a){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let a=new em;a.direction=n.direction;let i=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,u=!l&&n.horizontalPosition!=="center";return l?i.left("0"):u?i.right("0"):i.centerHorizontally(),n.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(n,a){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return dt.create({parent:i||this._injector,providers:[{provide:lh,useValue:a},{provide:O1,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})(),N1=(()=>{const t=class t{constructor(){this.snackbar=S(aie),this.translate=S(Qn)}showSuccess(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),iie={demo:{env:ea.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:ea.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:ea.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:ea.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:ea.PROD}},Ji=(()=>{const t=class t{setEnvironment(n){this.configVariables=iie[ea[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),oie=(e,t)=>{let r=S(Pi).getInstance(),n=S(Hu),a=S(Ji).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(r.isOfflineAuthenticated)return Je();let i=e.headers||new Mi,o=r.isProfessional;return $a(n.getServices().getAccessToken("")).pipe(Io(l=>t(e.clone({url:`${a}${e.url}`,headers:i.set(So.authorization,Na.getAuthorizationHeader(l)).set(So.userType,Na.getUserType({isProfessional:o})).set(So.clientType,C1()?Na.clientType.mobileApp:Na.clientType.webApp)}))))};function sie(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var lie=["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",sie];function uie(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var cie=["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",uie];function die(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var hie=["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",die];function pie(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var mie=["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",pie];ju(lie,"de");ju(mie,"nl");ju(hie,"fr");ju(cie,"en");var fie=class{handleError(e){throw new Error(e)}},gie=class extends $J{getFirstDayOfWeek(){return 1}format(e){return v1(e,"dd/MM/yyyy")}parse(e){return yae(e,"dd/MM/yyyy",new Date)}},vie={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"}}},bie=[_ne(),LX(FX([oie])),Cae(),{provide:Gn,useClass:fie},{provide:gw,useClass:gie,deps:[Zd]},{provide:RJ,useValue:vie},{provide:Bw,useClass:wne},{provide:Iw,useValue:{panelClass:"mh-dialog-container"}}],yie=Dv(Qq(),1),_ie=new J("MESSAGE_FORMAT_CONFIG"),wie={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},xie=(()=>{const t=class t extends ys{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:d}=ce(ce({},wie),n);this.messageFormatOptions={customFormatters:a,biDiSupport:i,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=d}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=this.getMessageFormatInstance(a).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${n}'`),i=Sie(n,a)}return this.throwOnError||(i=Eie(i,n)),i}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,a),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new yie.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(oe(_ie,8))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})();function Eie(e,t){return r=>{let n=t;try{n=e(r)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return n}}function Sie(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var M1={};he(M1,{"00001":()=>A1,"00002":()=>P1,"00003":()=>L1,"00004":()=>F1,"00005":()=>j1,"00006":()=>V1,"00007":()=>z1,"00008":()=>B1,"00009":()=>H1,"00010":()=>q1,"00011":()=>$1,"00012":()=>G1,"00013":()=>U1,"00014":()=>Z1,"00015":()=>W1,"00016":()=>Y1,"00017":()=>K1,"00018":()=>Q1,"00019":()=>X1,"00020":()=>J1,"00021":()=>ex,"00022":()=>tx,"00023":()=>nx,"00024":()=>rx,"00025":()=>ax,"00026":()=>ix,"00027":()=>ox,"00028":()=>sx,"00029":()=>lx,"00030":()=>ux,ampoule:()=>Px,bandage:()=>Rx,bottle:()=>Lx,box:()=>Nx,cm:()=>cx,default:()=>kie,dropsperminute:()=>dx,"effervescent-tablet":()=>Ix,gm:()=>hx,internationalunits:()=>px,iu:()=>Cx,liter:()=>Mx,"mck/h":()=>mx,"mck/kg/minute":()=>fx,measure:()=>gx,meq:()=>Sx,mg:()=>xx,"mg/h":()=>vx,"mg/ml":()=>Ex,micrograms:()=>Tx,miu:()=>kx,"ml/h":()=>bx,mmol:()=>Dx,piece:()=>Ox,syringe:()=>Ax,"syringe-ampoule":()=>Fx,tbl:()=>yx,tsp:()=>_x,"unt/h":()=>wx});var A1="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",P1="{count, plural, one{Ampulle} other{Ampullen}}",L1="anwenden",F1="{count, plural, one{Kapsel} other{Kapseln}}",j1="{count, plural, one{Tablette} other{Tabletten}}",V1="Dosis",z1="{count, plural, one{Tropf} other{Tropfen}}",B1="{count, plural, one{Fläsche} other{Fläschchen}}",H1="{count, plural, one{Implantat} other{Implantate}}",q1="{count, plural, one{Infusion} other{Infusionen}}",$1="{count, plural, one{Inhalation} other{Inhalationen}}",G1="Einstechen",U1="Kaugummi",Z1="{count, plural, one{Kompresse} other{Kompressen}}",W1="{count, plural, one{Einlauf} other{Einläufe}}",Y1="ml",K1="Ov.",Q1="{count, plural, one{Perle} other{Perlen}}",X1="{count, plural, one{Pastille} other{Pastillen}}",J1="Pflaster",ex="cart",tx="Pen",nx="{count, plural, one{Puff} other{Puffs}}",rx="{count, plural, one{Schwamm} other{Schwämme}}",ax="{count, plural, one{Stift} other{Stifte}}",ix="Suppo",ox="Tube",sx="{count, plural, one{Docht} other{Dochte}}",lx="Beutel",ux="Beutel",cx="Zentimeter",dx="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",hx="Gramm",px="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",mx="Mikrogramm pro Stunde",fx="Mikrogramm pro Kilogramm pro Minute",gx="Maß",vx="Miligramm pro Stunde",bx="Milliliter pro Stunde",yx="Esslöffel",_x="Kaffeelöffel",wx="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",xx="Milligramm",Ex="Milligramm pro Millimeter",Sx="meq",kx="miu",Cx="iu",Dx="mmol",Ix="effervescent-tablet",Tx="micrograms",Rx="{count, plural, one{bandage} other{bandagen}}",Ox="{count, plural, one{stück} other{stücke}}",Nx="schachteln",Mx="liter",Ax="{count, plural, one{spritze} other{spritzen}}",Px="{count, plural, one{glühbirn} other{glühbirnen}}",Lx="{count, plural, one{Fläsche} other{Fläschchen}}",Fx="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",kie={"00001":A1,"00002":P1,"00003":L1,"00004":F1,"00005":j1,"00006":V1,"00007":z1,"00008":B1,"00009":H1,"00010":q1,"00011":$1,"00012":G1,"00013":U1,"00014":Z1,"00015":W1,"00016":Y1,"00017":K1,"00018":Q1,"00019":X1,"00020":J1,"00021":ex,"00022":tx,"00023":nx,"00024":rx,"00025":ax,"00026":ix,"00027":ox,"00028":sx,"00029":lx,"00030":ux,cm:cx,dropsperminute:dx,gm:hx,internationalunits:px,"mck/h":mx,"mck/kg/minute":fx,measure:gx,"mg/h":vx,"ml/h":bx,tbl:yx,tsp:_x,"unt/h":wx,mg:xx,"mg/ml":Ex,meq:Sx,miu:kx,iu:Cx,mmol:Dx,"effervescent-tablet":Ix,micrograms:Tx,bandage:Rx,piece:Ox,box:Nx,liter:Mx,syringe:Ax,ampoule:Px,bottle:Lx,"syringe-ampoule":Fx},jx={};he(jx,{"00001":()=>Vx,"00002":()=>zx,"00003":()=>Bx,"00004":()=>Hx,"00005":()=>qx,"00006":()=>$x,"00007":()=>Gx,"00008":()=>Ux,"00009":()=>Zx,"00010":()=>Wx,"00011":()=>Yx,"00012":()=>Kx,"00013":()=>Qx,"00014":()=>Xx,"00015":()=>Jx,"00016":()=>eE,"00017":()=>tE,"00018":()=>nE,"00019":()=>rE,"00020":()=>aE,"00021":()=>iE,"00022":()=>oE,"00023":()=>sE,"00024":()=>lE,"00025":()=>uE,"00026":()=>cE,"00027":()=>dE,"00028":()=>hE,"00029":()=>pE,"00030":()=>mE,ampoule:()=>zE,bandage:()=>PE,bottle:()=>BE,box:()=>FE,cm:()=>fE,default:()=>Cie,dropsperminute:()=>gE,"effervescent-tablet":()=>ME,gm:()=>vE,internationalunits:()=>bE,iu:()=>OE,liter:()=>jE,"mck/h":()=>yE,"mck/kg/minute":()=>_E,measure:()=>wE,meq:()=>TE,mg:()=>DE,"mg/h":()=>xE,"mg/ml":()=>IE,micrograms:()=>AE,miu:()=>RE,"ml/h":()=>EE,mmol:()=>NE,piece:()=>LE,syringe:()=>VE,"syringe-ampoule":()=>HE,tbl:()=>SE,tsp:()=>kE,"unt/h":()=>CE});var Vx="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",zx="{count, plural, one{ampoule} other{ampoules}}",Bx="applic.",Hx="{count, plural, one{capsule} other{capsules}}",qx="{count, plural, one{tablet} other{tablets}}",$x="{count, plural, one{dose} other{doses}}",Gx="{count, plural, one{drop} other{drops}}",Ux="{count, plural, one{bottle} other{bottles}}",Zx="{count, plural, one{implant} other{implants}}",Wx="{count, plural, one{perfusion} other{perfusions}}",Yx="{count, plural, one{inhalation} other{inhalations}}",Kx="insert",Qx="{count, plural, one{chewing gum} other{chewing gums}}",Xx="{count, plural, one{compress} other{compresses}}",Jx="enema",eE="ml",tE="{count, plural, one{ovule} other{ovules}}",nE="{count, plural, one{pearl} other{pearls}}",rE="{count, plural, one{pastille} other{pastilles}}",aE="{count, plural, one{patch} other{patches}}",iE="{count, plural, one{cartridge} other{cartridges}}",oE="{count, plural, one{pen} other{pens}}",sE="{count, plural, one{puff} other{puffs}}",lE="{count, plural, one{sponge} other{sponges}}",uE="{count, plural, one{stylo} other{stylos}}",cE="{count, plural, one{supository} other{supositories}}",dE="{count, plural, one{tube} other{tubes}}",hE="{count, plural, one{wick} other{wicks}}",pE="{count, plural, one{bag} other{bags}}",mE="{count, plural, one{small bag} other{small bags}}",fE="centimeter",gE="{count, plural, one{drop per minute} other{drops per minute}}",vE="gram",bE="international units",yE="microgram per hour",_E="microgram per kilogram per minute",wE="{count, plural, one{measure} other{measures}}",xE="milligram per hour",EE="milliliter per hour",SE="{count, plural, one{tablespoon} other{tablespoons}}",kE="{count, plural, one{teaspoon} other{teaspoons}}",CE="{count, plural, one{unit per hour} other{units per hour}}",DE="milligram",IE="milligram per milliliter",TE="milli-equivalent",RE="miu",OE="international units",NE="millimole",ME="{count, plural, one{effervescent tablet} other{effervescent tablets}}",AE="microgram",PE="{count, plural, one{bandage} other{bandages}}",LE="{count, plural, one{piece} other{pieces}}",FE="{count, plural, one{spray} other{sprays}}",jE="liter",VE="{count, plural, one{syringe} other{syringes}}",zE="{count, plural, one{ampoule} other{ampoules}}",BE="{count, plural, one{bottle} other{bottles}}",HE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Cie={"00001":Vx,"00002":zx,"00003":Bx,"00004":Hx,"00005":qx,"00006":$x,"00007":Gx,"00008":Ux,"00009":Zx,"00010":Wx,"00011":Yx,"00012":Kx,"00013":Qx,"00014":Xx,"00015":Jx,"00016":eE,"00017":tE,"00018":nE,"00019":rE,"00020":aE,"00021":iE,"00022":oE,"00023":sE,"00024":lE,"00025":uE,"00026":cE,"00027":dE,"00028":hE,"00029":pE,"00030":mE,cm:fE,dropsperminute:gE,gm:vE,internationalunits:bE,"mck/h":yE,"mck/kg/minute":_E,measure:wE,"mg/h":xE,"ml/h":EE,tbl:SE,tsp:kE,"unt/h":CE,mg:DE,"mg/ml":IE,meq:TE,miu:RE,iu:OE,mmol:NE,"effervescent-tablet":ME,micrograms:AE,bandage:PE,piece:LE,box:FE,liter:jE,syringe:VE,ampoule:zE,bottle:BE,"syringe-ampoule":HE},qE={};he(qE,{"00001":()=>$E,"00002":()=>GE,"00003":()=>UE,"00004":()=>ZE,"00005":()=>WE,"00006":()=>YE,"00007":()=>KE,"00008":()=>QE,"00009":()=>XE,"00010":()=>JE,"00011":()=>eS,"00012":()=>tS,"00013":()=>nS,"00014":()=>rS,"00015":()=>aS,"00016":()=>iS,"00017":()=>oS,"00018":()=>sS,"00019":()=>lS,"00020":()=>uS,"00021":()=>cS,"00022":()=>dS,"00023":()=>hS,"00024":()=>pS,"00025":()=>mS,"00026":()=>fS,"00027":()=>gS,"00028":()=>vS,"00029":()=>bS,"00030":()=>yS,ampoule:()=>GS,bandage:()=>zS,bottle:()=>US,box:()=>HS,cm:()=>_S,default:()=>Die,dropsperminute:()=>wS,"effervescent-tablet":()=>jS,gm:()=>xS,internationalunits:()=>ES,iu:()=>LS,liter:()=>qS,"mck/h":()=>SS,"mck/kg/minute":()=>kS,measure:()=>CS,meq:()=>AS,mg:()=>NS,"mg/h":()=>DS,"mg/ml":()=>MS,micrograms:()=>VS,miu:()=>PS,"ml/h":()=>IS,mmol:()=>FS,piece:()=>BS,syringe:()=>$S,"syringe-ampoule":()=>ZS,tbl:()=>TS,tsp:()=>RS,"unt/h":()=>OS});var $E="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",GE="amp.",UE="applic.",ZE="caps.",WE="compr.",YE="{count, plural, one{dose} other{doses}}",KE="{count, plural, one{goutte} other{gouttes}}",QE="flac.",XE="{count, plural, one{implant} other{implants}}",JE="{count, plural, one{perfusion} other{perfusions}}",eS="{count, plural, one{inhalation} other{inhalations}}",tS="insert",nS="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",rS="{count, plural, one{compres(se)} other{compres(ses)}}",aS="{count, plural, one{lavement} other{lavements}}",iS="ml",oS="ov.",sS="{count, plural, one{perle} other{perles}}",lS="{count, plural, one{pastille} other{pastilles}}",uS="{count, plural, one{patch} other{patchs}}",cS="patr.",dS="{count, plural, one{stylo} other{stylos}}",hS="{count, plural, one{puff} other{puffs}}",pS="{count, plural, one{éponge} other{éponges}}",mS="{count, plural, one{stylo} other{stylos}}",fS="suppo",gS="{count, plural, one{tube} other{tubes}}",vS="{count, plural, one{mèche} other{mèches}}",bS="{count, plural, one{sac} other{sacs}}",yS="{count, plural, one{sachet} other{sachets}}",_S="{count, plural, one{centimètre} other{centimètres}}",wS="{count, plural, one{goute par minute} other{goutes par minute}}",xS="{count, plural, one{gramme} other{grammes}}",ES="{count, plural, one{unité internationales} other{unités internationales}}",SS="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",kS="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",CS="{count, plural, one{mesure} other{mesures}}",DS="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",IS="{count, plural, one{millilitre par heure} other{millilitres par heure}}",TS="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",RS="{count, plural, one{cuillère à café} other{cuillères à café}}",OS="{count, plural, one{unité par heure} other{unités par heure}}",NS="{count, plural, one{miligramme} other{miligrammes}}",MS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",AS="milli-équivalent",PS="miu",LS="{count, plural, one{unité internationales} other{unités internationales}}",FS="millimol",jS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",VS="{count, plural, one{microgramme} other{microgrammes}}",zS="{count, plural, one{bandage} other{bandages}}",BS="{count, plural, one{pièce} other{pièces}}",HS="{count, plural, one{vaporisateur} other{vaporisateurs}}",qS="{count, plural, one{litre} other{litres}}",$S="{count, plural, one{seringue} other{seringues}}",GS="{count, plural, one{ampoule} other{ampoules}}",US="{count, plural, one{fiole} other{fioles}}",ZS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",Die={"00001":$E,"00002":GE,"00003":UE,"00004":ZE,"00005":WE,"00006":YE,"00007":KE,"00008":QE,"00009":XE,"00010":JE,"00011":eS,"00012":tS,"00013":nS,"00014":rS,"00015":aS,"00016":iS,"00017":oS,"00018":sS,"00019":lS,"00020":uS,"00021":cS,"00022":dS,"00023":hS,"00024":pS,"00025":mS,"00026":fS,"00027":gS,"00028":vS,"00029":bS,"00030":yS,cm:_S,dropsperminute:wS,gm:xS,internationalunits:ES,"mck/h":SS,"mck/kg/minute":kS,measure:CS,"mg/h":DS,"ml/h":IS,tbl:TS,tsp:RS,"unt/h":OS,mg:NS,"mg/ml":MS,meq:AS,miu:PS,iu:LS,mmol:FS,"effervescent-tablet":jS,micrograms:VS,bandage:zS,piece:BS,box:HS,liter:qS,syringe:$S,ampoule:GS,bottle:US,"syringe-ampoule":ZS},WS={};he(WS,{"00001":()=>YS,"00002":()=>KS,"00003":()=>QS,"00004":()=>XS,"00005":()=>JS,"00006":()=>ek,"00007":()=>tk,"00008":()=>nk,"00009":()=>rk,"00010":()=>ak,"00011":()=>ik,"00012":()=>ok,"00013":()=>sk,"00014":()=>lk,"00015":()=>uk,"00016":()=>ck,"00017":()=>dk,"00018":()=>hk,"00019":()=>pk,"00020":()=>mk,"00021":()=>fk,"00022":()=>gk,"00023":()=>vk,"00024":()=>bk,"00025":()=>yk,"00026":()=>_k,"00027":()=>wk,"00028":()=>xk,"00029":()=>Ek,"00030":()=>Sk,ampoule:()=>Kk,bandage:()=>Gk,bottle:()=>Qk,box:()=>Zk,cm:()=>kk,default:()=>Iie,dropsperminute:()=>Ck,"effervescent-tablet":()=>qk,gm:()=>Dk,internationalunits:()=>Ik,iu:()=>Bk,liter:()=>Wk,"mck/h":()=>Tk,"mck/kg/minute":()=>Rk,measure:()=>Ok,meq:()=>Vk,mg:()=>Fk,"mg/h":()=>Nk,"mg/ml":()=>jk,micrograms:()=>$k,miu:()=>zk,"ml/h":()=>Mk,mmol:()=>Hk,piece:()=>Uk,syringe:()=>Yk,"syringe-ampoule":()=>Xk,tbl:()=>Ak,tsp:()=>Pk,"unt/h":()=>Lk});var YS="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",KS="{count, plural, one{ampule} other{ampullen}}",QS="aanbrengen",XS="{count, plural, one{capsule} other{capsules}}",JS="{count, plural, one{tablet} other{tabletten}}",ek="{count, plural, one{dose} other{dosissen}}",tk="{count, plural, one{druppel} other{druppels}}",nk="{count, plural, one{flesje} other{flesjes}}",rk="{count, plural, one{implantaat} other{implantaten}}",ak="{count, plural, one{infuus} other{infusen}}",ik="{count, plural, one{inhalatie} other{inhalaties}}",ok="inbrengen",sk="{count, plural, one{kauwgom} other{kauwgommen}}",lk="{count, plural, one{kompres} other{kompressen}}",uk="lavement",ck="ml",dk="{count, plural, one{ovule} other{ovules}}",hk="{count, plural, one{parel} other{parels}}",pk="{count, plural, one{pastille} other{pastilles}}",mk="{count, plural, one{pleister} other{pleisters}}",fk="{count, plural, one{patroon} other{patronen}}",gk="{count, plural, one{pen} other{pennen}}",vk="{count, plural, one{puff} other{puffs}}",bk="{count, plural, one{spons} other{sponsen}}",yk="{count, plural, one{stylo} other{stylos}}",_k="{count, plural, one{zetpil} other{zetpillen}}",wk="{count, plural, one{tube} other{tubes}}",xk="{count, plural, one{wiek} other{wieken}}",Ek="{count, plural, one{zak} other{zakken}}",Sk="{count, plural, one{zakje} other{zakjes}}",kk="centimeter",Ck="{count, plural, one{druppel per minuut} other{druppels per minuut}}",Dk="gram",Ik="internationale eenheden",Tk="microgram per uur",Rk="microgram per kilogram per minuut",Ok="{count, plural, one{maat} other{maten}}",Nk="milligram per uur",Mk="milliliter per uur",Ak="{count, plural, one{eetlepel} other{eetlepels}}",Pk="{count, plural, one{koffielepel} other{koffielepels}}",Lk="{count, plural, one{eenheid per uur} other{eenheden per uur}}",Fk="miligram",jk="miligram per milimeter",Vk="milli-equivalent",zk="miu",Bk="internationale eenheden",Hk="millimol",qk="{count, plural, one{bruistablet} other{bruistabletten}}",$k="microgram",Gk="{count, plural, one{verband} other{verbanden}}",Uk="{count, plural, one{stuk} other{stuks}}",Zk="{count, plural, one{verstuiving} other{verstuivingen}}",Wk="liter",Yk="{count, plural, one{spuit} other{spuiten}}",Kk="{count, plural, one{ampul} other{ampullen}}",Qk="{count, plural, one{fles} other{flessen}}",Xk="{count, plural, one{spuitampul} other{spuitampullen}}",Iie={"00001":YS,"00002":KS,"00003":QS,"00004":XS,"00005":JS,"00006":ek,"00007":tk,"00008":nk,"00009":rk,"00010":ak,"00011":ik,"00012":ok,"00013":sk,"00014":lk,"00015":uk,"00016":ck,"00017":dk,"00018":hk,"00019":pk,"00020":mk,"00021":fk,"00022":gk,"00023":vk,"00024":bk,"00025":yk,"00026":_k,"00027":wk,"00028":xk,"00029":Ek,"00030":Sk,cm:kk,dropsperminute:Ck,gm:Dk,internationalunits:Ik,"mck/h":Tk,"mck/kg/minute":Rk,measure:Ok,"mg/h":Nk,"ml/h":Mk,tbl:Ak,tsp:Pk,"unt/h":Lk,mg:Fk,"mg/ml":jk,meq:Vk,miu:zk,iu:Bk,mmol:Hk,"effervescent-tablet":qk,micrograms:$k,bandage:Gk,piece:Uk,box:Zk,liter:Wk,syringe:Yk,ampoule:Kk,bottle:Qk,"syringe-ampoule":Xk},Tie={nl:WS,fr:qE,de:M1,en:jx},Jk={};he(Jk,{default:()=>Rie,friday:()=>aC,monday:()=>eC,saturday:()=>iC,sunday:()=>oC,thursday:()=>rC,tuesday:()=>tC,wednesday:()=>nC});var eC="Montag",tC="Dienstag",nC="Mittwoch",rC="Donnerstag",aC="Freitag",iC="Samstag",oC="Sonntag",Rie={monday:eC,tuesday:tC,wednesday:nC,thursday:rC,friday:aC,saturday:iC,sunday:oC},sC={};he(sC,{default:()=>Oie,friday:()=>hC,monday:()=>lC,saturday:()=>pC,sunday:()=>mC,thursday:()=>dC,tuesday:()=>uC,wednesday:()=>cC});var lC="Monday",uC="Tuesday",cC="Wednesday",dC="Thursday",hC="Friday",pC="Saturday",mC="Sunday",Oie={monday:lC,tuesday:uC,wednesday:cC,thursday:dC,friday:hC,saturday:pC,sunday:mC},fC={};he(fC,{default:()=>Nie,friday:()=>_C,monday:()=>gC,saturday:()=>wC,sunday:()=>xC,thursday:()=>yC,tuesday:()=>vC,wednesday:()=>bC});var gC="Lundi",vC="Mardi",bC="Mercredi",yC="Jeudi",_C="Vendredi",wC="Samedi",xC="Dimanche",Nie={monday:gC,tuesday:vC,wednesday:bC,thursday:yC,friday:_C,saturday:wC,sunday:xC},EC={};he(EC,{default:()=>Mie,friday:()=>IC,monday:()=>SC,saturday:()=>TC,sunday:()=>RC,thursday:()=>DC,tuesday:()=>kC,wednesday:()=>CC});var SC="Maandag",kC="Dinsdag",CC="Woensdag",DC="Donderdag",IC="Vrijdag",TC="Zaterdag",RC="Zondag",Mie={monday:SC,tuesday:kC,wednesday:CC,thursday:DC,friday:IC,saturday:TC,sunday:RC},Aie={nl:EC,fr:fC,de:Jk,en:sC},OC={};he(OC,{VIDIS_0035:()=>NC,VIDIS_0050:()=>MC,VIDIS_0090:()=>AC,VIDIS_0100:()=>cD,VIDIS_0110:()=>hD,VIDIS_0120:()=>dD,VIDIS_0121:()=>PC,VIDIS_0122:()=>LC,VIDIS_0123:()=>FC,VIDIS_0124:()=>jC,VIDIS_0125:()=>VC,VIDIS_0126:()=>zC,VIDIS_0131:()=>BC,VIDIS_0132:()=>HC,VIDIS_0133:()=>qC,VIDIS_0134:()=>$C,VIDIS_0135:()=>GC,VIDIS_0136:()=>UC,VIDIS_0190:()=>ZC,VIDIS_0200:()=>pD,VIDIS_0210:()=>WC,VIDIS_0211:()=>YC,VIDIS_0230:()=>KC,VIDIS_0290:()=>QC,VIDIS_0330:()=>XC,VIDIS_0340:()=>mD,VIDIS_0341:()=>fD,VIDIS_0400:()=>lD,VIDIS_04001:()=>gD,VIDIS_0435:()=>JC,VIDIS_0440:()=>eD,VIDIS_3030:()=>uD,VIDIS_3090:()=>aD,VIDIS_3100:()=>oD,VIDIS_3120:()=>sD,VIDIS_3140:()=>iD,VIDIS_3150:()=>rD,VIDIS_5000:()=>tD,VIDIS_7000:()=>nD,"action-not-authorized-close-button":()=>FD,"action-not-authorized-title":()=>LD,"data-not-available-title":()=>PD,default:()=>Pie,general:()=>bD,"has-hidden-prescriptions":()=>CD,"incorrect-elements-ms-detail":()=>VD,"incorrect-elements-ms-list":()=>jD,invalid_date_format:()=>ED,myHealth:()=>_D,myHealthUrl:()=>wD,network_error:()=>xD,"no-access":()=>yD,prescriptionList:()=>vD,"report-message-confirm-toast":()=>AD,"report-message-content":()=>TD,"report-message-explanation":()=>ID,"report-message-ignore-button":()=>MD,"report-message-link":()=>OD,"report-message-report-button":()=>ND,"report-message-term-use":()=>RD,"report-message-title":()=>DD,"status-message-content":()=>kD,"status-message-title":()=>SD});var NC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",MC="Die Patienten-INSS fehlt. (VIDIS_0050)",AC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",PC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",LC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",FC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",jC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",VC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",zC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",BC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",HC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",qC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",$C="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",GC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",UC="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ZC="Ungültige INSS-Patientennummer. (VIDIS_0190)",WC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",YC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",KC="Der Vorgang ist ungültig (VIDIS_0230)",QC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',XC="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)",JC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",eD="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",tD="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",nD="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",rD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",aD="Das Rezept ist abgelaufen.",iD="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.",oD="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",sD="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",lD="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",uD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",cD="Vorgang nicht erlaubt.",dD="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",hD="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",pD="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",mD="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.",fD="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.",gD="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",vD="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",bD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",yD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",_D="Zurück zum Portal Meine Gesundheit",wD="https://wwwint.meinegesundheit.belgien.be/#/",xD="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",ED="Ungültiges Datumsformat.",SD="Dienst vorübergehend nicht verfügbar",kD=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
33
|
-
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,CD="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",DD="Technisches Problem",ID="Bitte versuchen Sie es später noch einmal.",TD="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",RD="unsere Nutzungsbedingungen",OD="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",ND="Problem melden",MD="Nicht melden",AD="Das Problem wurde gemeldet",PD="Daten nicht verfügbar",LD="Aktion nicht erlaubt",FD="Schließen",jD="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",VD="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",Pie={VIDIS_0035:NC,VIDIS_0050:MC,VIDIS_0090:AC,VIDIS_0121:PC,VIDIS_0122:LC,VIDIS_0123:FC,VIDIS_0124:jC,VIDIS_0125:VC,VIDIS_0126:zC,VIDIS_0131:BC,VIDIS_0132:HC,VIDIS_0133:qC,VIDIS_0134:$C,VIDIS_0135:GC,VIDIS_0136:UC,VIDIS_0190:ZC,VIDIS_0210:WC,VIDIS_0211:YC,VIDIS_0230:KC,VIDIS_0290:QC,VIDIS_0330:XC,VIDIS_0435:JC,VIDIS_0440:eD,VIDIS_5000:tD,VIDIS_7000:nD,VIDIS_3150:rD,VIDIS_3090:aD,VIDIS_3140:iD,VIDIS_3100:oD,VIDIS_3120:sD,VIDIS_0400:lD,VIDIS_3030:uD,VIDIS_0100:cD,VIDIS_0120:dD,VIDIS_0110:hD,VIDIS_0200:pD,VIDIS_0340:mD,VIDIS_0341:fD,VIDIS_04001:gD,prescriptionList:vD,general:bD,"no-access":yD,myHealth:_D,myHealthUrl:wD,network_error:xD,invalid_date_format:ED,"status-message-title":SD,"status-message-content":kD,"has-hidden-prescriptions":CD,"report-message-title":DD,"report-message-explanation":ID,"report-message-content":TD,"report-message-term-use":RD,"report-message-link":OD,"report-message-report-button":ND,"report-message-ignore-button":MD,"report-message-confirm-toast":AD,"data-not-available-title":PD,"action-not-authorized-title":LD,"action-not-authorized-close-button":FD,"incorrect-elements-ms-list":jD,"incorrect-elements-ms-detail":VD},zD={};he(zD,{VIDIS_0035:()=>BD,VIDIS_0050:()=>HD,VIDIS_0090:()=>qD,VIDIS_0100:()=>y2,VIDIS_0110:()=>w2,VIDIS_0120:()=>_2,VIDIS_0121:()=>$D,VIDIS_0122:()=>GD,VIDIS_0123:()=>UD,VIDIS_0124:()=>ZD,VIDIS_0125:()=>WD,VIDIS_0126:()=>YD,VIDIS_0131:()=>KD,VIDIS_0132:()=>QD,VIDIS_0133:()=>XD,VIDIS_0134:()=>JD,VIDIS_0135:()=>e2,VIDIS_0136:()=>t2,VIDIS_0190:()=>n2,VIDIS_0200:()=>x2,VIDIS_0210:()=>r2,VIDIS_0211:()=>a2,VIDIS_0230:()=>i2,VIDIS_0290:()=>o2,VIDIS_0330:()=>s2,VIDIS_0340:()=>E2,VIDIS_0341:()=>S2,VIDIS_0400:()=>v2,VIDIS_04001:()=>k2,VIDIS_0435:()=>l2,VIDIS_0440:()=>u2,VIDIS_3030:()=>b2,VIDIS_3090:()=>p2,VIDIS_3100:()=>f2,VIDIS_3120:()=>g2,VIDIS_3140:()=>m2,VIDIS_3150:()=>h2,VIDIS_5000:()=>c2,VIDIS_7000:()=>d2,"action-not-authorized-close-button":()=>U2,"action-not-authorized-title":()=>G2,"data-not-available-title":()=>$2,default:()=>Lie,general:()=>D2,"has-hidden-prescriptions":()=>P2,"incorrect-elements-ms-detail":()=>W2,"incorrect-elements-ms-list":()=>Z2,invalid_date_format:()=>N2,myHealth:()=>T2,myHealthUrl:()=>R2,network_error:()=>O2,"no-access":()=>I2,prescriptionList:()=>C2,"report-message-confirm-toast":()=>q2,"report-message-content":()=>j2,"report-message-explanation":()=>F2,"report-message-ignore-button":()=>H2,"report-message-link":()=>z2,"report-message-report-button":()=>B2,"report-message-term-use":()=>V2,"report-message-title":()=>L2,"status-message-content":()=>A2,"status-message-title":()=>M2});var BD="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",HD="The patient's NISS number is missing (VIDIS_0050)",qD="The personal information provided was not recognised. (VIDIS_0090)",$D="Consulting data of a Brussels patient is currently not authorised.",GD="Consulting data of a Walloon patient is currently not authorised.",UD="Consulting data of a Brussels child by a parent is currently not authorised.",ZD="Consulting data of a Walloon child by a parent is currently not authorised.",WD="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",YD="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",KD="Access to the data of a Brussels patient is currently not permitted.",QD="Access to the data of a Walloon patient is currently not permitted.",XD="A parent’s access to the data of a Brussels child is currently not permitted.",JD="A parent’s access to the data of a Walloon child is currently not permitted.",e2="A representative’s access to the data of a Brussels patient is currently not permitted.",t2="A representative’s access to the data of a Walloon patient is currently not permitted.",n2="The patient's NISS number is invalid. (VIDIS_0190)",r2="The login was unsuccessful. Please try again. (VIDIS_0210)",a2="The login was unsuccessful. Please try again. (VIDIS_0211)",i2="The request is invalid. (VIDIS_0230)",o2="User role must be citizen. (VIDIS_0290)",s2="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)",l2="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",u2="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",c2="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",d2="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",h2="No mandate found between patient and mandateholder.",p2="Prescription has expired.",m2="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.",f2="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",g2="The patient in the session is different from the patient in the request.",v2="User is not authorized to make the request.",b2="No mandate found between patient and mandateholder.",y2="Operation is not allowed.",_2="A therapeutic relation between the requester and the patient is not available.",w2="There is no consent to share personal health information.",x2="User is not allowed to perform the operation due to an exclusion between requester and patient.",E2="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",S2="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",k2="Your request is invalid. Please try again later.",C2="Unfortunately the details of the prescription could not be retrieved. Please try again.",D2="An internal technical error has occured. Please try again later.",I2="An internal technical error has occured. Please try again later.",T2="Back to the MyHealth portal.",R2="https://www.myhealth.belgium.be/",O2="A network error unfortunately has occured. Please contact your network manager if the problem persists.",N2="Invalid date format.",M2="Service temporarily unavailable",A2=`We are currently having a problem connecting to the server.
|
|
34
|
-
Please try again later.`,P2="The patient has hidden one or more prescriptions.",L2="Technical problem",F2="Please try again later.",j2="Help us identify and resolve the issue. By reporting it, you accept ",V2="our terms of use",z2="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",B2="Report the problem",H2="Don't report",q2="The problem has been reported",$2="Data not available",G2="Action not authorized",U2="Close",Z2="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",W2="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",Lie={VIDIS_0035:BD,VIDIS_0050:HD,VIDIS_0090:qD,VIDIS_0121:$D,VIDIS_0122:GD,VIDIS_0123:UD,VIDIS_0124:ZD,VIDIS_0125:WD,VIDIS_0126:YD,VIDIS_0131:KD,VIDIS_0132:QD,VIDIS_0133:XD,VIDIS_0134:JD,VIDIS_0135:e2,VIDIS_0136:t2,VIDIS_0190:n2,VIDIS_0210:r2,VIDIS_0211:a2,VIDIS_0230:i2,VIDIS_0290:o2,VIDIS_0330:s2,VIDIS_0435:l2,VIDIS_0440:u2,VIDIS_5000:c2,VIDIS_7000:d2,VIDIS_3150:h2,VIDIS_3090:p2,VIDIS_3140:m2,VIDIS_3100:f2,VIDIS_3120:g2,VIDIS_0400:v2,VIDIS_3030:b2,VIDIS_0100:y2,VIDIS_0120:_2,VIDIS_0110:w2,VIDIS_0200:x2,VIDIS_0340:E2,VIDIS_0341:S2,VIDIS_04001:k2,prescriptionList:C2,general:D2,"no-access":I2,myHealth:T2,myHealthUrl:R2,network_error:O2,invalid_date_format:N2,"status-message-title":M2,"status-message-content":A2,"has-hidden-prescriptions":P2,"report-message-title":L2,"report-message-explanation":F2,"report-message-content":j2,"report-message-term-use":V2,"report-message-link":z2,"report-message-report-button":B2,"report-message-ignore-button":H2,"report-message-confirm-toast":q2,"data-not-available-title":$2,"action-not-authorized-title":G2,"action-not-authorized-close-button":U2,"incorrect-elements-ms-list":Z2,"incorrect-elements-ms-detail":W2},Y2={};he(Y2,{VIDIS_0035:()=>K2,VIDIS_0050:()=>Q2,VIDIS_0090:()=>X2,VIDIS_0100:()=>II,VIDIS_0110:()=>RI,VIDIS_0120:()=>TI,VIDIS_0121:()=>J2,VIDIS_0122:()=>eI,VIDIS_0123:()=>tI,VIDIS_0124:()=>nI,VIDIS_0125:()=>rI,VIDIS_0126:()=>aI,VIDIS_0131:()=>iI,VIDIS_0132:()=>oI,VIDIS_0133:()=>sI,VIDIS_0134:()=>lI,VIDIS_0135:()=>uI,VIDIS_0136:()=>cI,VIDIS_0190:()=>dI,VIDIS_0200:()=>OI,VIDIS_0210:()=>hI,VIDIS_0211:()=>pI,VIDIS_0230:()=>mI,VIDIS_0290:()=>fI,VIDIS_0330:()=>gI,VIDIS_0340:()=>NI,VIDIS_0341:()=>MI,VIDIS_0400:()=>CI,VIDIS_04001:()=>AI,VIDIS_0435:()=>vI,VIDIS_0440:()=>bI,VIDIS_3030:()=>DI,VIDIS_3090:()=>xI,VIDIS_3100:()=>SI,VIDIS_3120:()=>kI,VIDIS_3140:()=>EI,VIDIS_3150:()=>wI,VIDIS_5000:()=>yI,VIDIS_7000:()=>_I,"action-not-authorized-close-button":()=>tT,"action-not-authorized-title":()=>eT,"data-not-available-title":()=>JI,default:()=>Fie,general:()=>LI,"has-hidden-prescriptions":()=>$I,"incorrect-elements-ms-detail":()=>rT,"incorrect-elements-ms-list":()=>nT,invalid_date_format:()=>BI,myHealth:()=>jI,myHealthUrl:()=>VI,network_error:()=>zI,"no-access":()=>FI,prescriptionList:()=>PI,"report-message-confirm-toast":()=>XI,"report-message-content":()=>ZI,"report-message-explanation":()=>UI,"report-message-ignore-button":()=>QI,"report-message-link":()=>YI,"report-message-report-button":()=>KI,"report-message-term-use":()=>WI,"report-message-title":()=>GI,"status-message-content":()=>qI,"status-message-title":()=>HI});var K2="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",Q2="Le NISS du patient est manquant. (VIDIS_0050)",X2="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",J2="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",eI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",tI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",nI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",rI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",aI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",iI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",oI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",sI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",lI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",uI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",cI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",dI="Le NISS du patient n’est pas valide. (VIDIS_0190)",hI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",pI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",mI="L’opération n’est pas valide. (VIDIS_0230)",fI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",gI="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)",vI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",bI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",yI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",_I="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",wI="Aucun mandat trouvé entre le patient et le mandataire.",xI="L’ordonnance est expirée.",EI="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.",SI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",kI="Le patient dans la session est différent de celui dans la demande.",CI="L’utilisateur n’est pas autorisé à effectuer la requête.",DI="Aucun mandat trouvé entre le patient et le mandataire.",II="Opération non autorisée.",TI="Aucune relation thérapeutique entre le demandeur et le patient.",RI="Aucun consentement au partage des données de santé.",OI="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",NI="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",MI="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",AI="Votre requête est invalide. Veuillez réessayer plus tard.",PI="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",LI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",FI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",jI="Revenir au portail MaSanté",VI="https://wwwint.masante.belgique.be/#/",zI="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",BI="Le format de date est invalide.",HI="Service temporairement indisponible",qI=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
35
|
-
Veuillez réessayer plus tard.`,$I="Le patient a masqué une ou plusieurs prescriptions.",GI="Problème technique",UI="Veuillez réessayer plus tard.",ZI="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",WI="conditions d'utilisation",YI="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",KI="Signaler le problème",QI="Ignorer",XI="Le problème a été signalé",JI="Données non disponibles",eT="Action non autorisée",tT="Fermer",nT="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",rT="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",Fie={VIDIS_0035:K2,VIDIS_0050:Q2,VIDIS_0090:X2,VIDIS_0121:J2,VIDIS_0122:eI,VIDIS_0123:tI,VIDIS_0124:nI,VIDIS_0125:rI,VIDIS_0126:aI,VIDIS_0131:iI,VIDIS_0132:oI,VIDIS_0133:sI,VIDIS_0134:lI,VIDIS_0135:uI,VIDIS_0136:cI,VIDIS_0190:dI,VIDIS_0210:hI,VIDIS_0211:pI,VIDIS_0230:mI,VIDIS_0290:fI,VIDIS_0330:gI,VIDIS_0435:vI,VIDIS_0440:bI,VIDIS_5000:yI,VIDIS_7000:_I,VIDIS_3150:wI,VIDIS_3090:xI,VIDIS_3140:EI,VIDIS_3100:SI,VIDIS_3120:kI,VIDIS_0400:CI,VIDIS_3030:DI,VIDIS_0100:II,VIDIS_0120:TI,VIDIS_0110:RI,VIDIS_0200:OI,VIDIS_0340:NI,VIDIS_0341:MI,VIDIS_04001:AI,prescriptionList:PI,general:LI,"no-access":FI,myHealth:jI,myHealthUrl:VI,network_error:zI,invalid_date_format:BI,"status-message-title":HI,"status-message-content":qI,"has-hidden-prescriptions":$I,"report-message-title":GI,"report-message-explanation":UI,"report-message-content":ZI,"report-message-term-use":WI,"report-message-link":YI,"report-message-report-button":KI,"report-message-ignore-button":QI,"report-message-confirm-toast":XI,"data-not-available-title":JI,"action-not-authorized-title":eT,"action-not-authorized-close-button":tT,"incorrect-elements-ms-list":nT,"incorrect-elements-ms-detail":rT},aT={};he(aT,{VIDIS_0035:()=>iT,VIDIS_0050:()=>oT,VIDIS_0090:()=>sT,VIDIS_0100:()=>FT,VIDIS_0110:()=>VT,VIDIS_0120:()=>jT,VIDIS_0121:()=>lT,VIDIS_0122:()=>uT,VIDIS_0123:()=>cT,VIDIS_0124:()=>dT,VIDIS_0125:()=>hT,VIDIS_0126:()=>pT,VIDIS_0131:()=>mT,VIDIS_0132:()=>fT,VIDIS_0133:()=>gT,VIDIS_0134:()=>vT,VIDIS_0135:()=>bT,VIDIS_0136:()=>yT,VIDIS_0190:()=>_T,VIDIS_0200:()=>zT,VIDIS_0210:()=>wT,VIDIS_0211:()=>xT,VIDIS_0230:()=>ET,VIDIS_0290:()=>ST,VIDIS_0330:()=>kT,VIDIS_0340:()=>BT,VIDIS_0341:()=>HT,VIDIS_0400:()=>PT,VIDIS_04001:()=>qT,VIDIS_0435:()=>CT,VIDIS_0440:()=>DT,VIDIS_3030:()=>LT,VIDIS_3090:()=>OT,VIDIS_3100:()=>MT,VIDIS_3120:()=>AT,VIDIS_3140:()=>NT,VIDIS_3150:()=>RT,VIDIS_5000:()=>IT,VIDIS_7000:()=>TT,"action-not-authorized-close-button":()=>cR,"action-not-authorized-title":()=>uR,"data-not-available-title":()=>lR,default:()=>jie,general:()=>GT,"has-hidden-prescriptions":()=>JT,"incorrect-elements-ms-detail":()=>hR,"incorrect-elements-ms-list":()=>dR,invalid_date_format:()=>KT,myHealth:()=>ZT,myHealthUrl:()=>WT,network_error:()=>YT,"no-access":()=>UT,prescriptionList:()=>$T,"report-message-confirm-toast":()=>sR,"report-message-content":()=>nR,"report-message-explanation":()=>tR,"report-message-ignore-button":()=>oR,"report-message-link":()=>aR,"report-message-report-button":()=>iR,"report-message-term-use":()=>rR,"report-message-title":()=>eR,"status-message-content":()=>XT,"status-message-title":()=>QT});var iT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",oT="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",sT="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",lT="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",uT="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",cT="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",dT="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",hT="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",pT="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",mT="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",fT="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",gT="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",vT="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",bT="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",yT="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",_T="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",wT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",xT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",ET="Het verzoek is ongeldig. (VIDIS_0230)",ST="Gebruikersrol moet burger zijn. (VIDIS_0290)",kT="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)",CT="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",DT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",IT="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",TT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",RT="Geen mandaat gevonden tussen patiënt en mandataris.",OT="Voorschrift is verlopen.",NT="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.",MT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",AT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",PT="De gebruiker is niet gemachtigd om de aanvraag te doen.",LT="Geen mandaat gevonden tussen patiënt en mandataris.",FT="Bewerking is niet toegestaan.",jT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",VT="Er is geen toestemming om gezondheidsgegevens te delen.",zT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",BT="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",HT="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",qT="Uw verzoek is ongeldig. Probeer later opnieuw.",$T="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",GT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",UT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",ZT="Terug naar het MijnGezondheid portaal",WT="http://wwwint.mijngezondheid.belgie.be/",YT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",KT="Ongeldig datumformaat.",QT="Service tijdelijk niet beschikbaar",XT=`Er is momenteel een probleem met de verbinding met de server.
|
|
36
|
-
Probeer het later nog eens.`,JT="De patiënt heeft 1 of meerdere voorschriften verborgen.",eR="Technisch probleem",tR="Probeer het later opnieuw.",nR="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",rR="gebruiksvoorwaarden",aR="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",iR="Probleem melden",oR="Niet melden",sR="Het probleem is gemeld",lR="Gegevens niet beschikbaar",uR="Actie niet toegestaan",cR="Sluiten",dR="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",hR="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",jie={VIDIS_0035:iT,VIDIS_0050:oT,VIDIS_0090:sT,VIDIS_0121:lT,VIDIS_0122:uT,VIDIS_0123:cT,VIDIS_0124:dT,VIDIS_0125:hT,VIDIS_0126:pT,VIDIS_0131:mT,VIDIS_0132:fT,VIDIS_0133:gT,VIDIS_0134:vT,VIDIS_0135:bT,VIDIS_0136:yT,VIDIS_0190:_T,VIDIS_0210:wT,VIDIS_0211:xT,VIDIS_0230:ET,VIDIS_0290:ST,VIDIS_0330:kT,VIDIS_0435:CT,VIDIS_0440:DT,VIDIS_5000:IT,VIDIS_7000:TT,VIDIS_3150:RT,VIDIS_3090:OT,VIDIS_3140:NT,VIDIS_3100:MT,VIDIS_3120:AT,VIDIS_0400:PT,VIDIS_3030:LT,VIDIS_0100:FT,VIDIS_0120:jT,VIDIS_0110:VT,VIDIS_0200:zT,VIDIS_0340:BT,VIDIS_0341:HT,VIDIS_04001:qT,prescriptionList:$T,general:GT,"no-access":UT,myHealth:ZT,myHealthUrl:WT,network_error:YT,invalid_date_format:KT,"status-message-title":QT,"status-message-content":XT,"has-hidden-prescriptions":JT,"report-message-title":eR,"report-message-explanation":tR,"report-message-content":nR,"report-message-term-use":rR,"report-message-link":aR,"report-message-report-button":iR,"report-message-ignore-button":oR,"report-message-confirm-toast":sR,"data-not-available-title":lR,"action-not-authorized-title":uR,"action-not-authorized-close-button":cR,"incorrect-elements-ms-list":dR,"incorrect-elements-ms-detail":hR},Vie={nl:aT,fr:Y2,de:OC,en:zD},pR={};he(pR,{1:()=>mR,10:()=>ER,11:()=>SR,12:()=>kR,13:()=>CR,14:()=>DR,15:()=>IR,16:()=>TR,17:()=>RR,18:()=>OR,19:()=>NR,2:()=>fR,20:()=>MR,21:()=>AR,22:()=>PR,23:()=>LR,24:()=>FR,25:()=>jR,26:()=>VR,27:()=>zR,28:()=>BR,29:()=>HR,3:()=>gR,30:()=>qR,31:()=>$R,32:()=>GR,33:()=>UR,34:()=>ZR,4:()=>vR,40:()=>WR,41:()=>YR,5:()=>bR,6:()=>yR,7:()=>_R,71:()=>KR,8:()=>wR,9:()=>xR,90:()=>QR,91:()=>XR,92:()=>JR,93:()=>eO,default:()=>zie});var mR="Gelatinekapseln",fR="Tabletten",gR="Creme",vR="Gel",bR="Paste",yR="Fette Salbe",_R="Granulat",wR="Zäpfchen für Erwachsene",xR="Zäpfchen für Kinder",ER="Vaginalzäpfchen",SR="Rektiole",kR="nicht gespaltenes Pulver innerliche Anwendung",CR="nicht gespaltenes Pulver äußerliche Anwendung",DR="Inhalation",IR="Pulver Zum Spalten innerliche Anwendung",TR="Pulver Zum Spalten äußerliche Anwendung",RR="Nasentropfen",OR="Nasensalbe",NR="Sirup",MR="Lösung innerliche Anwendung",AR="Lösung äußerliche Anwendung",PR="Tropfen innerliche Anwendung",LR="Tropfen äußerliche Anwendung",FR="Emulsion innerliche Anwendung",jR="Emulsion äußerliche Anwendung",VR="Shampoo",zR="Augentropfen",BR="Augenlotion",HR="Augenbad",qR="Salbe",$R="Augensalbe ",GR="Ohrentropfen",UR="Suspension innerliche Anwendung",ZR="Suspension äußerliche Anwendung",WR="Kräutermischung",YR="Tee",KR="enterische Kapseln",QR="derartig",XR="Dermatologie (fest) derartig",JR="Pulver derartig",eO="Lösung derartig",zie={1:mR,2:fR,3:gR,4:vR,5:bR,6:yR,7:_R,8:wR,9:xR,10:ER,11:SR,12:kR,13:CR,14:DR,15:IR,16:TR,17:RR,18:OR,19:NR,20:MR,21:AR,22:PR,23:LR,24:FR,25:jR,26:VR,27:zR,28:BR,29:HR,30:qR,31:$R,32:GR,33:UR,34:ZR,40:WR,41:YR,71:KR,90:QR,91:XR,92:JR,93:eO},tO={};he(tO,{1:()=>nO,10:()=>dO,11:()=>hO,12:()=>pO,13:()=>mO,14:()=>fO,15:()=>gO,16:()=>vO,17:()=>bO,18:()=>yO,19:()=>_O,2:()=>rO,20:()=>wO,21:()=>xO,22:()=>EO,23:()=>SO,24:()=>kO,25:()=>CO,26:()=>DO,27:()=>IO,28:()=>TO,29:()=>RO,3:()=>aO,30:()=>OO,31:()=>NO,32:()=>MO,33:()=>AO,34:()=>PO,4:()=>iO,40:()=>LO,41:()=>FO,5:()=>oO,6:()=>sO,7:()=>lO,71:()=>jO,8:()=>uO,9:()=>cO,90:()=>VO,91:()=>zO,92:()=>BO,93:()=>HO,default:()=>Bie});var nO="Capsules",rO="Tablets",aO="Cream",iO="Gel",oO="Paste",sO="Fatty ointment",lO="Granulate",uO="Adult suppository",cO="Child suppository",dO="Vaginal ovules",hO="Rectiole",pO="Undivided powder for internal use",mO="Undivided powder for external use",fO="Inhalation",gO="Divided powders for internal use",vO="Divided powders for external use",bO="Nasal drops",yO="Nasal ointment",_O="Syrup",wO="Solution for internal use",xO="Solution for external use",EO="Drops for internal use",SO="Drops for external use",kO="Emulsion for internal use",CO="Emulsion for external use",DO="Shampoo",IO="Eye drops",TO="Eye lotion",RO="Eye bath",OO="Ointment",NO="Eye ointment",MO="Ear drops",AO="Suspension for internal use",PO="Suspension for external use",LO="Herbal mixture",FO="Tea",jO="Enteric-coated capsules",VO="As is",zO="Dermatology (solid) as is",BO="Powder as is",HO="Liquid as is",Bie={1:nO,2:rO,3:aO,4:iO,5:oO,6:sO,7:lO,8:uO,9:cO,10:dO,11:hO,12:pO,13:mO,14:fO,15:gO,16:vO,17:bO,18:yO,19:_O,20:wO,21:xO,22:EO,23:SO,24:kO,25:CO,26:DO,27:IO,28:TO,29:RO,30:OO,31:NO,32:MO,33:AO,34:PO,40:LO,41:FO,71:jO,90:VO,91:zO,92:BO,93:HO},qO={};he(qO,{1:()=>$O,10:()=>JO,11:()=>eN,12:()=>tN,13:()=>nN,14:()=>rN,15:()=>aN,16:()=>iN,17:()=>oN,18:()=>sN,19:()=>lN,2:()=>GO,20:()=>uN,21:()=>cN,22:()=>dN,23:()=>hN,24:()=>pN,25:()=>mN,26:()=>fN,27:()=>gN,28:()=>vN,29:()=>bN,3:()=>UO,30:()=>yN,31:()=>_N,32:()=>wN,33:()=>xN,34:()=>EN,4:()=>ZO,40:()=>SN,41:()=>kN,5:()=>WO,6:()=>YO,7:()=>KO,71:()=>CN,8:()=>QO,9:()=>XO,90:()=>DN,91:()=>IN,92:()=>TN,93:()=>RN,default:()=>Hie});var $O="Gélules",GO="Cachets / comprimés",UO="Crème",ZO="Gel",WO="Pâte",YO="Pommade grasse",KO="Granulé",QO="Suppo adulte",XO="Suppo enfant",JO="Ovules vaginales",eN="Rectiole",tN="Poudre non-divisée usage interne",nN="Poudre non-divisée usage externe",rN="Inhalation",aN="Poudres à diviser usage interne",iN="Poudres à diviser usage externe",oN="Gouttes nasales",sN="Pommade nasale",lN="Sirop",uN="Solution usage interne",cN="Solution usage externe",dN="Gouttes usage interne",hN="Gouttes usage externe",pN="Emulsion usage interne",mN="Emulsion usage externe",fN="Shampooing",gN="Gouttes ophtalmiques",vN="Lotion ophtalmique",bN="Bain ophtalmique",yN="Pommade",_N="Pommade ophtalmique",wN="Gouttes auriculaires",xN="Suspension usage interne",EN="Suspension usage externe",SN="Mélange de plantes",kN="Thé",CN="Gélules à enrobage entérique / Gélules entériques",DN="en tant que tel/telle",IN="Dermatologie (solide) en tant que telle",TN="Poudre en tant que telle ",RN="Solution en tant que telle ",Hie={1:$O,2:GO,3:UO,4:ZO,5:WO,6:YO,7:KO,8:QO,9:XO,10:JO,11:eN,12:tN,13:nN,14:rN,15:aN,16:iN,17:oN,18:sN,19:lN,20:uN,21:cN,22:dN,23:hN,24:pN,25:mN,26:fN,27:gN,28:vN,29:bN,30:yN,31:_N,32:wN,33:xN,34:EN,40:SN,41:kN,71:CN,90:DN,91:IN,92:TN,93:RN},ON={};he(ON,{1:()=>NN,10:()=>BN,11:()=>HN,12:()=>qN,13:()=>$N,14:()=>GN,15:()=>UN,16:()=>ZN,17:()=>WN,18:()=>YN,19:()=>KN,2:()=>MN,20:()=>QN,21:()=>XN,22:()=>JN,23:()=>eM,24:()=>tM,25:()=>nM,26:()=>rM,27:()=>aM,28:()=>iM,29:()=>oM,3:()=>AN,30:()=>sM,31:()=>lM,32:()=>uM,33:()=>cM,34:()=>dM,4:()=>PN,40:()=>hM,41:()=>pM,5:()=>LN,6:()=>FN,7:()=>jN,71:()=>mM,8:()=>VN,9:()=>zN,90:()=>fM,91:()=>gM,92:()=>vM,93:()=>bM,default:()=>qie});var NN="Capsules",MN="Tabletten",AN="Creme",PN="Gel",LN="Pasta",FN="Vette zalf",jN="Granulaat",VN="Suppo volwassene",zN="Suppo kind",BN="Vaginale zetpillen / vaginale ovules",HN="Rektiool",qN="Niet-verdeeld poeder inwendig gebruik",$N="Niet-verdeeld poeder uitwendig gebruik",GN="Inhalatie",UN="Te verdelen poeders inwendig gebruik",ZN="Te verdelen poeders uitwendig gebruik",WN="Neusdruppels",YN="Neuszalf",KN="Siroop",QN="Oplossing inwendig gebruik",XN="Oplossing uitwendig gebruik",JN="Druppels inwendig gebruik",eM="Druppels uitwendig gebruik",tM="Emulsie inwendig gebruik",nM="Emulsie uitwendig gebruik",rM="Shampoo",aM="Oogdruppels",iM="Ooglotion",oM="Oogbad",sM="Zalf",lM="Oogzalf",uM="Oordruppels",cM="Suspensie inwendig gebruik",dM="Suspensie uitwendig gebruik",hM="Kruidenmengsel",pM="Thee",mM="enterisch omhulde capsules",fM="Als dusdanig",gM="Als dusdanig dermatologie (vast)",vM="Als dusdanig poeder",bM="Als dusdanig vloeistof",qie={1:NN,2:MN,3:AN,4:PN,5:LN,6:FN,7:jN,8:VN,9:zN,10:BN,11:HN,12:qN,13:$N,14:GN,15:UN,16:ZN,17:WN,18:YN,19:KN,20:QN,21:XN,22:JN,23:eM,24:tM,25:nM,26:rM,27:aM,28:iM,29:oM,30:sM,31:lM,32:uM,33:cM,34:dM,40:hM,41:pM,71:mM,90:fM,91:gM,92:vM,93:bM},$ie={nl:ON,fr:qO,de:pR,en:tO},yM={};he(yM,{close:()=>_M,default:()=>Gie,downloadLeaflet:()=>wM,file:()=>xM,notSpecified:()=>EM,patient:()=>kM,prescribedOn:()=>DM,prescriber:()=>CM,prescription:()=>SM});var _M="Schließen",wM="Download Packungsbeilage (pdf)",xM="feile",EM="Nicht angegeben",SM="Rezept",kM="Patient",CM="Verordnende Person",DM="Drucken",Gie={close:_M,downloadLeaflet:wM,file:xM,notSpecified:EM,prescription:SM,patient:kM,prescriber:CM,prescribedOn:DM},IM={};he(IM,{close:()=>TM,default:()=>Uie,downloadLeaflet:()=>RM,file:()=>OM,notSpecified:()=>NM,patient:()=>AM,prescribedOn:()=>LM,prescriber:()=>PM,prescription:()=>MM});var TM="Close",RM="Download leaflet (pdf)",OM="file",NM="Not specified",MM="Prescription",AM="Patient",PM="Prescriber",LM="Prescribed on",Uie={close:TM,downloadLeaflet:RM,file:OM,notSpecified:NM,prescription:MM,patient:AM,prescriber:PM,prescribedOn:LM},FM={};he(FM,{close:()=>jM,default:()=>Zie,downloadLeaflet:()=>VM,file:()=>zM,notSpecified:()=>BM,patient:()=>qM,prescribedOn:()=>GM,prescriber:()=>$M,prescription:()=>HM});var jM="Fermer",VM="Télécharger la notice (pdf)",zM="fichier",BM="Non spécifié",HM="Prescription",qM="Patient",$M="Prescripteur",GM="Prescrit le",Zie={close:jM,downloadLeaflet:VM,file:zM,notSpecified:BM,prescription:HM,patient:qM,prescriber:$M,prescribedOn:GM},UM={};he(UM,{close:()=>ZM,default:()=>Wie,downloadLeaflet:()=>WM,file:()=>YM,notSpecified:()=>KM,patient:()=>XM,prescribedOn:()=>eA,prescriber:()=>JM,prescription:()=>QM});var ZM="Sluiten",WM="Download bijsluiter (pdf)",YM="bestand",KM="Niet gespecificeerd",QM="Voorschrift",XM="Patiënt",JM="Voorschrijver",eA="Voorgeschreven op",Wie={close:ZM,downloadLeaflet:WM,file:YM,notSpecified:KM,prescription:QM,patient:XM,prescriber:JM,prescribedOn:eA},Yie={nl:UM,fr:FM,de:yM,en:IM},tA={};he(tA,{afterbreakfast:()=>nA,afterdinner:()=>rA,afterlunch:()=>aA,aftermeal:()=>iA,afternoon:()=>oA,beforebreakfast:()=>sA,beforedinner:()=>lA,beforelunch:()=>uA,betweenbreakfastandlunch:()=>cA,betweendinnerandsleep:()=>dA,betweenlunchanddinner:()=>hA,betweenmeals:()=>pA,breakfast:()=>mA,default:()=>Kie,dinner:()=>fA,duringbreakfast:()=>gA,duringdinner:()=>vA,duringlunch:()=>bA,evening:()=>yA,lunch:()=>_A,morning:()=>wA,night:()=>xA,thehourofsleep:()=>EA});var nA="nach dem Frühstück",rA="nach dem Abendessen",aA="nach dem Mittagessen",iA="nach dem Essen",oA="Nachmittag",sA="vor dem Frühstück",lA="vor dem Abendessen",uA="vor dem Mittagessen",cA="zwischen Frühstück und Mittagessen",dA="zwischen Abendessen und Nachtruhe",hA="zwischen Mittagessen und Abendessen",pA="zwischen den Mahlzeiten",mA="Frühstück",fA="Abendessen",gA="zum Frühstück",vA="zum Abendessen",bA="zum Mittagessen",yA="Abend",_A="Mittagessen",wA="Vormittag",xA="Nacht",EA="Nachtruhe",Kie={afterbreakfast:nA,afterdinner:rA,afterlunch:aA,aftermeal:iA,afternoon:oA,beforebreakfast:sA,beforedinner:lA,beforelunch:uA,betweenbreakfastandlunch:cA,betweendinnerandsleep:dA,betweenlunchanddinner:hA,betweenmeals:pA,breakfast:mA,dinner:fA,duringbreakfast:gA,duringdinner:vA,duringlunch:bA,evening:yA,lunch:_A,morning:wA,night:xA,thehourofsleep:EA},SA={};he(SA,{afterbreakfast:()=>kA,afterdinner:()=>CA,afterlunch:()=>DA,aftermeal:()=>IA,afternoon:()=>TA,beforebreakfast:()=>RA,beforedinner:()=>OA,beforelunch:()=>NA,betweenbreakfastandlunch:()=>MA,betweendinnerandsleep:()=>AA,betweenlunchanddinner:()=>PA,betweenmeals:()=>LA,breakfast:()=>FA,default:()=>Qie,dinner:()=>jA,duringbreakfast:()=>VA,duringdinner:()=>zA,duringlunch:()=>BA,evening:()=>HA,lunch:()=>qA,morning:()=>$A,night:()=>GA,thehourofsleep:()=>UA});var kA="after breakfast",CA="after dinner",DA="after lunch",IA="after meal",TA="afternoon",RA="before breakfast",OA="before dinner",NA="before lunch",MA="between breakfast and lunch",AA="between dinner and the hour of sleep",PA="between lunch and dinner",LA="between meals",FA="breakfast",jA="dinner",VA="during breakfast",zA="during dinner",BA="during lunch",HA="evening",qA="lunch",$A="morning",GA="night",UA="the hour of sleep",Qie={afterbreakfast:kA,afterdinner:CA,afterlunch:DA,aftermeal:IA,afternoon:TA,beforebreakfast:RA,beforedinner:OA,beforelunch:NA,betweenbreakfastandlunch:MA,betweendinnerandsleep:AA,betweenlunchanddinner:PA,betweenmeals:LA,breakfast:FA,dinner:jA,duringbreakfast:VA,duringdinner:zA,duringlunch:BA,evening:HA,lunch:qA,morning:$A,night:GA,thehourofsleep:UA},ZA={};he(ZA,{afterbreakfast:()=>WA,afterdinner:()=>YA,afterlunch:()=>KA,aftermeal:()=>QA,afternoon:()=>XA,beforebreakfast:()=>JA,beforedinner:()=>eP,beforelunch:()=>tP,betweenbreakfastandlunch:()=>nP,betweendinnerandsleep:()=>rP,betweenlunchanddinner:()=>aP,betweenmeals:()=>iP,breakfast:()=>oP,default:()=>Xie,dinner:()=>sP,duringbreakfast:()=>lP,duringdinner:()=>uP,duringlunch:()=>cP,evening:()=>dP,lunch:()=>hP,morning:()=>pP,night:()=>mP,thehourofsleep:()=>fP});var WA="après le petit-déjeuner",YA="après le repas du soir",KA="après le repas du midi",QA="après le repas",XA="après-midi",JA="avant le petit-déjeuner",eP="avant le repas du soir",tP="avant le repas du midi",nP="entre le petit-déjeuner et le repas du midi",rP="entre le repas du soir et l’heure du coucher",aP="entre le repas du midi et le repas du soir",iP="entre les repas",oP="petit-déjeuner",sP="repas du soir",lP="pendant le petit-déjeuner",uP="pendant le repas du soir",cP="pendant le repas du midi",dP="soir",hP="repas du midi",pP="matin",mP="nuit",fP="heure du coucher",Xie={afterbreakfast:WA,afterdinner:YA,afterlunch:KA,aftermeal:QA,afternoon:XA,beforebreakfast:JA,beforedinner:eP,beforelunch:tP,betweenbreakfastandlunch:nP,betweendinnerandsleep:rP,betweenlunchanddinner:aP,betweenmeals:iP,breakfast:oP,dinner:sP,duringbreakfast:lP,duringdinner:uP,duringlunch:cP,evening:dP,lunch:hP,morning:pP,night:mP,thehourofsleep:fP},gP={};he(gP,{afterbreakfast:()=>vP,afterdinner:()=>bP,afterlunch:()=>yP,aftermeal:()=>_P,afternoon:()=>wP,beforebreakfast:()=>xP,beforedinner:()=>EP,beforelunch:()=>SP,betweenbreakfastandlunch:()=>kP,betweendinnerandsleep:()=>CP,betweenlunchanddinner:()=>DP,betweenmeals:()=>IP,breakfast:()=>TP,default:()=>Jie,dinner:()=>RP,duringbreakfast:()=>OP,duringdinner:()=>NP,duringlunch:()=>MP,evening:()=>AP,lunch:()=>PP,morning:()=>LP,night:()=>FP,thehourofsleep:()=>jP});var vP="na het ontbijt",bP="na het avondmaal",yP="na het middagmaal",_P="na de maaltijd",wP="namiddag",xP="voor het ontbijt",EP="voor het avondmaal",SP="voor het middagmaal",kP="tussen het ontbijt en het middagmaal",CP="tussen het avondmaal en het slapen gaan",DP="tussen het middagmaal en het avondmaal",IP="tussen de maaltijden",TP="ontbijt",RP="avondmaal",OP="tijdens het ontbijt",NP="tijdens het avondmaal",MP="tijdens het middagmaal",AP="'s avonds",PP="middagmaal",LP="'s ochtends",FP="'s nachts",jP="voor het slapen gaan",Jie={afterbreakfast:vP,afterdinner:bP,afterlunch:yP,aftermeal:_P,afternoon:wP,beforebreakfast:xP,beforedinner:EP,beforelunch:SP,betweenbreakfastandlunch:kP,betweendinnerandsleep:CP,betweenlunchanddinner:DP,betweenmeals:IP,breakfast:TP,dinner:RP,duringbreakfast:OP,duringdinner:NP,duringlunch:MP,evening:AP,lunch:PP,morning:LP,night:FP,thehourofsleep:jP},eoe={nl:gP,fr:ZA,de:tA,en:SA},VP={};he(VP,{day:()=>zP,default:()=>toe,during:()=>qP,on:()=>HP,week:()=>BP});var zP="Tag",BP="Woche",HP="am",qP="für",toe={day:zP,week:BP,on:HP,during:qP},$P={};he($P,{day:()=>GP,default:()=>noe,during:()=>WP,on:()=>ZP,week:()=>UP});var GP="day",UP="week",ZP="on",WP="during",noe={day:GP,week:UP,on:ZP,during:WP},YP={};he(YP,{day:()=>KP,default:()=>roe,during:()=>JP,on:()=>XP,week:()=>QP});var KP="jour",QP="semaine",XP="le",JP="durant",roe={day:KP,week:QP,on:XP,during:JP},eL={};he(eL,{day:()=>tL,default:()=>aoe,during:()=>aL,on:()=>rL,week:()=>nL});var tL="dag",nL="week",rL="op",aL="gedurende",aoe={day:tL,week:nL,on:rL,during:aL},ioe={nl:eL,fr:YP,de:VP,en:$P},iL={};he(iL,{a:()=>oL,d:()=>uL,default:()=>ooe,hr:()=>cL,min:()=>dL,mo:()=>sL,ms:()=>pL,ns:()=>fL,s:()=>hL,us:()=>mL,wk:()=>lL});var oL="{count} {count, plural, one{Jahr} other{Jahre}}",sL="{count} {count, plural, one{Monat} other{Monate}}",lL="{count} {count, plural, one{Woche} other{Wochen}}",uL="{count} {count, plural, one{Tag} other{Tage}}",cL="{count} {count, plural, one{Stunde} other{Stunden}}",dL="{count} {count, plural, one{Minute} other{Minuten}}",hL="{count} {count, plural, one{Sekunde} other{Sekunden}} ",pL="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",mL="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",fL="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",ooe={a:oL,mo:sL,wk:lL,d:uL,hr:cL,min:dL,s:hL,ms:pL,us:mL,ns:fL},gL={};he(gL,{a:()=>vL,d:()=>_L,default:()=>soe,hr:()=>wL,min:()=>xL,mo:()=>bL,ms:()=>SL,ns:()=>CL,s:()=>EL,us:()=>kL,wk:()=>yL});var vL="{count} {count, plural, one{year} other{years}}",bL="{count} {count, plural, one{month} other{months}}",yL="{count} {count, plural, one{week} other{weeks}}",_L="{count} {count, plural, one{day} other{days}}",wL="{count} {count, plural, one{hour} other{hours}}",xL="{count} {count, plural, one{minute} other{minutes}}",EL="{count} {count, plural, one{second} other{seconds}}",SL="{count} {count, plural, one{millisecond} other{millisecondes}}",kL="{count} {count, plural, one{microsecond} other{microsecondes}}",CL="{count} {count, plural, one{nanosecond} other{nanosecondes}}",soe={a:vL,mo:bL,wk:yL,d:_L,hr:wL,min:xL,s:EL,ms:SL,us:kL,ns:CL},DL={};he(DL,{a:()=>IL,d:()=>OL,default:()=>loe,hr:()=>NL,min:()=>ML,mo:()=>TL,ms:()=>PL,ns:()=>FL,s:()=>AL,us:()=>LL,wk:()=>RL});var IL="{count} {count, plural, one{année} other{années}}",TL="{count} {count, plural, one{mois} other{mois}}",RL="{count} {count, plural, one{semaine} other{semaines}}",OL="{count} {count, plural, one{jour} other{jours}}",NL="{count} {count, plural, one{heure} other{heures}}",ML="{count} {count, plural, one{minute} other{minutes}}",AL="{count} {count, plural, one{seconde} other{secondes}}",PL="{count} {count, plural, one{milliseconde} other{millisecondes}}",LL="{count} {count, plural, one{microseconde} other{microsecondes}}",FL="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",loe={a:IL,mo:TL,wk:RL,d:OL,hr:NL,min:ML,s:AL,ms:PL,us:LL,ns:FL},jL={};he(jL,{a:()=>VL,d:()=>HL,default:()=>uoe,hr:()=>qL,min:()=>$L,mo:()=>zL,ms:()=>UL,ns:()=>WL,s:()=>GL,us:()=>ZL,wk:()=>BL});var VL="{count} {count, plural, one{jaar} other{jaren}}",zL="{count} {count, plural, one{maand} other{maanden}}",BL="{count} {count, plural, one{week} other{weken}}",HL="{count} {count, plural, one{dag} other{dagen}}",qL="{count} {count, plural, one{uur} other{uren}}",$L="{count} {count, plural, one{minuut} other{minuten}}",GL="{count} {count, plural, one{seconde} other{seconden}}",UL="{count} {count, plural, one{milliseconde} other{milliseconden}}",ZL="{count} {count, plural, one{microseconde} other{microseconden}}",WL="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",uoe={a:VL,mo:zL,wk:BL,d:HL,hr:qL,min:$L,s:GL,ms:UL,us:ZL,ns:WL},coe={nl:jL,fr:DL,de:iL,en:gL},YL={};he(YL,{"%":()=>KL,"%vv":()=>i3,"%wv":()=>o3,"%ww":()=>s3,"1000/mm3":()=>wF,amp:()=>QL,atptreatment:()=>tj,bag:()=>XL,bitperminute:()=>l3,bol:()=>u3,bot:()=>c3,box:()=>JL,c:()=>B3,can:()=>d3,cap:()=>h3,cc:()=>p3,cm:()=>m3,cmm:()=>xF,cnt:()=>H3,ctg:()=>zF,ctr:()=>f3,daily:()=>z3,day:()=>EF,default:()=>doe,degree:()=>_F,dis:()=>DF,drm:()=>q3,fl:()=>eF,fld:()=>IF,flo:()=>TF,ftc:()=>RF,fts:()=>OF,"g/dl":()=>tF,gal:()=>BF,gm:()=>nF,goutte:()=>VF,gr:()=>g3,hour:()=>jF,in:()=>v3,inc:()=>b3,jar:()=>y3,kg:()=>rF,"kg/m2":()=>aF,kit:()=>_3,l:()=>iF,lb:()=>oF,lm:()=>$3,loz:()=>j3,mcg:()=>sF,mcl:()=>lF,mcm:()=>HF,mcn:()=>w3,meq:()=>uF,mg:()=>cF,"mg/dl":()=>dF,"mg/l":()=>hF,"mg/m2":()=>pF,"mg/ml":()=>mF,mgper100ml:()=>$F,mic:()=>x3,mil:()=>E3,millisecond:()=>FF,min:()=>S3,minute:()=>NF,mis:()=>G3,ml:()=>fF,"ml/min":()=>gF,"ml/min/1.73m2":()=>L3,mm:()=>MF,"mm/h":()=>AF,mmhg:()=>PF,mmo:()=>k3,mol:()=>vF,month:()=>CF,nl:()=>C3,nmg:()=>U3,nmo:()=>Z3,ns:()=>QF,ondemand:()=>qF,oz:()=>bF,pel:()=>D3,pg:()=>KF,pkg:()=>I3,pnu:()=>W3,ppm:()=>yF,pt:()=>T3,qs:()=>R3,qt:()=>O3,sap:()=>nj,sat:()=>Y3,second:()=>LF,shock:()=>F3,spoon:()=>SF,spr:()=>GF,sqc:()=>N3,stp:()=>K3,sup:()=>XF,syr:()=>ZF,tab:()=>JF,tbl:()=>e3,tes:()=>t3,ton:()=>a3,tpn:()=>WF,trc:()=>Q3,tro:()=>V3,tsp:()=>r3,tub:()=>YF,umg:()=>M3,unt:()=>n3,vil:()=>UF,vpr:()=>X3,waf:()=>J3,week:()=>kF,x:()=>ej,ydl:()=>A3,yds:()=>P3});var KL="%",QL="{count, plural, one{Glühbirn} other{Glühbirnen}}",XL="Beutel",JL="schachteln",eF="fl",tF="g/dl",nF="g",rF="kg",aF="kg/m²",iF="l",oF="lb",sF="µg",lF="µl",uF="meq",cF="mg",dF="mg/dl",hF="mg/l",pF="mg/m²",mF="mg/ml",fF="ml",gF="ml/min",vF="mol",bF="oz",yF="ppm",_F="°",wF="1000/mm³",xF="mm³",EF="{count, plural, one{Tag} other{Tage}}",SF="Löffel",kF="{count, plural, one{Woche} other{Wochen}}",CF="{count, plural, one{Monat} other{Monate}}",DF="{count, plural, one{Platte} other{Platten}}",IF="fl dr",TF="fl oz",RF="cu ft",OF="sq ft",NF="{count, plural, one{Minute} other{Minuten}}",MF="mm",AF="mm/h",PF="mmHg",LF="{count, plural, one{Sekunde} other{Sekunden}}",FF="{count, plural, one{Millisekunde} other{Millisekunden}}",jF="{count, plural, one{Stunde} other{Stunden}}",VF="{count, plural, one{Tropf} other{Tropfen}}",zF="{count, plural, one{Kartusche} other{Kartuschen}}",BF="gal",HF="mmol",qF="auf Antrag",$F="mg/100mL",GF="{count, plural, one{Sprühe} other{Sprühen}}",UF="{count, plural, one{Phiole} other{Phiolen}}",ZF="{count, plural, one{Spritze} other{Spritzen}}",WF="Tampon",YF="{count, plural, one{Rohr} other{Rohre}}",KF="pg",QF="nicht spezifiziert",XF="{count, plural, one{Zäpfch} other{Zäpfchen}}",JF="{count, plural, one{Tablette} other{Tabletten}}",e3="Esslöffel",t3="Test",n3="{count, plural, one{Einheit} other{Einheiten}}",r3="teelöffel",a3="ton",i3="% v/v",o3="% w/v",s3="% w/w",l3="Schläge pro Minute",u3="Bolus",c3="{count, plural, one{Flasche} other{Fläschchen}}",d3="Dose",h3="{count, plural, one{Kapsel} other{Kapseln}}",p3="cm3",m3="cm",f3="Halter",g3="Körnchen",v3="in",b3="in²",y3="Glas",_3="Kitt",w3="Micron",x3="µCi",E3="mCi",S3="minim",k3="μmol",C3="normal",D3="{count, plural, one{Pille} other{Pillen}}",I3="{count, plural, one{Paket} other{Pakete}}",T3="Pinte",R3="ausreichende Menge",O3="qt",N3="cm²",M3="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",A3="yd",P3="yd²",L3="mL/min/1.73m²",F3="{count, plural, one{Schock} other{Schocks}}",j3="{count, plural, one{Pastille} other{Pastillen}}",V3="{count, plural, one{Pastille} other{Pastillen}}",z3="täglich",B3="homöopathische Verdünnung (Centesimal 1/100)",H3="cnt",q3="Fass",$3="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",G3="verschiedene",U3="ng",Z3="nmol",W3="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",Y3="gesättigt",K3="Strip",Q3="Spur",X3="Therapieschema abhängig",J3="{count, plural, one{Oblate} other{Oblaten}}",ej="homöopathische Verdünnung (dezimal 1/10)",tj="anzahl der antitachykardie-stimulationsbehandlungen",nj="Kumulativer sap wert",doe={"%":KL,amp:QL,bag:XL,box:JL,fl:eF,"g/dl":tF,gm:nF,kg:rF,"kg/m2":aF,l:iF,lb:oF,mcg:sF,mcl:lF,meq:uF,mg:cF,"mg/dl":dF,"mg/l":hF,"mg/m2":pF,"mg/ml":mF,ml:fF,"ml/min":gF,mol:vF,oz:bF,ppm:yF,degree:_F,"1000/mm3":wF,cmm:xF,day:EF,spoon:SF,week:kF,month:CF,dis:DF,fld:IF,flo:TF,ftc:RF,fts:OF,minute:NF,mm:MF,"mm/h":AF,mmhg:PF,second:LF,millisecond:FF,hour:jF,goutte:VF,ctg:zF,gal:BF,mcm:HF,ondemand:qF,mgper100ml:$F,spr:GF,vil:UF,syr:ZF,tpn:WF,tub:YF,pg:KF,ns:QF,sup:XF,tab:JF,tbl:e3,tes:t3,unt:n3,tsp:r3,ton:a3,"%vv":i3,"%wv":o3,"%ww":s3,bitperminute:l3,bol:u3,bot:c3,can:d3,cap:h3,cc:p3,cm:m3,ctr:f3,gr:g3,in:v3,inc:b3,jar:y3,kit:_3,mcn:w3,mic:x3,mil:E3,min:S3,mmo:k3,nl:C3,pel:D3,pkg:I3,pt:T3,qs:R3,qt:O3,sqc:N3,umg:M3,ydl:A3,yds:P3,"ml/min/1.73m2":L3,shock:F3,loz:j3,tro:V3,daily:z3,c:B3,cnt:H3,drm:q3,lm:$3,mis:G3,nmg:U3,nmo:Z3,pnu:W3,sat:Y3,stp:K3,trc:Q3,vpr:X3,waf:J3,x:ej,atptreatment:tj,sap:nj},rj={};he(rj,{"%":()=>aj,"%vv":()=>ij,"%wv":()=>oj,"%ww":()=>sj,"1000/mm3":()=>lj,amp:()=>uj,atptreatment:()=>cj,bag:()=>dj,bitperminute:()=>hj,bol:()=>pj,bot:()=>mj,box:()=>fj,c:()=>gj,can:()=>vj,cap:()=>bj,cc:()=>yj,cm:()=>_j,cmm:()=>wj,cnt:()=>xj,ctg:()=>Ej,ctr:()=>Sj,daily:()=>kj,day:()=>Cj,default:()=>hoe,degree:()=>Dj,dis:()=>Ij,drm:()=>Tj,fl:()=>Rj,fld:()=>Oj,flo:()=>Nj,ftc:()=>Mj,fts:()=>Aj,"g/dl":()=>Pj,gal:()=>Lj,gm:()=>Fj,goutte:()=>jj,gr:()=>Vj,hour:()=>zj,in:()=>Bj,inc:()=>Hj,jar:()=>qj,kg:()=>$j,"kg/m2":()=>Gj,kit:()=>Uj,l:()=>Zj,lb:()=>Wj,lm:()=>Yj,loz:()=>Kj,mcg:()=>Qj,mcl:()=>Xj,mcm:()=>Jj,mcn:()=>eV,meq:()=>tV,mg:()=>nV,"mg/dl":()=>rV,"mg/l":()=>aV,"mg/m2":()=>iV,"mg/ml":()=>oV,mgper100ml:()=>sV,mic:()=>lV,mil:()=>uV,millisecond:()=>cV,min:()=>dV,minute:()=>hV,mis:()=>pV,ml:()=>mV,"ml/min":()=>fV,"ml/min/1.73m2":()=>gV,mm:()=>vV,"mm/h":()=>bV,mmhg:()=>yV,mmo:()=>_V,mol:()=>wV,month:()=>xV,nl:()=>EV,nmg:()=>SV,nmo:()=>kV,ns:()=>CV,ondemand:()=>DV,oz:()=>IV,pel:()=>TV,pg:()=>RV,pkg:()=>OV,pnu:()=>NV,ppm:()=>MV,pt:()=>AV,qs:()=>PV,qt:()=>cz,sap:()=>LV,sat:()=>FV,second:()=>jV,shock:()=>VV,spoon:()=>zV,spr:()=>BV,sqc:()=>HV,stp:()=>qV,sup:()=>$V,syr:()=>GV,tab:()=>UV,tbl:()=>ZV,tes:()=>WV,ton:()=>YV,tpn:()=>KV,trc:()=>QV,tro:()=>XV,tsp:()=>JV,tub:()=>ez,umg:()=>tz,unt:()=>nz,vil:()=>rz,vpr:()=>az,waf:()=>iz,week:()=>oz,x:()=>sz,ydl:()=>lz,yds:()=>uz});var aj="%",ij="% v/v",oj="% w/v",sj="% w/w",lj="1000/mm³",uj="{count, plural, one{ampule} other{ampules}}",cj="Number of treatments by anti-tachycardia pacing",dj="{count, plural, one{bag} other{bags}}",hj="{count, plural, one{bit per minute} other{bits per minute}}",pj="bolus",mj="{count, plural, one{bottle} other{bottles}}",fj="{count, plural, one{box} other{boxes}}",gj="homeopathic dilution (centesimal 1/100)",vj="{count, plural, one{can} other{cans}}",bj="{count, plural, one{capsule} other{capsules}}",yj="cm³",_j="cm",wj="mm³",xj="cnt",Ej="{count, plural, one{cartridge} other{cartridges}}",Sj="{count, plural, one{container} other{containers}}",kj="daily",Cj="{count, plural, one{day} other{days}}",Dj="°",Ij="{count, plural, one{disk} other{disks}}",Tj="drum",Rj="{count, plural, one{fluid} other{fluids}}",Oj="fl dr",Nj="{count, plural, one{fluid ounce} other{fluid ounces}}",Mj="cu ft",Aj="sq ft",Pj="g/dl",Lj="{count, plural, one{gallon} other{gallons}}",Fj="g",jj="{count, plural, one{drop} other{drops}}",Vj="{count, plural, one{grain} other{grains}}",zj="{count, plural, one{hour} other{hours}}",Bj="{count, plural, one{inch} other{inches}}",Hj="in²",qj="{count, plural, one{jar} other{jars}}",$j="kg",Gj="kg/m²",Uj="kit",Zj="{count, plural, one{liter} other{liters}}",Wj="{count, plural, one{pound} other{pounds}}",Yj="homeopathic dilution (fifty millesimal 1/50,000)",Kj="{count, plural, one{lozenge} other{lozenges}}",Qj="µg",Xj="µl",Jj="mmol",eV="micron",tV="milliequivalent",nV="mg",rV="mg/dl",aV="mg/l",iV="mg/m²",oV="mg/ml",sV="mg/100mL",lV="µCi",uV="mCi",cV="{count, plural, one{millisecond} other{milliseconds}}",dV="minim",hV="{count, plural, one{minute} other{minutes}}",pV="miscellaneous",mV="{count, plural, one{milliliter} other{milliliters}}",fV="ml/min",gV="mL/min/1.73m²",vV="mm",bV="mm/h",yV="mmHg",_V="μmol",wV="mol",xV="{count, plural, one{month} other{months}}",EV="normal",SV="ng",kV="nmol",CV="not stated",DV="on demand",IV="{count, plural, one{ounce} other{ounces}}",TV="{count, plural, one{pellet} other{pellets}}",RV="pg",OV="{count, plural, one{package} other{packages}}",NV="{count, plural, one{protein unit} other{protein unit}}",MV="ppm",AV="{count, plural, one{pint} other{pints}}",PV="quantity sufficient",LV="Cumulative sap value",FV="saturated",jV="{count, plural, one{second} other{seconds}}",VV="shock",zV="{count, plural, one{spoon} other{spoons}}",BV="{count, plural, one{spray} other{sprays}}",HV="cm²",qV="{count, plural, one{strip} other{strips}}",$V="{count, plural, one{suppository} other{suppositories}}",GV="{count, plural, one{syrynge} other{syrynges}}",UV="{count, plural, one{tablet} other{tablets}}",ZV="{count, plural, one{tablespoon} other{tablespoons}}",WV="{count, plural, one{test} other{tests}}",YV="{count, plural, one{ton} other{tons}}",KV="{count, plural, one{tampon} other{tampons}}",QV="{count, plural, one{trace} other{traces}}",XV="{count, plural, one{troche} other{troches}}",JV="{count, plural, one{teaspoon} other{teaspoons}}",ez="{count, plural, one{tube} other{tubes}}",tz="UNITS PER MILLIGRAM",nz="{count, plural, one{unit} other{units}}",rz="{count, plural, one{vial} other{vials}}",az="varies per regimen",iz="{count, plural, one{wafer} other{wafers}}",oz="{count, plural, one{week} other{weeks}}",sz="homeopathic dilution (decimal 1/10)",lz="yd",uz="yd²",cz="qt",hoe={"%":aj,"%vv":ij,"%wv":oj,"%ww":sj,"1000/mm3":lj,amp:uj,atptreatment:cj,bag:dj,bitperminute:hj,bol:pj,bot:mj,box:fj,c:gj,can:vj,cap:bj,cc:yj,cm:_j,cmm:wj,cnt:xj,ctg:Ej,ctr:Sj,daily:kj,day:Cj,degree:Dj,dis:Ij,drm:Tj,fl:Rj,fld:Oj,flo:Nj,ftc:Mj,fts:Aj,"g/dl":Pj,gal:Lj,gm:Fj,goutte:jj,gr:Vj,hour:zj,in:Bj,inc:Hj,jar:qj,kg:$j,"kg/m2":Gj,kit:Uj,l:Zj,lb:Wj,lm:Yj,loz:Kj,mcg:Qj,mcl:Xj,mcm:Jj,mcn:eV,meq:tV,mg:nV,"mg/dl":rV,"mg/l":aV,"mg/m2":iV,"mg/ml":oV,mgper100ml:sV,mic:lV,mil:uV,millisecond:cV,min:dV,minute:hV,mis:pV,ml:mV,"ml/min":fV,"ml/min/1.73m2":gV,mm:vV,"mm/h":bV,mmhg:yV,mmo:_V,mol:wV,month:xV,nl:EV,nmg:SV,nmo:kV,ns:CV,ondemand:DV,oz:IV,pel:TV,pg:RV,pkg:OV,pnu:NV,ppm:MV,pt:AV,qs:PV,sap:LV,sat:FV,second:jV,shock:VV,spoon:zV,spr:BV,sqc:HV,stp:qV,sup:$V,syr:GV,tab:UV,tbl:ZV,tes:WV,ton:YV,tpn:KV,trc:QV,tro:XV,tsp:JV,tub:ez,umg:tz,unt:nz,vil:rz,vpr:az,waf:iz,week:oz,x:sz,ydl:lz,yds:uz,qt:cz},dz={};he(dz,{"%":()=>hz,"%vv":()=>w5,"%wv":()=>x5,"%ww":()=>E5,"1000/mm3":()=>Fz,amp:()=>pz,atptreatment:()=>vB,bag:()=>mz,bitperminute:()=>S5,bol:()=>k5,bot:()=>C5,box:()=>fz,c:()=>rB,can:()=>D5,cap:()=>I5,cc:()=>T5,cm:()=>R5,cmm:()=>jz,cnt:()=>aB,ctg:()=>n5,ctr:()=>O5,daily:()=>nB,day:()=>Vz,default:()=>poe,degree:()=>Lz,dis:()=>qz,drm:()=>iB,fl:()=>gz,fld:()=>$z,flo:()=>Gz,ftc:()=>Uz,fts:()=>Zz,"g/dl":()=>vz,gal:()=>r5,gm:()=>bz,goutte:()=>t5,gr:()=>N5,hour:()=>e5,in:()=>M5,inc:()=>A5,jar:()=>P5,kg:()=>yz,"kg/m2":()=>_z,kit:()=>L5,l:()=>wz,lb:()=>xz,lm:()=>oB,loz:()=>eB,mcg:()=>Ez,mcl:()=>Sz,mcm:()=>a5,mcn:()=>F5,meq:()=>kz,mg:()=>Cz,"mg/dl":()=>Dz,"mg/l":()=>Iz,"mg/m2":()=>Tz,"mg/ml":()=>Rz,mgper100ml:()=>o5,mic:()=>j5,mil:()=>V5,millisecond:()=>Jz,min:()=>z5,minute:()=>Wz,mis:()=>sB,ml:()=>Oz,"ml/min":()=>Nz,"ml/min/1.73m2":()=>X5,mm:()=>Yz,"mm/h":()=>Kz,mmhg:()=>Qz,mmo:()=>B5,mol:()=>Mz,month:()=>Hz,nl:()=>H5,nmg:()=>lB,nmo:()=>uB,ns:()=>p5,ondemand:()=>i5,oz:()=>Az,pel:()=>q5,pg:()=>h5,pkg:()=>$5,pnu:()=>cB,ppm:()=>Pz,pt:()=>G5,qs:()=>U5,qt:()=>Z5,sap:()=>bB,sat:()=>dB,second:()=>Xz,shock:()=>J5,spoon:()=>zz,spr:()=>s5,sqc:()=>W5,stp:()=>hB,sup:()=>m5,syr:()=>u5,tab:()=>f5,tbl:()=>g5,tes:()=>v5,ton:()=>_5,tpn:()=>c5,trc:()=>pB,tro:()=>tB,tsp:()=>y5,tub:()=>d5,umg:()=>Y5,unt:()=>b5,vil:()=>l5,vpr:()=>mB,waf:()=>fB,week:()=>Bz,x:()=>gB,ydl:()=>K5,yds:()=>Q5});var hz="%",pz="{count, plural, one{ampoule} other{ampoules}}",mz="{count, plural, one{sac} other{sacs}}",fz="{count, plural, one{vaporisateur} other{vaporisateurs}}",gz="fl",vz="g/dl",bz="g",yz="kg",_z="kg/m²",wz="l",xz="lb",Ez="µg",Sz="µl",kz="milli-equivalent",Cz="mg",Dz="mg/dl",Iz="mg/l",Tz="mg/m²",Rz="mg/ml",Oz="ml",Nz="ml/min",Mz="mol",Az="oz",Pz="ppm",Lz="°",Fz="1000/mm³",jz="mm³",Vz="{count, plural, one{jour(s)} other{jours}}",zz="{count, plural, one{cuillère} other{cuillères}}",Bz="{count, plural, one{semaine} other{semaines}}",Hz="mois",qz="{count, plural, one{disque} other{disques}}",$z="fl dr",Gz="fl oz",Uz="cu ft",Zz="sq ft",Wz="{count, plural, one{minute} other{minutes}}",Yz="mm",Kz="mm/h",Qz="mmHg",Xz="{count, plural, one{seconde} other{secondes}}",Jz="{count, plural, one{milliseconde} other{millisecondes}}",e5="{count, plural, one{heure} other{heures}}",t5="{count, plural, one{goutte} other{gouttes}}",n5="{count, plural, one{cartouche} other{cartouches}}",r5="gal",a5="mmol",i5="sur demande",o5="mg/100mL",s5="spray",l5="{count, plural, one{fiole} other{fioles}}",u5="{count, plural, one{seringue} other{seringues}}",c5="{count, plural, one{tampon} other{tampons}}",d5="{count, plural, one{tube} other{tubes}}",h5="pg",p5="non spécifié",m5="{count, plural, one{suppositoire} other{suppositoires}}",f5="{count, plural, one{tablette} other{tablettes}}",g5="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",v5="{count, plural, one{test} other{tests}}",b5="{count, plural, one{unité} other{unités}}",y5="{count, plural, one{cuillère à café} other{cuillères à café}}",_5="{count, plural, one{ton} other{tons}}",w5="% v/v",x5="% w/v",E5="% w/w",S5="{count, plural, one{battement par minute} other{battements par minute}}",k5="{count, plural, one{bolus} other{bolus}}",C5="{count, plural, one{bouteille} other{bouteilles}}",D5="{count, plural, one{canette} other{canettes}}",I5="{count, plural, one{capsule} other{capsules}}",T5="cm3",R5="cm",O5="{count, plural, one{conteneur} other{conteneurs}}",N5="{count, plural, one{granule} other{granules}}",M5="in",A5="in²",P5="pot",L5="{count, plural, one{kit} other{kits}}",F5="micron",j5="µCi",V5="mCi",z5="minim",B5="μmol",H5="normal",q5="{count, plural, one{pilule} other{pilules}}",$5="{count, plural, one{paquet} other{paquets}}",G5="pinte",U5="quantité suffisante",Z5="qt",W5="cm²",Y5="{count, plural, one{unité / mg} other{unités / mg}}",K5="yd",Q5="yd²",X5="mL/min/1.73m²",J5="choc",eB="{count, plural, one{pastille} other{pastilles}}",tB="{count, plural, one{pastille} other{pastilles}}",nB="journalier",rB="dilution homéopathique (centésimal 1/100)",aB="cnt",iB="fût",oB="dilution homéopathique (50 millisimaux au ratio 1:50,000)",sB="divers",lB="ng",uB="nmol",cB="{count, plural, one{unité protéique} other{unités protéiques}}",dB="saturé",hB="strip",pB="trace",mB="dépendant du schéma thérapeutique",fB="{count, plural, one{hostie} other{hosties}}",gB="dilution homéopathique (décimal 1/10)",vB="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",bB="Valeur sap cumulative",poe={"%":hz,amp:pz,bag:mz,box:fz,fl:gz,"g/dl":vz,gm:bz,kg:yz,"kg/m2":_z,l:wz,lb:xz,mcg:Ez,mcl:Sz,meq:kz,mg:Cz,"mg/dl":Dz,"mg/l":Iz,"mg/m2":Tz,"mg/ml":Rz,ml:Oz,"ml/min":Nz,mol:Mz,oz:Az,ppm:Pz,degree:Lz,"1000/mm3":Fz,cmm:jz,day:Vz,spoon:zz,week:Bz,month:Hz,dis:qz,fld:$z,flo:Gz,ftc:Uz,fts:Zz,minute:Wz,mm:Yz,"mm/h":Kz,mmhg:Qz,second:Xz,millisecond:Jz,hour:e5,goutte:t5,ctg:n5,gal:r5,mcm:a5,ondemand:i5,mgper100ml:o5,spr:s5,vil:l5,syr:u5,tpn:c5,tub:d5,pg:h5,ns:p5,sup:m5,tab:f5,tbl:g5,tes:v5,unt:b5,tsp:y5,ton:_5,"%vv":w5,"%wv":x5,"%ww":E5,bitperminute:S5,bol:k5,bot:C5,can:D5,cap:I5,cc:T5,cm:R5,ctr:O5,gr:N5,in:M5,inc:A5,jar:P5,kit:L5,mcn:F5,mic:j5,mil:V5,min:z5,mmo:B5,nl:H5,pel:q5,pkg:$5,pt:G5,qs:U5,qt:Z5,sqc:W5,umg:Y5,ydl:K5,yds:Q5,"ml/min/1.73m2":X5,shock:J5,loz:eB,tro:tB,daily:nB,c:rB,cnt:aB,drm:iB,lm:oB,mis:sB,nmg:lB,nmo:uB,pnu:cB,sat:dB,stp:hB,trc:pB,vpr:mB,waf:fB,x:gB,atptreatment:vB,sap:bB},yB={};he(yB,{"%":()=>_B,"%vv":()=>T4,"%wv":()=>R4,"%ww":()=>O4,"1000/mm3":()=>GB,amp:()=>wB,atptreatment:()=>k7,bag:()=>xB,bitperminute:()=>N4,bol:()=>M4,bot:()=>A4,box:()=>EB,c:()=>d7,can:()=>P4,cap:()=>L4,cc:()=>F4,cm:()=>j4,cmm:()=>UB,cnt:()=>h7,ctg:()=>c4,ctr:()=>V4,daily:()=>c7,day:()=>ZB,default:()=>moe,degree:()=>$B,dis:()=>QB,drm:()=>p7,fl:()=>SB,fld:()=>XB,flo:()=>JB,ftc:()=>e4,fts:()=>t4,"g/dl":()=>kB,gal:()=>d4,gm:()=>CB,goutte:()=>u4,gr:()=>z4,hour:()=>l4,in:()=>B4,inc:()=>H4,jar:()=>q4,kg:()=>DB,"kg/m2":()=>IB,kit:()=>$4,l:()=>TB,lb:()=>RB,lm:()=>m7,loz:()=>l7,mcg:()=>OB,mcl:()=>NB,mcm:()=>h4,mcn:()=>G4,meq:()=>MB,mg:()=>AB,"mg/dl":()=>PB,"mg/l":()=>LB,"mg/m2":()=>FB,"mg/ml":()=>jB,mgper100ml:()=>m4,mic:()=>U4,mil:()=>Z4,millisecond:()=>s4,min:()=>W4,minute:()=>n4,mis:()=>f7,ml:()=>VB,"ml/min":()=>zB,"ml/min/1.73m2":()=>o7,mm:()=>r4,"mm/h":()=>a4,mmhg:()=>i4,mmo:()=>Y4,mol:()=>BB,month:()=>KB,nl:()=>K4,nmg:()=>g7,nmo:()=>v7,ns:()=>w4,ondemand:()=>p4,oz:()=>HB,pel:()=>Q4,pg:()=>_4,pkg:()=>X4,pnu:()=>b7,ppm:()=>qB,pt:()=>J4,qs:()=>e7,qt:()=>t7,sap:()=>C7,sat:()=>y7,second:()=>o4,shock:()=>s7,spoon:()=>WB,spr:()=>f4,sqc:()=>n7,stp:()=>_7,sup:()=>x4,syr:()=>v4,tab:()=>E4,tbl:()=>S4,tes:()=>k4,ton:()=>I4,tpn:()=>b4,trc:()=>w7,tro:()=>u7,tsp:()=>D4,tub:()=>y4,umg:()=>r7,unt:()=>C4,vil:()=>g4,vpr:()=>x7,waf:()=>E7,week:()=>YB,x:()=>S7,ydl:()=>a7,yds:()=>i7});var _B="%",wB="{count, plural, one{ampule} other{ampullen}}",xB="{count, plural, one{zak} other{zakken}}",EB="{count, plural, one{verstuiver} other{verstuivers}}",SB="fl",kB="g/dl",CB="g",DB="kg",IB="kg/m²",TB="l",RB="lb",OB="µg",NB="µl",MB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",AB="mg",PB="mg/dl",LB="mg/l",FB="mg/m²",jB="mg/ml",VB="ml",zB="ml/min",BB="mol",HB="oz",qB="ppm",$B="°",GB="1000/mm³",UB="mm³",ZB="{count, plural, one{dag} other{dagen}}",WB="{count, plural, one{lepel} other{lepels}}",YB="{count, plural, one{week} other{weken}}",KB="{count, plural, one{maand} other{maanden}}",QB="{count, plural, one{schijf} other{schijven}}",XB="fl dr",JB="fl oz",e4="cu ft",t4="sq ft",n4="{count, plural, one{minuut} other{minuten}}",r4="mm",a4="mm/h",i4="mmHg",o4="{count, plural, one{seconde} other{seconden}}",s4="{count, plural, one{milliseconde} other{milliseconden}}",l4="{count, plural, one{uur} other{uren}}",u4="{count, plural, one{druppel} other{druppels}}",c4="{count, plural, one{patroon} other{patronen}}",d4="gal",h4="mmol",p4="op aanvraag",m4="mg/100mL",f4="{count, plural, one{spray} other{sprays}}",g4="{count, plural, one{flesje} other{flesjes}}",v4="{count, plural, one{spuit} other{spuiten}}",b4="{count, plural, one{tampon} other{tampons}}",y4="{count, plural, one{buis} other{buizen}}",_4="pg",w4="niet gespecificeerd",x4="{count, plural, one{zetpil} other{zetpillen}}",E4="{count, plural, one{tablet} other{tabletten}}",S4="{count, plural, one{eetlepel} other{eetlepels}}",k4="{count, plural, one{test} other{tests}}",C4="{count, plural, one{eenheid} other{eenheden}}",D4="{count, plural, one{theelepel} other{theelepels}}",I4="{count, plural, one{ton} other{tonnen}}",T4="% v/v",R4="% w/v",O4="% w/w",N4="{count, plural, one{slag per minuut} other{slagen per minuut}}",M4="bolus",A4="{count, plural, one{fles} other{flessen}}",P4="{count, plural, one{blikje} other{blikjes}}",L4="{count, plural, one{capsule} other{capsules}}",F4="cm3",j4="cm",V4="{count, plural, one{houder} other{houders}}",z4="{count, plural, one{korrel} other{korrels}}",B4="in",H4="in²",q4="{count, plural, one{pot} other{potten}}",$4="{count, plural, one{kit} other{kits}}",G4="micron",U4="µCi",Z4="mCi",W4="minim",Y4="μmol",K4="normaal",Q4="{count, plural, one{pil} other{pillen}}",X4="{count, plural, one{pakket} other{pakketten}}",J4="{count, plural, one{pint} other{pinten}}",e7="voldoende hoeveelheid",t7="qt",n7="cm²",r7="{count, plural, one{eenheid / mg} other{eenheden / mg}}",a7="yd",i7="yd²",o7="mL/min/1.73m²",s7="{count, plural, one{schok} other{schokken}}",l7="{count, plural, one{zuigtablet} other{zuigtabletten}}",u7="{count, plural, one{zuigtablet} other{zuigtabletten}}",c7="dagelijks",d7="homeopathische verdunning (centesimal 1/100)",h7="cnt",p7="vat",m7="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",f7="diverse",g7="ng",v7="nmol",b7="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",y7="verzadigd",_7="{count, plural, one{strip} other{strips}}",w7="{count, plural, one{spoor} other{sporen}}",x7="behandelingsschema-afhankelijk",E7="{count, plural, one{ouwel} other{ouwels}}",S7="homeopathische verdunning (decimaal 1/10)",k7="aantal anti-tachycardie-stimulatiebehandelingen",C7="Cumulatieve sap waarde",moe={"%":_B,amp:wB,bag:xB,box:EB,fl:SB,"g/dl":kB,gm:CB,kg:DB,"kg/m2":IB,l:TB,lb:RB,mcg:OB,mcl:NB,meq:MB,mg:AB,"mg/dl":PB,"mg/l":LB,"mg/m2":FB,"mg/ml":jB,ml:VB,"ml/min":zB,mol:BB,oz:HB,ppm:qB,degree:$B,"1000/mm3":GB,cmm:UB,day:ZB,spoon:WB,week:YB,month:KB,dis:QB,fld:XB,flo:JB,ftc:e4,fts:t4,minute:n4,mm:r4,"mm/h":a4,mmhg:i4,second:o4,millisecond:s4,hour:l4,goutte:u4,ctg:c4,gal:d4,mcm:h4,ondemand:p4,mgper100ml:m4,spr:f4,vil:g4,syr:v4,tpn:b4,tub:y4,pg:_4,ns:w4,sup:x4,tab:E4,tbl:S4,tes:k4,unt:C4,tsp:D4,ton:I4,"%vv":T4,"%wv":R4,"%ww":O4,bitperminute:N4,bol:M4,bot:A4,can:P4,cap:L4,cc:F4,cm:j4,ctr:V4,gr:z4,in:B4,inc:H4,jar:q4,kit:$4,mcn:G4,mic:U4,mil:Z4,min:W4,mmo:Y4,nl:K4,pel:Q4,pkg:X4,pt:J4,qs:e7,qt:t7,sqc:n7,umg:r7,ydl:a7,yds:i7,"ml/min/1.73m2":o7,shock:s7,loz:l7,tro:u7,daily:c7,c:d7,cnt:h7,drm:p7,lm:m7,mis:f7,nmg:g7,nmo:v7,pnu:b7,sat:y7,stp:_7,trc:w7,vpr:x7,waf:E7,x:S7,atptreatment:k7,sap:C7},foe={nl:yB,fr:dz,de:YL,en:rj},D7={};he(D7,{collapsed:()=>N7,default:()=>goe,expanded:()=>O7,header:()=>I7,patient:()=>T7,professional:()=>R7});var I7="Ausgegebene Medikamente?",T7={part1:"Diese Übersicht zeigt die Arzneimittel, die Ihnen in den <strong>letzten 12 Monaten</strong> abgegeben wurden.",part2:"Die Liste kann <strong>unvollständig</strong> sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat.",part3:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für Sie bestimmt</strong> sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen.",part4:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu <strong>Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung.</strong>"},R7={part1:"Die Liste kann <strong>unvollständig</strong>: , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden.",part2:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für diesen Patienten bestimmt</strong> sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."},O7="Information erweitern",N7="Information einklappen",goe={header:I7,patient:T7,professional:R7,expanded:O7,collapsed:N7},M7={};he(M7,{collapsed:()=>j7,default:()=>voe,expanded:()=>F7,header:()=>A7,patient:()=>P7,professional:()=>L7});var A7="How to interpret the list?",P7={part1:"This overview shows the medications that have been dispensed to you over the <strong>past 12 months.</strong>",part2:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part3:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time.",part4:"If in doubt, always consult your doctor or pharmacist. This information is provided <strong>for informational purposes and is not a substitute for professional medical advice.</strong>"},L7={part1:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part2:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time."},F7="Expand information",j7="Collapse information",voe={header:A7,patient:P7,professional:L7,expanded:F7,collapsed:j7},V7={};he(V7,{collapsed:()=>$7,default:()=>boe,expanded:()=>q7,header:()=>z7,patient:()=>B7,professional:()=>H7});var z7="Comment interpréter la liste?",B7={part1:"Cette liste reprend les médicaments qui vous ont été remis au cours des <strong>12 derniers mois.</strong>",part2:"Cette liste <strong>peut être incomplète</strong>: c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien.",part3:"La liste peut contenir des médicaments <strong>qui ne vous concernent pas.</strong> Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres.",part4:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes <strong>à titre informatif et ne remplacent pas un avis médical professionnel.</strong>"},H7={part1:"Cette liste <strong>peut être incomplète</strong>: 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:"La liste peut contenir des médicaments <strong>qui ne concernent pas ce patient.</strong> C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."},q7="Développer l’information",$7="Réduire l'information",boe={header:z7,patient:B7,professional:H7,expanded:q7,collapsed:$7},G7={};he(G7,{collapsed:()=>K7,default:()=>yoe,expanded:()=>Y7,header:()=>U7,patient:()=>Z7,professional:()=>W7});var U7="Hoe de lijst interpreteren?",Z7={part1:"Dit overzicht toont de geneesmiddelen die in de <strong>afgelopen 12 maanden</strong> voor u zijn afgeleverd.",part2:"Het is mogelijk dat de lijst <strong>onvolledig</strong> is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering.",part3:"De lijst kan geneesmiddelen bevatten die <strong>niet voor u bestemd</strong> zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment.",part4:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor <strong>doeleinden en zijn geen vervanging voor professioneel medisch advies.</strong>"},W7={part1:"Het is mogelijk dat de lijst <strong>onvolledig</strong>: is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden.",part2:"De lijst kan geneesmiddelen bevatten die <strong>niet voor deze patiënt bestemd</strong> zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."},Y7="Informatie uitklappen",K7="Informatie inklappen",yoe={header:U7,patient:Z7,professional:W7,expanded:Y7,collapsed:K7},_oe={nl:G7,fr:V7,de:D7,en:M7},Q7={};he(Q7,{default:()=>woe,headers:()=>X7,magisterialPreparation:()=>J7,noContent:()=>eH});var X7={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},J7="Verschreibungurarzneimittel",eH="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",woe={headers:X7,magisterialPreparation:J7,noContent:eH},tH={};he(tH,{default:()=>xoe,headers:()=>nH,magisterialPreparation:()=>rH,noContent:()=>aH});var nH={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},rH="Magistral preparation",aH="There is no delivered medication found for this patient.",xoe={headers:nH,magisterialPreparation:rH,noContent:aH},iH={};he(iH,{default:()=>Eoe,headers:()=>oH,magisterialPreparation:()=>sH,noContent:()=>lH});var oH={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},sH="Préparation magistrale",lH="Aucun médicament délivré n'a été retrouvé pour ce patient.",Eoe={headers:oH,magisterialPreparation:sH,noContent:lH},uH={};he(uH,{default:()=>Soe,headers:()=>cH,magisterialPreparation:()=>dH,noContent:()=>hH});var cH={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},dH="Magistrale bereiding",hH="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Soe={headers:cH,magisterialPreparation:dH,noContent:hH},koe={nl:uH,fr:iH,de:Q7,en:tH},pH={};he(pH,{composition:()=>mH,default:()=>Coe,"delivered-by":()=>_H,"delivery-date":()=>yH,dguid:()=>gH,"is-prescribed":()=>vH,leaflet:()=>DH,"magisterial-preparation":()=>CH,medication:()=>TH,"no-pharmacy":()=>SH,noDetails:()=>RH,package:()=>IH,patient:()=>kH,posologie:()=>fH,quantity:()=>bH,"return-delivery-date":()=>xH,"returned-by":()=>EH,"returned-quantity":()=>wH});var mH="Zusammensetzung",fH="Dosierung",gH="ID Ausgabe",vH={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},bH="Gelieferte Menge",yH="Lieferdatum",_H="Geliefert von",wH="Zurückgenommene Menge",xH="Rücknahme am",EH="Rücknahme durch",SH="Apotheke mit LIKIV-Erkennungsnummer",kH="Patient",CH="Verschreibungurarzneimittel",DH="Packungsbeilage",IH="{count, plural, one{Verpackung} other{Verpackungen}}",TH="Arzneimittel",RH="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Coe={composition:mH,posologie:fH,dguid:gH,"is-prescribed":vH,quantity:bH,"delivery-date":yH,"delivered-by":_H,"returned-quantity":wH,"return-delivery-date":xH,"returned-by":EH,"no-pharmacy":SH,patient:kH,"magisterial-preparation":CH,leaflet:DH,package:IH,medication:TH,noDetails:RH},OH={};he(OH,{composition:()=>NH,default:()=>Doe,"delivered-by":()=>MH,"delivery-date":()=>AH,dguid:()=>PH,"is-prescribed":()=>LH,leaflet:()=>FH,"magisterial-preparation":()=>jH,medication:()=>VH,"no-pharmacy":()=>zH,noDetails:()=>BH,package:()=>HH,patient:()=>qH,posologie:()=>$H,quantity:()=>GH,"return-delivery-date":()=>WH,"returned-by":()=>YH,"returned-quantity":()=>ZH,title:()=>UH});var NH="Composition",MH="Dispensed by",AH="Date dispensed",PH="Dispensing ID",LH={no:"No",title:"Was prescribed",yes:"Yes"},FH="Package leaflet",jH="Compounded preparation",VH="Medication",zH="Pharmacy with NIHDI number",BH="The requested information has been deleted or doesn't exist.",HH="{count, plural, one{package} other{packages}}",qH="Patient",$H="Dosage",GH="Dispensed quality",UH="Detail of the dispensed medication",ZH="Returned quantity",WH="Return on",YH="Return by",Doe={composition:NH,"delivered-by":MH,"delivery-date":AH,dguid:PH,"is-prescribed":LH,leaflet:FH,"magisterial-preparation":jH,medication:VH,"no-pharmacy":zH,noDetails:BH,package:HH,patient:qH,posologie:$H,quantity:GH,title:UH,"returned-quantity":ZH,"return-delivery-date":WH,"returned-by":YH},KH={};he(KH,{composition:()=>QH,default:()=>Ioe,"delivered-by":()=>r9,"delivery-date":()=>n9,dguid:()=>JH,"is-prescribed":()=>e9,leaflet:()=>c9,"magisterial-preparation":()=>u9,medication:()=>h9,"no-pharmacy":()=>s9,noDetails:()=>p9,package:()=>d9,patient:()=>l9,posologie:()=>XH,quantity:()=>t9,"return-delivery-date":()=>i9,"returned-by":()=>o9,"returned-quantity":()=>a9});var QH="Composition",XH="Posologie",JH="ID délivrance",e9={title:"A été prescrit",yes:"Oui",no:"Non"},t9="Quantité délivrée",n9="Date de délivrance",r9="Délivré par",a9="Quantité retournée",i9="Retour le",o9="Retour par",s9="Pharmacie avec numéro INAMI",l9="Patient",u9="Préparation magistrale",c9="Notice d'information",d9="{count, plural, one{emballage} other{emballages}}",h9="Médicament",p9="La prescription demandée a été supprimée ou n'existe pas.",Ioe={composition:QH,posologie:XH,dguid:JH,"is-prescribed":e9,quantity:t9,"delivery-date":n9,"delivered-by":r9,"returned-quantity":a9,"return-delivery-date":i9,"returned-by":o9,"no-pharmacy":s9,patient:l9,"magisterial-preparation":u9,leaflet:c9,package:d9,medication:h9,noDetails:p9},m9={};he(m9,{composition:()=>f9,default:()=>Toe,"delivered-by":()=>w9,"delivery-date":()=>_9,dguid:()=>v9,"is-prescribed":()=>b9,leaflet:()=>I9,"magisterial-preparation":()=>D9,medication:()=>R9,"no-pharmacy":()=>k9,noDetails:()=>O9,package:()=>T9,patient:()=>C9,posologie:()=>g9,quantity:()=>y9,"return-delivery-date":()=>E9,"returned-by":()=>S9,"returned-quantity":()=>x9});var f9="Samenstelling",g9="Posologie",v9="ID aflevering",b9={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},y9="Afgeleverde hoeveelheid",_9="Datum afgeleverd",w9="Afgeleverd door",x9="Teruggenomen hoeveelheid",E9="Terugname op",S9="Terugname door",k9="Apotheek met RIZIV-nummer",C9="Patiënt",D9="Magistrale bereiding",I9="Bijsluiter",T9="{count, plural, one{verpakking} other{verpakkingen}}",R9="Geneesmiddel(en)",O9="Het gevraagde voorschrift is verwijderd of bestaat niet.",Toe={composition:f9,posologie:g9,dguid:v9,"is-prescribed":b9,quantity:y9,"delivery-date":_9,"delivered-by":w9,"returned-quantity":x9,"return-delivery-date":E9,"returned-by":S9,"no-pharmacy":k9,patient:C9,"magisterial-preparation":D9,leaflet:I9,package:T9,medication:R9,noDetails:O9},Roe={nl:m9,fr:KH,de:pH,en:OH},Ooe=class extends vs{getTranslation(e){return Je({commons:Ut(ce({},Yie[e]),{units:foe[e],galenicFormCodes:$ie[e],timeUnits:coe[e],administrationUnits:Tie[e],periods:eoe[e],days:Aie[e],posology:ioe[e],errors:Vie[e]}),deliveredMedicationsList:koe[e],deliveredMedicationsDisclaimer:_oe[e],deliveredMedicationDetails:Roe[e]})}},Noe=[bie,GX({defaultLanguage:"fr",loader:{provide:vs,useClass:Ooe},compiler:{provide:ys,useClass:xie}})],el;function Moe(){if(el===void 0&&(el=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(el=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return el}function ho(e){var t;return((t=Moe())==null?void 0:t.createHTML(e))||e}function nv(e){return Error(`Unable to find icon with the name "${e}"`)}function Aoe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function rv(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function av(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Ea=class{constructor(e,t,r){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=r}},Poe=(()=>{const t=class t{constructor(n,a,i,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=a,this._errorHandler=o,this._document=i}addSvgIcon(n,a,i){return this.addSvgIconInNamespace("",n,a,i)}addSvgIconLiteral(n,a,i){return this.addSvgIconLiteralInNamespace("",n,a,i)}addSvgIconInNamespace(n,a,i,o){return this._addSvgIconConfig(n,a,new Ea(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,i,o){let l=this._sanitizer.sanitize(At.HTML,i);if(!l)throw av(i);let u=ho(l);return this._addSvgIconConfig(n,a,new Ea("",u,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,i){return this._addSvgIconSetConfig(n,new Ea(a,null,i))}addSvgIconSetLiteralInNamespace(n,a,i){let o=this._sanitizer.sanitize(At.HTML,a);if(!o)throw av(a);let l=ho(o);return this._addSvgIconSetConfig(n,new Ea("",l,i))}registerFontClassAlias(n,a=n){return this._fontCssClassesByAlias.set(n,a),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let a=this._sanitizer.sanitize(At.RESOURCE_URL,n);if(!a)throw rv(n);let i=this._cachedIconsByUrl.get(a);return i?Je(tl(i)):this._loadSvgIconFromConfig(new Ea(n,null)).pipe(ec(o=>this._cachedIconsByUrl.set(a,o)),Tt(o=>tl(o)))}getNamedSvgIcon(n,a=""){let i=iv(a,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):p0(nv(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Je(tl(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Tt(a=>tl(a)))}_getSvgFromIconSetConfigs(n,a){let i=this._extractIconWithNameFromAnySet(n,a);if(i)return Je(i);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Ih(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(At.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),Je(null)})));return b0(o).pipe(Tt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw nv(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let i=a.length-1;i>=0;i--){let o=a[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),u=this._extractSvgIconFromSet(l,n,o.options);if(u)return u}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ec(a=>n.svgText=a),Tt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Je(null):this._fetchIcon(n).pipe(ec(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,i){let o=n.querySelector(`[id="${a}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let u=this._svgElementFromString(ho("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,i)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let i=a.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let a=this._svgElementFromString(ho("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:u}=i[o];l!=="id"&&a.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&a.appendChild(n.childNodes[o].cloneNode(!0));return a}_setSvgAttributes(n,a){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),a&&a.viewBox&&n.setAttribute("viewBox",a.viewBox),n}_fetchIcon(n){let{url:a,options:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw Aoe();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(At.RESOURCE_URL,a);if(!l)throw rv(a);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Tt(d=>ho(d)),w0(()=>this._inProgressUrlFetches.delete(l)),x0());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,a,i){return this._svgIconConfigs.set(iv(n,a),i),this}_addSvgIconSetConfig(n,a){let i=this._iconSetConfigs.get(n);return i?i.push(a):this._iconSetConfigs.set(n,[a]),this}_svgElementFromConfig(n){if(!n.svgElement){let a=this._svgElementFromString(n.svgText);this._setSvgAttributes(a,n.options),n.svgElement=a}return n.svgElement}_getIconConfigFromResolvers(n,a){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](a,n);if(o)return Loe(o)?new Ea(o.url,null,o.options):new Ea(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(oe(Qi,8),oe($p),oe(Ve,8),oe(Gn))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function tl(e){return e.cloneNode(!0)}function iv(e,t){return e+":"+t}function Loe(e){return!!(e.url&&e.options)}var Foe=["*"],joe=new J("MAT_ICON_DEFAULT_OPTIONS"),Voe=new J("mat-icon-location",{providedIn:"root",factory:zoe});function zoe(){let e=S(Ve),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var N9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Boe=N9.map(e=>`[${e}]`).join(", "),Hoe=/^url\(['"]?#(.*?)['"]?\)$/,qu=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(lt));s(this,"_iconRegistry",S(Poe));s(this,"_location",S(Voe));s(this,"_errorHandler",S(Gn));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",ln.EMPTY);let n=S(new Db("aria-hidden"),{optional:!0}),a=S(joe,{optional:!0});a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let a=this._cleanupFontValue(n);a!==this._fontSet&&(this._fontSet=a,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let a=this._cleanupFontValue(n);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let a=n.split(":");switch(a.length){case 1:return["",a[0]];case 2:return a;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let a=this._location.getPathname();a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let a=this._location.getPathname();this._previousPath=a,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(a),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,a=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();a--;){let i=n.childNodes[a];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),a.forEach(i=>n.classList.add(i)),this._previousFontSetClass=a,this.fontIcon!==this._previousFontIconClass&&!a.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let a=this._elementsWithExternalReferences;a&&a.forEach((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(Boe),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)N9.forEach(l=>{let u=a[o],c=u.getAttribute(l),d=c?c.match(Hoe):null;if(d){let m=i.get(u);m||(m=[],i.set(u,m)),m.push({name:l,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,i]=this._splitIconName(n);a&&(this._svgNamespace=a),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,a).pipe(sn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(cn("data-mat-icon-type",a._usingFontIcon()?"font":"svg")("data-mat-icon-name",a._svgName||a.fontIcon)("data-mat-icon-namespace",a._svgNamespace||a.fontSet)("fontIcon",a._usingFontIcon()?a.fontIcon:null),Mu(a.color?"mat-"+a.color:""),tn("mat-icon-inline",a.inline)("mat-icon-no-color",a.color!=="primary"&&a.color!=="accent"&&a.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Xt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Foe,decls:1,vars:0,template:function(n,a){n&1&&(gr(),zt(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})(),qoe=["*"];function $oe(e,t){e&1&&Gt(0)}function Goe(e,t){if(e&1&&(V(0,"div",3),me(1,$oe,1,0,"ng-container",5),B()),e&2){le();let r=Au(5);F(),Ce("ngTemplateOutlet",r)}}function Uoe(e,t){e&1&&Gt(0)}function Zoe(e,t){if(e&1){let r=qr();V(0,"div",6),kn("click",function(){wn(r);let n=le();return xn(n.toggleExpanded())})("keydown.enter",function(){wn(r);let n=le();return xn(n.toggleExpanded())})("keydown.space",function(){wn(r);let n=le();return xn(n.toggleExpanded())}),me(1,Uoe,1,0,"ng-container",5),B()}if(e&2){let r=le(),n=Au(5);cn("aria-label",r.currentExpandIconAriaLabel()),F(),Ce("ngTemplateOutlet",n)}}function Woe(e,t){e&1&&Gt(0)}function Yoe(e,t){if(e&1&&me(0,Woe,1,0,"ng-container",5),e&2){le();let r=Au(7);Ce("ngTemplateOutlet",r)}}function Koe(e,t){if(e&1&&(V(0,"h2"),ne(1),B()),e&2){let r=le(3);F(),je(r.alertTitle())}}function Qoe(e,t){if(e&1&&(V(0,"p"),ne(1),B()),e&2){let r=le(3);F(),je(r.alertSubtitle())}}function Xoe(e,t){if(e&1&&(V(0,"div"),me(1,Koe,2,1,"h2")(2,Qoe,2,1,"p"),B()),e&2){let r=le(2);F(),Fe(r.alertTitle()?1:-1),F(),Fe(r.alertSubtitle()?2:-1)}}function Joe(e,t){e&1&&Gt(0)}function ese(e,t){if(e&1&&me(0,Joe,1,0,"ng-container",5),e&2){le(2);let r=Au(7);Ce("ngTemplateOutlet",r)}}function tse(e,t){if(e&1){let r=qr();V(0,"mat-icon",11),kn("click",function(){wn(r);let n=le(2);return xn(n.onCloseButtonClick())})("keydown.enter",function(){wn(r);let n=le(2);return xn(n.onCloseButtonClick())})("keydown.space",function(){wn(r);let n=le(2);return xn(n.onCloseButtonClick())}),B()}if(e&2){let r=le(2);cn("aria-label",r.closeButtonAriaLabel())}}function nse(e,t){if(e&1&&We(0,"mat-icon",10),e&2){let r=le(2);Ce("fontIcon",r.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function rse(e,t){if(e&1&&(We(0,"mat-icon",7),V(1,"div",8),me(2,Xoe,3,2,"div")(3,ese,1,1,"ng-container"),B(),me(4,tse,1,1,"mat-icon",9)(5,nse,1,1,"mat-icon",10)),e&2){let r=le();Ce("fontIcon",r.fontIcon()),F(2),Fe(r.alertTitle()||r.alertSubtitle()?2:r.dismissMode()!=="expandable"?3:-1),F(2),Fe(r.dismissMode()==="closable"?4:r.dismissMode()==="expandable"?5:-1)}}function ase(e,t){if(e&1){let r=qr();V(0,"button",14),kn("click",function(){wn(r);let n=le(2);return xn(n.onActionButtonClicked())}),ne(1),B()}if(e&2){let r=le(2);Ce("disabled",r.buttonDisabled()),F(),ot(" ",r.buttonLabel()," ")}}function ise(e,t){if(e&1&&(V(0,"span",12),zt(1),B(),me(2,ase,2,2,"button",13)),e&2){let r=le();F(2),Fe(r.actionButton()?2:-1)}}var M9=(()=>{const t=class t{constructor(){s(this,"usage",Be("info"));s(this,"backgroundColor",Be("color"));s(this,"alertTitle",Be());s(this,"alertSubtitle",Be());s(this,"actionButton",Be(!1));s(this,"buttonDisabled",Be(!1));s(this,"buttonLabel",Be());s(this,"dismissMode",Be("pinned"));s(this,"closeButtonAriaLabel",Be(""));s(this,"startExpanded",Be(!1));s(this,"expandedButtonAriaLabel",Be(""));s(this,"collapsedButtonAriaLabel",Be(""));s(this,"closeButtonClicked",Fl());s(this,"actionButtonClicked",Fl());s(this,"expanded",zK(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",Ta(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",Ta(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",Ta(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",Ta(()=>({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",Le({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:qoe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(n,a){n&1&&(gr(),V(0,"div",2),me(1,Goe,2,1,"div",3)(2,Zoe,2,2,"div",4)(3,Yoe,1,1,"ng-container"),B(),me(4,rse,6,3,"ng-template",null,0,Lf)(6,ise,3,1,"ng-template",null,1,Lf)),n&2&&(Mu(a.usage()),tn("white",a.backgroundColor()==="white"),F(),Fe(a.dismissMode()!=="expandable"?1:2),F(2),Fe(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[O_,TQ,qu,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 uh(e){return(e==null?void 0:e.medication)!=null}var ose=(()=>{const t=class t{transform(n){return uh(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"canDisplayDeliveredMedication",type:t,pure:!0});let e=t;return e})(),A9=(()=>{const t=class t{constructor(){this.http=S(Qi)}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})(),sse={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:wi.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:wi.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:wi.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}]},P9=(()=>{const t=class t{constructor(){this.demoService=S(Fae)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",sse)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),L9=(()=>{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})(),lse=(e,t)=>e.getEnvironmentVariable("env")===ea.DEMO?t.get(P9):t.get(A9),use={provide:L9,useFactory:lse,deps:[Ji,dt]},ov=(()=>{const t=class t extends k1{constructor(n,a){super(n.getServices(),Zo.DELIVERED_MEDICATIONS,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Zo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=S(L9),this.authServiceSelector=S(Pi),this.deliveredMedicationsStateSubject$=new Ma({status:xi.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return It(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),a=this.deliveredMedicationsApiService.get(n);return T6(a)})}getDeliveredMedications(n=!0){return It(this,null,function*(){return jae(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(oe(Hu),oe(Pi))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),cse=(()=>{const t=class t{constructor(){this.authService=S(Pi).getInstance(),this.templateRef=S(un),this.viewContainer=S(Zn),this.cdRef=S(pa)}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=Se({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),F9={"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(F9);var dse=F9,j9={"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(j9);var hse=j9,Dn=function(e,t,r,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},oi,vo,Ca,pse=class{constructor(...e){oi.set(this,new Map),vo.set(this,new Map),Ca.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[r,n]of Object.entries(e)){r=r.toLowerCase(),n=n.map(o=>o.toLowerCase()),Dn(this,Ca,"f").has(r)||Dn(this,Ca,"f").set(r,new Set);let a=Dn(this,Ca,"f").get(r),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),i&&Dn(this,vo,"f").set(r,o),i=!1,l)continue;let u=Dn(this,oi,"f").get(o);if(u&&u!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);Dn(this,oi,"f").set(o,r)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(r.length<t.length-1)&&n?null:Dn(this,oi,"f").get(r)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Dn(this,vo,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Dn(this,Ca,"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 Dn(this,Ca,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Dn(this,oi,"f"),extensions:Dn(this,vo,"f")}}};oi=new WeakMap,vo=new WeakMap,Ca=new WeakMap;var mse=pse;new mse(hse,dse)._freeze();var fse=(()=>{const t=class t{transform(n){return T1(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"fullname",type:t,pure:!0});let e=t;return e})(),vm=(()=>{const t=class t{constructor(){this.ingredientLabelService=S(Uae),this.translate=S(Qn),this.destroyRef=S(pr),this.cd=S(pa),this.translate.onLangChange.pipe(I1(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=Wn({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),gse=(()=>{const t=class t{transform(n,a){return this.sortFn([...n],a.sortProperty,a.isAscending)}sortFn(n,a,i){return[...n].sort((o,l)=>{var d,m;let u=i?o:l,c=i?l:o;if(a==="deliveryDate"){let v=u[a]?(d=new Date(u[a]))==null?void 0:d.getTime():0,g=c[a]?(m=new Date(c[a]))==null?void 0:m.getTime():0;return this.compareData(v,g,i)}return this.compareData(u[a],c[a],i)})}compareData(n,a,i){return n==null&&a==null||n===a?0:n==null?i?-1:1:a==null?i?1:-1:n>a?1:-1}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"sortOn",type:t,pure:!0});let e=t;return e})(),bm=(()=>{const t=class t{constructor(){this.translate=S(Qn)}transform(n){return nu(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"translateValue",type:t,pure:!0});let e=t;return e})(),vse=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"absolute",type:t,pure:!0});let e=t;return e})();Dv(P$());var bse=(()=>{const t=class t{constructor(){this.leaflet=Be.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-download-link"]],inputs:{leaflet:[1,"leaflet"]},decls:4,vars:4,consts:[["mat-button","","target","_blank",3,"href"],["fontIcon","download"]],template:function(n,a){n&1&&(V(0,"a",0),We(1,"mat-icon",1),ne(2),ee(3,"translate"),B()),n&2&&(Ce("href",a.leaflet(),ry),F(2),ot(" ",re(3,2,"commons.downloadLeaflet")," "))},dependencies:[Bu,zw,qu,$r],encapsulation:2});let e=t;return e})(),yse=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(V(0,"h2",0),ne(1),ee(2,"translate"),B(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ne(6),ee(7,"translate"),B()(),V(8,"p")(9,"span"),ne(10),ee(11,"translate"),B(),V(12,"a",1),ee(13,"translate"),ne(14),ee(15,"translate"),B(),ne(16,"."),B()(),V(17,"mat-dialog-actions")(18,"button",2),ne(19),ee(20,"translate"),B(),V(21,"button",3),ne(22),ee(23,"translate"),B()()),n&2&&(F(),je(re(2,9,"commons.errors.report-message-title")),F(5),je(re(7,11,"commons.errors.report-message-explanation")),F(4),je(re(11,13,"commons.errors.report-message-content")),F(2),Ce("href",re(13,15,"commons.errors.report-message-link"),ry),F(2),je(re(15,17,"commons.errors.report-message-term-use")),F(4),Ce("mat-dialog-close",!0),F(),ot(" ",re(20,19,"commons.errors.report-message-report-button")," "),F(2),Ce("mat-dialog-close",!1),F(),ot(" ",re(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[Pw,Tw,Ow,Mw,Nw,Bu,ws,$r],encapsulation:2});let e=t;return e})(),_se=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(Dw)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(V(0,"h2",0),ne(1),ee(2,"translate"),B(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ne(6),ee(7,"translate"),B()()(),V(8,"mat-dialog-actions")(9,"button",1),ne(10),ee(11,"translate"),B()()),n&2&&(F(),je(re(2,4,"commons.errors.action-not-authorized-title")),F(5),je(re(7,6,"commons.errors."+a.vidisErrorCode)),F(3),Ce("mat-dialog-close",!1),F(),ot(" ",re(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[Pw,Tw,Ow,Mw,Nw,Bu,ws,$r],encapsulation:2});let e=t;return e})();function sv(e,t,r){let n=b1(),a=Ese(e,r.timeZone,r.locale??n.locale);return"formatToParts"in a?wse(a,t):xse(a,t)}function wse(e,t){let r=e.formatToParts(t);for(let n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function xse(e,t){let r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function Ese(e,t,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Sse(e,t){let r=Tse(t);return"formatToParts"in r?Cse(r,e):Dse(r,e)}var kse={year:0,month:1,day:2,hour:3,minute:4,second:5};function Cse(e,t){try{let r=e.formatToParts(t),n=[];for(let a=0;a<r.length;a++){let i=kse[r[a].type];i!==void 0&&(n[i]=parseInt(r[a].value,10))}return n}catch(r){if(r instanceof RangeError)return[NaN];throw r}}function Dse(e,t){let r=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}var Uc={},lv=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")),Ise=lv==="06/25/2014, 00:00:00"||lv==="06/25/2014 00:00:00";function Tse(e){return Uc[e]||(Uc[e]=Ise?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"})),Uc[e]}function V9(e,t,r,n,a,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,r),l.setUTCHours(n,a,i,o),l}var uv=36e5,Rse=6e4,Zc={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function z9(e,t,r){if(!e)return 0;let n=Zc.timezoneZ.exec(e);if(n)return 0;let a,i;if(n=Zc.timezoneHH.exec(e),n)return a=parseInt(n[1],10),cv(a)?-(a*uv):NaN;if(n=Zc.timezoneHHMM.exec(e),n){a=parseInt(n[2],10);let o=parseInt(n[3],10);return cv(a,o)?(i=Math.abs(a)*uv+o*Rse,n[1]==="+"?-i:i):NaN}if(Mse(e)){t=new Date(t||Date.now());let o=r?t:Ose(t),l=ch(o,e);return-(r?l:Nse(t,l,e))}return NaN}function Ose(e){return V9(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ch(e,t){let r=Sse(e,t),n=V9(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime(),a=e.getTime(),i=a%1e3;return a-=i>=0?i:1e3+i,n-a}function Nse(e,t,r){let n=e.getTime()-t,a=ch(new Date(n),r);if(t===a)return t;n-=a-t;let i=ch(new Date(n),r);return a===i?a:Math.max(a,i)}function cv(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var dv={};function Mse(e){if(dv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),dv[e]=!0,!0}catch{return!1}}var Ase=60*1e3,Pse={X:function(e,t,r){let n=Wc(r.timeZone,e);if(n===0)return"Z";switch(t){case"X":return hv(n);case"XXXX":case"XX":return si(n);case"XXXXX":case"XXX":default:return si(n,":")}},x:function(e,t,r){let n=Wc(r.timeZone,e);switch(t){case"x":return hv(n);case"xxxx":case"xx":return si(n);case"xxxxx":case"xxx":default:return si(n,":")}},O:function(e,t,r){let n=Wc(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Lse(n,":");case"OOOO":default:return"GMT"+si(n,":")}},z:function(e,t,r){switch(t){case"z":case"zz":case"zzz":return sv("short",e,r);case"zzzz":default:return sv("long",e,r)}}};function Wc(e,t){let r=e?z9(e,t,!0)/Ase:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function au(e,t){let r=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return r+n}function si(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=au(Math.floor(n/60),2),i=au(Math.floor(n%60),2);return r+a+t+i}function hv(e,t){return e%60===0?(e>0?"-":"+")+au(Math.abs(e)/60,2):si(e,t)}function Lse(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+au(i,2)}function pv(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 Fse=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Yc=36e5,mv=6e4,jse=2,on={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:Fse};function Vse(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let r=t.additionalDigits==null?jse:Number(t.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let n=zse(e),{year:a,restDateString:i}=Bse(n.date,r),o=Hse(i,a);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=qse(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=z9(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=pv(new Date(l+u)),c=pv(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function zse(e){let t={},r=on.dateTimePattern.exec(e),n;if(r?(t.date=r[1],n=r[3]):(r=on.datePattern.exec(e),r?(t.date=r[1],n=r[2]):(t.date=null,n=e)),n){let a=on.timeZone.exec(n);a?(t.time=n.replace(a[1],""),t.timeZone=a[1].trim()):t.time=n}return t}function Bse(e,t){if(e){let r=on.YYY[t],n=on.YYYYY[t],a=on.YYYY.exec(e)||n.exec(e);if(a){let i=a[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(a=on.YY.exec(e)||r.exec(e),a){let i=a[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function Hse(e,t){if(t===null)return null;let r,n,a;if(!e||!e.length)return r=new Date(0),r.setUTCFullYear(t),r;let i=on.MM.exec(e);if(i)return r=new Date(0),n=parseInt(i[1],10)-1,gv(t,n)?(r.setUTCFullYear(t,n),r):new Date(NaN);if(i=on.DDD.exec(e),i){r=new Date(0);let o=parseInt(i[1],10);return Use(t,o)?(r.setUTCFullYear(t,0,o),r):new Date(NaN)}if(i=on.MMDD.exec(e),i){r=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return gv(t,n,o)?(r.setUTCFullYear(t,n,o),r):new Date(NaN)}if(i=on.Www.exec(e),i)return a=parseInt(i[1],10)-1,vv(a)?fv(t,a):new Date(NaN);if(i=on.WwwD.exec(e),i){a=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return vv(a,o)?fv(t,a,o):new Date(NaN)}return null}function qse(e){let t,r,n=on.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Kc(t)?t%24*Yc:NaN;if(n=on.HHMM.exec(e),n)return t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")),Kc(t,r)?t%24*Yc+r*mv:NaN;if(n=on.HHMMSS.exec(e),n){t=parseInt(n[1],10),r=parseInt(n[2],10);let a=parseFloat(n[3].replace(",","."));return Kc(t,r,a)?t%24*Yc+r*mv+a*1e3:NaN}return null}function fv(e,t,r){t=t||0,r=r||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let a=n.getUTCDay()||7,i=t*7+r+1-a;return n.setUTCDate(n.getUTCDate()+i),n}var $se=[31,28,31,30,31,30,31,31,30,31,30,31],Gse=[31,29,31,30,31,30,31,31,30,31,30,31];function B9(e){return e%400===0||e%4===0&&e%100!==0}function gv(e,t,r){if(t<0||t>11)return!1;if(r!=null){if(r<1)return!1;let n=B9(e);if(n&&r>Gse[t]||!n&&r>$se[t])return!1}return!0}function Use(e,t){if(t<1)return!1;let r=B9(e);return!(r&&t>366||!r&&t>365)}function vv(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Kc(e,t,r){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||r!=null&&(r<0||r>=60))}var Zse=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Wse(e,t,r={}){t=String(t);let n=t.match(Zse);if(n){let a=Vse(r.originalDate||e,r);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),u=i[l-1]==="'",c=i.replace(o,"'"+Pse[o[0]](a,o,r)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return v1(e,t,r)}var Yse=(()=>{const t=class t{reportError(n){return Je({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})(),Kse=(()=>{const t=class t{constructor(){this.http=S(Qi),this.authService=S(Pi).getInstance(),this.apiUrl=S(Ji).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[So.userType]:Na.getUserType({isProfessional:this.authService.isProfessional}),[So.clientType]:C1()?Na.clientType.mobileApp:Na.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qse=(()=>{const t=class t{constructor(){this.config=S(Ji),this.injector=S(dt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Yse):this.injector.get(Kse)}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})(),Xse=(()=>{const t=class t extends Iae{constructor(){super(...arguments),this.version=oh,this.authServiceSelector=S(Pi),this.translateService=S(Qn),this.webComponentConfig=S(Ji),this.injector=S(dt),this.servicesStore=S(Hu),this.matDialog=S(zu),this.destroyRef=S(pr),this.errorServiceSelector=S(Qse),this.snackbarService=S(N1),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return It(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=>It(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)===Pr.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===Pr.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(yse,{data:{error:n}}).beforeClosed().pipe(Or(a=>a),I1(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let a={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:i=>{i.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(n){this.matDialog.open(_se,{data:n})}formatDateWithZone(){return Wse(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})(),t.ɵcmp=Le({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ke],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})();function Jse(e,t){if(e&1&&(V(0,"mh-alert",0),ee(1,"translate"),V(2,"div",1),ne(3),ee(4,"translate"),B()()),e&2){let r=le();Ce("alertTitle",re(1,2,"commons.errors.data-not-available-title")),F(3),je(re(4,4,"commons.errors."+r.error().code))}}var ele=(()=>{const t=class t{constructor(){this.error=Be.required(),this.vidisErrorGroup=Pr}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,a){n&1&&me(0,Jse,5,6,"mh-alert",0),n&2&&Fe(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[$r,M9],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})(),tle=["*"],nle=(()=>{const t=class t{constructor(){this.item=Be.required(),this.expandedElement=MW.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:tle,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(n,a){n&1&&(gr(),V(0,"button",0),kn("click",function(){return a.expandedElement.set(a.expandedElement()===a.item()?null:a.item())}),We(1,"mat-icon",1),zt(2),B()),n&2&&(F(),Ce("fontIcon",a.item()===a.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Bu,ws,qu],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})(),rle=e=>({count:e});function ale(e,t){e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B()),e&2&&(F(),je(re(2,1,"deliveredMedicationDetails.leaflet")))}function ile(e,t){if(e&1&&(V(0,"span",2),We(1,"vidis-download-link",5),B()),e&2){let r=le(3);F(),Ce("leaflet",r.leafletUrl())}}function ole(e,t){e&1&&me(0,ale,3,3,"span",3)(1,ile,2,1,"span",4)}function sle(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"translateValue"),B(),me(6,ole,2,0)),e&2){let r=le();F(),je(re(2,3,"deliveredMedicationDetails.medication")),F(3),je(re(5,5,r.item().medication.name)),F(2),Fe(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function lle(e,t){if(e&1&&(ne(0),ee(1,"ingredientLabel")),e&2){let r=t.$implicit;ot(" ",re(1,1,r)," ")}}function ule(e,t){if(e&1&&(V(0,"span",1)(1,"strong"),ne(2),ee(3,"translate"),B()(),V(4,"span",2),Wi(5,lle,2,3,null,null,Tp),B()),e&2){let r=le();F(2),je(re(3,1,"deliveredMedicationsList.magisterialPreparation")),F(3),Yi(r.item().medication.ingredients)}}function cle(e,t){if(e&1&&(V(0,"li"),ne(1),ee(2,"translateValue"),B()),e&2){let r=t.$implicit;F(),ot(" ",re(2,1,r.texts)," ")}}function dle(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2)(4,"ul"),Wi(5,cle,3,3,"li",null,Tp),B()()),e&2){let r=le();F(),je(re(2,1,"deliveredMedicationDetails.posologie")),F(4),Yi(r.item().dosageInstructions)}}function hle(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"date"),B()),e&2){let r=le(),n=le();F(),je(re(2,2,r<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),F(3),je(gs(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function ple(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"absolute"),ee(6,"absolute"),ee(7,"translate"),B(),me(8,hle,6,7),V(9,"span",1),ne(10),ee(11,"translate"),B()),e&2){let r=t,n=le();F(),je(re(2,5,r<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),F(3),Np("",re(5,7,r)," ",gs(7,11,"deliveredMedicationDetails.package",f_(16,rle,re(6,9,r))),""),F(4),Fe(n.displayAllDetails()?8:-1),F(2),je(re(11,14,r<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function mle(e,t){if(e&1&&(ne(0),ee(1,"translateValue"),We(2,"br"),ne(3)),e&2){let r=le();ot(" ",re(1,2,t)," "),F(3),ot(" ",r.item().pharmacy.nihdi," ")}}function fle(e,t){if(e&1&&(ne(0),ee(1,"translate")),e&2){let r=le();Np(" ",re(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function gle(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"fullname"),B()),e&2){let r=le();F(),je(re(2,2,"deliveredMedicationDetails.patient")),F(3),je(re(5,4,r.item().person))}}var vle=(()=>{const t=class t{constructor(){this.translate=S(Qn),this.leafletService=S(R1),this.leafletUrl=Mo(""),this.item=Be.required(),this.displayAllDetails=Be(!1),this.isProfessional=Be.required(),this.identifierType=wi}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(sn(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=Le({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],[3,"leaflet"]],template:function(n,a){if(n&1&&(V(0,"span",0),me(1,sle,7,7)(2,ule,7,3)(3,dle,7,3),V(4,"span",1),ne(5),ee(6,"translate"),B(),V(7,"span",2),ne(8),ee(9,"translate"),B(),me(10,ple,12,18),V(11,"span",2),me(12,mle,4,4)(13,fle,2,4),B(),me(14,gle,6,6),V(15,"span",1),ne(16),ee(17,"translate"),B(),V(18,"span",2),ne(19),B()()),n&2){let i,o,l;F(),Fe(a.item().medication.name?1:2),F(2),Fe((i=a.item().dosageInstructions)!=null&&i.length?3:-1),F(2),je(re(6,9,"deliveredMedicationDetails.is-prescribed.title")),F(3),je(re(9,11,"deliveredMedicationDetails.is-prescribed."+(a.item().isPrescribed?"yes":"no"))),F(2),Fe((o=(o=a.item().medication.quantity)==null?null:o.value)?10:-1,o),F(2),Fe((l=(l=a.item().pharmacy)==null?null:l.name)?12:13,l),F(2),Fe(a.displayAllDetails()&&!a.isProfessional()?14:-1),F(2),je(re(17,13,"deliveredMedicationDetails.dguid")),F(3),je(a.item().dguid)}},dependencies:[$r,bm,vm,jp,fse,vse,cse,bse],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})(),ble=(()=>{const t=class t{constructor(){this.sanitizer=S($p)}transform(n,a="html"){let i={html:At.HTML,style:At.STYLE,script:At.SCRIPT,url:At.URL,resourceUrl:At.RESOURCE_URL}[a];return this.sanitizer.sanitize(i,n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"sanitize",type:t,pure:!0});let e=t;return e})(),yle=["*"];function _le(e,t){e&1&&(V(0,"div",2),XG(),V(1,"svg",3),We(2,"path",4),B()())}var H9=new J("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 be);s(this,"active");s(this,"start","asc");s(this,"_direction","");s(this,"disableClear");s(this,"disabled",!1);s(this,"sortChange",new Pt);s(this,"initialized",this._initializedStream);this._defaultOptions=n}get direction(){return this._direction}set direction(n){this._direction=n}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){var l;if(!n)return"";let a=(n==null?void 0:n.disableClear)??this.disableClear??!!((l=this._defaultOptions)!=null&&l.disableClear),i=wle(n.start||this.start,a),o=i.indexOf(this.direction)+1;return o>=i.length&&(o=0),i[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};s(t,"ɵfac",function(n){return new(n||t)($t(H9,8))}),s(t,"ɵdir",Se({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",Xt],disabled:[2,"matSortDisabled","disabled",Xt]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ga]}));let e=t;return e})();function wle(e,t){let r=["asc","desc"];return e=="desc"&&r.reverse(),t||r.push(""),r}var iu=(()=>{const t=class t{constructor(){s(this,"changes",new be)}};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 xle(e){return e||new iu}var Ele={provide:iu,deps:[[new Nh,new Mh,iu]],useFactory:xle},Sle=(()=>{const t=class t{constructor(){s(this,"_intl",S(iu));s(this,"_sort",S(dh,{optional:!0}));s(this,"_columnDef",S("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0}));s(this,"_changeDetectorRef",S(pa));s(this,"_focusMonitor",S(Yp));s(this,"_elementRef",S(lt));s(this,"_ariaDescriber",S(SJ,{optional:!0}));s(this,"_renderChanges");s(this,"_animationModule",S(Wa,{optional:!0}));s(this,"_recentlyCleared",Mo(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(Qa).load(vw);let n=S(H9,{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=Ei(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>this._recentlyCleared.set(null))}ngOnDestroy(){var n,a;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),(n=this._renderChanges)==null||n.unsubscribe(),this._sortButton&&((a=this._ariaDescriber)==null||a.removeDescription(this._sortButton,this._sortActionDescription))}_toggleOnInteraction(){if(!this._isDisabled()){let n=this._isSorted(),a=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(n&&!this._isSorted()?a:null)}}_handleKeydown(n){(n.keyCode===32||n.keyCode===13)&&(n.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(n){var a,i;this._sortButton&&((a=this._ariaDescriber)==null||a.removeDescription(this._sortButton,this._sortActionDescription),(i=this._ariaDescriber)==null||i.describe(this._sortButton,n)),this._sortActionDescription=n}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,a){n&1&&kn("click",function(){return a._toggleOnInteraction()})("keydown",function(i){return a._handleKeydown(i)})("mouseleave",function(){return a._recentlyCleared.set(null)}),n&2&&(cn("aria-sort",a._getAriaSortAttribute()),tn("mat-sort-header-disabled",a._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",Xt],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Xt]},exportAs:["matSortHeader"],ngContentSelectors:yle,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,a){n&1&&(gr(),V(0,"div",0)(1,"div",1),zt(2),B(),me(3,_le,3,0,"div",2),B()),n&2&&(tn("mat-sort-header-sorted",a._isSorted())("mat-sort-header-position-before",a.arrowPosition==="before")("mat-sort-header-descending",a._sort.direction==="desc")("mat-sort-header-ascending",a._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",a._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",a._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",a._animationModule==="NoopAnimations"),cn("tabindex",a._isDisabled()?null:0)("role",a._isDisabled()?null:"button"),F(3),Fe(a._renderArrow()?3:-1))},styles:[`.mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}
|
|
38
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),kle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[Ele],imports:[Vr]}));let e=t;return e})(),Cle=[[["caption"]],[["colgroup"],["col"]],"*"],Dle=["caption","colgroup, col","*"];function Ile(e,t){e&1&&zt(0,2)}function Tle(e,t){e&1&&(V(0,"thead",0),Gt(1,1),B(),V(2,"tbody",0),Gt(3,2)(4,3),B(),V(5,"tfoot",0),Gt(6,4),B())}function Rle(e,t){e&1&&Gt(0,1)(1,2)(2,3)(3,4)}var vr=new J("CDK_TABLE"),hh=(()=>{const t=class t{constructor(){s(this,"template",S(un))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),ph=(()=>{const t=class t{constructor(){s(this,"template",S(un))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),Ole=(()=>{const t=class t{constructor(){s(this,"template",S(un))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Wo=(()=>{const t=class t{constructor(){s(this,"_table",S(vr,{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",Se({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,a,i){if(n&1&&(Xr(i,hh,5),Xr(i,ph,5),Xr(i,Ole,5)),n&2){let o;Rn(o=On())&&(a.cell=o.first),Rn(o=On())&&(a.headerCell=o.first),Rn(o=On())&&(a.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Xt],stickyEnd:[2,"stickyEnd","stickyEnd",Xt]},features:[Kn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),q9=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},Nle=(()=>{const t=class t extends q9{constructor(){super(S(Wo),S(lt))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ke]}));let e=t;return e})(),Mle=(()=>{const t=class t extends q9{constructor(){var o;let n=S(Wo),a=S(lt);super(n,a);let i=(o=n._table)==null?void 0:o._getCellRole();i&&a.nativeElement.setAttribute("role",i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ke]}));let e=t;return e})(),bv=class{constructor(){s(this,"tasks",[]);s(this,"endTasks",[])}},mh=new J("_COALESCED_STYLE_SCHEDULER"),$9=(()=>{const t=class t{constructor(){s(this,"_currentSchedule",null);s(this,"_ngZone",S($e))}schedule(n){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(n)}scheduleEnd(n){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(n)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new bv,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let n=this._currentSchedule;this._currentSchedule=new bv;for(let a of n.tasks)a();for(let a of n.endTasks)a()}this._currentSchedule=null})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),ym=(()=>{const t=class t{constructor(){s(this,"template",S(un));s(this,"_differs",S(Ki));s(this,"columns");s(this,"_columnsDiffer")}ngOnChanges(n){if(!this._columnsDiffer){let a=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(n){return this instanceof ou?n.headerCell.template:this instanceof G9?n.footerCell.template:n.cell.template}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,features:[Ga]}));let e=t;return e})(),ou=(()=>{const t=class t extends ym{constructor(){super(S(un),S(Ki));s(this,"_table",S(vr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}ngOnChanges(a){super.ngOnChanges(a)}hasStickyChanged(){let a=this._hasStickyChanged;return this.resetStickyChanged(),a}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Xt]},features:[Ke,Ga]}));let e=t;return e})(),G9=(()=>{const t=class t extends ym{constructor(){super(S(un),S(Ki));s(this,"_table",S(vr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}ngOnChanges(a){super.ngOnChanges(a)}hasStickyChanged(){let a=this._hasStickyChanged;return this.resetStickyChanged(),a}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Xt]},features:[Ke,Ga]}));let e=t;return e})(),fh=(()=>{const t=class t extends ym{constructor(){super(S(un),S(Ki));s(this,"_table",S(vr,{optional:!0}));s(this,"when")}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Ke]}));let e=t;return e})(),Li=(()=>{const t=class t{constructor(){s(this,"_viewContainer",S(Zn));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",Se({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),yv=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Gt(0,0)},dependencies:[Li],encapsulation:2}));let e=t;return e})(),_v=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Gt(0,0)},dependencies:[Li],encapsulation:2}));let e=t;return e})(),Ale=(()=>{const t=class t{constructor(){s(this,"templateRef",S(un));s(this,"_contentClassName","cdk-no-data-row")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),wv=["top","bottom","left","right"],Ple=class{constructor(e,t,r,n,a=!0,i=!0,o,l){s(this,"_isNativeHtmlTable");s(this,"_stickCellCss");s(this,"direction");s(this,"_coalescedStyleScheduler");s(this,"_isBrowser");s(this,"_needsPositionStickyOnElement");s(this,"_positionListener");s(this,"_tableInjector");s(this,"_elemSizeCache",new WeakMap);s(this,"_resizeObserver",globalThis!=null&&globalThis.ResizeObserver?new globalThis.ResizeObserver(e=>this._updateCachedSizes(e)):null);s(this,"_updatedStickyColumnsParamsToReplay",[]);s(this,"_stickyColumnsReplayTimeout",null);s(this,"_cachedCellWidths",[]);s(this,"_borderCellCss");s(this,"_destroyed",!1);this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=r,this._coalescedStyleScheduler=n,this._isBrowser=a,this._needsPositionStickyOnElement=i,this._positionListener=o,this._tableInjector=l,this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(e,t){(t.includes("left")||t.includes("right"))&&this._removeFromStickyColumnReplayQueue(e);let r=[];for(let n of e)n.nodeType===n.ELEMENT_NODE&&r.push(n,...Array.from(n.children));this._afterNextRender({write:()=>{for(let n of r)this._removeStickyStyle(n,t)}})}updateStickyColumns(e,t,r,n=!0,a=!0){var x,k;if(!e.length||!this._isBrowser||!(t.some(D=>D)||r.some(D=>D))){(x=this._positionListener)==null||x.stickyColumnsUpdated({sizes:[]}),(k=this._positionListener)==null||k.stickyEndColumnsUpdated({sizes:[]});return}let i=e[0],o=i.children.length,l=this.direction==="rtl",u=l?"right":"left",c=l?"left":"right",d=t.lastIndexOf(!0),m=r.indexOf(!0),v,g,w;a&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...r]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(i,n),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,r)},write:()=>{for(let D of e)for(let O=0;O<o;O++){let N=D.children[O];t[O]&&this._addStickyStyle(N,u,g[O],O===d),r[O]&&this._addStickyStyle(N,c,w[O],O===m)}this._positionListener&&v.some(D=>!!D)&&(this._positionListener.stickyColumnsUpdated({sizes:d===-1?[]:v.slice(0,d+1).map((D,O)=>t[O]?D:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:m===-1?[]:v.slice(m).map((D,O)=>r[O+m]?D:null).reverse()}))}})}stickRows(e,t,r){if(!this._isBrowser)return;let n=r==="bottom"?e.slice().reverse():e,a=r==="bottom"?t.slice().reverse():t,i=[],o=[],l=[];this._afterNextRender({earlyRead:()=>{for(let u=0,c=0;u<n.length;u++){if(!a[u])continue;i[u]=c;let d=n[u];l[u]=this._isNativeHtmlTable?Array.from(d.children):[d];let m=this._retrieveElementSize(d).height;c+=m,o[u]=m}},write:()=>{var c,d;let u=a.lastIndexOf(!0);for(let m=0;m<n.length;m++){if(!a[m])continue;let v=i[m],g=m===u;for(let w of l[m])this._addStickyStyle(w,r,v,g)}r==="top"?(c=this._positionListener)==null||c.stickyHeaderRowsUpdated({sizes:o,offsets:i,elements:l}):(d=this._positionListener)==null||d.stickyFooterRowsUpdated({sizes:o,offsets:i,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let r=e.querySelector("tfoot");r&&(t.some(n=>!n)?this._removeStickyStyle(r,["bottom"]):this._addStickyStyle(r,"bottom",0,!1))}})}destroy(){var e;this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),(e=this._resizeObserver)==null||e.disconnect(),this._destroyed=!0}_removeStickyStyle(e,t){if(e.classList.contains(this._stickCellCss)){for(let r of t)e.style[r]="",e.classList.remove(this._borderCellCss[r]);wv.some(r=>t.indexOf(r)===-1&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,r,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${r}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let t={top:100,bottom:10,left:1,right:1},r=0;for(let n of wv)e.style[n]&&(r+=t[n]);return r?`${r}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let r=[],n=e.children;for(let a=0;a<n.length;a++){let i=n[a];r.push(this._retrieveElementSize(i).width)}return this._cachedCellWidths=r,r}_getStickyStartColumnPositions(e,t){let r=[],n=0;for(let a=0;a<e.length;a++)t[a]&&(r[a]=n,n+=e[a]);return r}_getStickyEndColumnPositions(e,t){let r=[],n=0;for(let a=e.length;a>0;a--)t[a]&&(r[a]=n,n+=e[a]);return r}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let r=e.getBoundingClientRect(),n={width:r.width,height:r.height};return this._resizeObserver&&(this._elemSizeCache.set(e,n),this._resizeObserver.observe(e,{box:"border-box"})),n}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let t=new Set(e);for(let r of this._updatedStickyColumnsParamsToReplay)r.rows=r.rows.filter(n=>!t.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(r=>!!r.rows.length)}_updateCachedSizes(e){var r,n;let t=!1;for(let a of e){let i=(r=a.borderBoxSize)!=null&&r.length?{width:a.borderBoxSize[0].inlineSize,height:a.borderBoxSize[0].blockSize}:{width:a.contentRect.width,height:a.contentRect.height};i.width!==((n=this._elemSizeCache.get(a.target))==null?void 0:n.width)&&Lle(a.target)&&(t=!0),this._elemSizeCache.set(a.target,i)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let a of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(a.rows,a.stickyStartStates,a.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(e){this._tableInjector?ku(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function Lle(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var gh=new J("CDK_SPL"),U9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._rowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),Z9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._headerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),W9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._footerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),Y9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._noDataRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),xv=(()=>{const t=class t{constructor(){s(this,"_differs",S(Ki));s(this,"_changeDetectorRef",S(pa));s(this,"_elementRef",S(lt));s(this,"_dir",S(zo,{optional:!0}));s(this,"_platform",S(dn));s(this,"_viewRepeater",S(Wd));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 be);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 Pt);s(this,"viewChange",new Ma({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(dt));S(new Db("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,a)=>this.trackBy?this.trackBy(a.dataIndex,a.data):a)}_getCellRole(){if(this._cellRoleInternal===void 0){let n=this._elementRef.nativeElement.getAttribute("role");return n==="grid"||n==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(n){this._trackByFn=n}get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(n){this._multiTemplateDataRows=n,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(n){this._fixedLayout=n,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(oa(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var n,a,i,o;(n=this._stickyStyler)==null||n.destroy(),[(a=this._rowOutlet)==null?void 0:a.viewContainer,(i=this._headerRowOutlet)==null?void 0:i.viewContainer,(o=this._footerRowOutlet)==null?void 0:o.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l==null||l.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Mc(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let n=this._dataDiffer.diff(this._renderRows);if(!n){this._updateNoDataRow(),this.contentChanged.next();return}let a=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(n,a,(i,o,l)=>this._getEmbeddedViewArgs(i.item,l),i=>i.item.data,i=>{i.operation===xo.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),n.forEachIdentityChange(i=>{let o=a.get(i.currentIndex);o.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(n){this._customColumnDefs.add(n)}removeColumnDef(n){this._customColumnDefs.delete(n)}addRowDef(n){this._customRowDefs.add(n)}removeRowDef(n){this._customRowDefs.delete(n)}addHeaderRowDef(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0}removeHeaderRowDef(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0}addFooterRowDef(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0}removeFooterRowDef(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0}setNoDataRow(n){this._customNoDataRow=n}updateStickyHeaderRowStyles(){let n=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=Ev(this._headerRowOutlet,"thead");i&&(i.style.display=n.length?"":"none")}let a=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,a,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let n=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=Ev(this._footerRowOutlet,"tfoot");i&&(i.style.display=n.length?"":"none")}let a=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,a,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,a),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let n=this._getRenderedRows(this._headerRowOutlet),a=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...n,...a,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),n.forEach((o,l)=>{this._addStickyColumnStyles([o],this._headerRowDefs[l])}),this._rowDefs.forEach(o=>{let l=[];for(let u=0;u<a.length;u++)this._renderRows[u].rowDef===o&&l.push(a[u]);this._addStickyColumnStyles(l,o)}),i.forEach((o,l)=>{this._addStickyColumnStyles([o],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let n=[],a=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return n;for(let i=0;i<this._data.length;i++){let o=this._data[i],l=this._getRenderRowsForData(o,i,a.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let u=0;u<l.length;u++){let c=l[u],d=this._cachedRenderRowsMap.get(c.data);d.has(c.rowDef)?d.get(c.rowDef).push(c):d.set(c.rowDef,[c]),n.push(c)}}return n}_getRenderRowsForData(n,a,i){return this._getRowDefs(n,a).map(o=>{let l=i&&i.has(o)?i.get(o):[];if(l.length){let u=l.shift();return u.dataIndex=a,u}else return{data:n,rowDef:o,dataIndex:a}})}_cacheColumnDefs(){this._columnDefsByName.clear(),nl(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=nl(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=nl(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=nl(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let n=this._rowDefs.filter(a=>!a.when);!this.multiTemplateDataRows&&n.length>1,this._defaultRowDef=n[0]}_renderUpdatedColumns(){let n=(l,u)=>{let c=!!u.getColumnsDiff();return l||c},a=this._rowDefs.reduce(n,!1);a&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(n,!1);i&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(n,!1);return o&&this._forceRenderFooterRows(),a||i||o}_switchDataSource(n){this._data=[],Mc(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;Mc(this.dataSource)?n=this.dataSource.connect(this):fi(this.dataSource)?n=this.dataSource:Array.isArray(this.dataSource)&&(n=Je(this.dataSource)),this._renderChangeSubscription=n.pipe(oa(this._onDestroy)).subscribe(a=>{this._data=a||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((n,a)=>this._renderRow(this._headerRowOutlet,n,a)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((n,a)=>this._renderRow(this._footerRowOutlet,n,a)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(n,a){let i=Array.from((a==null?void 0:a.columns)||[]).map(u=>this._columnDefsByName.get(u)),o=i.map(u=>u.sticky),l=i.map(u=>u.stickyEnd);this._stickyStyler.updateStickyColumns(n,o,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(n){let a=[];for(let i=0;i<n.viewContainer.length;i++){let o=n.viewContainer.get(i);a.push(o.rootNodes[0])}return a}_getRowDefs(n,a){if(this._rowDefs.length==1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(o=>!o.when||o.when(a,n));else{let o=this._rowDefs.find(l=>l.when&&l.when(a,n))||this._defaultRowDef;o&&i.push(o)}return i.length,i}_getEmbeddedViewArgs(n,a){let i=n.rowDef,o={$implicit:n.data};return{templateRef:i.template,context:o,index:a}}_renderRow(n,a,i,o={}){let l=n.viewContainer.createEmbeddedView(a.template,o,i);return this._renderCellTemplateForItem(a,o),l}_renderCellTemplateForItem(n,a){for(let i of this._getCellTemplates(n))Li.mostRecentCellOutlet&&Li.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,a);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let n=this._rowOutlet.viewContainer;for(let a=0,i=n.length;a<i;a++){let o=n.get(a).context;o.count=i,o.first=a===0,o.last=a===i-1,o.even=a%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[a].dataIndex,o.renderIndex=a):o.index=this._renderRows[a].dataIndex}}_getCellTemplates(n){return!n||!n.columns?[]:Array.from(n.columns,a=>{let i=this._columnDefsByName.get(a);return n.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let n=(a,i)=>a||i.hasStickyChanged();this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let n=this._dir?this._dir.value:"ltr";this._stickyStyler=new Ple(this._isNativeHtmlTable,this.stickyCssClass,n,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:Je()).pipe(oa(this._onDestroy)).subscribe(a=>{this._stickyStyler.direction=a,this.updateStickyColumnStyles()})}_getOwnDefs(n){return n.filter(a=>!a._table||a._table===this)}_updateNoDataRow(){let n=this._customNoDataRow||this._noDataRow;if(!n)return;let a=this._rowOutlet.viewContainer.length===0;if(a===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(a){let o=i.createEmbeddedView(n.templateRef),l=o.rootNodes[0];o.rootNodes.length===1&&(l==null?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(n._contentClassName))}else i.clear();this._isShowingNoDataRow=a,this._changeDetectorRef.markForCheck()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,a,i){if(n&1&&(Xr(i,Ale,5),Xr(i,Wo,5),Xr(i,fh,5),Xr(i,ou,5),Xr(i,G9,5)),n&2){let o;Rn(o=On())&&(a._noDataRow=o.first),Rn(o=On())&&(a._contentColumnDefs=o),Rn(o=On())&&(a._contentRowDefs=o),Rn(o=On())&&(a._contentHeaderRowDefs=o),Rn(o=On())&&(a._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,a){n&2&&tn("cdk-table-fixed-layout",a.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Xt],fixedLayout:[2,"fixedLayout","fixedLayout",Xt]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Kn([{provide:vr,useExisting:t},{provide:Wd,useClass:Lw},{provide:mh,useClass:$9},{provide:gh,useValue:null}])],ngContentSelectors:Dle,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,a){n&1&&(gr(Cle),zt(0),zt(1,1),me(2,Ile,1,0)(3,Tle,7,0)(4,Rle,4,0)),n&2&&(F(2),Fe(a._isServer?2:-1),F(),Fe(a._isNativeHtmlTable?3:4))},dependencies:[Z9,U9,Y9,W9],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
|
|
39
|
-
`],encapsulation:2}));let e=t;return e})();function nl(e,t){return e.concat(Array.from(t))}function Ev(e,t){let r=t.toUpperCase(),n=e.viewContainer.element.nativeElement;for(;n;){let a=n.nodeType===1?n.nodeName:null;if(a===r)return n;if(a==="TABLE")break;n=n.parentNode}return null}var Fle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Yd]}));let e=t;return e})(),jle=[[["caption"]],[["colgroup"],["col"]],"*"],Vle=["caption","colgroup, col","*"];function zle(e,t){e&1&&zt(0,2)}function Ble(e,t){e&1&&(V(0,"thead",0),Gt(1,1),B(),V(2,"tbody",2),Gt(3,3)(4,4),B(),V(5,"tfoot",0),Gt(6,5),B())}function Hle(e,t){e&1&&Gt(0,1)(1,3)(2,4)(3,5)}var qle=(()=>{const t=class t extends xv{constructor(){super(...arguments);s(this,"stickyCssClass","mat-mdc-table-sticky");s(this,"needsPositionStickyOnElement",!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=et(t)))(i||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,i){a&2&&tn("mdc-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[Kn([{provide:xv,useExisting:t},{provide:vr,useExisting:t},{provide:mh,useClass:$9},{provide:Wd,useClass:Lw},{provide:gh,useValue:null}]),Ke],ngContentSelectors:Vle,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,i){a&1&&(gr(jle),zt(0),zt(1,1),me(2,zle,1,0)(3,Ble,7,0)(4,Hle,4,0)),a&2&&(F(2),Fe(i._isServer?2:-1),F(),Fe(i._isNativeHtmlTable?3:4))},dependencies:[Z9,U9,Y9,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}
|
|
40
|
-
`],encapsulation:2}));let e=t;return e})(),$le=(()=>{const t=class t extends hh{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matCellDef",""]],features:[Kn([{provide:hh,useExisting:t}]),Ke]}));let e=t;return e})(),Gle=(()=>{const t=class t extends ph{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matHeaderCellDef",""]],features:[Kn([{provide:ph,useExisting:t}]),Ke]}));let e=t;return e})(),Ule=(()=>{const t=class t extends Wo{get name(){return this._name}set name(n){this._setNameInput(n)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Kn([{provide:Wo,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Ke]}));let e=t;return e})(),Zle=(()=>{const t=class t extends Nle{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ke]}));let e=t;return e})(),Wle=(()=>{const t=class t extends Mle{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ke]}));let e=t;return e})(),Yle=(()=>{const t=class t extends ou{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Xt]},features:[Kn([{provide:ou,useExisting:t}]),Ke]}));let e=t;return e})(),Kle=(()=>{const t=class t extends fh{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Kn([{provide:fh,useExisting:t}]),Ke]}));let e=t;return e})(),Qle=(()=>{const t=class t extends yv{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵcmp",Le({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:[Kn([{provide:yv,useExisting:t}]),Ke],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Gt(0,0)},dependencies:[Li],encapsulation:2}));let e=t;return e})(),Xle=(()=>{const t=class t extends _v{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Kn([{provide:_v,useExisting:t}]),Ke],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,a){n&1&&Gt(0,0)},dependencies:[Li],encapsulation:2}));let e=t;return e})(),Jle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Vr,Fle,Vr]}));let e=t;return e})(),eue=9007199254740991,tue=class extends ZJ{constructor(t=[]){super();s(this,"_data");s(this,"_renderData",new Ma([]));s(this,"_filter",new Ma(""));s(this,"_internalPageChanges",new be);s(this,"_renderChangesSubscription",null);s(this,"filteredData");s(this,"_sort");s(this,"_paginator");s(this,"sortingDataAccessor",(t,r)=>{let n=t[r];if(sw(n)){let a=Number(n);return a<eue?a:n}return n});s(this,"sortData",(t,r)=>{let n=r.active,a=r.direction;return!n||a==""?t:t.sort((i,o)=>{let l=this.sortingDataAccessor(i,n),u=this.sortingDataAccessor(o,n),c=typeof l,d=typeof u;c!==d&&(c==="number"&&(l+=""),d==="number"&&(u+=""));let m=0;return l!=null&&u!=null?l>u?m=1:l<u&&(m=-1):l!=null?m=1:u!=null&&(m=-1),m*(a=="asc"?1:-1)})});s(this,"filterPredicate",(t,r)=>{let n=r.trim().toLowerCase();return Object.values(t).some(a=>`${a}`.toLowerCase().includes(n))});this._data=new Ma(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?Ei(this._sort.sortChange,this._sort.initialized):Je(null),r=this._paginator?Ei(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Je(null),n=this._data,a=ol([n,this._filter]).pipe(Tt(([u])=>this._filterData(u))),i=ol([a,t]).pipe(Tt(([u])=>this._orderData(u))),o=ol([i,r]).pipe(Tt(([u])=>this._pageData(u)));(l=this._renderChangesSubscription)==null||l.unsubscribe(),this._renderChangesSubscription=o.subscribe(u=>this._renderData.next(u))}_filterData(t){return this.filteredData=this.filter==null||this.filter===""?t:t.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;let r=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(r,r+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=t,r.pageIndex>0)){let n=Math.ceil(r.length/r.pageSize)-1||0,a=Math.min(r.pageIndex,n);a!==r.pageIndex&&(r.pageIndex=a,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}},nue=["*"],rue=(e,t,r,n,a)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:a});function aue(e,t){e&1&&zt(0)}function iue(e,t){if(e&1&&(V(0,"div",0),me(1,aue,1,0),B()),e&2){let r=le(),n=Pf(0),a=Pf(1);Ce("ngClass",aK(5,rue,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",r.styles()),cn("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),F(),Fe(n==="custom-content"?1:-1)}}var K9=new J("ngx-skeleton-loader.config"),Q9=(()=>{var t;const r=class r{constructor(){Am(this,t);var a,i,o,l,u,c;Pm(this,t,S(K9,{optional:!0})),this.count=Be(((a=Dr(this,t))==null?void 0:a.count)||1,{transform:__}),this.loadingText=Be(((i=Dr(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Be(((o=Dr(this,t))==null?void 0:o.appearance)||"line"),this.animation=Be(((l=Dr(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Be(((u=Dr(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=Be(((c=Dr(this,t))==null?void 0:c.theme)||null),this.items=Ta(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&wK(),[...Array(d)].map((m,v)=>v)}),this.styles=Ta(()=>{var m,v,g;let d=this.theme();return(v=(m=Dr(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ce(ce({},(g=Dr(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,r.ɵfac=function(a){return new(a||r)},r.ɵcmp=Le({type:r,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:nue,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,i){a&1&&(gr(),p_(0)(1),Wi(2,iue,2,11,"div",0,Rp)),a&2&&(Af(i.appearance()),F(),Af(i.animation()),F(),Yi(i.items()))},dependencies:[Lp,IQ],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=r;return e})(),X9=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:K9,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=Yt({type:t}),t.ɵinj=Wt({imports:[O_]});let e=t;return e})();function oue(e,t){if(e&1){let r=qr();V(0,"a",1),kn("click",function(n){wn(r);let a=le();return xn(a.onDownloadClick(n))}),We(1,"mat-icon",2),B()}}var sue=(()=>{const t=class t{constructor(){this.translateService=S(Qn),this.leafletService=S(R1),this.item=Be(),this.identifierType=wi}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translateService.currentLang,this.item().medication.identifier.value).pipe(sn(1)).subscribe(a=>{window.open(a,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-leaflet-download"]],inputs:{item:[1,"item"]},decls:1,vars:1,consts:[["mat-button","","target","_blank"],["mat-button","","target","_blank",3,"click"],["fontIcon","menu_book"]],template:function(n,a){n&1&&me(0,oue,2,0,"a",0),n&2&&Fe(a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?0:-1)},dependencies:[qu,zw],encapsulation:2});let e=t;return e})(),lue=()=>["error"],uue=()=>["expandDetails"],cue=(e,t)=>({"more-than-one-quantity":e,"negative-quantity":t}),due=()=>({height:"47px",margin:"0px"});function hue(e,t){e&1&&(V(0,"th",23),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.medicationName")," "))}function pue(e,t){if(e&1&&(V(0,"div",26),ne(1),ee(2,"translateValue"),B()),e&2){let r=le().$implicit;F(),je(re(2,1,r.medication.name))}}function mue(e,t){if(e&1&&(V(0,"div",28),ne(1),ee(2,"ingredientLabel"),B()),e&2){let r=t.$implicit;F(),ot(" ",re(2,1,r)," ")}}function fue(e,t){if(e&1&&(V(0,"div",27)(1,"strong"),ne(2),ee(3,"translate"),B()(),Wi(4,mue,3,3,"div",28,Tp),ee(6,"slice")),e&2){let r=le().$implicit;F(2),je(re(3,1,"deliveredMedicationsList.magisterialPreparation")),F(2),Yi(b_(6,3,r.medication.ingredients,0,2))}}function gue(e,t){if(e&1){let r=qr();V(0,"td",24)(1,"vidis-table-detail-button",25),d_("expandedElementChange",function(n){wn(r);let a=le();return XY(a.expandedElement,n)||(a.expandedElement=n),xn(n)}),me(2,pue,3,3,"div",26)(3,fue,7,7),B()()}if(e&2){let r=t.$implicit,n=le();F(),Ce("item",r),c_("expandedElement",n.expandedElement),F(),Fe(r.medication.name?2:3)}}function vue(e,t){e&1&&(V(0,"th",29),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.deliveredOn")," "))}function bue(e,t){if(e&1&&(V(0,"td",30),ne(1),ee(2,"date"),B()),e&2){let r=t.$implicit;F(),ot(" ",gs(2,1,r.deliveryDate," dd/MM/yyy")," ")}}function yue(e,t){e&1&&(V(0,"th",31),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.quantity")," "))}function _ue(e,t){if(e&1&&(V(0,"td",32)(1,"span",33),ne(2),B()()),e&2){let r=t.$implicit;F(),Ce("ngClass",rK(2,cue,(r.medication.quantity==null?null:r.medication.quantity.value)>1,(r.medication.quantity==null?null:r.medication.quantity.value)<0)),F(),ot(" ",r.medication.quantity.value," ")}}function wue(e,t){e&1&&(V(0,"th",34),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.leaflet")," "))}function xue(e,t){if(e&1&&(V(0,"td",35),We(1,"vidis-leaflet-download",36),B()),e&2){let r=t.$implicit;F(),Ce("item",r)}}function Eue(e,t){if(e&1&&(V(0,"td",37),ne(1),ee(2,"translate"),We(3,"br"),ne(4),B()),e&2){let r=t.$implicit;cn("colspan",4),F(),ot(" ",re(2,3,"error.deliveredMedication")," "),F(3),ot(" ( ",r.dguid," ) ")}}function Sue(e,t){if(e&1&&(V(0,"td",38)(1,"div"),We(2,"vidis-delivered-medication-details-row",36),B()()),e&2){let r=t.$implicit,n=le();tn("mh-detail-row--expanded",r===n.expandedElement()),Ce("colSpan",n.columns.length),F(2),Ce("item",r)}}function kue(e,t){e&1&&We(0,"tr",39)}function Cue(e,t){if(e&1&&We(0,"tr",40),e&2){let r=le();Ce("hidden",r.isLoading())}}function Due(e,t){e&1&&We(0,"tr",41)}function Iue(e,t){e&1&&We(0,"tr",42)}function Tue(e,t){e&1&&We(0,"ngx-skeleton-loader",21),e&2&&Ce("count",3)("theme",Vo(2,due))}function Rue(e,t){e&1&&(V(0,"p",22),ne(1),ee(2,"translate"),B()),e&2&&(F(),je(re(2,1,"deliveredMedicationsList.noContent")))}var Oue=(()=>{const t=class t{set sort(n){this.dataSource.sort=n,this.dataSource.sortingDataAccessor=(a,i)=>this.getSortingAccessor(a,i)}constructor(){this.translateService=S(Qn),this.data=Be(),this.isLoading=Be(),this.isProfessional=Be.required(),this.expandedElement=Mo(null),this.dataSource=new tue,this.columns=["medicationName","deliveryDate","quantity","leaflet"],this.canDisplayDeliveredMedication=(n,a)=>uh(a),this.canNotDisplayDeliveredMedication=(n,a)=>!uh(a),AK(()=>{var n;return this.dataSource.data=(n=this.data())==null?void 0:n.items})}getSortingAccessor(n,a){var i;switch(a){case"medicationName":return n.medication?n.medication.name?nu(n.medication.name,this.translateService.currentLang):nu(n.medication.ingredients[0].name,this.translateService.currentLang):"";case"quantity":return((i=n.medication.quantity)==null?void 0:i.value)||0;case"patientName":return T1(n.person);default:return n[a]}}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-delivered-medications-table"]],viewQuery:function(n,a){if(n&1&&ql(dh,7),n&2){let i;Rn(i=On())&&(a.sort=i.first)}},inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:24,vars:13,consts:[["mat-table","","matSort","","matSortActive","deliveryDate","matSortDirection","desc","matSortDisableClear","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","medicationName"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name",4,"matCellDef"],["matColumnDef","deliveryDate"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on",4,"matCellDef"],["matColumnDef","quantity"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity",4,"matCellDef"],["matColumnDef","leaflet"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","error"],["mat-cell","","class","error-text",4,"matCellDef"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["class","mh-detail-row","mat-row","",4,"matRowDef","matRowDefColumns"],["appearance","line",3,"count","theme"],[1,"no-content"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name"],[3,"expandedElementChange","item","expandedElement"],[1,"textOverflow","align-left"],["data-cy","delivered-medications-overview-table-magistral-preparation-label",1,"align-left"],["data-cy","delivered-medications-overview-table-ingredient",1,"textOverflow","align-left"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity"],[3,"ngClass"],["mat-header-cell",""],["mat-cell",""],[3,"item"],["mat-cell","",1,"error-text"],["mat-cell","",3,"colSpan"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row",""],["mat-row","",1,"mh-detail-row"]],template:function(n,a){n&1&&(V(0,"table",0),ee(1,"translate"),Kr(2,1),me(3,hue,3,3,"th",2)(4,gue,4,3,"td",3),Qr(),Kr(5,4),me(6,vue,3,3,"th",5)(7,bue,3,4,"td",6),Qr(),Kr(8,7),me(9,yue,3,3,"th",8)(10,_ue,3,5,"td",9),Qr(),Kr(11,10),me(12,wue,3,3,"th",11)(13,xue,2,1,"td",12),Qr(),Kr(14,13),me(15,Eue,5,5,"td",14),Qr(),Kr(16,15),me(17,Sue,3,4,"td",16),Qr(),me(18,kue,1,0,"tr",17)(19,Cue,1,1,"tr",18)(20,Due,1,0,"tr",19)(21,Iue,1,0,"tr",20),B(),me(22,Tue,1,3,"ngx-skeleton-loader",21)(23,Rue,3,3,"p",22)),n&2&&(Ce("dataSource",a.dataSource),cn("aria-label",re(1,9,"deliveredMedicationsList.title")),F(18),Ce("matHeaderRowDef",a.columns),F(),Ce("matRowDefColumns",a.columns)("matRowDefWhen",a.canDisplayDeliveredMedication),F(),Ce("matRowDefColumns",Vo(11,lue))("matRowDefWhen",a.canNotDisplayDeliveredMedication),F(),Ce("matRowDefColumns",Vo(12,uue)),F(),Fe(a.isLoading()?22:a.dataSource.data.length<=0?23:-1))},dependencies:[Jle,qle,Gle,Yle,Ule,$le,Kle,Zle,Wle,Qle,Xle,kle,dh,Sle,bm,jp,vm,$r,X9,Q9,R_,vle,nle,sue,Lp],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})(),Nue=["*"],Mue=new J("MAT_CARD_CONFIG"),Aue=(()=>{const t=class t{constructor(){s(this,"appearance");let n=S(Mue,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,a){n&2&&tn("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Nue,decls:1,vars:0,template:function(n,a){n&1&&(gr(),zt(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}
|
|
41
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Pue=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Lue=e=>({"negative-quantity":e});function Fue(e,t){e&1&&(V(0,"strong",3),ne(1),ee(2,"translateValue"),B()),e&2&&(F(),je(re(2,1,t)))}function jue(e,t){if(e&1&&(V(0,"div",3),ne(1),ee(2,"ingredientLabel"),B()),e&2){let r=t.$implicit;F(),je(re(2,1,r))}}function Vue(e,t){if(e&1&&(V(0,"div")(1,"strong"),ne(2),ee(3,"translate"),B()(),Wi(4,jue,3,3,"div",3,Rp),ee(6,"slice")),e&2){let r=le(2);F(2),je(re(3,1,"deliveredMedicationsList.magisterialPreparation")),F(2),Yi(b_(6,3,r.item().medication.ingredients,0,2))}}function zue(e,t){if(e&1){let r=qr();V(0,"mat-card",1),kn("click",function(){wn(r);let n=le();return xn(n.clickDetails.emit(null))}),V(1,"mat-card-content")(2,"div",2)(3,"div"),ne(4),ee(5,"date"),B()(),V(6,"div"),me(7,Fue,3,3,"strong",3)(8,Vue,7,7),B(),V(9,"div",4)(10,"span",5),ne(11),B()()()()}if(e&2){let r,n,a,i=le();F(4),je(gs(5,4,i.item().deliveryDate,"dd/MM/yyyy")),F(3),Fe((r=i.item().medication.name)?7:8,r),F(3),Ce("ngClass",f_(7,Lue,((n=i.item().medication.quantity)==null?null:n.value)<0)),F(),ot(" ",(a=i.item().medication.quantity)==null?null:a.value," ")}}function Bue(e,t){if(e&1&&(V(0,"mat-card")(1,"mat-card-content",6)(2,"div"),ne(3),ee(4,"translate"),B(),V(5,"div"),ne(6),B()()()),e&2){let r,n=le();F(3),je(re(4,2,"error.deliveredMedication")),F(3),ot("( ",(r=n.item())==null?null:r.dguid," )")}}var Hue=(()=>{const t=class t{constructor(){this.item=Be(),this.clickDetails=Fl()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-delivered-medications-card"]],inputs:{item:[1,"item"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[["role","button"],["role","button",3,"click"],[1,"card__top"],[1,"textOverflow"],[1,"quantity"],[3,"ngClass"],[1,"error-text"]],template:function(n,a){n&1&&(me(0,zue,12,9,"mat-card",0),ee(1,"canDisplayDeliveredMedication"),me(2,Bue,7,4,"mat-card")),n&2&&Fe(re(1,1,a.item())?0:2)},dependencies:[Aue,Pue,jp,ose,vm,bm,$r,R_,Lp],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})(),que=()=>({sortProperty:"deliveryDate",isAscending:!1}),$ue=()=>({height:"47px",margin:"0px"});function Gue(e,t){if(e&1){let r=qr();V(0,"vidis-delivered-medications-card",1),kn("clickDetails",function(){let n=wn(r).$implicit,a=le(2);return xn(a.clickDetails.emit(n.dguid))}),B()}if(e&2){let r=t.$implicit;Ce("item",r)}}function Uue(e,t){if(e&1&&(Wi(0,Gue,1,1,"vidis-delivered-medications-card",0,Rp),ee(2,"sortOn")),e&2){let r=le();Yi(gs(2,0,r.data().items,Vo(3,que)))}}function Zue(e,t){e&1&&We(0,"ngx-skeleton-loader",2),e&2&&Ce("count",10)("theme",Vo(2,$ue))}function Wue(e,t){e&1&&(V(0,"div",3),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.noContent")," "))}function Yue(e,t){if(e&1&&me(0,Zue,1,3,"ngx-skeleton-loader",2)(1,Wue,3,3,"div",3),e&2){let r=le();Fe(r.isLoading()?0:1)}}var Kue=(()=>{const t=class t{constructor(){this.data=Be(),this.isLoading=Be(),this.isProfessional=Be.required(),this.clickDetails=Fl()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-delivered-medications-mobile"]],inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},outputs:{clickDetails:"clickDetails"},decls:2,vars:1,consts:[[3,"item"],[3,"clickDetails","item"],["appearance","line",3,"count","theme"],["data-cy","no-deliverd-medications",1,"no-deliverd-medications"]],template:function(n,a){if(n&1&&me(0,Uue,3,4)(1,Yue,2,1),n&2){let i;Fe(((i=a.data())==null||i.items==null?null:i.items.length)>0?0:1)}},dependencies:[Hue,$r,gse,X9,Q9],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 Que(e,t){e&1&&(V(0,"div"),ne(1,"Component not properly initialized!"),B())}function Xue(e,t){if(e&1&&We(0,"vidis-status-message",0),e&2){let r=le();Ce("error",r.error)}}function Jue(e,t){if(e&1&&(We(0,"p",7),ee(1,"translate"),ee(2,"sanitize"),We(3,"p",8),ee(4,"translate"),ee(5,"sanitize")),e&2){let r=le(4);Ce("innerHTML",re(2,4,re(1,2,r.prefix+".part3")),jl),F(3),Ce("innerHTML",re(5,8,re(4,6,r.prefix+".part4")),jl)}}function ece(e,t){if(e&1){let r=qr();V(0,"div",1)(1,"mh-alert",2),ee(2,"translate"),We(3,"p",3),ee(4,"translate"),ee(5,"sanitize"),We(6,"p",4),ee(7,"translate"),ee(8,"sanitize"),me(9,Jue,6,10),B()(),We(10,"vidis-delivered-medications-table",5),V(11,"vidis-delivered-medications-mobile",6),kn("clickDetails",function(n){wn(r);let a=le(3);return xn(a.onSelectMedication.emit(n))}),B()}if(e&2){let r=le(),n=le(2);F(),Ce("startExpanded",!n.isMobile())("alertTitle",re(2,11,"deliveredMedicationsDisclaimer.header")),F(2),Ce("innerHTML",re(5,15,re(4,13,n.prefix+".part1")),jl),F(3),Ce("innerHTML",re(8,19,re(7,17,n.prefix+".part2")),jl),F(3),Fe(n.professional?-1:9),F(),Ce("isLoading",r.status===n.loadingStatus.LOADING)("data",r==null?null:r.data)("isProfessional",n.professional),F(),Ce("isLoading",r.status===n.loadingStatus.LOADING)("data",r==null?null:r.data)("isProfessional",n.professional)}}function tce(e,t){if(e&1&&me(0,Xue,1,1,"vidis-status-message",0)(1,ece,12,21),e&2){let r=le(2);Fe(t.status===r.loadingStatus.ERROR?0:1)}}function nce(e,t){if(e&1&&(me(0,tce,2,1),ee(1,"async")),e&2){let r,n=le();Fe((r=re(1,1,n.deliveredMedicationsState$))?0:-1,r)}}var rce=(()=>{const t=class t extends Xse{constructor(){super(...arguments),this.onSelectMedication=new Pt,this.isMobile=$ae(),this.loadingStatus=xi}fetchData(n){return It(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(n)})}injectService(){this.deliveredMedicationsService=this.injector.get(ov),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$,this.deliveredMedicationsState$.subscribe(n=>{n.status===this.loadingStatus.ERROR&&this.checkError(n.error)})}get prefix(){return"deliveredMedicationsDisclaimer."+(this.professional?"professional":"patient")}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=et(t)))(a||t)}})(),t.ɵcmp=Le({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[Kn([ov,A9,P9,use]),Ke],decls:2,vars:1,consts:[[3,"error"],[1,"disclaimer"],["dismissMode","expandable",3,"startExpanded","alertTitle"],["data-cy","delivered-medications-disclaimer-body-patient-part1",3,"innerHTML"],["data-cy","delivered-medications-disclaimer-body-patient-part2",3,"innerHTML"],[3,"isLoading","data","isProfessional"],[3,"clickDetails","isLoading","data","isProfessional"],["data-cy","delivered-medications-disclaimer-body-patient-part3",3,"innerHTML"],["data-cy","delivered-medications-disclaimer-body-patient-part4",3,"innerHTML"]],template:function(n,a){n&1&&me(0,Que,2,0,"div")(1,nce,2,3),n&2&&Fe(a.isCorrectlySetup()?1:0)},dependencies:[Oue,Kue,AQ,ele,M9,$r,ble],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})();nX({providers:[Noe]}).then(e=>{let t=JK(rce,{injector:e.injector});customElements.define("vidis-delivered-medication-list",t)}).catch(e=>console.error(e));
|