@smals-belgium-shared/vidis-delivered-medication-list 3.4.1-snapshot.2 → 3.4.1-snapshot.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/main-DnpaXdq6.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
var pq=Object.defineProperty;var Mm=e=>{throw TypeError(e)};var mq=(e,t,a)=>t in e?pq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var s=(e,t,a)=>mq(e,typeof t!="symbol"?t+"":t,a),Nm=(e,t,a)=>t.has(e)||Mm("Cannot "+a);var Ra=(e,t,a)=>(Nm(e,t,"read from private field"),a?a.call(e):t.get(e)),Am=(e,t,a)=>t.has(e)?Mm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),Pm=(e,t,a,n)=>(Nm(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var fq=Object.create,au=Object.defineProperty,gq=Object.defineProperties,vq=Object.getOwnPropertyDescriptor,bq=Object.getOwnPropertyDescriptors,yq=Object.getOwnPropertyNames,yl=Object.getOwnPropertySymbols,_q=Object.getPrototypeOf,fh=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable,Lm=(e,t,a)=>t in e?au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ce=(e,t)=>{for(var a in t||(t={}))fh.call(t,a)&&Lm(e,a,t[a]);if(yl)for(var a of yl(t))Dv.call(t,a)&&Lm(e,a,t[a]);return e},Qt=(e,t)=>gq(e,bq(t)),wq=(e,t)=>{var a={};for(var n in e)fh.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&yl)for(var n of yl(e))t.indexOf(n)<0&&Dv.call(e,n)&&(a[n]=e[n]);return a},se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pe=(e,t)=>{for(var a in t)au(e,a,{get:t[a],enumerable:!0})},xq=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of yq(t))!fh.call(e,r)&&r!==a&&au(e,r,{get:()=>t[r],enumerable:!(n=vq(t,r))||n.enumerable});return e},Iv=(e,t,a)=>(a=e!=null?fq(_q(e)):{},xq(t||!e||!e.__esModule?au(a,"default",{value:e,enumerable:!0}):a,e)),Rt=(e,t,a)=>new Promise((n,r)=>{var i=u=>{try{l(a.next(u))}catch(c){r(c)}},o=u=>{try{l(a.throw(u))}catch(c){r(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);l((a=a.apply(e,t)).next())}),Eq=se((e,t)=>{(function(a,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(a=typeof globalThis<"u"?globalThis:a||self,a.MessageFormat=n())})(e,function(){var a=function(){return a=Object.assign||function(p){for(var f,b=1,y=arguments.length;b<y;b++){f=arguments[b];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},a.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,b=f&&p[f],y=0;if(b)return b.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(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 re=new o(C.message,E);re.stack=C.stack,b(re)}if(R){let re=`Ignoring string part: ${R}`;b(new o(re,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):b(new o(`Duplicate ${I} token`,E)));let B=x(E,(re,ge)=>b(new o(re,E,ge)));B&&Object.assign(y,B)}return y}let D={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},O=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function M(p,f){let b=p[f],y=1;for(;p[++f]===b;)++y;let _=D[b];if(!_){let E=`The letter ${b} is not a valid field identifier`;return{char:b,error:new Error(E),width:y}}return{char:b,field:_.field,desc:_.desc,width:y}}function 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 M(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 we(p){let f=[],b=0;for(;;){let y=ue(p,b);if(!y)return f;f.push(y),b+=y.width}}function Mt(p,f,b,y){typeof f=="string"&&(f=we(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,y),E=new Intl.DateTimeFormat(p,_);return C=>E.format(C)}function wt(p,f,b,y){typeof f=="string"&&(f=we(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,y);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
|
|
2
|
-
`)+`
|
|
3
|
-
})()`}class at extends Error{constructor(f,b){super(b),this.code=f}}class Ct extends at{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class J extends at{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class U extends at{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class Ee extends at{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class F extends at{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class H extends at{constructor(f,b,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${b.length})`),this.stem=f,this.options=b}}function Y(p,f){let{numberingSystem:b}=f;return Array.isArray(p)||(p=[p]),b?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${b}`}).concat(p):p}function Ie(p,f){let b=+p+f/2;return b-b%+f}function Je(p){let{scale:f,unit:b}=p,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function Xt(p){let f=Je(p),{precision:b}=p;return b&&b.style==="precision-increment"?y=>Ie(y,b.increment)*f:y=>y*f}function Pe(p){let f=Je(p),{precision:b}=p;if(b&&b.style==="precision-increment"){let y=`+n + ${b.increment/2}`,_=`x - (x % +${b.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function ze(p,f){let{decimal:b,group:y,integerWidth:_,notation:E,precision:C,roundingMode:I,sign:R,unit:B,unitPer:re,unitWidth:ge}=p,Re=(it,xt)=>{},Q={};if(B)switch(B.style){case"base-unit":Q.style="decimal";break;case"currency":Q.style="currency",Q.currency=B.currency;break;case"measure-unit":Q.style="unit",Q.unit=B.unit.replace(/.*-/,""),re&&(Q.unit+="-per-"+re.replace(/.*-/,""));break;case"percent":Q.style="percent";break}switch(ge){case"unit-width-full-name":Q.currencyDisplay="name",Q.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":Q.currencyDisplay="code";break;case"unit-width-narrow":Q.currencyDisplay="narrowSymbol",Q.unitDisplay="narrow";break;case"unit-width-short":Q.currencyDisplay="symbol",Q.unitDisplay="short";break}switch(y){case"group-off":Q.useGrouping=!1;break;case"group-auto":Q.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":Q.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:it,maxFraction:xt,minSignificant:At,maxSignificant:sn,source:Bn}=C;typeof it=="number"&&(Q.minimumFractionDigits=it,typeof At=="number"&&Re()),typeof xt=="number"&&(Q.maximumFractionDigits=xt),typeof At=="number"&&(Q.minimumSignificantDigits=At),typeof sn=="number"&&(Q.maximumSignificantDigits=sn);break}case"precision-integer":Q.maximumFractionDigits=0;break;case"precision-unlimited":Q.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":Q.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":Re(C.style);break}if(E)switch(E.style){case"compact-short":Q.notation="compact",Q.compactDisplay="short";break;case"compact-long":Q.notation="compact",Q.compactDisplay="long";break;case"notation-simple":Q.notation="standard";break;case"scientific":case"engineering":{let{expDigits:it,expSign:xt,source:At,style:sn}=E;Q.notation=sn;break}}if(_){let{min:it,max:xt,source:At}=_;if(it>0&&(Q.minimumIntegerDigits=it),Number(xt)>0){let sn=Q.notation==="engineering"||Q.notation==="scientific";xt===3&&sn?Q.notation="engineering":Re()}}switch(R){case"sign-auto":Q.signDisplay="auto";break;case"sign-always":Q.signDisplay="always";break;case"sign-except-zero":Q.signDisplay="exceptZero";break;case"sign-never":Q.signDisplay="never";break;case"sign-accounting":Q.currencySign="accounting";break;case"sign-accounting-always":Q.currencySign="accounting",Q.signDisplay="always";break;case"sign-accounting-except-zero":Q.currencySign="accounting",Q.signDisplay="exceptZero";break}return Q}function ft(p,f,b){let y=p[f];switch(y){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;p[++f]==="¤";)++_;switch(_){case 1:return{char:y,currency:"default",width:_};case 2:return{char:y,currency:"iso-code",width:_};case 3:return{char:y,currency:"full-name",width:_};case 5:return{char:y,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return b(new F("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let C=p[++f];if(++E,C===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return b(new F("'",I)),{char:y,str:_,width:E}}else if(C==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=C}}}return null}let zn=p=>p>="0"&&p<="9";function rt(p,f){let b=p[f];if(zn(b)){let y=b;for(;;){let _=p[++f];if(zn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(b){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:b,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:b,min:y,width:_}}case"E":{let y=p[f+1]==="+";y&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:b,expDigits:_,plus:y,width:E};break}case".":case",":return{char:b,width:1}}return null}function en(p,f,b){let y;(function(B){B[B.Prefix=0]="Prefix",B[B.Number=1]="Number",B[B.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],C=[],I=y.Prefix,R="";for(;f<p.length;){let B=p[f];if(B===";"){f+=1;break}switch(I){case y.Prefix:{let re=ft(p,f,b);if(re)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(re),f+=re.width;else{let ge=rt(p,f);ge?(R&&(_.push({char:"'",str:R,width:R.length}),R=""),I=y.Number,E.push(ge),f+=ge.width):(R+=B,f+=1)}break}case y.Number:{let re=rt(p,f);re?(E.push(re),f+=re.width):I=y.Suffix;break}case y.Suffix:{let re=ft(p,f,b);re?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(re),f+=re.width):(R+=B,f+=1);break}}}return R&&C.push({char:"'",str:R,width:R.length}),{pattern:{prefix:_,number:E,suffix:C},pos:f}}function Nt(p,f){let{pattern:b,pos:y}=en(p,0,f);if(y<p.length){let{pattern:_}=en(p,y,f);return{tokens:b,negative:_}}return{tokens:b}}function Xn(p,f){let b={},y=!1,_=!1,E=0,C="",I=-1,R="",B=0;for(let ge=0;ge<p.length;++ge){let Re=p[ge];switch(Re.char){case"#":{if(I===-1){if(C){let Q="Pattern has # after integer digits";f(new F("#",Q))}E+=Re.width}else B+=Re.width;break}case"0":{if(I===-1)C+=Re.digits;else{if(B){let Q="Pattern has digits after # in fraction";f(new F("0",Q))}R+=Re.digits}break}case"@":{b.precision&&f(new U("precision",b.precision)),b.precision={style:"precision-fraction",minSignificant:Re.min,maxSignificant:Re.width};break}case",":y=!0;break;case".":if(I===1){let Q="Pattern has more than one decimal separator";f(new F(".",Q))}I=ge;break;case"E":{if(_&&f(new U("exponent",b.notation)),y){let Q="Exponential patterns may not contain grouping separators";f(new F("E",Q))}b.notation={style:"scientific"},Re.expDigits>1&&(b.notation.expDigits=Re.expDigits),Re.plus&&(b.notation.expSign="sign-always"),_=!0}}}y?b.group="group-auto":E+C.length>3&&(b.group="group-off");let re=+`${C||"0"}.${R}`;if(re&&(b.precision={style:"precision-increment",increment:re}),!_)C.length>1&&(b.integerWidth={min:C.length}),!b.precision&&(R.length||B)&&(b.precision={style:"precision-fraction",minFraction:R.length,maxFraction:R.length+B});else if((!b.precision||re)&&(b.integerWidth=E?{min:1,max:E+C.length}:{min:Math.max(1,C.length)}),b.precision)re||(b.integerWidth={min:1,max:1});else{let ge=C.length+R.length;I===-1?ge>0&&(b.precision={style:"precision-fraction",maxSignificant:ge}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,ge)+B},ge>1&&(b.precision.minSignificant=ge))}return b}function $a(p,f,b,y,_){let E=!1,C="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:C="";break;case"¤":if(!b){let R="The ¤ pattern requires a currency";y(new F("¤",R));break}switch(f.unit={style:"currency",currency:b},I.currency){case"iso-code":f.unitWidth="unit-width-iso-code";break;case"full-name":f.unitWidth="unit-width-full-name";break;case"narrow":f.unitWidth="unit-width-narrow";break}_?E=!0:C="";break;case"*":break;case"+":E||(C+="+");break;case"'":E||(C+=I.str);break}return C}function xs(p,f){let b=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?b=!0:y="";break;case"-":b||(y+="-");break;case"'":b||(y+=_.str);break}return y}function Es(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R=>{throw R},{tokens:y,negative:_}=Nt(p,b),E=Xn(y.number,b),C=$a(y.prefix,E,f,b,!0),I=$a(y.suffix,E,f,b,!1);if(_){let R=xs(_.prefix,!0),B=xs(_.suffix,!1);E.affix={pos:[C,I],neg:[R,B]},E.sign="sign-never"}else(C||I)&&(E.affix={pos:[C,I]});return E}function k9(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 C9(p){return p in wm}function D9(p){return p in xm}function I9(p,f,b){if(C9(p)){let y=wm[p];if(f.length>y){if(y===0)for(let _ of f)b(new Ct(p,_));else b(new H(p,f,y));return!1}else if(D9(p)&&f.length<xm[p])return b(new Ee(p)),!1}return!0}function qu(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 T9(p,f,b){let y=qu(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=qu(C,"significant");return I?(E.source=`${p}/${C}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):C&&b(new Ct(p,C)),E}let _=qu(p,"significant");if(_){for(let C of f)b(new Ct(p,C));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class R9{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new Ct(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new U(f,b))}parseToken(f,b){if(!I9(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":{k9(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=T9(f,b,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new J(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 R9(f);for(let{stem:_,options:E}of b)y.parseToken(_,E);return y.skeleton}function O9(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=Xt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[R,B]=f.affix.pos,[re,ge]=f.affix.neg||["",""];return Re=>{let Q=I.format(C(Re));return Re<0?`${re}${Q}${ge}`:`${R}${Q}${B}`}}return R=>I.format(C(R))}function M9(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?Em(f.slice(2),y):Es(f,b,y));let _=Y(p,f),E=ze(f),C=Pe(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],R="nf.format(value)";if(C&&(I.push(`var mod = ${C};`),R="nf.format(mod(value))"),f.affix){let[B,re]=f.affix.pos.map(ge=>JSON.stringify(ge));if(f.affix.neg){let[ge,Re]=f.affix.neg.map(Q=>JSON.stringify(Q));R=`value < 0 ? ${ge} + ${R} + ${Re} : ${B} + ${R} + ${re}`}else R=`${B} + ${R} + ${re}`}return I.push(`return function(value) { return ${R}; }`),I.join(`
|
|
4
|
-
`)+`
|
|
5
|
-
})()`}var $u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function N9(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var ao={},Sm={},km={exports:{}};(function(p){(function(f,b){p.exports?p.exports=b():f.moo=b()})($u,function(){var f=Object.prototype.hasOwnProperty,b=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(N){return N&&b.call(N)==="[object RegExp]"}function E(N){return N&&typeof N=="object"&&!_(N)&&!Array.isArray(N)}function C(N){return N.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(N){var $=new RegExp("|"+N);return $.exec("").length-1}function R(N){return"("+N+")"}function B(N){if(!N.length)return"(?!)";var $=N.map(function(ne){return"(?:"+ne+")"}).join("|");return"(?:"+$+")"}function re(N){if(typeof N=="string")return"(?:"+C(N)+")";if(_(N)){if(N.ignoreCase)throw new Error("RegExp /i flag not allowed");if(N.global)throw new Error("RegExp /g flag is implied");if(N.sticky)throw new Error("RegExp /y flag is implied");if(N.multiline)throw new Error("RegExp /m flag is implied");return N.source}else throw new Error("Not a pattern: "+N)}function ge(N,$){return N.length>$?N:Array($-N.length+1).join(" ")+N}function Re(N,$){for(var ne=N.length,ie=0;;){var xe=N.lastIndexOf(`
|
|
6
|
-
`,ne-1);if(xe===-1||(ie++,ne=xe,ie===$)||ne===0)break}var me=ie<$?0:ne+1;return N.substring(me).split(`
|
|
7
|
-
`)}function Q(N){for(var $=Object.getOwnPropertyNames(N),ne=[],ie=0;ie<$.length;ie++){var xe=$[ie],me=N[xe],Le=[].concat(me);if(xe==="include"){for(var dt=0;dt<Le.length;dt++)ne.push({include:Le[dt]});continue}var We=[];Le.forEach(function(ye){E(ye)?(We.length&&ne.push(xt(xe,We)),ne.push(xt(xe,ye)),We=[]):We.push(ye)}),We.length&&ne.push(xt(xe,We))}return ne}function it(N){for(var $=[],ne=0;ne<N.length;ne++){var ie=N[ne];if(ie.include){for(var xe=[].concat(ie.include),me=0;me<xe.length;me++)$.push({include:xe[me]});continue}if(!ie.type)throw new Error("Rule has no type: "+JSON.stringify(ie));$.push(xt(ie.type,ie))}return $}function xt(N,$){if(E($)||($={match:$}),$.include)throw new Error("Matching rules cannot also include states");var ne={defaultType:N,lineBreaks:!!$.error||!!$.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ie in $)f.call($,ie)&&(ne[ie]=$[ie]);if(typeof ne.type=="string"&&N!==ne.type)throw new Error("Type transform cannot be a string (type '"+ne.type+"' for token '"+N+"')");var xe=ne.match;return ne.match=Array.isArray(xe)?xe:xe?[xe]:[],ne.match.sort(function(me,Le){return _(me)&&_(Le)?0:_(Le)?-1:_(me)?1:Le.length-me.length}),ne}function At(N){return Array.isArray(N)?it(N):Q(N)}var sn=xt("error",{lineBreaks:!0,shouldThrow:!0});function Bn(N,$){for(var ne=null,ie=Object.create(null),xe=!0,me=null,Le=[],dt=[],We=0;We<N.length;We++)N[We].fallback&&(xe=!1);for(var We=0;We<N.length;We++){var ye=N[We];if(ye.include)throw new Error("Inheritance is not allowed in stateless lexers");if(ye.error||ye.fallback){if(ne)throw!ye.fallback==!ne.fallback?new Error("Multiple "+(ye.fallback?"fallback":"error")+" rules not allowed (for token '"+ye.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+ye.defaultType+"')");ne=ye}var Dt=ye.match.slice();if(xe)for(;Dt.length&&typeof Dt[0]=="string"&&Dt[0].length===1;){var Xr=Dt.shift();ie[Xr.charCodeAt(0)]=ye}if(ye.pop||ye.push||ye.next){if(!$)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+ye.defaultType+"')");if(ye.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+ye.defaultType+"')")}if(Dt.length!==0){xe=!1,Le.push(ye);for(var na=0;na<Dt.length;na++){var yr=Dt[na];if(_(yr)){if(me===null)me=yr.unicode;else if(me!==yr.unicode&&ye.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ei=B(Dt.map(re)),Hn=new RegExp(ei);if(Hn.test(""))throw new Error("RegExp matches empty string: "+Hn);var io=I(ei);if(io>0)throw new Error("RegExp has capture groups: "+Hn+`
|
|
8
|
-
Use (?: … ) instead`);if(!ye.lineBreaks&&Hn.test(`
|
|
9
|
-
`))throw new Error("Rule should declare lineBreaks: "+Hn);dt.push(R(ei))}}var ti=ne&&ne.fallback,oo=y&&!ti?"ym":"gm",Rs=y||ti?"":"|";me===!0&&(oo+="u");var hq=new RegExp(B(dt)+Rs,oo);return{regexp:hq,groups:Le,fast:ie,error:ne||sn}}function Ua(N){var $=Bn(At(N));return new bt({start:$},"start")}function Ca(N,$,ne){var ie=N&&(N.push||N.next);if(ie&&!ne[ie])throw new Error("Missing state '"+ie+"' (in token '"+N.defaultType+"' of state '"+$+"')");if(N&&N.pop&&+N.pop!=1)throw new Error("pop must be 1 (in token '"+N.defaultType+"' of state '"+$+"')")}function Da(N,$){var ne=N.$all?At(N.$all):[];delete N.$all;var ie=Object.getOwnPropertyNames(N);$||($=ie[0]);for(var xe=Object.create(null),me=0;me<ie.length;me++){var Le=ie[me];xe[Le]=At(N[Le]).concat(ne)}for(var me=0;me<ie.length;me++)for(var Le=ie[me],dt=xe[Le],We=Object.create(null),ye=0;ye<dt.length;ye++){var Dt=dt[ye];if(Dt.include){var Xr=[ye,1];if(Dt.include!==Le&&!We[Dt.include]){We[Dt.include]=!0;var na=xe[Dt.include];if(!na)throw new Error("Cannot include nonexistent state '"+Dt.include+"' (in state '"+Le+"')");for(var yr=0;yr<na.length;yr++){var ei=na[yr];dt.indexOf(ei)===-1&&Xr.push(ei)}}dt.splice.apply(dt,Xr),ye--}}for(var Hn=Object.create(null),me=0;me<ie.length;me++){var Le=ie[me];Hn[Le]=Bn(xe[Le],!0)}for(var me=0;me<ie.length;me++){for(var io=ie[me],ti=Hn[io],oo=ti.groups,ye=0;ye<oo.length;ye++)Ca(oo[ye],io,Hn);for(var Rs=Object.getOwnPropertyNames(ti.fast),ye=0;ye<Rs.length;ye++)Ca(ti.fast[Rs[ye]],io,Hn)}return new bt(Hn,$)}function Ia(N){for(var $=typeof Map<"u",ne=$?new Map:Object.create(null),ie=Object.getOwnPropertyNames(N),xe=0;xe<ie.length;xe++){var me=ie[xe],Le=N[me],dt=Array.isArray(Le)?Le:[Le];dt.forEach(function(We){if(typeof We!="string")throw new Error("keyword must be string (in keyword '"+me+"')");$?ne.set(We,me):ne[We]=me})}return function(We){return $?ne.get(We):ne[We]}}var bt=function(N,$){this.startState=$,this.states=N,this.buffer="",this.stack=[],this.reset()};bt.prototype.reset=function(N,$){return this.buffer=N||"",this.index=0,this.line=$?$.line:1,this.col=$?$.col:1,this.queuedToken=$?$.queuedToken:null,this.queuedText=$?$.queuedText:"",this.queuedThrow=$?$.queuedThrow:null,this.setState($?$.state:this.startState),this.stack=$&&$.stack?$.stack.slice():[],this},bt.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},bt.prototype.setState=function(N){if(!(!N||this.state===N)){this.state=N;var $=this.states[N];this.groups=$.groups,this.error=$.error,this.re=$.regexp,this.fast=$.fast}},bt.prototype.popState=function(){this.setState(this.stack.pop())},bt.prototype.pushState=function(N){this.stack.push(this.state),this.setState(N)};var Is=y?function(N,$){return N.exec($)}:function(N,$){var ne=N.exec($);return ne[0].length===0?null:ne};bt.prototype._getGroup=function(N){for(var $=this.groups.length,ne=0;ne<$;ne++)if(N[ne+1]!==void 0)return this.groups[ne];throw new Error("Cannot find token type for matched text")};function Ts(){return this.value}if(bt.prototype.next=function(){var N=this.index;if(this.queuedGroup){var $=this._token(this.queuedGroup,this.queuedText,N);return this.queuedGroup=null,this.queuedText="",$}var ne=this.buffer;if(N!==ne.length){var Le=this.fast[ne.charCodeAt(N)];if(Le)return this._token(Le,ne.charAt(N),N);var ie=this.re;ie.lastIndex=N;var xe=Is(ie,ne),me=this.error;if(xe==null)return this._token(me,ne.slice(N,ne.length),N);var Le=this._getGroup(xe),dt=xe[0];return me.fallback&&xe.index!==N?(this.queuedGroup=Le,this.queuedText=dt,this._token(me,ne.slice(N,xe.index),N)):this._token(Le,dt,N)}},bt.prototype._token=function(N,$,ne){var ie=0;if(N.lineBreaks){var xe=/\n/g,me=1;if($===`
|
|
10
|
-
`)ie=1;else for(;xe.exec($);)ie++,me=xe.lastIndex}var Le={type:typeof N.type=="function"&&N.type($)||N.defaultType,value:typeof N.value=="function"?N.value($):$,text:$,toString:Ts,offset:ne,lineBreaks:ie,line:this.line,col:this.col},dt=$.length;if(this.index+=dt,this.line+=ie,ie!==0?this.col=dt-me+1:this.col+=dt,N.shouldThrow){var We=new Error(this.formatError(Le,"invalid syntax"));throw We}return N.pop?this.popState():N.push?this.pushState(N.push):N.next&&this.setState(N.next),Le},typeof Symbol<"u"&&Symbol.iterator){var Ta=function(N){this.lexer=N};Ta.prototype.next=function(){var N=this.lexer.next();return{value:N,done:!N}},Ta.prototype[Symbol.iterator]=function(){return this},bt.prototype[Symbol.iterator]=function(){return new Ta(this)}}return bt.prototype.formatError=function(ie,$){if(ie==null)var ne=this.buffer.slice(this.index),ie={text:ne,offset:this.index,lineBreaks:ne.indexOf(`
|
|
11
|
-
`)===-1?0:1,line:this.line,col:this.col};var xe=2,me=Math.max(ie.line-xe,1),Le=ie.line+xe,dt=String(Le).length,We=Re(this.buffer,this.line-ie.line+xe+1).slice(0,5),ye=[];ye.push($+" at line "+ie.line+" col "+ie.col+":"),ye.push("");for(var Dt=0;Dt<We.length;Dt++){var Xr=We[Dt],na=me+Dt;ye.push(ge(String(na),dt)+" "+Xr),na===ie.line&&ye.push(ge("",dt+ie.col+1)+"^")}return ye.join(`
|
|
12
|
-
`)},bt.prototype.clone=function(){return new bt(this.states,this.state)},bt.prototype.has=function(N){return!0},{compile:Ua,states:Da,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Ia}})})(km);var A9=km.exports;(function(p){var f=$u&&$u.__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(A9);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=b.default.states(p.states)})(Sm),Object.defineProperty(ao,"__esModule",{value:!0});var Cm=ao.parse=ao.ParseError=void 0;let Dm=Sm,Ss=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Gu=p=>p==="plural"||p==="select"||p==="selectordinal";function P9(p,f){let b="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=E;break;default:throw new Ht(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let L9=["number","date","time","spellout","ordinal","duration"],Im=["zero","one","two","few","many","other"];class Ht extends Error{constructor(f,b){super(Dm.lexer.formatError(f,b))}}ao.ParseError=Ht;class F9{constructor(f,b){var y,_,E,C;this.lexer=Dm.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:Im,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:Im,this.strict=(E=b==null?void 0:b.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(C=b==null?void 0:b.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new Ht(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let _=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${b} case ${y} is not valid in this locale`;throw new Ht(f,E)}}}parseSelect(f,b,y,_){let{value:E}=f,C={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Ht(I,"Unexpected plural offset for select");if(C.cases.length>0)throw new Ht(I,"Plural offset must be set before cases");C.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),C.cases.push({key:I.value,tokens:this.parseBody(b),ctx:Ss(I)});break}case"end":return C;default:throw new Ht(I,`Unexpected lexer token: ${I.type}`)}throw new Ht(null,"Unexpected message end")}parseArgToken(f,b){let y=Ss(f),_=this.lexer.next();if(!_)throw new Ht(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!L9.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Ht(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new Ht(null,"Unexpected message end");if(E.type!=="end")throw new Ht(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,Gu(_.value.toLowerCase()))throw new Ht(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(Gu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new Ht(_,C)}let E=this.parseBody(this.strict?!1:b);return this.strict&&E.length>0&&(E=P9(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(Gu(_.value))return this.parseSelect(f,b,y,_.value);throw new Ht(_,`Unexpected select type ${_.value}`);default:throw new Ht(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){let y=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:Ss(E)});else{if(E.type==="end"&&!b)return y;{let C=E.value;if(!f&&E.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let I=`Unsupported escape pattern: ${C}`;throw new Ht(E,I)}C=E.text}_?(_.value+=C,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:C,ctx:Ss(E)},y.push(_))}}if(b)return y;throw new Ht(null,"Unexpected message end")}}function j9(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new F9(p,f).parse()}Cm=ao.parse=j9;function ro(p){return ro[p]||(ro[p]=new Intl.NumberFormat(p))}function V9(p,f,b){return ro(p).format(f-b)}function z9(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return ro(p).format(_)}function B9(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 H9(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function q9(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 $9=Object.freeze({__proto__:null,_nf:ro,number:V9,plural:B9,reqArgs:q9,select:H9,strictNumber:z9});function G9(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 U9(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 Uu={};function ks(p,f){var b=String(p)+JSON.stringify(f);return Uu[b]||(Uu[b]=new Intl.NumberFormat(p,f)),Uu[b]}function W9(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 Z9=function(p,f,b){return ks(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Y9=function(p,f){return ks(f,{maximumFractionDigits:0}).format(p)},K9=function(p,f){return ks(f,{style:"percent"}).format(p)};function Q9(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:G9,duration:U9,numberCurrency:Z9,numberFmt:W9,numberInteger:Y9,numberPercent:K9,time:Q9}),J9={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}},Zu=N9(J9);function X9(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 Ga(p,f){f&&(p+=" "+X9(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return Zu.ES3[b]||Zu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function Yu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Zu.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var eq=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],tq=new RegExp("^"+eq.join("|^"));function nq(p,f){var b=tq.test(f),y=JSON.stringify(b?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var aq="@messageformat/runtime",rq="@messageformat/runtime/lib/cardinals",Tm="@messageformat/runtime/lib/plurals",iq="@messageformat/runtime/lib/formatters",oq=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,b,y){var _,E,C=this,I=this.options,R=I.localeCodeFromKey,B=I.requireAllArguments,re=I.strict,ge=I.strictPluralKeys;if(typeof f=="object"){var Re={};try{for(var Q=n(Object.keys(f)),it=Q.next();!it.done;it=Q.next()){var xt=it.value,At=R?R(xt):xt,sn=y&&At&&y[At]||b;Re[xt]=this.compile(f[xt],sn,y)}}catch(bt){_={error:bt}}finally{try{it&&!it.done&&(E=Q.return)&&E.call(Q)}finally{if(_)throw _.error}}return Re}this.plural=b;var Bn={cardinal:b.cardinals,ordinal:b.ordinals,strict:re,strictPluralKeys:ge};this.arguments=[];var Ua=Cm(f,Bn).map(function(bt){return C.token(bt,null)}),Ca=this.arguments.length>0,Da=this.concatenate(Ua,!0);if(B&&Ca){this.setRuntimeFn("reqArgs");var Ia=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Ia,", d); return ").concat(Da,"; }")}return"(".concat(Ca?"d":"",") => ").concat(Da)},p.prototype.cases=function(f,b){var y=this,_=!0,E=f.cases.map(function(re){var ge=re.key,Re=re.tokens;ge==="other"&&(_=!1);var Q=Re.map(function(it){return y.token(it,b)});return"".concat(Yu(null,ge.replace(/^=/,"")),": ").concat(y.concatenate(Q,!1))});if(_){var C=f.type,I=this.plural,R=I.cardinals,B=I.ordinals;if(C==="select"||C==="plural"&&R.includes("other")||C==="selectordinal"&&B.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,C,I;switch("arg"in f?(this.arguments.push(f.arg),C=[Yu("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?nq(String(C[0]),E):String(C[0]);case"select":I="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var R=this.options.customFormatters[f.key],B=R&&"module"in R&&typeof R.module=="function";if(!R){if(f.key==="date"){I=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){I=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var re=this.getFormatterArg(f,b);re&&C.push(re)}I=B?Ga("".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),Yu("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(Ga(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},p.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,C=_.getPlural,I=_.isDefault,R,B,re;if(!b&&I&&E){if(y)return;R=function(ge){return E(ge)},B=rq,re=function(){return String(E)}}else{if(y&&(!I||y.module===Tm))return;R=function(ge,Re){return C(ge,Re)},B=I?Tm:C.module||null,re=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:B,toString:re,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign($9[f],{id:f,module:aq,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,E,C,I=this,R=f.key,B=f.param,re=this.options.customFormatters[R]||Rm(R)&&Wu[R];if(!re||!B)return null;var ge="arg"in re&&re.arg||"string";if(ge==="options"){var Re="";try{for(var Q=n(B),it=Q.next();!it.done;it=Q.next()){var xt=it.value;if(xt.type==="content")Re+=xt.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Ta){y={error:Ta}}finally{try{it&&!it.done&&(_=Q.return)&&_.call(Q)}finally{if(y)throw y.error}}var At={};try{for(var sn=n(Re.split(",")),Bn=sn.next();!Bn.done;Bn=sn.next()){var Ua=Bn.value,Ca=Ua.indexOf(":");if(Ca===-1)At[Ua.trim()]=null;else{var Da=Ua.substring(0,Ca).trim(),Ia=Ua.substring(Ca+1).trim();if(Ia==="true")At[Da]=!0;else if(Ia==="false")At[Da]=!1;else if(Ia==="null")At[Da]=null;else{var bt=Number(Ia);At[Da]=Number.isFinite(bt)?bt:Ia}}}}catch(Ta){E={error:Ta}}finally{try{Bn&&!Bn.done&&(C=sn.return)&&C.call(sn)}finally{if(E)throw E.error}}return JSON.stringify(At)}else{var Is=B.map(function(Ta){return I.token(Ta,b)});if(ge==="raw")return"[".concat(Is.join(", "),"]");var Ts=Is.join(" + ");return Ts?"(".concat(Ts,").trim()"):'""'}},p.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),a(a({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Ga(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:iq});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var R=I.value.trim().substr(2),B=Ga("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(B,"formatter")){var re=Mt(C,R,this.options.timeZone);this.runtime[B]=Object.assign(re,{id:B,module:null,toString:function(){return wt(C,R,_.options.timeZone)},type:"formatter"})}return B}if(b.push(JSON.stringify(C)),E&&E.length>0){y&&this.options.strict&&(y=null);var ge=E.map(function(Re){return _.token(Re,y)});b.push("("+(ge.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale;if(!E||E.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var R=I.match(/^currency:([A-Z]+)$/);if(R)return b.push(JSON.stringify(R[1])),this.setFormatter("numberCurrency"),"numberCurrency";var B=Ga("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(B,"formatter")){var re=this.options.currency,ge=O9(C,I,re);this.runtime[B]=Object.assign(ge,{id:null,module:null,toString:function(){return M9(C,I,re)},type:"formatter"})}return B}y&&this.options.strict&&(y=null);var Re=E.map(function(Q){return _.token(Q,y)});return b.push("("+(Re.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",wa=p=>p==0||p==1?"one":"other",ea=p=>p>=0&&p<=1?"one":"other",Ut=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},Fe=p=>"other",xa=p=>p==1?"one":p==2?"two":"other";var sq=Object.freeze({__proto__:null,af:q,ak:wa,am:ea,an:q,ar:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:ea,asa:q,ast:Ut,az:q,bal:q,be:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":b&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:q,bez:q,bg:q,bho:wa,bm:Fe,bn:ea,bo:Fe,br:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),E=b&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&b&&E==0?"many":"other"},brx:q,bs:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ca:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},ce:q,ceb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),b=f[0],y=Number(f[0])==p;return p==1||!y&&(b==0||b==1)?"one":"other"},de:Ut,doi:ea,dsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},dv:q,dz:Fe,ee:q,el:q,en:Ut,eo:q,es:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1?"one":b!=0&&_==0&&y?"many":"other"},et:Ut,eu:q,fa:ea,ff:p=>p>=0&&p<2?"one":"other",fi:Ut,fil:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p>=0&&p<2?"one":b!=0&&_==0&&y?"many":"other"},fur:q,fy:Ut,ga:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:Ut,gsw:q,gu:ea,guw:wa,gv:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:q,haw:q,he:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:ea,hnj:Fe,hr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},hu:q,hy:p=>p>=0&&p<2?"one":"other",ia:Ut,id:Fe,ig:Fe,ii:Fe,io:Ut,is:p=>{let f=String(p).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=b.slice(-1),C=b.slice(-2);return _&&E==1&&C!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},iu:xa,ja:Fe,jbo:Fe,jgo:q,jmc:q,jv:Fe,jw:Fe,ka:q,kab:p=>p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Fe,kea:Fe,kk:q,kkj:q,kl:q,km:Fe,kn:ea,ko:Fe,ks:q,ksb:q,ksh:p=>p==0?"zero":p==1?"one":"other",ku:q,kw:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),E=b&&f[0].slice(-5),C=b&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||b&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&C==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:q,lag:p=>{let f=String(p).split("."),b=f[0];return p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:q,lg:q,lij:Ut,lkt:Fe,ln:wa,lo:Fe,lt:p=>{let f=String(p).split("."),b=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":b!=0?"many":"other"},lv:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},mas:q,mg:wa,mgo:q,mk:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":"other"},ml:q,mn:q,mo:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:q,ms:Fe,mt:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Fe,nah:q,naq:xa,nb:q,nd:q,ne:q,nl:Ut,nn:q,nnh:q,no:q,nqo:Fe,nr:q,nso:wa,ny:q,nyn:q,om:q,or:q,os:q,osa:Fe,pa:wa,pap:q,pcm:ea,pl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},ps:q,pt:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return b==0||b==1?"one":b!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},rm:q,ro:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:q,ru:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},rwk:q,sah:Fe,saq:q,sat:xa,sc:Ut,scn:Ut,sd:q,sdh:q,se:xa,seh:q,ses:Fe,sg:Fe,sh:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},shi:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"";return p==0||p==1||b==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:xa,smi:xa,smj:xa,smn:xa,sms:xa,sn:q,so:q,sq:q,sr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ss:q,ssy:q,st:q,su:Fe,sv:Ut,sw:Ut,syr:q,ta:q,te:q,teo:q,th:Fe,ti:wa,tig:q,tk:q,tl:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Fe,tpi:Fe,tr:q,ts:q,tzm:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:q,uk:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},und:Fe,ur:Ut,uz:q,ve:q,vec:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},vi:Fe,vo:q,vun:q,wa,wae:q,wo:Fe,xh:q,xog:q,yi:Ut,yo:Fe,yue:Fe,zh:Fe,zu:ea});let Ea="zero",W="one",ct="two",ke="few",Ce="many",A="other",L={cardinal:[W,A],ordinal:[A]},br={cardinal:[W,A],ordinal:[W,A]},qe={cardinal:[A],ordinal:[A]},ta={cardinal:[W,ct,A],ordinal:[A]};var Om=Object.freeze({__proto__:null,af:L,ak:L,am:L,an:L,ar:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[A]},ars:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[A]},as:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},asa:L,ast:L,az:{cardinal:[W,A],ordinal:[W,ke,Ce,A]},bal:br,be:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},bem:L,bez:L,bg:L,bho:L,bm:qe,bn:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},bo:qe,br:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},brx:L,bs:{cardinal:[W,ke,A],ordinal:[A]},ca:{cardinal:[W,Ce,A],ordinal:[W,ct,ke,A]},ce:L,ceb:L,cgg:L,chr:L,ckb:L,cs:{cardinal:[W,ke,Ce,A],ordinal:[A]},cy:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[Ea,W,ct,ke,Ce,A]},da:L,de:L,doi:L,dsb:{cardinal:[W,ct,ke,A],ordinal:[A]},dv:L,dz:qe,ee:L,el:L,en:{cardinal:[W,A],ordinal:[W,ct,ke,A]},eo:L,es:{cardinal:[W,Ce,A],ordinal:[A]},et:L,eu:L,fa:L,ff:L,fi:L,fil:br,fo:L,fr:{cardinal:[W,Ce,A],ordinal:[W,A]},fur:L,fy:L,ga:{cardinal:[W,ct,ke,Ce,A],ordinal:[W,A]},gd:{cardinal:[W,ct,ke,A],ordinal:[W,ct,ke,A]},gl:L,gsw:L,gu:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},guw:L,gv:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},ha:L,haw:L,he:ta,hi:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},hnj:qe,hr:{cardinal:[W,ke,A],ordinal:[A]},hsb:{cardinal:[W,ct,ke,A],ordinal:[A]},hu:br,hy:br,ia:L,id:qe,ig:qe,ii:qe,io:L,is:L,it:{cardinal:[W,Ce,A],ordinal:[Ce,A]},iu:ta,ja:qe,jbo:qe,jgo:L,jmc:L,jv:qe,jw:qe,ka:{cardinal:[W,A],ordinal:[W,Ce,A]},kab:L,kaj:L,kcg:L,kde:qe,kea:qe,kk:{cardinal:[W,A],ordinal:[Ce,A]},kkj:L,kl:L,km:qe,kn:L,ko:qe,ks:L,ksb:L,ksh:{cardinal:[Ea,W,A],ordinal:[A]},ku:L,kw:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[W,Ce,A]},ky:L,lag:{cardinal:[Ea,W,A],ordinal:[A]},lb:L,lg:L,lij:{cardinal:[W,A],ordinal:[Ce,A]},lkt:qe,ln:L,lo:{cardinal:[A],ordinal:[W,A]},lt:{cardinal:[W,ke,Ce,A],ordinal:[A]},lv:{cardinal:[Ea,W,A],ordinal:[A]},mas:L,mg:L,mgo:L,mk:{cardinal:[W,A],ordinal:[W,ct,Ce,A]},ml:L,mn:L,mo:{cardinal:[W,ke,A],ordinal:[W,A]},mr:{cardinal:[W,A],ordinal:[W,ct,ke,A]},ms:{cardinal:[A],ordinal:[W,A]},mt:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},my:qe,nah:L,naq:ta,nb:L,nd:L,ne:br,nl:L,nn:L,nnh:L,no:L,nqo:qe,nr:L,nso:L,ny:L,nyn:L,om:L,or:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},os:L,osa:qe,pa:L,pap:L,pcm:L,pl:{cardinal:[W,ke,Ce,A],ordinal:[A]},prg:{cardinal:[Ea,W,A],ordinal:[A]},ps:L,pt:{cardinal:[W,Ce,A],ordinal:[A]},pt_PT:{cardinal:[W,Ce,A],ordinal:[A]},rm:L,ro:{cardinal:[W,ke,A],ordinal:[W,A]},rof:L,ru:{cardinal:[W,ke,Ce,A],ordinal:[A]},rwk:L,sah:qe,saq:L,sat:ta,sc:{cardinal:[W,A],ordinal:[Ce,A]},scn:{cardinal:[W,A],ordinal:[Ce,A]},sd:L,sdh:L,se:ta,seh:L,ses:qe,sg:qe,sh:{cardinal:[W,ke,A],ordinal:[A]},shi:{cardinal:[W,ke,A],ordinal:[A]},si:L,sk:{cardinal:[W,ke,Ce,A],ordinal:[A]},sl:{cardinal:[W,ct,ke,A],ordinal:[A]},sma:ta,smi:ta,smj:ta,smn:ta,sms:ta,sn:L,so:L,sq:{cardinal:[W,A],ordinal:[W,Ce,A]},sr:{cardinal:[W,ke,A],ordinal:[A]},ss:L,ssy:L,st:L,su:qe,sv:br,sw:L,syr:L,ta:L,te:L,teo:L,th:qe,ti:L,tig:L,tk:{cardinal:[W,A],ordinal:[ke,A]},tl:br,tn:L,to:qe,tpi:qe,tr:L,ts:L,tzm:L,ug:L,uk:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},und:qe,ur:L,uz:L,ve:L,vec:{cardinal:[W,Ce,A],ordinal:[Ce,A]},vi:{cardinal:[A],ordinal:[W,A]},vo:L,vun:L,wa:L,wae:L,wo:qe,xh:L,xog:L,yi:L,yo:qe,yue:qe,zh:qe,zu:L});let Z=(p,f)=>f?"other":p==1?"one":"other",Sa=(p,f)=>f?"other":p==0||p==1?"one":"other",Jr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Rn=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},$e=(p,f)=>"other",ka=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Cs=Object.freeze({__proto__:null,af:Z,ak:Sa,am:Jr,an:Z,ar:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:Z,ast:Rn,az:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-1),E=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==900?"few":y==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:Z,bez:Z,bg:Z,bho:Sa,bm:$e,bn:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",bo:$e,br:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2),C=y&&b[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&y&&C==0?"many":"other"},brx:Z,bs:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ca:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:Z,ceb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:Z,chr:Z,ckb:Z,cs:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let b=String(p).split("."),y=b[0],_=Number(b[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:Rn,doi:Jr,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},dv:Z,dz:$e,ee:Z,el:Z,en:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?E==1&&C!=11?"one":E==2&&C!=12?"two":E==3&&C!=13?"few":"other":p==1&&y?"one":"other"},eo:Z,es:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:Rn,eu:Z,fa:Jr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Rn,fil:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:Z,fr:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:Z,fy:Rn,ga:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Rn,gsw:Z,gu:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",guw:Sa,gv:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:Z,haw:Z,he:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:$e,hr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},hsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:Rn,id:$e,ig:$e,ii:$e,io:Rn,is:(p,f)=>{let b=String(p).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),E=Number(b[0])==p,C=y.slice(-1),I=y.slice(-2);return f?"other":E&&C==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:ka,ja:$e,jbo:$e,jgo:Z,jmc:Z,jv:$e,jw:$e,ka:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:Z,kcg:Z,kde:$e,kea:$e,kk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:Z,kl:Z,km:$e,kn:Jr,ko:$e,ks:Z,ksb:Z,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:Z,kw:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2),E=y&&b[0].slice(-3),C=y&&b[0].slice(-5),I=y&&b[0].slice(-6);return f?y&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||y&&E==0&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:Z,lag:(p,f)=>{let b=String(p).split("."),y=b[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:Z,lg:Z,lij:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:$e,ln:Sa,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":E==1&&(C<11||C>19)?"one":E>=2&&E<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},mas:Z,mg:Sa,mgo:Z,mk:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?C==1&&I!=11?"one":C==2&&I!=12?"two":(C==7||C==8)&&I!=17&&I!=18?"many":"other":E&&C==1&&I!=11||R==1&&B!=11?"one":"other"},ml:Z,mn:Z,mo:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:$e,nah:Z,naq:ka,nb:Z,nd:Z,ne:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:Rn,nn:Z,nnh:Z,no:Z,nqo:$e,nr:Z,nso:Sa,ny:Z,nyn:Z,om:Z,or:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:Z,osa:$e,pa:Sa,pap:Z,pcm:Jr,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},ps:Z,pt:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:Z,ro:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:Z,ru:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1&&C!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&C>=11&&C<=14?"many":"other"},rwk:Z,sah:$e,saq:Z,sat:ka,sc:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:Z,sdh:Z,se:ka,seh:Z,ses:$e,sg:$e,sh:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},shi:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:ka,smi:ka,smj:ka,smn:ka,sms:ka,sn:Z,so:Z,sq:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ss:Z,ssy:Z,st:Z,su:$e,sv:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(E==1||E==2)&&C!=11&&C!=12?"one":"other":p==1&&y?"one":"other"},sw:Rn,syr:Z,ta:Z,te:Z,teo:Z,th:$e,ti:Sa,tig:Z,tk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:Z,to:$e,tpi:$e,tr:Z,ts:Z,tzm:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:Z,uk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-1),B=y.slice(-2);return f?C==3&&I!=13?"few":"other":_&&R==1&&B!=11?"one":_&&R>=2&&R<=4&&(B<12||B>14)?"few":_&&R==0||_&&R>=5&&R<=9||_&&B>=11&&B<=14?"many":"other"},und:$e,ur:Rn,uz:Z,ve:Z,vec:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:Z,vun:Z,wa:Sa,wae:Z,wo:$e,xh:Z,xog:Z,yi:Rn,yo:$e,yue:$e,zh:$e,zu:Jr});function Ku(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=Ku(p.name);return{isDefault:!1,id:Ga(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=Ku(p),y=Ga(b);return cq(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:sq[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 uq(p){var f=Ku(p);return Ga(f)in Cs}function cq(p){return p in Cs}var dq=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(uq)},p.prototype.resolvedOptions=function(){return a(a({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new oq(this.options),E="return "+_.compile(f,this.plurals[0]),C=[],I=[];try{for(var R=n(Object.entries(_.runtime)),B=R.next();!B.done;B=R.next()){var re=r(B.value,2),ge=re[0],Re=re[1];C.push(ge),I.push(Re)}}catch(it){b={error:it}}finally{try{B&&!B.done&&(y=R.return)&&y.call(R)}finally{if(b)throw b.error}}var Q=new(Function.bind.apply(Function,i(i([void 0],r(C),!1),[E],!1)));return Q.apply(void 0,i([],r(I),!1))},p.defaultLocale="en",p}();return dq})}),Dn=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function n(r,i){t(this,n),this.data=r,this.text=i.text||r,this.options=i};e.default=a}),Sq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function k(D,O){for(var M=0;M<O.length;M++){var X=O[M];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(D,X.key,X)}}return function(D,O,M){return O&&k(D.prototype,O),M&&k(D,M),D}}(),a=Dn(),n=r(a);function r(k){return k&&k.__esModule?k:{default:k}}function i(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function o(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function l(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var u=function(k){l(D,k);function D(O,M){return i(this,D),O=O.toUpperCase(),M.mod43&&(O+=g(x(O))),o(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,O,M))}return t(D,[{key:"encode",value:function(){for(var O=m("*"),M=0;M<this.data.length;M++)O+=m(this.data[M])+"0";return O+=m("*"),{data:O,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),D}(n.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],d=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(k){return v(w(k))}function v(k){return d[k].toString(2)}function g(k){return c[k]}function w(k){return c.indexOf(k)}function x(k){for(var D=0,O=0;O<k.length;O++)D+=w(k[O]);return D=D%43,D}e.CODE39=u}),Qo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function a(c,d,m){return d in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}var n=e.SET_A=0,r=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={},a(t,o,n),a(t,l,r),a(t,u,i),t),e.SWAP={101:n,100:r,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]}),ru=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Dn(),n=i(a),r=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return w.bytes=v.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,w=r.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(r.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)%r.MODULO)+m.getBar(r.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 r.BARS[v]?r.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===r.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===r.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=r.SWAP[k];D!==void 0?x=m.next(v,g+1,D):((w===r.SET_A||w===r.SET_B)&&k===r.SHIFT&&(v[0]=w===r.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),x=m.next(v,g+1,w))}else k=m.correctIndex(v,w),x=m.next(v,g+1,w);var O=m.getBar(k),M=k*g;return{result:O+x.result,checksum:M+x.checksum}}}]),m}(n.default);e.default=c}),kq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Qo(),a=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},r=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=r(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var d=a(l)>=n(l);return u+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var u=void 0,c=r(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var d=a(l)>n(l);u=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),Cq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=ru(),a=i(t),n=kq(),r=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,r.default)(v),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(w)}return m}(a.default);e.default=c}),Dq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=ru(),n=i(a),r=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Iq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=ru(),n=i(a),r=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Tq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=ru(),n=i(a),r=Qo();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),Rq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=Cq(),a=c(t),n=Dq(),r=c(n),i=Iq(),o=c(i),l=Tq(),u=c(l);function c(d){return d&&d.__esModule?d:{default:d}}e.CODE128=a.default,e.CODE128A=r.default,e.CODE128B=o.default,e.CODE128C=u.default}),Jo=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"]}),Xo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=function(n,r,i){var o=n.split("").map(function(u,c){return t.BINARIES[r[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=a}),Tv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=Jo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){u(this,g);var k=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:a.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:a.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:a.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[a.SIDE_BIN,this.leftEncode(),a.MIDDLE_BIN,this.rightEncode(),a.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),Oq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=function v(g,w,x){g===null&&(g=Function.prototype);var k=Object.getOwnPropertyDescriptor(g,w);if(k===void 0){var D=Object.getPrototypeOf(g);return D===null?void 0:v(D,w,x)}else{if("value"in k)return k.value;var O=k.get;return O===void 0?void 0:O.call(x)}},n=Jo(),r=Tv(),i=o(r);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){var g=v.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,k){return k%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.lastChar=x.lastChar,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),Mq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(v,x.key,x)}}return function(v,g,w){return g&&m(v.prototype,g),w&&m(v,w),v}}(),a=function m(v,g,w){v===null&&(v=Function.prototype);var x=Object.getOwnPropertyDescriptor(v,g);if(x===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,g,w)}else{if("value"in x)return x.value;var D=x.get;return D===void 0?void 0:D.call(w)}},n=Tv(),r=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 a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(r.default);e.default=d}),Nq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var k=0;k<x.length;k++){var D=x[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,x,k){return x&&g(w.prototype,x),k&&g(w,k),w}}(),a=Jo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function c(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function d(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,k,D){return D%2?x+k*9:x+k*3},0);return w%10},v=function(g){d(w,g);function w(x,k){return u(this,w),c(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,k))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=a.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,r.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=v}),Aq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=Jo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=a.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,r.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),Rv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}();e.checksum=m;var a=Xo(),n=o(a),r=Dn(),i=o(r);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}),Pq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(k,D){for(var O=0;O<D.length;O++){var M=D[O];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(k,M.key,M)}}return function(k,D,O){return D&&x(k.prototype,D),O&&x(k,O),k}}(),a=Xo(),n=l(a),r=Dn(),i=l(r),o=Rv();function l(x){return x&&x.__esModule?x:{default:x}}function u(x,k){if(!(x instanceof k))throw new TypeError("Cannot call a class as a function")}function c(x,k){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:x}function d(x,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);x.prototype=Object.create(k&&k.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(x,k):x.__proto__=k)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(k,x);function k(D,O){u(this,k);var M=c(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D,O));if(M.isValid=!1,D.search(/^[0-9]{6}$/)!==-1)M.middleDigits=D,M.upcA=w(D,"0"),M.text=O.text||""+M.upcA[0]+D+M.upcA[M.upcA.length-1],M.isValid=!0;else if(D.search(/^[01][0-9]{7}$/)!==-1)if(M.middleDigits=D.substring(1,D.length-1),M.upcA=w(M.middleDigits,D[0]),M.upcA[M.upcA.length-1]===D[D.length-1])M.isValid=!0;else return c(M);else return c(M);return M.displayValue=O.displayValue,O.fontSize>O.width*10?M.fontSize=O.width*10:M.fontSize=O.fontSize,M.guardHeight=O.height+M.fontSize/2+O.textMargin,M}return t(k,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var D="";return D+="101",D+=this.encodeMiddleDigits(),D+="010101",{data:D,text:this.text}}},{key:"guardedEncoding",value:function(){var D=[];return this.displayValue&&D.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),D.push({data:"101",options:{height:this.guardHeight}}),D.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),D.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&D.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),D}},{key:"encodeMiddleDigits",value:function(){var D=this.upcA[0],O=this.upcA[this.upcA.length-1],M=v[parseInt(O)][parseInt(D)];return(0,n.default)(this.middleDigits,M)}}]),k}(i.default);function w(x,k){for(var D=parseInt(x[x.length-1]),O=m[D],M="",X=0,ue=0;ue<O.length;ue++){var we=O[ue];we==="X"?M+=x[X++]:M+=we}return M=""+k+M,""+M+(0,o.checksum)(M)}e.default=g}),Lq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=Oq(),a=g(t),n=Mq(),r=g(n),i=Nq(),o=g(i),l=Aq(),u=g(l),c=Rv(),d=g(c),m=Pq(),v=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=a.default,e.EAN8=r.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=d.default,e.UPCE=v.default}),Fq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),Ov=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Fq(),n=Dn(),r=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:a.START_BIN+g+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=a.BINARIES[v[1]];return a.BINARIES[v[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(r.default);e.default=c}),jq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Ov(),n=r(a);function r(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}),Vq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Ov(),a=i(t),n=jq(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=a.default,e.ITF14=r.default}),es=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Dn(),n=r(a);function r(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){l(m,d);function m(v,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=c(x,4-x.length);for(var k=0;k<x.length;k++)v+=x[k]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(d,m){for(var v=0;v<m;v++)d="0"+d;return d}e.default=u}),iu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=a;function t(n){for(var r=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?r+=o:r+=o*2%10+Math.floor(o*2/10)}return(10-r%10)%10}function a(n){for(var r=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);r+=i[o%i.length]*l}return(11-r%11)%11}}),zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=r(t),n=iu();function r(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}(a.default);e.default=u}),Bq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=r(t),n=iu();function r(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}(a.default);e.default=u}),Hq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=r(t),n=iu();function r(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}(a.default);e.default=u}),qq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=es(),a=r(t),n=iu();function r(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}(a.default);e.default=u}),$q=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=es(),a=m(t),n=zq(),r=m(n),i=Bq(),o=m(i),l=Hq(),u=m(l),c=qq(),d=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=a.default,e.MSI10=r.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=d.default}),Gq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(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}),Uq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(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}),Wq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),Mv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Wq(),n=Dn(),r=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 a.MULTI_SYMBOLS[k]||k}),g=v.map(function(k){return m.getEncoding(k)}).join(""),w=m.checksum(v,20),x=m.checksum(v.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return a.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return a.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return a.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var w=v.slice().reverse().reduce(function(x,k,D){var O=D%g+1;return x+m.symbolValue(k)*O},0);return m.getSymbol(w%47)}}]),m}(r.default);e.default=c}),Zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Mv(),n=r(a);function r(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}),Yq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Mv(),a=i(t),n=Zq(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=a.default,e.CODE93FullASCII=r.default}),Kq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(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}),Qq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Sq(),a=Rq(),n=Lq(),r=Vq(),i=$q(),o=Gq(),l=Uq(),u=Yq(),c=Kq();e.default={CODE39:t.CODE39,CODE128:a.CODE128,CODE128A:a.CODE128A,CODE128B:a.CODE128B,CODE128C:a.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:r.ITF14,ITF:r.ITF,MSI:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),ou=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(a){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a};e.default=function(a,n){return t({},a,n)}}),Jq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=[];function r(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)r(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return r(a),n}}),Xq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){return a.marginTop=a.marginTop||a.margin,a.marginBottom=a.marginBottom||a.margin,a.marginRight=a.marginRight||a.margin,a.marginLeft=a.marginLeft||a.margin,a}}),Nv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in n)n.hasOwnProperty(r)&&(r=n[r],typeof a[r]=="string"&&(a[r]=parseInt(a[r],10)));return typeof a.displayValue=="string"&&(a.displayValue=a.displayValue!="false"),a}}),Av=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=t}),e$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nv(),a=i(t),n=Av(),r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in r.default)r.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,a.default)(u),u}e.default=o}),Pv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=ou(),a=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function r(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,a.default)(m,w.options),k;x.displayValue?k=c(w.text,x,v):k=0;var D=w.data.length*x.width;w.width=Math.ceil(Math.max(k,D)),w.height=r(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=r,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}}(),a=ou(),n=i(a),r=Pv();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l=function(){function u(c,d,m){o(this,u),this.canvas=c,this.encodings=d,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var d=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(d,this.encodings[c]),this.drawCanvasText(d,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,r.calculateEncodingAttributes)(this.encodings,this.options,c);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.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}),n$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=ou(),n=i(a),r=Pv();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(d,m,v){o(this,c),this.svg=d,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,v),this.drawSVGText(w,g,v),d+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,r.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.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}),a$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(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&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i,o,l){a(this,r),this.object=i,this.encodings=o,this.options=l}return t(r,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),r}();e.default=n}),r$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=t$(),a=l(t),n=n$(),r=l(n),i=a$(),o=l(i);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:a.default,SVGRenderer:r.default,ObjectRenderer:o.default}}),Lv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function a(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var r=function(l){n(u,l);function u(c,d){t(this,u);var m=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),i=function(l){n(u,l);function u(){t(this,u);var c=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=r,e.InvalidElementException=i,e.NoElementException=o}),i$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},a=e$(),n=l(a),r=r$(),i=l(r),o=Lv();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return d(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],w=0;w<v.length;w++)g.push(u(v[w]));return g}}function d(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),o$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(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&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i){a(this,r),this.api=i}return t(r,[{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}}}]),r}();e.default=n}),s$=se((e,t)=>{var a=Qq(),n=M(a),r=ou(),i=M(r),o=Jq(),l=M(o),u=Xq(),c=M(u),d=i$(),m=M(d),v=Nv(),g=M(v),w=o$(),x=M(w),k=Lv(),D=Av(),O=M(D);function M(J){return J&&J.__esModule?J:{default:J}}var X=function(){},ue=function(J,U,Ee){var F=new X;if(typeof J>"u")throw Error("No element to render on was provided.");return F._renderProperties=(0,m.default)(J),F._encodings=[],F._options=O.default,F._errorHandler=new x.default(F),typeof U<"u"&&(Ee=Ee||{},Ee.format||(Ee.format=at()),F.options(Ee)[Ee.format](U,Ee).render()),F};ue.getModule=function(J){return n.default[J]};for(we in n.default)n.default.hasOwnProperty(we)&&Mt(n.default,we);var we;function Mt(J,U){X.prototype[U]=X.prototype[U.toUpperCase()]=X.prototype[U.toLowerCase()]=function(Ee,F){var H=this;return H._errorHandler.wrapBarcodeCall(function(){F.text=typeof F.text>"u"?void 0:""+F.text;var Y=(0,i.default)(H._options,F);Y=(0,g.default)(Y);var Ie=J[U],Je=wt(Ee,Ie,Y);return H._encodings.push(Je),H})}}function wt(J,U,Ee){J=""+J;var F=new U(J,Ee);if(!F.valid())throw new k.InvalidInputException(F.constructor.name,J);var H=F.encode();H=(0,l.default)(H);for(var Y=0;Y<H.length;Y++)H[Y].options=(0,i.default)(Ee,H[Y].options);return H}function at(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}X.prototype.options=function(J){return this._options=(0,i.default)(this._options,J),this},X.prototype.blank=function(J){var U=new Array(J+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 J;for(var U in this._renderProperties){J=this._renderProperties[U];var Ee=(0,i.default)(this._options,J.options);Ee.format=="auto"&&(Ee.format=at()),this._errorHandler.wrapBarcodeCall(function(){var F=Ee.value,H=n.default[Ee.format.toUpperCase()],Y=wt(F,H,Ee);Ct(J,Y,Ee)})}}},X.prototype.render=function(){if(!this._renderProperties)throw new k.NoElementException;if(Array.isArray(this._renderProperties))for(var J=0;J<this._renderProperties.length;J++)Ct(this._renderProperties[J],this._encodings,this._options);else Ct(this._renderProperties,this._encodings,this._options);return this},X.prototype._defaults=O.default;function Ct(J,U,Ee){U=(0,l.default)(U);for(var F=0;F<U.length;F++)U[F].options=(0,i.default)(Ee,U[F].options),(0,c.default)(U[F].options);(0,c.default)(Ee);var H=J.renderer,Y=new H(J.element,U,Ee);Y.render(),J.afterRender&&J.afterRender()}typeof window<"u"&&(window.JsBarcode=ue),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(J,U){var Ee=[];return jQuery(this).each(function(){Ee.push(this)}),ue(Ee,J,U)}),t.exports=ue});function gh(e,t){return Object.is(e,t)}var Et=null,nl=!1,vh=1,gn=Symbol("SIGNAL");function De(e){let t=Et;return Et=e,t}function l$(){return Et}var Bi={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ts(e){if(nl)throw new Error("");if(Et===null)return;Et.consumerOnSignalRead(e);let t=Et.nextProducerIndex++;if(cu(Et),t<Et.producerNode.length&&Et.producerNode[t]!==e&&To(Et)){let a=Et.producerNode[t];uu(a,Et.producerIndexOfThis[t])}Et.producerNode[t]!==e&&(Et.producerNode[t]=e,Et.producerIndexOfThis[t]=To(Et)?Vv(e,Et,t):0),Et.producerLastReadVersion[t]=e.version}function u$(){vh++}function ns(e){if(!(To(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===vh)){if(!e.producerMustRecompute(e)&&!bh(e)){_l(e);return}e.producerRecomputeValue(e),_l(e)}}function Fv(e){if(e.liveConsumerNode===void 0)return;let t=nl;nl=!0;try{for(let a of e.liveConsumerNode)a.dirty||c$(a)}finally{nl=t}}function jv(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function c$(e){var t;e.dirty=!0,Fv(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function _l(e){e.dirty=!1,e.lastCleanEpoch=vh}function Io(e){return e&&(e.nextProducerIndex=0),De(e)}function su(e,t){if(De(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(To(e))for(let a=e.nextProducerIndex;a<e.producerNode.length;a++)uu(e.producerNode[a],e.producerIndexOfThis[a]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function bh(e){cu(e);for(let t=0;t<e.producerNode.length;t++){let a=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==a.version||(ns(a),n!==a.version))return!0}return!1}function lu(e){if(cu(e),To(e))for(let t=0;t<e.producerNode.length;t++)uu(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Vv(e,t,a){if(zv(e),e.liveConsumerNode.length===0&&Bv(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Vv(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(a),e.liveConsumerNode.push(t)-1}function uu(e,t){if(zv(e),e.liveConsumerNode.length===1&&Bv(e))for(let n=0;n<e.producerNode.length;n++)uu(e.producerNode[n],e.producerIndexOfThis[n]);let a=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[a],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[a],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];cu(r),r.producerIndexOfThis[n]=t}}function To(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function cu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function zv(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Bv(e){return e.producerNode!==void 0}function d$(e,t){let a=Object.create(h$);a.computation=e;let n=()=>{if(ns(a),ts(a),a.value===rr)throw a.error;return a.value};return n[gn]=a,n}var Rr=Symbol("UNSET"),fi=Symbol("COMPUTING"),rr=Symbol("ERRORED"),h$=Qt(ce({},Bi),{value:Rr,dirty:!0,error:null,equal:gh,kind:"computed",producerMustRecompute(e){return e.value===Rr||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let a=Io(e),n,r=!1;try{n=e.computation(),De(null),r=t!==Rr&&t!==rr&&n!==rr&&e.equal(t,n)}catch(i){n=rr,e.error=i}finally{su(e,a)}if(r){e.value=t;return}e.value=n,e.version++}});function p$(){throw new Error}var Hv=p$;function qv(e){Hv(e)}function m$(e){Hv=e}function f$(e,t){let a=Object.create(Gv);a.value=e;let n=()=>(ts(a),a.value);return n[gn]=a,n}function as(e,t){jv()||qv(e),e.equal(e.value,t)||(e.value=t,g$(e))}function $v(e,t){jv()||qv(e),as(e,t(e.value))}var Gv=Qt(ce({},Bi),{equal:gh,value:void 0,kind:"signal"});function g$(e){e.version++,u$(),Fv(e)}function Fm(e,t,a){let n=Object.create(y$);n.source=e,n.computation=t,a!=null&&(n.equal=a);let r=()=>{if(ns(n),ts(n),n.value===rr)throw n.error;return n.value};return r[gn]=n,r}function v$(e,t){ns(e),as(e,t),_l(e)}function b$(e,t){ns(e),$v(e,t),_l(e)}var y$=Qt(ce({},Bi),{value:Rr,dirty:!0,error:null,equal:gh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Rr||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let a=Io(e),n;try{let r=e.source(),i=t===Rr||t===rr?void 0:{source:e.sourceValue,value:t};n=e.computation(r,i),e.sourceValue=r}catch(r){n=rr,e.error=r}finally{su(e,a)}if(t!==Rr&&n!==rr&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function _$(e){let t=De(null);try{return e()}finally{De(t)}}var Jc;function al(){return Jc}function Za(e){let t=Jc;return Jc=e,t}var Uv=Symbol("NotFound");function st(e){return typeof e=="function"}function yh(e){let t=e(a=>{Error.call(a),a.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Qu=yh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
13
|
-
${t.map((a,n)=>`${n+1}) ${a.toString()}`).join(`
|
|
14
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function wl(e,t){if(e){let a=e.indexOf(t);0<=a&&e.splice(a,1)}}var Kt=class Xc{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:a}=this;if(a)if(this._parentage=null,Array.isArray(a))for(let i of a)i.remove(this);else a.remove(this);let{initialTeardown:n}=this;if(st(n))try{n()}catch(i){t=i instanceof Qu?i.errors:[i]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let i of r)try{jm(i)}catch(o){t=t??[],o instanceof Qu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Qu(t)}}add(t){var a;if(t&&t!==this)if(this.closed)jm(t);else{if(t instanceof Xc){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(a=this._finalizers)!==null&&a!==void 0?a:[]).push(t)}}_hasParent(t){let{_parentage:a}=this;return a===t||Array.isArray(a)&&a.includes(t)}_addParent(t){let{_parentage:a}=this;this._parentage=Array.isArray(a)?(a.push(t),a):a?[a,t]:t}_removeParent(t){let{_parentage:a}=this;a===t?this._parentage=null:Array.isArray(a)&&wl(a,t)}remove(t){let{_finalizers:a}=this;a&&wl(a,t),t instanceof Xc&&t._removeParent(this)}};Kt.EMPTY=(()=>{let e=new Kt;return e.closed=!0,e})();var Wv=Kt.EMPTY;function Zv(e){return e instanceof Kt||e&&"closed"in e&&st(e.remove)&&st(e.add)&&st(e.unsubscribe)}function jm(e){st(e)?e():e.unsubscribe()}var w$={Promise:void 0},x$={setTimeout(e,t,...a){return setTimeout(e,t,...a)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Yv(e){x$.setTimeout(()=>{throw e})}function ed(){}function rl(e){e()}var _h=class extends Kt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zv(e)&&e.add(this)):this.destination=k$}static create(e,t,a){return new Ro(e,t,a)}next(e){this.isStopped?void 0:this._next(e)}error(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))}complete(){this.isStopped?void 0:(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},E$=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(a){Os(a)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(a){Os(a)}else Os(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Os(t)}}},Ro=class extends _h{constructor(e,t,a){super();let n;st(e)||!e?n={next:e??void 0,error:t??void 0,complete:a??void 0}:n=e,this.destination=new E$(n)}};function Os(e){Yv(e)}function S$(e){throw e}var k$={closed:!0,next:ed,error:S$,complete:ed},wh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Hi(e){return e}function C$(e){return e.length===0?Hi:e.length===1?e[0]:function(t){return e.reduce((a,n)=>n(a),t)}}var mt=(()=>{class e{constructor(a){a&&(this._subscribe=a)}lift(a){let n=new e;return n.source=this,n.operator=a,n}subscribe(a,n,r){let i=I$(a)?a:new Ro(a,n,r);return rl(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(a){try{return this._subscribe(a)}catch(n){a.error(n)}}forEach(a,n){return n=Vm(n),new n((r,i)=>{let o=new Ro({next:l=>{try{a(l)}catch(u){i(u),o.unsubscribe()}},error:i,complete:r});this.subscribe(o)})}_subscribe(a){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(a)}[wh](){return this}pipe(...a){return C$(a)(this)}toPromise(a){return a=Vm(a),new a((n,r)=>{let i;this.subscribe(o=>i=o,o=>r(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function Vm(e){var t;return(t=e??w$.Promise)!==null&&t!==void 0?t:Promise}function D$(e){return e&&st(e.next)&&st(e.error)&&st(e.complete)}function I$(e){return e&&e instanceof _h||D$(e)&&Zv(e)}function Kv(e){return st(e==null?void 0:e.lift)}function Jt(e){return t=>{if(Kv(t))return t.lift(function(a){try{return e(a,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ft(e,t,a,n,r){return new T$(e,t,a,n,r)}var T$=class extends _h{constructor(e,t,a,n,r,i){super(e),this.onFinalize=r,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=a?function(){try{a()}catch(o){e.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function R$(){return Jt((e,t)=>{let a=null;e._refCount++;let n=Ft(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){a=null;return}let r=e._connection,i=a;a=null,r&&(!i||r===i)&&r.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(a=e.connect())})}var O$=class extends mt{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Kv(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Kt;let t=this.getSubject();e.add(this.source.subscribe(Ft(t,void 0,()=>{this._teardown(),t.complete()},a=>{this._teardown(),t.error(a)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Kt.EMPTY)}return e}refCount(){return R$()(this)}},M$=yh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),ve=(()=>{class e extends mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(a){let n=new zm(this,this);return n.operator=a,n}_throwIfClosed(){if(this.closed)throw new M$}next(a){rl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(a)}})}error(a){rl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=a;let{observers:n}=this;for(;n.length;)n.shift().error(a)}})}complete(){rl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:a}=this;for(;a.length;)a.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var a;return((a=this.observers)===null||a===void 0?void 0:a.length)>0}_trySubscribe(a){return this._throwIfClosed(),super._trySubscribe(a)}_subscribe(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}_innerSubscribe(a){let{hasError:n,isStopped:r,observers:i}=this;return n||r?Wv:(this.currentObservers=null,i.push(a),new Kt(()=>{this.currentObservers=null,wl(i,a)}))}_checkFinalizedStatuses(a){let{hasError:n,thrownError:r,isStopped:i}=this;n?a.error(r):i&&a.complete()}asObservable(){let a=new mt;return a.source=this,a}}return e.create=(t,a)=>new zm(t,a),e})(),zm=class extends ve{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.next)===null||a===void 0||a.call(t,e)}error(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.error)===null||a===void 0||a.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,a;return(a=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&a!==void 0?a:Wv}},Ar=class extends ve{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:a}=this;if(e)throw t;return this._throwIfClosed(),a}next(e){super.next(this._value=e)}},xh={now(){return(xh.delegate||Date).now()},delegate:void 0},Eh=class extends ve{constructor(e=1/0,t=1/0,a=xh){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=a,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:a,_infiniteTimeWindow:n,_timestampProvider:r,_windowTime:i}=this;t||(a.push(e),!n&&a.push(r.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:a,_buffer:n}=this,r=n.slice();for(let i=0;i<r.length&&!e.closed;i+=a?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:a,_infiniteTimeWindow:n}=this,r=(n?1:2)*e;if(e<1/0&&r<a.length&&a.splice(0,a.length-r),!n){let i=t.now(),o=0;for(let l=1;l<a.length&&a[l]<=i;l+=2)o=l;o&&a.splice(0,o+1)}}},N$=class extends Kt{constructor(e,t){super()}schedule(e,t=0){return this}},td={setInterval(e,t,...a){let{delegate:n}=td;return n!=null&&n.setInterval?n.setInterval(e,t,...a):setInterval(e,t,...a)},clearInterval(e){return clearInterval(e)},delegate:void 0},A$=class extends N${constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var a;if(this.closed)return this;this.state=e;let n=this.id,r=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=(a=this.id)!==null&&a!==void 0?a:this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,a=0){return td.setInterval(e.flush.bind(e,this),a)}recycleAsyncId(e,t,a=0){if(a!=null&&this.delay===a&&this.pending===!1)return t;t!=null&&td.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let a=this._execute(e,t);if(a)return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let a=!1,n;try{this.work(e)}catch(r){a=!0,n=r||new Error("Scheduled action threw falsy error")}if(a)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:a}=t;this.work=this.state=this.scheduler=null,this.pending=!1,wl(a,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},nd=class Qv{constructor(t,a=Qv.now){this.schedulerActionCtor=t,this.now=a}schedule(t,a=0,n){return new this.schedulerActionCtor(this,t).schedule(n,a)}};nd.now=xh.now;var P$=class extends nd{constructor(e,t=nd.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let a;this._active=!0;do if(a=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,a){for(;e=t.shift();)e.unsubscribe();throw a}}},Sh=new P$(A$),L$=Sh,kh=new mt(e=>e.complete());function Jv(e){return e&&st(e.schedule)}function Ch(e){return e[e.length-1]}function Xv(e){return st(Ch(e))?e.pop():void 0}function rs(e){return Jv(Ch(e))?e.pop():void 0}function F$(e,t){return typeof Ch(e)=="number"?e.pop():t}function j$(e,t,a,n){function r(i){return i instanceof a?i:new a(function(o){o(i)})}return new(a||(a=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):r(d.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Bm(e){var t=typeof Symbol=="function"&&Symbol.iterator,a=t&&e[t],n=0;if(a)return a.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gi(e){return this instanceof gi?(this.v=e,this):new gi(e)}function V$(e,t,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a.apply(e,t||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),r[Symbol.asyncIterator]=function(){return this},r;function o(g){return function(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(r[g]=function(x){return new Promise(function(k,D){i.push([g,x,k,D])>1||u(g,x)})},w&&(r[g]=w(r[g])))}function u(g,w){try{c(n[g](w))}catch(x){v(i[0][3],x)}}function c(g){g.value instanceof gi?Promise.resolve(g.value.v).then(d,m):v(i[0][2],g)}function d(g){u("next",g)}function m(g){u("throw",g)}function v(g,w){g(w),i.shift(),i.length&&u(i[0][0],i[0][1])}}function z$(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],a;return t?t.call(e):(e=typeof Bm=="function"?Bm(e):e[Symbol.iterator](),a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a);function n(i){a[i]=e[i]&&function(o){return new Promise(function(l,u){o=e[i](o),r(l,u,o.done,o.value)})}}function r(i,o,l,u){Promise.resolve(u).then(function(c){i({value:c,done:l})},o)}}var e0=e=>e&&typeof e.length=="number"&&typeof e!="function";function t0(e){return st(e==null?void 0:e.then)}function n0(e){return st(e[wh])}function a0(e){return Symbol.asyncIterator&&st(e==null?void 0:e[Symbol.asyncIterator])}function r0(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 B$(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var i0=B$();function o0(e){return st(e==null?void 0:e[i0])}function s0(e){return V$(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:a,done:n}=yield gi(t.read());if(n)return yield gi(void 0);yield yield gi(a)}}finally{t.releaseLock()}})}function l0(e){return st(e==null?void 0:e.getReader)}function _n(e){if(e instanceof mt)return e;if(e!=null){if(n0(e))return H$(e);if(e0(e))return q$(e);if(t0(e))return $$(e);if(a0(e))return u0(e);if(o0(e))return G$(e);if(l0(e))return U$(e)}throw r0(e)}function H$(e){return new mt(t=>{let a=e[wh]();if(st(a.subscribe))return a.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function q$(e){return new mt(t=>{for(let a=0;a<e.length&&!t.closed;a++)t.next(e[a]);t.complete()})}function $$(e){return new mt(t=>{e.then(a=>{t.closed||(t.next(a),t.complete())},a=>t.error(a)).then(null,Yv)})}function G$(e){return new mt(t=>{for(let a of e)if(t.next(a),t.closed)return;t.complete()})}function u0(e){return new mt(t=>{W$(e,t).catch(a=>t.error(a))})}function U$(e){return u0(s0(e))}function W$(e,t){var a,n,r,i;return j$(this,void 0,void 0,function*(){try{for(a=z$(e);n=yield a.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){r={error:o}}finally{try{n&&!n.done&&(i=a.return)&&(yield i.call(a))}finally{if(r)throw r.error}}t.complete()})}function ja(e,t,a,n=0,r=!1){let i=t.schedule(function(){a(),r?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!r)return i}function c0(e,t=0){return Jt((a,n)=>{a.subscribe(Ft(n,r=>ja(n,e,()=>n.next(r),t),()=>ja(n,e,()=>n.complete(),t),r=>ja(n,e,()=>n.error(r),t)))})}function d0(e,t=0){return Jt((a,n)=>{n.add(e.schedule(()=>a.subscribe(n),t))})}function Z$(e,t){return _n(e).pipe(d0(t),c0(t))}function Y$(e,t){return _n(e).pipe(d0(t),c0(t))}function K$(e,t){return new mt(a=>{let n=0;return t.schedule(function(){n===e.length?a.complete():(a.next(e[n++]),a.closed||this.schedule())})})}function Q$(e,t){return new mt(a=>{let n;return ja(a,t,()=>{n=e[i0](),ja(a,t,()=>{let r,i;try{({value:r,done:i}=n.next())}catch(o){a.error(o);return}i?a.complete():a.next(r)},0,!0)}),()=>st(n==null?void 0:n.return)&&n.return()})}function h0(e,t){if(!e)throw new Error("Iterable cannot be null");return new mt(a=>{ja(a,t,()=>{let n=e[Symbol.asyncIterator]();ja(a,t,()=>{n.next().then(r=>{r.done?a.complete():a.next(r.value)})},0,!0)})})}function J$(e,t){return h0(s0(e),t)}function X$(e,t){if(e!=null){if(n0(e))return Z$(e,t);if(e0(e))return K$(e,t);if(t0(e))return Y$(e,t);if(a0(e))return h0(e,t);if(o0(e))return Q$(e,t);if(l0(e))return J$(e,t)}throw r0(e)}function Gr(e,t){return t?X$(e,t):_n(e)}function et(...e){let t=rs(e);return Gr(e,t)}function p0(e,t){let a=st(e)?e:()=>e,n=r=>r.error(a());return new mt(n)}function vi(e){return!!e&&(e instanceof mt||st(e.lift)&&st(e.subscribe))}var e6=yh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function t6(e,t){return new Promise((a,n)=>{let r=!1,i;e.subscribe({next:o=>{i=o,r=!0},error:n,complete:()=>{r?a(i):n(new e6)}})})}function n6(e){return e instanceof Date&&!isNaN(e)}function Pt(e,t){return Jt((a,n)=>{let r=0;a.subscribe(Ft(n,i=>{n.next(e.call(t,i,r++))}))})}var{isArray:a6}=Array;function r6(e,t){return a6(t)?e(...t):e(t)}function m0(e){return Pt(t=>r6(e,t))}var{isArray:i6}=Array,{getPrototypeOf:o6,prototype:s6,keys:l6}=Object;function f0(e){if(e.length===1){let t=e[0];if(i6(t))return{args:t,keys:null};if(u6(t)){let a=l6(t);return{args:a.map(n=>t[n]),keys:a}}}return{args:e,keys:null}}function u6(e){return e&&typeof e=="object"&&o6(e)===s6}function g0(e,t){return e.reduce((a,n,r)=>(a[n]=t[r],a),{})}function il(...e){let t=rs(e),a=Xv(e),{args:n,keys:r}=f0(e);if(n.length===0)return Gr([],t);let i=new mt(c6(n,t,r?o=>g0(r,o):Hi));return a?i.pipe(m0(a)):i}function c6(e,t,a=Hi){return n=>{Hm(t,()=>{let{length:r}=e,i=new Array(r),o=r,l=r;for(let u=0;u<r;u++)Hm(t,()=>{let c=Gr(e[u],t),d=!1;c.subscribe(Ft(n,m=>{i[u]=m,d||(d=!0,l--),l||n.next(a(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Hm(e,t,a){e?ja(a,e,t):t()}function d6(e,t,a,n,r,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;_n(a(x,d++)).subscribe(Ft(t,D=>{t.next(D)},()=>{k=!0},void 0,()=>{if(k)try{for(c--;u.length&&c<n;){let D=u.shift();o?ja(t,o,()=>w(D)):w(D)}v()}catch(D){t.error(D)}}))};return e.subscribe(Ft(t,g,()=>{m=!0,v()})),()=>{}}function Oo(e,t,a=1/0){return st(t)?Oo((n,r)=>Pt((i,o)=>t(n,i,r,o))(_n(e(n,r))),a):(typeof t=="number"&&(a=t),Jt((n,r)=>d6(n,r,e,a)))}function v0(e=1/0){return Oo(Hi,e)}function h6(){return v0(1)}function Mo(...e){return h6()(Gr(e,rs(e)))}function xl(e){return new mt(t=>{_n(e()).subscribe(t)})}function b0(...e){let t=Xv(e),{args:a,keys:n}=f0(e),r=new mt(i=>{let{length:o}=a;if(!o){i.complete();return}let l=new Array(o),u=o,c=o;for(let d=0;d<o;d++){let m=!1;_n(a[d]).subscribe(Ft(i,v=>{m||(m=!0,c--),l[d]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||i.next(n?g0(n,l):l),i.complete())}))}});return t?r.pipe(m0(t)):r}function p6(e=0,t,a=L$){let n=-1;return t!=null&&(Jv(t)?a=t:n=t),new mt(r=>{let i=n6(e)?+e-a.now():e;i<0&&(i=0);let o=0;return a.schedule(function(){r.closed||(r.next(o++),0<=n?this.schedule(void 0,n):r.complete())},i)})}function Lr(...e){let t=rs(e),a=F$(e,1/0),n=e;return n.length?n.length===1?_n(n[0]):v0(a)(Gr(n,t)):kh}function Cn(e,t){return Jt((a,n)=>{let r=0;a.subscribe(Ft(n,i=>e.call(t,i,r++)&&n.next(i)))})}function m6(e){return Jt((t,a)=>{let n=!1,r=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let c=r;r=null,a.next(c)}o&&a.complete()},u=()=>{i=null,o&&a.complete()};t.subscribe(Ft(a,c=>{n=!0,r=c,i||_n(e(c)).subscribe(i=Ft(a,l,u))},()=>{o=!0,(!n||!i||i.closed)&&a.complete()}))})}function y0(e,t=Sh){return m6(()=>p6(e,t))}function Dh(e){return Jt((t,a)=>{let n=null,r=!1,i;n=t.subscribe(Ft(a,void 0,void 0,o=>{i=_n(e(o,Dh(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(a)):r=!0})),r&&(n.unsubscribe(),n=null,i.subscribe(a))})}function _0(e,t){return st(t)?Oo(e,t,1):Oo(e,1)}function f6(e,t=Sh){return Jt((a,n)=>{let r=null,i=null,o=null,l=()=>{if(r){r.unsubscribe(),r=null;let c=i;i=null,n.next(c)}};function u(){let c=o+e,d=t.now();if(d<c){r=this.schedule(void 0,c-d),n.add(r);return}l()}a.subscribe(Ft(n,c=>{i=c,o=t.now(),r||(r=t.schedule(u,e),n.add(r))},()=>{l(),n.complete()},void 0,()=>{i=r=null}))})}function mn(e){return e<=0?()=>kh:Jt((t,a)=>{let n=0;t.subscribe(Ft(a,r=>{++n<=e&&(a.next(r),e<=n&&a.complete())}))})}function g6(e,t=Hi){return e=e??v6,Jt((a,n)=>{let r,i=!0;a.subscribe(Ft(n,o=>{let l=t(o);(i||!e(r,l))&&(i=!1,r=l,n.next(o))}))})}function v6(e,t){return e===t}function w0(e){return Jt((t,a)=>{try{t.subscribe(a)}finally{a.add(e)}})}function x0(e={}){let{connector:t=()=>new ve,resetOnError:a=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!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 Jt((x,k)=>{c++,!m&&!d&&v();let D=u=u??t();k.add(()=>{c--,c===0&&!m&&!d&&(l=Ju(w,r))}),D.subscribe(k),!o&&c>0&&(o=new Ro({next:O=>D.next(O),error:O=>{m=!0,v(),l=Ju(g,a,O),D.error(O)},complete:()=>{d=!0,v(),l=Ju(g,n),D.complete()}}),_n(x).subscribe(o))})(i)}}function Ju(e,t,...a){if(t===!0){e();return}if(t===!1)return;let n=new Ro({next:()=>{n.unsubscribe(),e()}});return _n(t(...a)).subscribe(n)}function qm(e,t,a){let n;return n=e,x0({connector:()=>new Eh(n,t,a),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function E0(e){return Cn((t,a)=>e<=a)}function du(...e){let t=rs(e);return Jt((a,n)=>{(t?Mo(e,a,t):Mo(e,a)).subscribe(n)})}function El(e,t){return Jt((a,n)=>{let r=null,i=0,o=!1,l=()=>o&&!r&&n.complete();a.subscribe(Ft(n,u=>{r==null||r.unsubscribe();let c=0,d=i++;_n(e(u,d)).subscribe(r=Ft(n,m=>n.next(t?t(u,m,d,c++):m),()=>{r=null,l()}))},()=>{o=!0,l()}))})}function ir(e){return Jt((t,a)=>{_n(e).subscribe(Ft(a,()=>a.complete(),ed)),!a.closed&&t.subscribe(a)})}function Xu(e,t,a){let n=st(e)||t||a?{next:e,error:t,complete:a}:e;return n?Jt((r,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;r.subscribe(Ft(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Hi}var S0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",G=class extends Error{constructor(t,a){super(k0(t,a));s(this,"code");this.code=t}};function b6(e){return`NG0${Math.abs(e)}`}function k0(e,t){return`${b6(e)}${t?": "+t:""}`}var hu=Symbol("InputSignalNode#UNSET"),C0=Qt(ce({},Gv),{transformFn:void 0,applyValueToInputSignal(e,t){as(e,t)}});function D0(e,t){let a=Object.create(C0);a.value=e,a.transformFn=t==null?void 0:t.transform;function n(){if(ts(a),a.value===hu){let r=null;throw new G(-950,r)}return a.value}return n[gn]=a,n}function is(e){return{toString:e}.toString()}var Ms="__parameters__";function y6(e){return function(...t){}}function I0(e,t,a){return is(()=>{let n=y6();function r(...i){if(this instanceof r)return n.apply(this,i),this;let o=new r(...i);return l.annotation=o,l;function l(u,c,d){let m=u.hasOwnProperty(Ms)?u[Ms]:Object.defineProperty(u,Ms,{value:[]})[Ms];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(o),u}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var ui=globalThis;function lt(e){for(let t in e)if(e[t]===lt)return t;throw Error("Could not find renamed property on target object.")}function _6(e,t){for(let a in t)t.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=t[a])}function An(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(An).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let a=e.toString();if(a==null)return""+a;let n=a.indexOf(`
|
|
15
|
-
`);return n>=0?a.slice(0,n):a}function ad(e,t){return e?t?`${e} ${t}`:e:t||""}var w6=lt({__forward_ref__:lt});function T0(e){return e.__forward_ref__=T0,e.toString=function(){return An(this())},e}function Wt(e){return R0(e)?e():e}function R0(e){return typeof e=="function"&&e.hasOwnProperty(w6)&&e.__forward_ref__===T0}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ih(e){return $m(e,O0)||$m(e,M0)}function $m(e,t){return e.hasOwnProperty(t)?e[t]:null}function x6(e){return e&&(e[O0]||e[M0])||null}function Gm(e){return e&&(e.hasOwnProperty(Um)||e.hasOwnProperty(E6))?e[Um]:null}var O0=lt({ɵprov:lt}),Um=lt({ɵinj:lt}),M0=lt({ngInjectableDef:lt}),E6=lt({ngInjectorDef:lt}),K=class{constructor(e,t){s(this,"_desc");s(this,"ngMetadataName","InjectionToken");s(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=z({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function N0(e){return e&&!!e.ɵproviders}var S6=lt({ɵcmp:lt}),k6=lt({ɵdir:lt}),C6=lt({ɵpipe:lt}),Sl=lt({ɵfac:lt}),wo=lt({__NG_ELEMENT_ID__:lt}),Wm=lt({__NG_ENV_ID__:lt});function ki(e){return typeof e=="string"?e:e==null?"":String(e)}function D6(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ki(e)}function A0(e,t){throw new G(-200,e)}function Th(e,t){throw new G(-201,!1)}var Te=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}(Te||{}),rd;function P0(){return rd}function pn(e){let t=rd;return rd=e,t}function L0(e,t,a){let n=Ih(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(a&Te.Optional)return null;if(t!==void 0)return t;Th()}var I6={},Pr=I6,id="__NG_DI_FLAG__",F0=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let a=t;return this.injector.get(e,a.optional?Uv:Pr,a)}},kl="ngTempTokenPath",T6="ngTokenPath",R6=/\n/gm,O6="ɵ",Zm="__source";function M6(e,t=Te.Default){if(al()===void 0)throw new G(-203,!1);if(al()===null)return L0(e,void 0,t);{let a=al(),n;return a instanceof F0?n=a.injector:n=a,n.get(e,t&Te.Optional?null:void 0,t)}}function oe(e,t=Te.Default){return(P0()||M6)(Wt(e),t)}function S(e,t=Te.Default){return oe(e,pu(t))}function pu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function od(e){let t=[];for(let a=0;a<e.length;a++){let n=Wt(e[a]);if(Array.isArray(n)){if(n.length===0)throw new G(900,!1);let r,i=Te.Default;for(let o=0;o<n.length;o++){let l=n[o],u=N6(l);typeof u=="number"?u===-1?r=l.token:i|=u:r=l}t.push(oe(r,i))}else t.push(oe(n))}return t}function j0(e,t){return e[id]=t,e.prototype[id]=t,e}function N6(e){return e[id]}function A6(e,t,a,n){let r=e[kl];throw t[Zm]&&r.unshift(t[Zm]),e.message=P6(`
|
|
16
|
-
`+e.message,r,a,n),e[T6]=r,e[kl]=null,e}function P6(e,t,a,n=null){e=e&&e.charAt(0)===`
|
|
17
|
-
`&&e.charAt(1)==O6?e.slice(2):e;let r=An(t);if(Array.isArray(t))r=t.map(An).join(" -> ");else if(typeof t=="object"){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];i.push(o+":"+(typeof l=="string"?JSON.stringify(l):An(l)))}r=`{${i.join(", ")}}`}return`${a}${n?"("+n+")":""}[${r}]: ${e.replace(R6,`
|
|
18
|
-
`)}`}var Rh=j0(I0("Optional"),8),Oh=j0(I0("SkipSelf"),4);function Fr(e,t){return e.hasOwnProperty(Sl)?e[Sl]:null}function L6(e,t,a){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(a&&(r=a(r),i=a(i)),i!==r)return!1}return!0}function F6(e){return e.flat(Number.POSITIVE_INFINITY)}function Mh(e,t){e.forEach(a=>Array.isArray(a)?Mh(a,t):t(a))}function V0(e,t,a){t>=e.length?e.push(a):e.splice(t,0,a)}function Cl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function j6(e,t){let a=[];for(let n=0;n<e;n++)a.push(t);return a}function V6(e,t,a,n){let r=e.length;if(r==t)e.push(a,n);else if(r===1)e.push(n,e[0]),e[0]=a;else{for(r--,e.push(e[r-1],e[r]);r>t;){let i=r-2;e[r]=e[i],r--}e[t]=a,e[t+1]=n}}function Nh(e,t,a){let n=os(e,t);return n>=0?e[n|1]=a:(n=~n,V6(e,n,t,a)),n}function ec(e,t){let a=os(e,t);if(a>=0)return e[a|1]}function os(e,t){return z6(e,t,1)}function z6(e,t,a){let n=0,r=e.length>>a;for(;r!==n;){let i=n+(r-n>>1),o=e[i<<a];if(t===o)return i<<a;o>t?r=i:n=i+1}return~(r<<a)}var ua={},fn=[],Dl=new K(""),z0=new K("",-1),B0=new K(""),H0=class{get(e,t=Pr){if(t===Pr){let a=new Error(`NullInjectorError: No provider for ${An(e)}!`);throw a.name="NullInjectorError",a}return t}};function Ci(e){return e[S6]||null}function q0(e){return e[k6]||null}function B6(e){return e[C6]||null}function Ah(e){return{ɵproviders:e}}function H6(...e){return{ɵproviders:$0(!0,e),ɵfromNgModule:!0}}function $0(e,...t){let a=[],n=new Set,r,i=o=>{a.push(o)};return Mh(t,o=>{let l=o;sd(l,i,[],n)&&(r||(r=[]),r.push(l))}),r!==void 0&&G0(r,i),a}function G0(e,t){for(let a=0;a<e.length;a++){let{ngModule:n,providers:r}=e[a];Ph(r,i=>{t(i,n)})}}function sd(e,t,a,n){if(e=Wt(e),!e)return!1;let r=null,i=Gm(e),o=!i&&Ci(e);if(!i&&!o){let u=e.ngModule;if(i=Gm(u),i)r=u;else return!1}else{if(o&&!o.standalone)return!1;r=e}let l=n.has(r);if(o){if(l)return!1;if(n.add(r),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)sd(c,t,a,n)}}else if(i){if(i.imports!=null&&!l){n.add(r);let c;try{Mh(i.imports,d=>{sd(d,t,a,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&G0(c,t)}if(!l){let c=Fr(r)||(()=>new r);t({provide:r,useFactory:c,deps:fn},r),t({provide:B0,useValue:r,multi:!0},r),t({provide:Dl,useValue:()=>oe(r),multi:!0},r)}let u=i.providers;if(u!=null&&!l){let c=e;Ph(u,d=>{t(d,c)})}}else return!1;return r!==e&&e.providers!==void 0}function Ph(e,t){for(let a of e)N0(a)&&(a=a.ɵproviders),Array.isArray(a)?Ph(a,t):t(a)}var q6=lt({provide:String,useValue:lt});function U0(e){return e!==null&&typeof e=="object"&&q6 in e}function $6(e){return!!(e&&e.useExisting)}function G6(e){return!!(e&&e.useFactory)}function Di(e){return typeof e=="function"}function U6(e){return!!e.useClass}var Lh=new K(""),ol={},Ym={},tc;function mu(){return tc===void 0&&(tc=new H0),tc}var ca=class{},Fh=class extends ca{constructor(t,a,n,r){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=a,this.source=n,this.scopes=r,ud(t,o=>this.processProvider(o)),this.records.set(z0,ci(void 0,this)),r.has("environment")&&this.records.set(ca,ci(void 0,this));let i=this.records.get(Lh);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(B0,fn,Te.Self))}get destroyed(){return this._destroyed}retrieve(t,a){let n=a;return this.get(t,n.optional?Uv:Pr,n)}destroy(){go(this),this._destroyed=!0;let t=De(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let a=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of a)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),De(t)}}onDestroy(t){return go(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){go(this);let a=Za(this),n=pn(void 0);try{return t()}finally{Za(a),pn(n)}}get(t,a=Pr,n=Te.Default){if(go(this),t.hasOwnProperty(Wm))return t[Wm](this);n=pu(n);let r=Za(this),i=pn(void 0);try{if(!(n&Te.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=Q6(t)&&Ih(t);u&&this.injectableDefInScope(u)?l=ci(ld(t),ol):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Te.Self?mu():this.parent;return a=n&Te.Optional&&a===Pr?null:a,o.get(t,a)}catch(o){if(o.name==="NullInjectorError"){if((o[kl]=o[kl]||[]).unshift(An(t)),r)throw o;return A6(o,t,"R3InjectorError",this.source)}else throw o}finally{pn(i),Za(r)}}resolveInjectorInitializers(){let t=De(null),a=Za(this),n=pn(void 0);try{let r=this.get(Dl,fn,Te.Self);for(let i of r)i()}finally{Za(a),pn(n),De(t)}}toString(){let t=[],a=this.records;for(let n of a.keys())t.push(An(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Wt(t);let a=Di(t)?t:Wt(t&&t.provide),n=Z6(t);if(!Di(t)&&t.multi===!0){let r=this.records.get(a);r||(r=ci(void 0,ol,!0),r.factory=()=>od(r.multi),this.records.set(a,r)),a=t,r.multi.push(t)}this.records.set(a,n)}hydrate(t,a,n){let r=De(null);try{return a.value===Ym?A0(An(t)):a.value===ol&&(a.value=Ym,a.value=a.factory(void 0,n)),typeof a.value=="object"&&a.value&&K6(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{De(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let a=Wt(t.providedIn);return typeof a=="string"?a==="any"||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(t){let a=this._onDestroyHooks.indexOf(t);a!==-1&&this._onDestroyHooks.splice(a,1)}};function ld(e){let t=Ih(e),a=t!==null?t.factory:Fr(e);if(a!==null)return a;if(e instanceof K)throw new G(204,!1);if(e instanceof Function)return W6(e);throw new G(204,!1)}function W6(e){if(e.length>0)throw new G(204,!1);let t=x6(e);return t!==null?()=>t.factory(e):()=>new e}function Z6(e){if(U0(e))return ci(void 0,e.useValue);{let t=W0(e);return ci(t,ol)}}function W0(e,t,a){let n;if(Di(e)){let r=Wt(e);return Fr(r)||ld(r)}else if(U0(e))n=()=>Wt(e.useValue);else if(G6(e))n=()=>e.useFactory(...od(e.deps||[]));else if($6(e))n=(r,i)=>oe(Wt(e.useExisting),i!==void 0&&i&Te.Optional?Te.Optional:void 0);else{let r=Wt(e&&(e.useClass||e.provide));if(Y6(e))n=()=>new r(...od(e.deps));else return Fr(r)||ld(r)}return n}function go(e){if(e.destroyed)throw new G(205,!1)}function ci(e,t,a=!1){return{factory:e,value:t,multi:a?[]:void 0}}function Y6(e){return!!e.deps}function K6(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Q6(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function ud(e,t){for(let a of e)Array.isArray(a)?ud(a,t):a&&N0(a)?ud(a.ɵproviders,t):t(a)}function jh(e,t){let a;e instanceof Fh?(go(e),a=e):a=new F0(e);let n=Za(a),r=pn(void 0);try{return t()}finally{Za(n),pn(r)}}function Z0(){return P0()!==void 0||al()!=null}function fu(e){if(!Z0())throw new G(-203,!1)}function J6(e){return typeof e=="function"}var Ba=0,_e=1,fe=2,nn=3,Wn=4,wn=5,Ii=6,bi=7,qt=8,Ti=9,za=10,vt=11,No=12,Km=13,qi=14,Ln=15,jr=16,di=17,Zn=18,gu=19,Y0=20,or=21,nc=22,Aa=23,Pn=24,sr=25,yt=26,K0=1,Vr=7,Il=8,Ri=9,tn=10;function lr(e){return Array.isArray(e)&&typeof e[K0]=="object"}function Ha(e){return Array.isArray(e)&&e[K0]===!0}function Vh(e){return(e.flags&4)!==0}function $i(e){return e.componentOffset>-1}function vu(e){return(e.flags&1)===1}function da(e){return!!e.template}function Tl(e){return(e[fe]&512)!==0}function Gi(e){return(e[fe]&256)===256}var X6=class{constructor(e,t,a){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=a}isFirstChange(){return this.firstChange}};function Q0(e,t,a,n){t!==null?t.applyValueToInputSignal(t,n):e[a]=n}var dr=(()=>{let e=()=>J0;return e.ngInherit=!0,e})();function J0(e){return e.type.prototype.ngOnChanges&&(e.setInput=tG),eG}function eG(){let e=eb(this),t=e==null?void 0:e.current;if(t){let a=e.previous;if(a===ua)e.previous=t;else for(let n in t)a[n]=t[n];e.current=null,this.ngOnChanges(t)}}function tG(e,t,a,n,r){let i=this.declaredInputs[n],o=eb(e)||nG(e,{previous:ua,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[i];l[i]=new X6(c&&c.currentValue,a,u===ua),Q0(e,t,r,a)}var X0="__ngSimpleChanges__";function eb(e){return e[X0]||null}function nG(e,t){return e[X0]=t}var zr=function(e,t=null,a){},tb="svg",aG="math";function ha(e){for(;Array.isArray(e);)e=e[Ba];return e}function nb(e,t){return ha(t[e])}function fa(e,t){return ha(t[e.index])}function zh(e,t){return e.data[t]}function ss(e,t){return e[t]}function Bh(e,t,a,n){a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=n}function pa(e,t){let a=t[e];return lr(a)?a:a[Ba]}function rG(e){return(e[fe]&4)===4}function Hh(e){return(e[fe]&128)===128}function iG(e){return Ha(e[nn])}function Br(e,t){return t==null?null:e[t]}function ab(e){e[di]=0}function qh(e){e[fe]&1024||(e[fe]|=1024,Hh(e)&&Ui(e))}function oG(e,t){for(;e>0;)t=t[qi],e--;return t}function ls(e){var t;return!!(e[fe]&9216||(t=e[Pn])!=null&&t.dirty)}function cd(e){var t;(t=e[za].changeDetectionScheduler)==null||t.notify(8),e[fe]&64&&(e[fe]|=1024),ls(e)&&Ui(e)}function Ui(e){var a;(a=e[za].changeDetectionScheduler)==null||a.notify(0);let t=Hr(e);for(;t!==null&&!(t[fe]&8192||(t[fe]|=8192,!Hh(t)));)t=Hr(t)}function rb(e,t){if(Gi(e))throw new G(911,!1);e[or]===null&&(e[or]=[]),e[or].push(t)}function sG(e,t){if(e[or]===null)return;let a=e[or].indexOf(t);a!==-1&&e[or].splice(a,1)}function Hr(e){let t=e[nn];return Ha(t)?t[nn]:t}function $h(e){return e[bi]??(e[bi]=[])}function Gh(e){return e.cleanup??(e.cleanup=[])}function lG(e,t,a,n){let r=$h(t);r.push(a),e.firstCreatePass&&Gh(e).push(n,r.length-1)}var Se={lFrame:hb(null),bindingsEnabled:!0,skipHydrationRootTNode:null},dd=!1;function uG(){return Se.lFrame.elementDepthCount}function cG(){Se.lFrame.elementDepthCount++}function dG(){Se.lFrame.elementDepthCount--}function hG(){return Se.bindingsEnabled}function ib(){return Se.skipHydrationRootTNode!==null}function pG(e){return Se.skipHydrationRootTNode===e}function mG(){Se.skipHydrationRootTNode=null}function de(){return Se.lFrame.lView}function ut(){return Se.lFrame.tView}function vn(e){return Se.lFrame.contextLView=e,e[qt]}function bn(e){return Se.lFrame.contextLView=null,e}function rn(){let e=ob();for(;e!==null&&e.type===64;)e=e.parent;return e}function ob(){return Se.lFrame.currentTNode}function fG(){let e=Se.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hr(e,t){let a=Se.lFrame;a.currentTNode=e,a.isParent=t}function Uh(){return Se.lFrame.isParent}function Wh(){Se.lFrame.isParent=!1}function sb(){return Se.lFrame.contextLView}function lb(){return dd}function Rl(e){let t=dd;return dd=e,t}function Ur(){let e=Se.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function gG(){return Se.lFrame.bindingIndex}function vG(e){return Se.lFrame.bindingIndex=e}function Wr(){return Se.lFrame.bindingIndex++}function Zh(e){let t=Se.lFrame,a=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,a}function bG(){return Se.lFrame.inI18n}function yG(e,t){let a=Se.lFrame;a.bindingIndex=a.bindingRootIndex=e,hd(t)}function _G(){return Se.lFrame.currentDirectiveIndex}function hd(e){Se.lFrame.currentDirectiveIndex=e}function wG(e){let t=Se.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ub(){return Se.lFrame.currentQueryIndex}function Yh(e){Se.lFrame.currentQueryIndex=e}function xG(e){let t=e[_e];return t.type===2?t.declTNode:t.type===1?e[wn]:null}function cb(e,t,a){if(a&Te.SkipSelf){let r=t,i=e;for(;(r=r.parent,r===null&&!(a&Te.Host))&&(r=xG(i),!(r===null||(i=i[qi],r.type&10))););if(r===null)return!1;t=r,e=i}let n=Se.lFrame=db();return n.currentTNode=t,n.lView=e,!0}function Kh(e){let t=db(),a=e[_e];Se.lFrame=t,t.currentTNode=a.firstChild,t.lView=e,t.tView=a,t.contextLView=e,t.bindingIndex=a.bindingStartIndex,t.inI18n=!1}function db(){let e=Se.lFrame,t=e===null?null:e.child;return t===null?hb(e):t}function hb(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function pb(){let e=Se.lFrame;return Se.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var mb=pb;function Qh(){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 EG(e){return(Se.lFrame.contextLView=oG(e,Se.lFrame.contextLView))[qt]}function ga(){return Se.lFrame.selectedIndex}function qr(e){Se.lFrame.selectedIndex=e}function bu(){let e=Se.lFrame;return zh(e.tView,e.selectedIndex)}function fb(){Se.lFrame.currentNamespace=tb}function SG(){return Se.lFrame.currentNamespace}var gb=!0;function yu(){return gb}function _u(e){gb=e}function kG(e,t,a){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(n){let o=J0(t);(a.preOrderHooks??(a.preOrderHooks=[])).push(e,o),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,o)}r&&(a.preOrderHooks??(a.preOrderHooks=[])).push(0-e,r),i&&((a.preOrderHooks??(a.preOrderHooks=[])).push(e,i),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,i))}function Jh(e,t){for(let a=t.directiveStart,n=t.directiveEnd;a<n;a++){let r=e.data[a].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=r;i&&(e.contentHooks??(e.contentHooks=[])).push(-a,i),o&&((e.contentHooks??(e.contentHooks=[])).push(a,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(a,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-a,l),u&&((e.viewHooks??(e.viewHooks=[])).push(a,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(a,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(a,c)}}function sl(e,t,a){vb(e,t,3,a)}function ll(e,t,a,n){(e[fe]&3)===a&&vb(e,t,a,n)}function ac(e,t){let a=e[fe];(a&3)===t&&(a&=16383,a+=1,e[fe]=a)}function vb(e,t,a,n){let r=n!==void 0?e[di]&65535:0,i=n??-1,o=t.length-1,l=0;for(let u=r;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[di]+=65536),(l<i||i==-1)&&(CG(e,a,t,u),e[di]=(e[di]&4294901760)+u+2),u++}function Qm(e,t){let a=De(null);try{t.call(e)}finally{De(a)}}function CG(e,t,a,n){let r=a[n]<0,i=a[n+1],o=r?-a[n]:a[n],l=e[o];r?e[fe]>>14<e[di]>>16&&(e[fe]&3)===t&&(e[fe]+=16384,Qm(l,i)):Qm(l,i)}var yi=-1,us=class{constructor(e,t,a){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=a}};function DG(e){return(e.flags&8)!==0}function IG(e){return(e.flags&16)!==0}function TG(e,t,a){let n=0;for(;n<a.length;){let r=a[n];if(typeof r=="number"){if(r!==0)break;n++;let i=a[n++],o=a[n++],l=a[n++];e.setAttribute(t,o,l,i)}else{let i=r,o=a[++n];RG(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function bb(e){return e===3||e===4||e===6}function RG(e){return e.charCodeAt(0)===64}function Oi(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let a=-1;for(let n=0;n<t.length;n++){let r=t[n];typeof r=="number"?a=r:a===0||(a===-1||a===2?Jm(e,a,r,null,t[++n]):Jm(e,a,r,null,null))}}return e}function Jm(e,t,a,n,r){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===a){r!==null&&(e[i+1]=r);return}i++,r!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,a),r!==null&&e.splice(i++,0,r)}function yb(e){return e!==yi}function Ol(e){return e&32767}function OG(e){return e>>16}function Ml(e,t){let a=OG(e),n=t;for(;a>0;)n=n[qi],a--;return n}var pd=!0;function Nl(e){let t=pd;return pd=e,t}var MG=256,_b=MG-1,wb=5,NG=0,la={};function AG(e,t,a){let n;typeof a=="string"?n=a.charCodeAt(0)||0:a.hasOwnProperty(wo)&&(n=a[wo]),n==null&&(n=a[wo]=NG++);let r=n&_b,i=1<<r;t.data[e+(r>>wb)]|=i}function Al(e,t){let a=xb(e,t);if(a!==-1)return a;let n=t[_e];n.firstCreatePass&&(e.injectorIndex=t.length,rc(n.data,e),rc(t,null),rc(n.blueprint,null));let r=Xh(e,t),i=e.injectorIndex;if(yb(r)){let o=Ol(r),l=Ml(r,t),u=l[_e].data;for(let c=0;c<8;c++)t[i+c]=l[o+c]|u[o+c]}return t[i+8]=r,i}function rc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xb(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Xh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let a=0,n=null,r=t;for(;r!==null;){if(n=Db(r),n===null)return yi;if(a++,r=r[qi],n.injectorIndex!==-1)return n.injectorIndex|a<<16}return yi}function md(e,t,a){AG(e,t,a)}function PG(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let a=e.attrs;if(a){let n=a.length,r=0;for(;r<n;){let i=a[r];if(bb(i))break;if(i===0)r=r+2;else if(typeof i=="number")for(r++;r<n&&typeof a[r]=="string";)r++;else{if(i===t)return a[r+1];r=r+2}}}return null}function Eb(e,t,a){if(a&Te.Optional||e!==void 0)return e;Th()}function Sb(e,t,a,n){if(a&Te.Optional&&n===void 0&&(n=null),(a&(Te.Self|Te.Host))===0){let r=e[Ti],i=pn(void 0);try{return r?r.get(t,n,a&Te.Optional):L0(t,n,a&Te.Optional)}finally{pn(i)}}return Eb(n,t,a)}function kb(e,t,a,n=Te.Default,r){if(e!==null){if(t[fe]&2048&&!(n&Te.Self)){let o=VG(e,t,a,n,la);if(o!==la)return o}let i=Cb(e,t,a,n,la);if(i!==la)return i}return Sb(t,a,n,r)}function Cb(e,t,a,n,r){let i=FG(a);if(typeof i=="function"){if(!cb(t,e,n))return n&Te.Host?Eb(r,a,n):Sb(t,a,n,r);try{let o;if(o=i(n),o==null&&!(n&Te.Optional))Th(a);else return o}finally{mb()}}else if(typeof i=="number"){let o=null,l=xb(e,t),u=yi,c=n&Te.Host?t[Ln][wn]:null;for((l===-1||n&Te.SkipSelf)&&(u=l===-1?Xh(e,t):t[l+8],u===yi||!ef(n,!1)?l=-1:(o=t[_e],l=Ol(u),t=Ml(u,t)));l!==-1;){let d=t[_e];if(Xm(i,l,d.data)){let m=LG(l,t,a,o,n,c);if(m!==la)return m}u=t[l+8],u!==yi&&ef(n,t[_e].data[l+8]===c)&&Xm(i,l,t)?(o=d,l=Ol(u),t=Ml(u,t)):l=-1}}return r}function LG(e,t,a,n,r,i){let o=t[_e],l=o.data[e+8],u=n==null?$i(l)&&pd:n!=o&&(l.type&3)!==0,c=r&Te.Host&&i===l,d=ul(l,o,a,u,c);return d!==null?Ao(t,o,d,l,r):la}function ul(e,t,a,n,r){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=r?l+d:c;for(let g=m;g<v;g++){let w=o[g];if(g<u&&a===w||g>=u&&w.type===a)return g}if(r){let g=o[u];if(g&&da(g)&&g.type===a)return u}return null}function Ao(e,t,a,n,r){let i=e[a],o=t.data;if(i instanceof us){let l=i;l.resolving&&A0(D6(o[a]));let u=Nl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?pn(l.injectImpl):null;cb(e,n,Te.Default);try{i=e[a]=l.factory(void 0,r,o,e,n),t.firstCreatePass&&a>=n.directiveStart&&kG(a,o[a],t)}finally{c!==null&&pn(c),Nl(u),l.resolving=!1,mb()}}return i}function FG(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(wo)?e[wo]:void 0;return typeof t=="number"?t>=0?t&_b:jG:t}function Xm(e,t,a){let n=1<<e;return!!(a[t+(e>>wb)]&n)}function ef(e,t){return!(e&Te.Self)&&!(e&Te.Host&&t)}var xo=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,a){return kb(this._tNode,this._lView,e,pu(a),t)}};function jG(){return new xo(rn(),de())}function nt(e){return is(()=>{let t=e.prototype.constructor,a=t[Sl]||fd(t),n=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==n;){let i=r[Sl]||fd(r);if(i&&i!==a)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function fd(e){return R0(e)?()=>{let t=fd(Wt(e));return t&&t()}:Fr(e)}function VG(e,t,a,n,r){let i=e,o=t;for(;i!==null&&o!==null&&o[fe]&2048&&!Tl(o);){let l=Cb(i,o,a,n|Te.Self,la);if(l!==la)return l;let u=i.parent;if(!u){let c=o[Y0];if(c){let d=c.get(a,la,n);if(d!==la)return d}u=Db(o),o=o[qi]}i=u}return r}function Db(e){let t=e[_e],a=t.type;return a===2?t.declTNode:a===1?e[wn]:null}function zG(e){return PG(rn(),e)}function tf(e,t=null,a=null,n){let r=BG(e,t,a,n);return r.resolveInjectorInitializers(),r}function BG(e,t=null,a=null,n,r=new Set){let i=[a||fn,H6(e)];return n=n||(typeof e=="object"?void 0:An(e)),new Fh(i,t||mu(),n||null,r)}var aa,ht=(aa=class{static create(t,a){if(Array.isArray(t))return tf({name:""},a,t,"");{let n=t.name??"";return tf({name:n},t.parent,t.providers,n)}}},s(aa,"THROW_IF_NOT_FOUND",Pr),s(aa,"NULL",new H0),s(aa,"ɵprov",z({token:aa,providedIn:"any",factory:()=>oe(z0)})),s(aa,"__NG_ELEMENT_ID__",-1),aa),ep=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>zG(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},HG=new K("");HG.__NG_ELEMENT_ID__=e=>{let t=rn();if(t===null)throw new G(204,!1);if(t.type&2)return t.value;if(e&Te.Optional)return null;throw new G(204,!1)};var Ib=!1,pr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",qG),s(e,"__NG_ENV_ID__",a=>a),e})(),Tb=class extends pr{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let a=this._lView;return Gi(a)?(t(),()=>{}):(rb(a,t),()=>sG(a,t))}};function qG(){return new Tb(de())}var Wi=class{},Rb=new K("",{providedIn:"root",factory:()=>!1}),Ob=new K(""),Mb=new K(""),cs=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Ar(!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})(),$G=class extends ve{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Z0()&&(this.destroyRef=S(pr,{optional:!0})??void 0,this.pendingTasks=S(cs,{optional:!0})??void 0)}emit(t){let a=De(null);try{super.next(t)}finally{De(a)}}subscribe(t,a,n){var u,c,d;let r=t,i=a||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;r=(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),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:r,error:i,complete:o});return t instanceof Kt&&t.add(l),l}wrapInTimeout(t){return a=>{var r;let n=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var i;try{t(a)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},ot=$G;function Po(...e){}function Nb(e){let t,a;function n(){e=Po;try{a!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(()=>{e(),n()})),()=>n()}function nf(e){return queueMicrotask(()=>e()),()=>{e=Po}}var tp="isAngularZone",Pl=tp+"_ID",GG=0,He=class gd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new ot(!1));s(this,"onMicrotaskEmpty",new ot(!1));s(this,"onStable",new ot(!1));s(this,"onError",new ot(!1));let{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=Ib}=t;if(typeof Zone>"u")throw new G(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=i,ZG(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(tp)===!0}static assertInAngularZone(){if(!gd.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(gd.isInAngularZone())throw new G(909,!1)}run(t,a,n){return this._inner.run(t,a,n)}runTask(t,a,n,r){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,UG,Po,Po);try{return i.runTask(o,a,n)}finally{i.cancelTask(o)}}runGuarded(t,a,n){return this._inner.runGuarded(t,a,n)}runOutsideAngular(t){return this._outer.run(t)}},UG={};function np(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 WG(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Nb(()=>{e.callbackScheduled=!1,vd(e),e.isCheckStableRunning=!0,np(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),vd(e)}function ZG(e){let t=()=>{WG(e)},a=GG++;e._inner=e._inner.fork({name:"angular",properties:{[tp]:!0,[Pl]:a,[Pl+a]:!0},onInvokeTask:(n,r,i,o,l,u)=>{if(KG(u))return n.invokeTask(i,o,l,u);try{return af(e),n.invokeTask(i,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rf(e)}},onInvoke:(n,r,i,o,l,u,c)=>{try{return af(e),n.invoke(i,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!QG(u)&&t(),rf(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,vd(e),np(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function vd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function af(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function rf(e){e._nesting--,np(e)}var YG=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new ot);s(this,"onMicrotaskEmpty",new ot);s(this,"onStable",new ot);s(this,"onError",new ot)}run(e,t,a){return e.apply(t,a)}runGuarded(e,t,a){return e.apply(t,a)}runOutsideAngular(e){return e()}runTask(e,t,a,n){return e.apply(t,a)}};function KG(e){return Ab(e,"__ignore_ng_zone__")}function QG(e){return Ab(e,"__scheduler_tick__")}function Ab(e,t){var a,n;return!Array.isArray(e)||e.length!==1?!1:((n=(a=e[0])==null?void 0:a.data)==null?void 0:n[t])===!0}var Yn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},JG=new K("",{providedIn:"root",factory:()=>{let e=S(He),t=S(Yn);return a=>e.runOutsideAngular(()=>t.handleError(a))}}),Pb=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",S(Yn,{optional:!0}));s(this,"destroyRef",S(pr));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new G(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var a,n;let t=(a=this.listeners)==null?void 0:a.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var a;if(this.destroyed){console.warn(k0(953,!1));return}if(this.listeners===null)return;let t=De(null);try{for(let n of this.listeners)try{n(e)}catch(r){(a=this.errorHandler)==null||a.handleError(r)}}finally{De(t)}}};function Ll(e){return new Pb}function of(e,t){return D0(e,t)}function XG(e){return D0(hu,e)}var Be=(of.required=XG,of);function e8(){return Zi(rn(),de())}function Zi(e,t){return new Qe(fa(e,t))}var Qe=(()=>{class e{constructor(a){s(this,"nativeElement");this.nativeElement=a}}return s(e,"__NG_ELEMENT_ID__",e8),e})();function t8(e){return e instanceof Qe?e.nativeElement:e}function n8(e){return typeof e=="function"&&e[gn]!==void 0}function ap(e,t){let a=f$(e),n=a[gn];return a.set=r=>as(n,r),a.update=r=>$v(n,r),a.asReadonly=rp.bind(a),a}function rp(){let e=this[gn];if(e.readonlyFn===void 0){let t=()=>this();t[gn]=e,e.readonlyFn=t}return e.readonlyFn}function Lb(e){return n8(e)&&typeof e.set=="function"}function a8(){return this._results[Symbol.iterator]()}var kv,r8=(kv=Symbol.iterator,class{constructor(e=!1){s(this,"_emitDistinctChangesOnly");s(this,"dirty",!0);s(this,"_onDirty");s(this,"_results",[]);s(this,"_changesDetected",!1);s(this,"_changes");s(this,"length",0);s(this,"first");s(this,"last");s(this,kv,a8);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ve)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let a=F6(e);(this._changesDetected=!L6(this._results,a,t))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function Fb(e){return(e.flags&128)===128}var jb=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(jb||{}),Vb=new Map,i8=0;function o8(){return i8++}function s8(e){Vb.set(e[gu],e)}function bd(e){Vb.delete(e[gu])}var sf="__ngContext__";function Yi(e,t){lr(t)?(e[sf]=t[gu],s8(t)):e[sf]=t}function zb(e){return Hb(e[No])}function Bb(e){return Hb(e[Wn])}function Hb(e){for(;e!==null&&!Ha(e);)e=e[Wn];return e}var yd;function l8(e){yd=e}function u8(){if(yd!==void 0)return yd;if(typeof document<"u")return document;throw new G(210,!1)}var wu=new K("",{providedIn:"root",factory:()=>c8}),c8="ng",qb=new K(""),xu=new K("",{providedIn:"platform",factory:()=>"unknown"}),mr=new K(""),ip=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=u8().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),$b=!1,d8=new K("",{providedIn:"root",factory:()=>$b}),op=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(op||{}),ds=new K(""),lf=new Set;function Zr(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(a,n){s(this,"view");s(this,"node");this.view=a,this.node=n}}return s(e,"__NG_ELEMENT_ID__",h8),e})();function h8(){return new sp(de(),rn())}var hi=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(hi||{}),Gb=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),p8=[hi.EarlyRead,hi.Write,hi.MixedReadWrite,hi.Read],m8=(()=>{const t=class t{constructor(){s(this,"ngZone",S(He));s(this,"scheduler",S(Wi));s(this,"errorHandler",S(Yn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);S(ds,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let r of p8)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:r}=n;r!==void 0?((r[sr]??(r[sr]=[])).push(n),Ui(r),r[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,r){return r?r.run(op.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),f8=class{constructor(e,t,a,n,r,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=a,this.once=n,this.snapshot=i,this.unregisterOnDestroy=r==null?void 0:r.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,a;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(a=this.view)==null?void 0:a[sr];e&&(this.view[sr]=e.filter(n=>n!==this))}};function Ub(e,t){!(t!=null&&t.injector)&&fu();let a=(t==null?void 0:t.injector)??S(ht);return Zr("NgAfterRender"),Wb(e,a,t,!1)}function Eu(e,t){!(t!=null&&t.injector)&&fu();let a=(t==null?void 0:t.injector)??S(ht);return Zr("NgAfterNextRender"),Wb(e,a,t,!0)}function g8(e,t){if(e instanceof Function){let a=[void 0,void 0,void 0,void 0];return a[t]=e,a}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Wb(e,t,a,n){let r=t.get(Gb);r.impl??(r.impl=t.get(m8));let i=t.get(ds,null,{optional:!0}),o=(a==null?void 0:a.phase)??hi.MixedReadWrite,l=(a==null?void 0:a.manualCleanup)!==!0?t.get(pr):null,u=t.get(sp,null,{optional:!0}),c=new f8(r.impl,g8(e,o),u==null?void 0:u.view,n,l,i==null?void 0:i.snapshot(null));return r.impl.register(c),c}var v8=()=>null;function Zb(e,t,a=!1){return v8()}function Yb(e,t){let a=e.contentQueries;if(a!==null){let n=De(null);try{for(let r=0;r<a.length;r+=2){let i=a[r],o=a[r+1];if(o!==-1){let l=e.data[o];Yh(i),l.contentQueries(2,t[o],o)}}}finally{De(n)}}}function _d(e,t,a){Yh(0);let n=De(null);try{t(e,a)}finally{De(n)}}function lp(e,t,a){if(Vh(t)){let n=De(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let o=r;o<i;o++){let l=e.data[o];if(l.contentQueries){let u=a[o];l.contentQueries(1,u,o)}}}finally{De(n)}}}var Pa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pa||{}),Ns;function b8(){if(Ns===void 0&&(Ns=null,ui.trustedTypes))try{Ns=ui.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ns}function Su(e){var t;return((t=b8())==null?void 0:t.createHTML(e))||e}var Yr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${S0})`}},y8=class extends Yr{getTypeName(){return"HTML"}},_8=class extends Yr{getTypeName(){return"Style"}},w8=class extends Yr{getTypeName(){return"Script"}},x8=class extends Yr{getTypeName(){return"URL"}},E8=class extends Yr{getTypeName(){return"ResourceURL"}};function Qa(e){return e instanceof Yr?e.changingThisBreaksApplicationSecurity:e}function ii(e,t){let a=S8(e);if(a!=null&&a!==t){if(a==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${a} (see ${S0})`)}return a===t}function S8(e){return e instanceof Yr&&e.getTypeName()||null}function k8(e){return new y8(e)}function C8(e){return new _8(e)}function D8(e){return new w8(e)}function I8(e){return new x8(e)}function T8(e){return new E8(e)}function R8(e){let t=new M8(e);return N8()?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 a=new window.DOMParser().parseFromString(Su(e),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(e):((t=a.firstChild)==null||t.remove(),a)}catch{return null}}},M8=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=Su(e),t}};function N8(){try{return!!new window.DOMParser().parseFromString(Su(""),"text/html")}catch{return!1}}var A8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function up(e){return e=String(e),e.match(A8)?e:"unsafe:"+e}function qa(e){let t={};for(let a of e.split(","))t[a]=!0;return t}function hs(...e){let t={};for(let a of e)for(let n in a)a.hasOwnProperty(n)&&(t[n]=!0);return t}var Kb=qa("area,br,col,hr,img,wbr"),Qb=qa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jb=qa("rp,rt"),P8=hs(Jb,Qb),L8=hs(Qb,qa("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")),F8=hs(Jb,qa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),uf=hs(Kb,L8,F8,P8),Xb=qa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),j8=qa("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"),V8=qa("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"),z8=hs(Xb,j8,V8),B8=qa("script,style,template"),H8=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,a=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?a=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,a&&t.firstChild){n.push(t),t=G8(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=$8(t);if(r){t=r;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=cf(e).toLowerCase();if(!uf.hasOwnProperty(t))return this.sanitizedSomething=!0,!B8.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let a=e.attributes;for(let n=0;n<a.length;n++){let r=a.item(n),i=r.name,o=i.toLowerCase();if(!z8.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=r.value;Xb[o]&&(l=up(l)),this.buf.push(" ",i,'="',df(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=cf(e).toLowerCase();uf.hasOwnProperty(t)&&!Kb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(df(e))}};function q8(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $8(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ey(t);return t}function G8(e){let t=e.firstChild;if(t&&q8(e,t))throw ey(t);return t}function cf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ey(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var U8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,W8=/([^\#-~ |!])/g;function df(e){return e.replace(/&/g,"&").replace(U8,function(t){let a=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((a-55296)*1024+(n-56320)+65536)+";"}).replace(W8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var As;function Z8(e,t){let a=null;try{As=As||R8(e);let n=t?String(t):"";a=As.getInertBodyElement(n);let r=5,i=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=i,i=a.innerHTML,a=As.getInertBodyElement(n)}while(n!==i);let o=new H8().sanitizeChildren(hf(a)||a);return Su(o)}finally{if(a){let n=hf(a)||a;for(;n.firstChild;)n.firstChild.remove()}}}function hf(e){return"content"in e&&Y8(e)?e.content:null}function Y8(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Sn=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}(Sn||{});function K8(e){let t=Q8();return t?t.sanitize(Sn.URL,e)||"":ii(e,"URL")?Qa(e):up(ki(e))}function Q8(){let e=de();return e&&e[za].sanitizer}var J8=/^>|^->|<!--|-->|--!>|<!-$/g,X8=/(<|>)/g,eU="$1";function tU(e){return e.replace(J8,t=>t.replace(X8,eU))}function nU(e,t,a){let n=e.length;for(;;){let r=e.indexOf(t,a);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let i=t.length;if(r+i===n||e.charCodeAt(r+i)<=32)return r}a=r+1}}var ty="ng-template";function aU(e,t,a,n){let r=0;if(n){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&nU(t[r+1].toLowerCase(),a,0)!==-1)return!0}else if(cp(e))return!1;if(r=t.indexOf(1,r),r>-1){let i;for(;++r<t.length&&typeof(i=t[r])=="string";)if(i.toLowerCase()===a)return!0}return!1}function cp(e){return e.type===4&&e.value!==ty}function rU(e,t,a){let n=e.type===4&&!a?ty:e.value;return t===n}function iU(e,t,a){let n=4,r=e.attrs,i=r!==null?lU(r):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!qn(n)&&!qn(u))return!1;if(o&&qn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!rU(e,u,a)||u===""&&t.length===1){if(qn(n))return!1;o=!0}}else if(n&8){if(r===null||!aU(e,r,u,a)){if(qn(n))return!1;o=!0}}else{let c=t[++l],d=oU(u,r,cp(e),a);if(d===-1){if(qn(n))return!1;o=!0;continue}if(c!==""){let m;if(d>i?m="":m=r[d+1].toLowerCase(),n&2&&c!==m){if(qn(n))return!1;o=!0}}}}return qn(n)||o}function qn(e){return(e&1)===0}function oU(e,t,a,n){if(t===null)return-1;let r=0;if(n||!a){let i=!1;for(;r<t.length;){let o=t[r];if(o===e)return r;if(o===3||o===6)i=!0;else if(o===1||o===2){let l=t[++r];for(;typeof l=="string";)l=t[++r];continue}else{if(o===4)break;if(o===0){r+=4;continue}}r+=i?1:2}return-1}else return uU(t,e)}function ny(e,t,a=!1){for(let n=0;n<t.length;n++)if(iU(e,t[n],a))return!0;return!1}function sU(e){let t=e.attrs;if(t!=null){let a=t.indexOf(5);if(!(a&1))return t[a+1]}return null}function lU(e){for(let t=0;t<e.length;t++){let a=e[t];if(bb(a))return t}return e.length}function uU(e,t){let a=e.indexOf(4);if(a>-1)for(a++;a<e.length;){let n=e[a];if(typeof n=="number")return-1;if(n===t)return a;a++}return-1}function cU(e,t){e:for(let a=0;a<t.length;a++){let n=t[a];if(e.length===n.length){for(let r=0;r<e.length;r++)if(e[r]!==n[r])continue e;return!0}}return!1}function pf(e,t){return e?":not("+t.trim()+")":t}function dU(e){let t=e[0],a=1,n=2,r="",i=!1;for(;a<e.length;){let o=e[a];if(typeof o=="string")if(n&2){let l=e[++a];r+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!qn(o)&&(t+=pf(i,r),r=""),n=o,i=i||!qn(n);a++}return r!==""&&(t+=pf(i,r)),t}function hU(e){return e.map(dU).join(",")}function pU(e){let t=[],a=[],n=1,r=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")r===2?i!==""&&t.push(i,e[++n]):r===8&&a.push(i);else{if(!qn(r))break;r=i}n++}return a.length&&t.push(1,...a),t}var In={};function mU(e,t){return e.createText(t)}function fU(e,t,a){e.setValue(t,a)}function gU(e,t){return e.createComment(tU(t))}function ay(e,t,a){return e.createElement(t,a)}function Fl(e,t,a,n,r){e.insertBefore(t,a,n,r)}function ry(e,t,a){e.appendChild(t,a)}function mf(e,t,a,n,r){n!==null?Fl(e,t,a,n,r):ry(e,t,a)}function vU(e,t,a){e.removeChild(null,t,a)}function bU(e,t,a){e.setAttribute(t,"style",a)}function yU(e,t,a){a===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",a)}function iy(e,t,a){let{mergedAttrs:n,classes:r,styles:i}=a;n!==null&&TG(e,t,n),r!==null&&yU(e,t,r),i!==null&&bU(e,t,i)}function dp(e,t,a,n,r,i,o,l,u,c,d){let m=yt+n,v=m+r,g=_U(m,v),w=typeof c=="function"?c():c;return g[_e]={type:e,blueprint:g,template:a,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function _U(e,t){let a=[];for(let n=0;n<t;n++)a.push(n<e?null:In);return a}function wU(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,a,n,r,i,o,l,u,c,d){let m=t.blueprint.slice();return m[Ba]=r,m[fe]=n|4|128|8|64|1024,(c!==null||e&&e[fe]&2048)&&(m[fe]|=2048),ab(m),m[nn]=m[qi]=e,m[qt]=a,m[za]=o||e&&e[za],m[vt]=l||e&&e[vt],m[Ti]=u||e&&e[Ti]||null,m[wn]=i,m[gu]=o8(),m[Ii]=d,m[Y0]=c,m[Ln]=t.type==2?e[Ln]:m,m}function xU(e,t,a){let n=fa(t,e),r=wU(a),i=e[za].rendererFactory,o=pp(e,hp(e,r,null,oy(a),n,t,null,i.createRenderer(n,a),null,null,null));return e[t.index]=o}function oy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function sy(e,t,a,n){if(a===0)return-1;let r=t.length;for(let i=0;i<a;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return r}function pp(e,t){return e[No]?e[Km][Wn]=t:e[No]=t,e[Km]=t,t}function P(e=1){ly(ut(),de(),ga()+e)}function ly(e,t,a,n){if((t[fe]&3)===3){let r=e.preOrderCheckHooks;r!==null&&sl(t,r,a)}else{let r=e.preOrderHooks;r!==null&&ll(t,r,0,a)}qr(a)}var ku=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ku||{});function wd(e,t,a,n){let r=De(null);try{let[i,o,l]=e.inputs[a],u=null;o&ku.SignalBased&&(u=t[i][gn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,a,i):Q0(t,u,i,n)}finally{De(r)}}function uy(e,t,a,n,r){let i=ga(),o=n&2;try{qr(-1),o&&t.length>yt&&ly(e,t,yt,!1),zr(o?2:0,r),a(n,r)}finally{qr(i)}}function Cu(e,t,a){CU(e,t,a),(a.flags&64)===64&&DU(e,t,a)}function mp(e,t,a=fa){let n=t.localNames;if(n!==null){let r=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?a(t,e):e[o];e[r++]=l}}}function EU(e,t,a,n){let r=n.get(d8,$b)||a===Pa.ShadowDom;return e.selectRootElement(t,r)}function SU(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,a,n,r,i,o,l){if(!l&&vp(t,e,a,n,r)){$i(t)&&kU(a,t.index);return}if(t.type&3){let u=fa(t,a);n=SU(n),r=o!=null?o(r,t.value||"",n):r,i.setProperty(u,n,r)}else t.type&12}function kU(e,t){let a=pa(t,e);a[fe]&16||(a[fe]|=64)}function CU(e,t,a){let n=a.directiveStart,r=a.directiveEnd;$i(a)&&xU(t,a,e.data[n+a.componentOffset]),e.firstCreatePass||Al(a,t);let i=a.initialInputs;for(let o=n;o<r;o++){let l=e.data[o],u=Ao(t,e,o,a);if(Yi(u,t),i!==null&&OU(t,o-n,u,l,a,i),da(l)){let c=pa(a.index,t);c[qt]=Ao(t,e,o,a)}}}function DU(e,t,a){let n=a.directiveStart,r=a.directiveEnd,i=a.index,o=_G();try{qr(i);for(let l=n;l<r;l++){let u=e.data[l],c=t[l];hd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&IU(u,c)}}finally{qr(-1),hd(o)}}function IU(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function gp(e,t){let a=e.directiveRegistry,n=null;if(a)for(let r=0;r<a.length;r++){let i=a[r];ny(t,i.selectors,!1)&&(n??(n=[]),da(i)?n.unshift(i):n.push(i))}return n}function TU(e,t,a,n,r,i){let o=fa(e,t);RU(t[vt],o,i,e.value,a,n,r)}function RU(e,t,a,n,r,i,o){if(i==null)e.removeAttribute(t,r,a);else{let l=o==null?ki(i):o(i,n||"",r);e.setAttribute(t,r,l,a)}}function OU(e,t,a,n,r,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];wd(n,a,u,c)}}function MU(e,t){let a=e[Ti],n=a?a.get(Yn,null):null;n&&n.handleError(t)}function vp(e,t,a,n,r){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];wd(g,a[m],v,r),l=!0}if(i)for(let d of i){let m=a[d],v=t.data[d];wd(v,m,n,r),l=!0}return l}function NU(e,t){let a=pa(t,e),n=a[_e];AU(n,a);let r=a[Ba];r!==null&&a[Ii]===null&&(a[Ii]=Zb(r,a[Ti])),bp(n,a,a[qt]),zr(19,a[qt])}function AU(e,t){for(let a=t.length;a<e.blueprint.length;a++)t.push(e.blueprint[a])}function bp(e,t,a){var n;Kh(t);try{let r=e.viewQuery;r!==null&&_d(1,r,a);let i=e.template;i!==null&&uy(e,t,i,1,a),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Zn])==null||n.finishViewCreation(e),e.staticContentQueries&&Yb(e,t),e.staticViewQueries&&_d(2,e.viewQuery,a);let o=e.components;o!==null&&PU(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[fe]&=-5,Qh()}}function PU(e,t){for(let a=0;a<t.length;a++)NU(e,t[a])}function ps(e,t,a,n){let r=De(null);try{let i=t.tView,o=e[fe]&4096?4096:16,l=hp(e,i,a,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[jr]=u;let c=e[Zn];return c!==null&&(l[Zn]=c.createEmbeddedView(i)),bp(i,l,a),l}finally{De(r)}}function Mi(e,t){return!t||t.firstChild===null||Fb(e)}var LU;function yp(e,t){return LU(e,t)}var er=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(er||{});function _p(e){return(e.flags&32)===32}function pi(e,t,a,n,r){if(n!=null){let i,o=!1;Ha(n)?i=n:lr(n)&&(o=!0,n=n[Ba]);let l=ha(n);e===0&&a!==null?r==null?ry(t,a,l):Fl(t,a,l,r||null,!0):e===1&&a!==null?Fl(t,a,l,r||null,!0):e===2?vU(t,l,o):e===3&&t.destroyNode(l),i!=null&&UU(t,e,i,a,r)}}function FU(e,t){cy(e,t),t[Ba]=null,t[wn]=null}function jU(e,t,a,n,r,i){n[Ba]=r,n[wn]=t,Tu(e,n,a,1,r,i)}function cy(e,t){var a;(a=t[za].changeDetectionScheduler)==null||a.notify(9),Tu(e,t,t[vt],2,null,null)}function VU(e){let t=e[No];if(!t)return ic(e[_e],e);for(;t;){let a=null;if(lr(t))a=t[No];else{let n=t[tn];n&&(a=n)}if(!a){for(;t&&!t[Wn]&&t!==e;)lr(t)&&ic(t[_e],t),t=t[nn];t===null&&(t=e),lr(t)&&ic(t[_e],t),a=t&&t[Wn]}t=a}}function wp(e,t){let a=e[Ri],n=a.indexOf(t);a.splice(n,1)}function Du(e,t){if(Gi(t))return;let a=t[vt];a.destroyNode&&Tu(e,t,a,3,null,null),VU(t)}function ic(e,t){if(Gi(t))return;let a=De(null);try{t[fe]&=-129,t[fe]|=256,t[Pn]&&lu(t[Pn]),BU(e,t),zU(e,t),t[_e].type===1&&t[vt].destroy();let n=t[jr];if(n!==null&&Ha(t[nn])){n!==t[nn]&&wp(n,t);let r=t[Zn];r!==null&&r.detachView(e)}bd(t)}finally{De(a)}}function zU(e,t){let a=e.cleanup,n=t[bi];if(a!==null)for(let o=0;o<a.length-1;o+=2)if(typeof a[o]=="string"){let l=a[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[a[o+1]];a[o].call(l)}n!==null&&(t[bi]=null);let r=t[or];if(r!==null){t[or]=null;for(let o=0;o<r.length;o++){let l=r[o];l()}}let i=t[Aa];if(i!==null){t[Aa]=null;for(let o of i)o.destroy()}}function BU(e,t){let a;if(e!=null&&(a=e.destroyHooks)!=null)for(let n=0;n<a.length;n+=2){let r=t[a[n]];if(!(r instanceof us)){let i=a[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=r[i[o]],u=i[o+1];try{u.call(l)}finally{}}else try{i.call(r)}finally{}}}}function dy(e,t,a){return HU(e,t.parent,a)}function HU(e,t,a){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return a[Ba];if($i(n)){let{encapsulation:r}=e.data[n.directiveStart+n.componentOffset];if(r===Pa.None||r===Pa.Emulated)return null}return fa(n,a)}function hy(e,t,a){return $U(e,t,a)}function qU(e,t,a){return e.type&40?fa(e,a):null}var $U=qU;function Iu(e,t,a,n){let r=dy(e,n,t),i=t[vt],o=n.parent||t[wn],l=hy(o,n,t);if(r!=null)if(Array.isArray(a))for(let u=0;u<a.length;u++)mf(i,r,a[u],l,!1);else mf(i,r,a,l,!1)}function vo(e,t){if(t!==null){let a=t.type;if(a&3)return fa(t,e);if(a&4)return xd(-1,e[t.index]);if(a&8){let n=t.child;if(n!==null)return vo(e,n);{let r=e[t.index];return Ha(r)?xd(-1,r):ha(r)}}else{if(a&128)return vo(e,t.next);if(a&32)return yp(t,e)()||ha(e[t.index]);{let n=py(e,t);if(n!==null){if(Array.isArray(n))return n[0];let r=Hr(e[Ln]);return vo(r,n)}else return vo(e,t.next)}}}return null}function py(e,t){if(t!==null){let a=e[Ln][wn],n=t.projection;return a.projection[n]}return null}function xd(e,t){let a=tn+e+1;if(a<t.length){let n=t[a],r=n[_e].firstChild;if(r!==null)return vo(n,r)}return t[Vr]}function xp(e,t,a,n,r,i,o){for(;a!=null;){if(a.type===128){a=a.next;continue}let l=n[a.index],u=a.type;if(o&&t===0&&(l&&Yi(ha(l),n),a.flags|=2),!_p(a))if(u&8)xp(e,t,a.child,n,r,i,!1),pi(t,e,r,l,i);else if(u&32){let c=yp(a,n),d;for(;d=c();)pi(t,e,r,d,i);pi(t,e,r,l,i)}else u&16?my(e,t,n,a,r,i):pi(t,e,r,l,i);a=o?a.projectionNext:a.next}}function Tu(e,t,a,n,r,i){xp(a,n,e.firstChild,t,r,i,!1)}function GU(e,t,a){let n=t[vt],r=dy(e,a,t),i=a.parent||t[wn],o=hy(i,a,t);my(n,0,t,a,r,o)}function my(e,t,a,n,r,i){let o=a[Ln],l=o[wn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];pi(t,e,r,c,i)}else{let u=l,c=o[nn];Fb(n)&&(u.flags|=128),xp(e,t,u,c,r,i,!0)}}function UU(e,t,a,n,r){let i=a[Vr],o=ha(a);i!==o&&pi(t,e,n,i,r);for(let l=tn;l<a.length;l++){let u=a[l];Tu(u[_e],u,e,t,n,i)}}function WU(e,t,a,n,r){if(t)r?e.addClass(a,n):e.removeClass(a,n);else{let i=n.indexOf("-")===-1?void 0:er.DashCase;r==null?e.removeStyle(a,n,i):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),i|=er.Important),e.setStyle(a,n,r,i))}}function jl(e,t,a,n,r=!1){for(;a!==null;){if(a.type===128){a=r?a.projectionNext:a.next;continue}let i=t[a.index];i!==null&&n.push(ha(i)),Ha(i)&&ZU(i,n);let o=a.type;if(o&8)jl(e,t,a.child,n);else if(o&32){let l=yp(a,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=py(t,a);if(Array.isArray(l))n.push(...l);else{let u=Hr(t[Ln]);jl(u[_e],u,l,n,!0)}}a=r?a.projectionNext:a.next}return n}function ZU(e,t){for(let a=tn;a<e.length;a++){let n=e[a],r=n[_e].firstChild;r!==null&&jl(n[_e],n,r,t)}e[Vr]!==e[Ba]&&t.push(e[Vr])}function fy(e){if(e[sr]!==null){for(let t of e[sr])t.impl.addSequence(t);e[sr].length=0}}var gy=[];function YU(e){return e[Pn]??KU(e)}function KU(e){let t=gy.pop()??Object.create(JU);return t.lView=e,t}function QU(e){e.lView[Pn]!==e&&(e.lView=null,gy.push(e))}var JU=Qt(ce({},Bi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ui(e.lView)},consumerOnSignalRead(){this.lView[Pn]=this}});function XU(e){let t=e[Pn]??Object.create(eW);return t.lView=e,t}var eW=Qt(ce({},Bi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Hr(e.lView);for(;t&&!vy(t[_e]);)t=Hr(t);t&&qh(t)},consumerOnSignalRead(){this.lView[Pn]=this}});function vy(e){return e.type!==2}function by(e){if(e[Aa]===null)return;let t=!0;for(;t;){let a=!1;for(let n of e[Aa])n.dirty&&(a=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=a&&!!(e[fe]&8192)}}var tW=100;function yy(e,t=!0,a=0){var r,i;let n=e[za].rendererFactory;(r=n.begin)==null||r.call(n);try{nW(e,a)}catch(o){throw t&&MU(e,o),o}finally{(i=n.end)==null||i.call(n)}}function nW(e,t){let a=lb();try{Rl(!0),Ed(e,t);let n=0;for(;ls(e);){if(n===tW)throw new G(103,!1);n++,Ed(e,1)}}finally{Rl(a)}}function aW(e,t,a,n){if(Gi(t))return;let r=t[fe],i=!1,o=!1;Kh(t);let l=!0,u=null,c=null;vy(e)?(c=YU(t),u=Io(c)):l$()===null?(l=!1,c=XU(t),u=Io(c)):t[Pn]&&(lu(t[Pn]),t[Pn]=null);try{ab(t),vG(e.bindingStartIndex),a!==null&&uy(e,t,a,2,n);let d=(r&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&sl(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ll(t,g,0,null),ac(t,0)}if(o||rW(t),by(t),_y(t,0),e.contentQueries!==null&&Yb(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&sl(t,g)}else{let g=e.contentHooks;g!==null&&ll(t,g,1),ac(t,1)}oW(e,t);let m=e.components;m!==null&&xy(t,m,0);let v=e.viewQuery;if(v!==null&&_d(2,v,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&sl(t,g)}else{let g=e.viewHooks;g!==null&&ll(t,g,2),ac(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[nc]){for(let g of t[nc])g();t[nc]=null}i||(fy(t),t[fe]&=-73)}catch(d){throw Ui(t),d}finally{c!==null&&(su(c,u),l&&QU(c)),Qh()}}function _y(e,t){for(let a=zb(e);a!==null;a=Bb(a))for(let n=tn;n<a.length;n++){let r=a[n];wy(r,t)}}function rW(e){for(let t=zb(e);t!==null;t=Bb(t)){if(!(t[fe]&2))continue;let a=t[Ri];for(let n=0;n<a.length;n++){let r=a[n];qh(r)}}}function iW(e,t,a){let n=pa(t,e);wy(n,a),zr(19,n[qt])}function wy(e,t){Hh(e)&&Ed(e,t)}function Ed(e,t){let a=e[_e],n=e[fe],r=e[Pn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(r!=null&&r.dirty&&bh(r))),i||(i=!1),r&&(r.dirty=!1),e[fe]&=-9217,i)aW(a,e,a.template,e[qt]);else if(n&8192){by(e),_y(e,1);let o=a.components;o!==null&&xy(e,o,1),fy(e)}}function xy(e,t,a){for(let n=0;n<t.length;n++)iW(e,t[n],a)}function oW(e,t){let a=e.hostBindingOpCodes;if(a!==null)try{for(let n=0;n<a.length;n++){let r=a[n];if(r<0)qr(~r);else{let i=r,o=a[++n],l=a[++n];yG(o,i);let u=t[i];zr(24,u),l(2,u),zr(25,u)}}}finally{qr(-1)}}function Ep(e,t){var n;let a=lb()?64:1088;for((n=e[za].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[fe]|=a;let r=Hr(e);if(Tl(e)&&!r)return e;e=r}return null}function Ey(e,t,a,n){return[e,!0,0,t,null,n,null,a,null,null]}function Sy(e,t){let a=tn+t;if(a<e.length)return e[a]}function ms(e,t,a,n=!0){let r=t[_e];if(sW(r,t,e,a),n){let o=xd(a,e),l=t[vt],u=l.parentNode(e[Vr]);u!==null&&jU(r,e[wn],l,t,u,o)}let i=t[Ii];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ky(e,t){let a=Lo(e,t);return a!==void 0&&Du(a[_e],a),a}function Lo(e,t){if(e.length<=tn)return;let a=tn+t,n=e[a];if(n){let r=n[jr];r!==null&&r!==e&&wp(r,n),t>0&&(e[a-1][Wn]=n[Wn]);let i=Cl(e,tn+t);FU(n[_e],n);let o=i[Zn];o!==null&&o.detachView(i[_e]),n[nn]=null,n[Wn]=null,n[fe]&=-129}return n}function sW(e,t,a,n){let r=tn+n,i=a.length;n>0&&(a[r-1][Wn]=t),n<i-tn?(t[Wn]=a[r],V0(a,tn+n,t)):(a.push(t),t[Wn]=null),t[nn]=a;let o=t[jr];o!==null&&a!==o&&Cy(o,t);let l=t[Zn];l!==null&&l.insertView(e),cd(t),t[fe]|=128}function Cy(e,t){let a=e[Ri],n=t[nn];if(lr(n))e[fe]|=2;else{let r=n[nn][Ln];t[Ln]!==r&&(e[fe]|=2)}a===null?e[Ri]=[t]:a.push(t)}var Fo=class{constructor(e,t,a=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=a}get rootNodes(){let e=this._lView,t=e[_e];return jl(t,e,t.firstChild,[])}get context(){return this._lView[qt]}set context(e){this._lView[qt]=e}get destroyed(){return Gi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[nn];if(Ha(e)){let t=e[Il],a=t?t.indexOf(this):-1;a>-1&&(Lo(e,a),Cl(t,a))}this._attachedToViewContainer=!1}Du(this._lView[_e],this._lView)}onDestroy(e){rb(this._lView,e)}markForCheck(){Ep(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[fe]&=-129}reattach(){cd(this._lView),this._lView[fe]|=128}detectChanges(){this._lView[fe]|=1024,yy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Tl(this._lView),t=this._lView[jr];t!==null&&!e&&wp(t,this._lView),cy(this._lView[_e],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=e;let t=Tl(this._lView),a=this._lView[jr];a!==null&&!t&&Cy(a,this._lView),cd(this._lView)}};function lW(e){return ls(e._lView)||!!(e._lView[fe]&64)}function uW(e){qh(e._cdRefInjectingView||e._lView)}var an=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",hW),e})(),cW=an,dW=class extends cW{constructor(t,a,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=a,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,a){return this.createEmbeddedViewImpl(t,a)}createEmbeddedViewImpl(t,a,n){let r=ps(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:a,dehydratedView:n});return new Fo(r)}};function hW(){return Ru(rn(),de())}function Ru(e,t){return e.type&4?new dW(t,e,Zi(e,t)):null}function Ki(e,t,a,n,r){let i=e.data[t];if(i===null)i=pW(e,t,a,n,r),bG()&&(i.flags|=32);else if(i.type&64){i.type=a,i.value=n,i.attrs=r;let o=fG();i.injectorIndex=o===null?-1:o.injectorIndex}return hr(i,!0),i}function pW(e,t,a,n,r){let i=ob(),o=Uh(),l=o?i:i&&i.parent,u=e.data[t]=fW(e,l,a,t,n,r);return mW(e,u,i,o),u}function mW(e,t,a,n){e.firstChild===null&&(e.firstChild=t),a!==null&&(n?a.child==null&&t.parent!==null&&(a.child=t):a.next===null&&(a.next=t,t.prev=a))}function fW(e,t,a,n,r,i){let o=t?t.injectorIndex:-1,l=0;return ib()&&(l|=128),{type:a,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:r,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 gW=()=>null;function Ni(e,t){return gW()}var vW=class{},Dy=class{},bW=class{resolveComponentFactory(e){throw Error(`No component factory found for ${An(e)}.`)}},Kc,fs=(Kc=class{},s(Kc,"NULL",new bW),Kc),Kn=class{},Kr=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>yW()),e})();function yW(){let e=de(),t=rn(),a=pa(t.index,e);return(lr(a)?a:e)[vt]}var _W=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),oc={},wW=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,a){a=pu(a);let n=this.injector.get(e,oc,a);return n!==oc||t===oc?n:this.parentInjector.get(e,t,a)}};function Sd(e,t,a){let n=a?e.styles:null,r=a?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)r=ad(r,l);else if(i==2){let u=l,c=t[++o];n=ad(n,u+": "+c+";")}}a?e.styles=n:e.stylesWithoutHost=n,a?e.classes=r:e.classesWithoutHost=r}function Zt(e,t=Te.Default){let a=de();if(a===null)return oe(e,t);let n=rn();return kb(n,a,Wt(e),t)}function Sp(e,t,a,n,r){let i=n===null?null:{"":-1},o=r(e,a);if(o!==null){let l,u=null,c=null,d=EW(o);d===null?l=o:[l,u,c]=d,CW(e,t,a,l,i,u,c)}i!==null&&n!==null&&xW(a,n,i)}function xW(e,t,a){let n=e.localNames=[];for(let r=0;r<t.length;r+=2){let i=a[t[r+1]];if(i==null)throw new G(-301,!1);n.push(t[r],i)}}function EW(e){let t=null,a=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&da(l)&&(t=l),l.findHostDirectiveDefs!==null){a=!0;break}}if(!a)return null;let n=null,r=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),r??(r=new Map),i??(i=new Map),SW(o,n,i,r)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,r,i]):null}function SW(e,t,a,n){let r=t.length;e.findHostDirectiveDefs(e,t,n),a.set(e,[r,t.length-1])}function kW(e,t,a){t.componentOffset=a,(e.components??(e.components=[])).push(t.index)}function CW(e,t,a,n,r,i,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&da(g)&&(u=!0,kW(e,a,v)),md(Al(a,t),e,g.type)}MW(a,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,d=!1,m=sy(e,t,l,null);l>0&&(a.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(a.mergedAttrs=Oi(a.mergedAttrs,g.hostAttrs),IW(e,a,t,m,g),OW(m,g,r),o!==null&&o.has(g)){let[x,k]=o.get(g);a.directiveToIndex.set(g.type,[m,x+a.directiveStart,k+a.directiveStart])}else(i===null||!i.has(g))&&a.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(a.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(a.flags|=64);let w=g.type.prototype;!c&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(a.index),c=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(a.index),d=!0),m++}DW(e,a,i)}function DW(e,t,a){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(a===null||!a.has(r))ff(0,t,r,n),ff(1,t,r,n),vf(t,n,!1);else{let i=a.get(r);gf(0,t,i,n),gf(1,t,i,n),vf(t,n,!0)}}}function ff(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),Iy(t,i)}}function gf(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o=r[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),Iy(t,o)}}function Iy(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function vf(e,t,a){let{attrs:n,inputs:r,hostDirectiveInputs:i}=e;if(n===null||!a&&r===null||a&&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(!a&&r.hasOwnProperty(u)){let c=r[u];for(let d of c)if(d===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(a&&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 IW(e,t,a,n,r){e.data[n]=r;let i=r.factory||(r.factory=Fr(r.type)),o=new us(i,da(r),Zt);e.blueprint[n]=o,a[n]=o,TW(e,t,n,sy(e,a,r.hostVars,In),r)}function TW(e,t,a,n,r){let i=r.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;RW(o)!=l&&o.push(l),o.push(a,n,i)}}function RW(e){let t=e.length;for(;t>0;){let a=e[--t];if(typeof a=="number"&&a<0)return a}return 0}function OW(e,t,a){if(a){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)a[t.exportAs[n]]=e;da(t)&&(a[""]=e)}}function MW(e,t,a){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+a,e.providerIndexes=t}function Ty(e,t,a,n,r,i,o,l){let u=t.consts,c=Br(u,o),d=Ki(t,e,2,n,c);return Sp(t,a,d,Br(u,l),r),d.mergedAttrs=Oi(d.mergedAttrs,d.attrs),d.attrs!==null&&Sd(d,d.attrs,!1),d.mergedAttrs!==null&&Sd(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Ry(e,t){Jh(e,t),Vh(t)&&e.queries.elementEnd(t)}var NW=class extends fs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let a=Ci(t);return new kp(a,this.ngModule)}};function AW(e){return Object.keys(e).map(t=>{let[a,n,r]=e[t],i={propName:a,templateName:t,isSignal:(n&ku.SignalBased)!==0};return r&&(i.transform=r),i})}function PW(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function LW(e,t,a){let n=t instanceof ca?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new wW(a,n):a}function FW(e){let t=e.get(Kn,null);if(t===null)throw new G(407,!1);let a=e.get(_W,null),n=e.get(Wi,null);return{rendererFactory:t,sanitizer:a,changeDetectionScheduler:n}}function jW(e,t){let a=(e.selectors[0][0]||"div").toLowerCase();return ay(t,a,a==="svg"?tb:a==="math"?aG:null)}var kp=class extends Dy{constructor(t,a){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=a,this.componentType=t.type,this.selector=hU(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!a}get inputs(){return this.cachedInputs??(this.cachedInputs=AW(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=PW(this.componentDef.outputs)),this.cachedOutputs}create(t,a,n,r){let i=De(null);try{let o=this.componentDef,l=n?["ng-version","19.2.15"]:pU(this.componentDef.selectors[0]),u=dp(0,null,null,1,0,null,null,null,null,[l],null),c=LW(o,r||this.ngModule,t),d=FW(c),m=d.rendererFactory.createRenderer(null,o),v=n?EU(m,n,o.encapsulation,c):jW(o,m),g=hp(null,u,null,512|oy(o),null,null,d,m,c,null,Zb(v,c,!0));g[yt]=v,Kh(g);let w=null;try{let x=Ty(yt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(iy(m,v,x),Yi(v,g)),Cu(u,g,x),lp(u,x,g),Ry(u,x),a!==void 0&&zW(x,this.ngContentSelectors,a),w=pa(x.index,g),g[qt]=w[qt],bp(u,g,null)}catch(x){throw w!==null&&bd(w),bd(g),x}finally{zr(23),Qh()}return new VW(this.componentType,g)}finally{De(i)}}},VW=class extends vW{constructor(t,a){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=a,this._tNode=zh(a[_e],yt),this.location=Zi(this._tNode,a),this.instance=pa(this._tNode.index,a)[qt],this.hostView=this.changeDetectorRef=new Fo(a,void 0,!1),this.componentType=t}setInput(t,a){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),a))return;let r=this._rootLView;vp(n,r[_e],r,t,a),this.previousInputValues.set(t,a);let i=pa(n.index,r);Ep(i,1)}get injector(){return new xo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function zW(e,t,a){let n=e.projection=[];for(let r=0;r<t.length;r++){let i=a[r];n.push(i!=null&&i.length?Array.from(i):null)}}var jn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",BW),e})();function BW(){let e=rn();return My(e,de())}var HW=jn,Oy=class extends HW{constructor(t,a,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=a,this._hostLView=n}get element(){return Zi(this._hostTNode,this._hostLView)}get injector(){return new xo(this._hostTNode,this._hostLView)}get parentInjector(){let t=Xh(this._hostTNode,this._hostLView);if(yb(t)){let a=Ml(t,this._hostLView),n=Ol(t),r=a[_e].data[n+8];return new xo(r,a)}else return new xo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let a=bf(this._lContainer);return a!==null&&a[t]||null}get length(){return this._lContainer.length-tn}createEmbeddedView(t,a,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=Ni(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(a||{},i,o);return this.insertImpl(l,r,Mi(this._hostTNode,o)),l}createComponent(t,a,n,r,i){let o=t&&!J6(t),l;if(o)l=a;else{let w=a||{};l=w.index,n=w.injector,r=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let u=o?t:new kp(Ci(t)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let w=(o?c:this.parentInjector).get(ca,null);w&&(i=w)}let d=Ci(u.componentType??{}),m=Ni(this._lContainer,(d==null?void 0:d.id)??null),v=null,g=u.create(c,r,v,i);return this.insertImpl(g.hostView,l,Mi(this._hostTNode,m)),g}insert(t,a){return this.insertImpl(t,a,!0)}insertImpl(t,a,n){let r=t._lView;if(iG(r)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=r[nn],c=new Oy(u,u[wn],u[nn]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(a),o=this._lContainer;return ms(o,r,i,n),t.attachToViewContainerRef(),V0(sc(o),i,t),t}move(t,a){return this.insert(t,a)}indexOf(t){let a=bf(this._lContainer);return a!==null?a.indexOf(t):-1}remove(t){let a=this._adjustIndex(t,-1),n=Lo(this._lContainer,a);n&&(Cl(sc(this._lContainer),a),Du(n[_e],n))}detach(t){let a=this._adjustIndex(t,-1),n=Lo(this._lContainer,a);return n&&Cl(sc(this._lContainer),a)!=null?new Fo(n):null}_adjustIndex(t,a=0){return t??this.length+a}};function bf(e){return e[Il]}function sc(e){return e[Il]||(e[Il]=[])}function My(e,t){let a,n=t[e.index];return Ha(n)?a=n:(a=Ey(n,t,null,e),t[e.index]=a,pp(t,a)),$W(a,t,e,n),new Oy(a,e,t)}function qW(e,t){let a=e[vt],n=a.createComment(""),r=fa(t,e),i=a.parentNode(r);return Fl(a,i,n,a.nextSibling(r),!1),n}var $W=GW;function GW(e,t,a,n){if(e[Vr])return;let r;a.type&8?r=ha(n):r=qW(t,a),e[Vr]=r}var UW=class Ny{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Ny(this.queryList)}setDirty(){this.queryList.setDirty()}},WW=class Ay{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let a=t.queries;if(a!==null){let n=t.contentQueries!==null?t.contentQueries[0]:a.length,r=[];for(let i=0;i<n;i++){let o=a.getByIndex(i),l=this.queries[o.indexInDeclarationView];r.push(l.clone())}return new Ay(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let a=0;a<this.queries.length;a++)Cp(t,a).matches!==null&&this.queries[a].setDirty()}},Py=class{constructor(e,t,a=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=a,typeof e=="string"?this.predicate=aZ(e):this.predicate=e}},ZW=class Ly{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,a)}elementEnd(t){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(t)}embeddedTView(t){let a=null;for(let n=0;n<this.length;n++){let r=a!==null?a.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,a!==null?a.push(i):a=[i])}return a!==null?new Ly(a):null}template(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,a)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},YW=class Fy{constructor(t,a=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=a}elementStart(t,a){this.isApplyingToNode(a)&&this.matchTNode(t,a)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,a){this.elementStart(t,a)}embeddedTView(t,a){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,a),new Fy(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let a=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==a;)n=n.parent;return a===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,a){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let i=n[r];this.matchTNodeWithReadOption(t,a,KW(a,i)),this.matchTNodeWithReadOption(t,a,ul(a,t,i,!1,!1))}else n===an?a.type&4&&this.matchTNodeWithReadOption(t,a,-1):this.matchTNodeWithReadOption(t,a,ul(a,t,n,!1,!1))}matchTNodeWithReadOption(t,a,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===Qe||r===jn||r===an&&a.type&4)this.addMatch(a.index,-2);else{let i=ul(a,t,r,!1,!1);i!==null&&this.addMatch(a.index,i)}else this.addMatch(a.index,n)}}addMatch(t,a){this.matches===null?this.matches=[t,a]:this.matches.push(t,a)}};function KW(e,t){let a=e.localNames;if(a!==null){for(let n=0;n<a.length;n+=2)if(a[n]===t)return a[n+1]}return null}function QW(e,t){return e.type&11?Zi(e,t):e.type&4?Ru(e,t):null}function JW(e,t,a,n){return a===-1?QW(t,e):a===-2?XW(e,t,n):Ao(e,e[_e],a,t)}function XW(e,t,a){if(a===Qe)return Zi(t,e);if(a===an)return Ru(t,e);if(a===jn)return My(t,e)}function jy(e,t,a,n){let r=t[Zn].queries[n];if(r.matches===null){let i=e.data,o=a.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let d=i[c];l.push(JW(t,d,o[u+1],a.metadata.read))}}r.matches=l}return r.matches}function kd(e,t,a,n){let r=e.queries.getByIndex(a),i=r.matches;if(i!==null){let o=jy(e,t,r,a);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=tn;m<d.length;m++){let v=d[m];v[jr]===v[nn]&&kd(v[_e],v,c,n)}if(d[Ri]!==null){let m=d[Ri];for(let v=0;v<m.length;v++){let g=m[v];kd(g[_e],g,c,n)}}}}}return n}function eZ(e,t){return e[Zn].queries[t].queryList}function Vy(e,t,a){let n=new r8((a&4)===4);return lG(e,t,n,n.destroy),(t[Zn]??(t[Zn]=new WW)).queries.push(new UW(n))-1}function tZ(e,t,a){let n=ut();return n.firstCreatePass&&(zy(n,new Py(e,t,a),-1),(t&2)===2&&(n.staticViewQueries=!0)),Vy(n,de(),t)}function nZ(e,t,a,n){let r=ut();if(r.firstCreatePass){let i=rn();zy(r,new Py(t,a,n),i.index),rZ(r,e)}return Vy(r,de(),a)}function aZ(e){return e.split(",").map(t=>t.trim())}function zy(e,t,a){e.queries===null&&(e.queries=new ZW),e.queries.track(new YW(t,a))}function rZ(e,t){let a=e.contentQueries||(e.contentQueries=[]),n=a.length?a[a.length-1]:-1;t!==n&&a.push(e.queries.length-1,t)}function Cp(e,t){return e.queries.getByIndex(t)}function iZ(e,t){let a=e[_e],n=Cp(a,t);return n.crossesNgTemplate?kd(a,e,t,[]):jy(a,e,n,t)}function By(e,t){let a=Object.create(C0),n=new Pb;a.value=e;function r(){return ts(a),yf(a.value),a.value}return r[gn]=a,r.asReadonly=rp.bind(r),r.set=i=>{a.equal(a.value,i)||(as(a,i),n.emit(i))},r.update=i=>{yf(a.value),r.set(i(a.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function yf(e){if(e===hu)throw new G(952,!1)}function _f(e,t){return By(e)}function oZ(e){return By(hu)}var sZ=(_f.required=oZ,_f),jo=class{},Hy=class extends jo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new NW(this));s(this,"instance",null);let a=new Fh([...t.providers,{provide:jo,useValue:this},{provide:fs,useValue:this.componentFactoryResolver}],t.parent||mu(),t.debugName,new Set(["environment"]));this.injector=a,t.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function lZ(e,t,a=null){return new Hy({providers:e,parent:t,debugName:a,runEnvironmentInitializers:!0}).injector}var uZ=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=$0(!1,n.type),i=r.length>0?lZ([r],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(ca))}));let e=t;return e})();function Ae(e){return is(()=>{let t=qy(e),a=Qt(ce({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===jb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(uZ).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pa.Emulated,styles:e.styles||fn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Zr("NgStandalone"),$y(a);let n=e.dependencies;return a.directiveDefs=wf(n,!1),a.pipeDefs=wf(n,!0),a.id=mZ(a),a})}function cZ(e){return Ci(e)||q0(e)}function dZ(e){return e!==null}function Bt(e){return is(()=>({type:e.type,bootstrap:e.bootstrap||fn,declarations:e.declarations||fn,imports:e.imports||fn,exports:e.exports||fn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hZ(e,t){if(e==null)return ua;let a={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n],i,o,l,u;Array.isArray(r)?(l=r[0],i=r[1],o=r[2]??i,u=r[3]||null):(i=r,o=r,l=ku.None,u=null),a[i]=[n,l,u],t[i]=o}return a}function pZ(e){if(e==null)return ua;let t={};for(let a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}function be(e){return is(()=>{let t=qy(e);return $y(t),t})}function va(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function qy(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ua,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||fn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hZ(e.inputs,t),outputs:pZ(e.outputs),debugInfo:null}}function $y(e){var t;(t=e.features)==null||t.forEach(a=>a(e))}function wf(e,t){if(!e)return null;let a=t?B6:cZ;return()=>(typeof e=="function"?e():e).map(n=>a(n)).filter(dZ)}function mZ(e){let t=0,a=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,a,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let r of n.join("|"))t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function fZ(e){return Object.getPrototypeOf(e.prototype).constructor}function Ye(e){let t=fZ(e.type),a=!0,n=[e];for(;t;){let r;if(da(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new G(903,!1);r=t.ɵdir}if(r){if(a){n.push(r);let o=e;o.inputs=lc(e.inputs),o.declaredInputs=lc(e.declaredInputs),o.outputs=lc(e.outputs);let l=r.hostBindings;l&&_Z(e,l);let u=r.viewQuery,c=r.contentQueries;if(u&&bZ(e,u),c&&yZ(e,c),gZ(e,r),_6(e.outputs,r.outputs),da(r)&&r.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let i=r.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===Ye&&(a=!1)}}t=Object.getPrototypeOf(t)}vZ(n)}function gZ(e,t){for(let a in t.inputs){if(!t.inputs.hasOwnProperty(a)||e.inputs.hasOwnProperty(a))continue;let n=t.inputs[a];n!==void 0&&(e.inputs[a]=n,e.declaredInputs[a]=t.declaredInputs[a])}}function vZ(e){let t=0,a=null;for(let n=e.length-1;n>=0;n--){let r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Oi(r.hostAttrs,a=Oi(a,r.hostAttrs))}}function lc(e){return e===ua?{}:e===fn?[]:e}function bZ(e,t){let a=e.viewQuery;a?e.viewQuery=(n,r)=>{t(n,r),a(n,r)}:e.viewQuery=t}function yZ(e,t){let a=e.contentQueries;a?e.contentQueries=(n,r,i)=>{t(n,r,i),a(n,r,i)}:e.contentQueries=t}function _Z(e,t){let a=e.hostBindings;a?e.hostBindings=(n,r)=>{t(n,r),a(n,r)}:e.hostBindings=t}function wZ(e){let t=a=>{let n=Array.isArray(e);a.hostDirectives===null?(a.findHostDirectiveDefs=Gy,a.hostDirectives=n?e.map(Cd):[e]):n?a.hostDirectives.unshift(...e.map(Cd)):a.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Gy(e,t,a){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let r=n();for(let i of r)xf(Cd(i),t,a)}else xf(n,t,a)}function xf(e,t,a){let n=q0(e.directive);xZ(n.declaredInputs,e.inputs),Gy(n,t,a),a.set(n,e),t.push(n)}function Cd(e){return typeof e=="function"?{directive:Wt(e),inputs:ua,outputs:ua}:{directive:Wt(e.directive),inputs:Ef(e.inputs),outputs:Ef(e.outputs)}}function Ef(e){if(e===void 0||e.length===0)return ua;let t={};for(let a=0;a<e.length;a+=2)t[e[a]]=e[a+1];return t}function xZ(e,t){for(let a in t)if(t.hasOwnProperty(a)){let n=t[a],r=e[a];e[n]=r}}function Uy(e){return Dp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function EZ(e,t){if(Array.isArray(e))for(let a=0;a<e.length;a++)t(e[a]);else{let a=e[Symbol.iterator](),n;for(;!(n=a.next()).done;)t(n.value)}}function Dp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function gs(e,t,a){return e[t]=a}function Wy(e,t){return e[t]}function yn(e,t,a){let n=e[t];return Object.is(n,a)?!1:(e[t]=a,!0)}function Vo(e,t,a,n){let r=yn(e,t,a);return yn(e,t+1,n)||r}function SZ(e,t,a,n,r){let i=Vo(e,t,a,n);return yn(e,t+2,r)||i}function kZ(e,t,a,n,r,i){let o=Vo(e,t,a,n);return Vo(e,t+2,r,i)||o}function CZ(e,t,a,n,r,i,o,l,u){let c=t.consts,d=Ki(t,e,4,o||null,l||null);Sp(t,a,d,Br(c,u),gp),d.mergedAttrs=Oi(d.mergedAttrs,d.attrs),Jh(t,d);let m=d.tView=dp(2,d,n,r,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 Zy(e,t,a,n,r,i,o,l,u,c){let d=a+yt,m=t.firstCreatePass?CZ(d,t,e,n,r,i,o,l,u):t.data[d];hr(m,!1);let v=DZ(t,e);yu()&&Iu(t,e,v,m),Yi(v,e);let g=Ey(v,e,v,m);return e[d]=g,pp(e,g),vu(m)&&Cu(t,e,m),u!=null&&mp(e,m,c),m}function he(e,t,a,n,r,i,o,l){let u=de(),c=ut(),d=Br(c.consts,i);return Zy(u,c,e,t,a,n,r,d,o,l),he}var DZ=IZ;function IZ(e,t,a,n){return _u(!0),t[vt].createComment("")}var TZ=new K(""),Yy=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new RZ}));let e=t;return e})(),RZ=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,a=this.queues.get(t);a.has(e)&&(a.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let a=this.queues.get(t);a.has(e)||(this.queuedEffectCount++,a.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Ip(e){return!!e&&typeof e.then=="function"}function Ky(e){return!!e&&typeof e.subscribe=="function"}var OZ=new K(""),Qy=(()=>{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,r)=>{this.resolve=n,this.reject=r}));s(this,"appInits",S(OZ,{optional:!0})??[]);s(this,"injector",S(ht))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=jh(this.injector,i);if(Ip(o))n.push(o);else if(Ky(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),MZ=new K("");function NZ(){m$(()=>{throw new G(600,!1)})}function AZ(e){return e.isBoundToModule}var PZ=10,ur=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",S(JG));s(this,"afterRenderManager",S(Gb));s(this,"zonelessEnabled",S(Rb));s(this,"rootEffectScheduler",S(Yy));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new ve);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",S(cs).hasPendingTasks.pipe(Pt(n=>!n)));s(this,"_injector",S(ca));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var r;if(this._runningTick)throw new G(101,!1);let n=De(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(r=this.tracingSnapshot)==null||r.dispose(),this.tracingSnapshot=null,De(n),this.afterTick.next()}});S(ds,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=ht.NULL){let o=n instanceof Dy;if(!this._injector.get(Qy).done){let g="";throw new G(405,g)}let l;o?l=n:l=this._injector.get(fs).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=AZ(l)?void 0:this._injector.get(jo),c=r||l.selector,d=l.create(i,[],c,u),m=d.location.nativeElement,v=d.injector.get(TZ,null);return v==null||v.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),cl(this.components,d),v==null||v.unregisterApplication(m)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(op.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Kn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<PZ;)this.synchronizeOnce()}synchronizeOnce(){var n,r,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)LZ(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(r=(n=this._rendererFactory)==null?void 0:n.begin)==null||r.call(n),(o=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ls(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;cl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(MZ,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>cl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new G(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function cl(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}function LZ(e,t,a,n){!a&&!ls(e)||yy(e,t,a&&!n?0:1)}function $t(e,t,a,n){let r=de(),i=Wr();if(yn(r,i,t)){ut();let o=bu();TU(o,r,e,t,a,n)}return $t}function FZ(e,t,a,n){return yn(e,Wr(),a)?t+ki(a)+n:In}function jZ(e,t,a,n,r,i){let o=gG(),l=Vo(e,o,a,r);return Zh(2),l?t+ki(a)+n+ki(r)+i:In}function Ps(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function VZ(e){return(e&2)==2}function zZ(e,t){return e&131071|t<<17}function Dd(e){return e|2}function Ai(e){return(e&131068)>>2}function uc(e,t){return e&-131069|t<<2}function BZ(e){return(e&1)===1}function Id(e){return e|1}function HZ(e,t,a,n,r,i){let o=i?t.classBindings:t.styleBindings,l=$r(o),u=Ai(o);e[n]=a;let c=!1,d;if(Array.isArray(a)){let m=a;d=m[1],(d===null||os(m,d)>0)&&(c=!0)}else d=a;if(r)if(u!==0){let m=$r(e[l+1]);e[n+1]=Ps(m,l),m!==0&&(e[m+1]=uc(e[m+1],n)),e[l+1]=zZ(e[l+1],n)}else e[n+1]=Ps(l,0),l!==0&&(e[l+1]=uc(e[l+1],n)),l=n;else e[n+1]=Ps(u,0),l===0?l=n:e[u+1]=uc(e[u+1],n),u=n;c&&(e[n+1]=Dd(e[n+1])),Sf(e,d,n,!0),Sf(e,d,n,!1),qZ(t,d,e,n,i),o=Ps(l,u),i?t.classBindings=o:t.styleBindings=o}function qZ(e,t,a,n,r){let i=r?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&os(i,t)>=0&&(a[n+1]=Id(a[n+1]))}function Sf(e,t,a,n){let r=e[a+1],i=t===null,o=n?$r(r):Ai(r),l=!1;for(;o!==0&&(l===!1||i);){let u=e[o],c=e[o+1];$Z(u,t)&&(l=!0,e[o+1]=n?Id(c):Dd(c)),o=n?$r(c):Ai(c)}l&&(e[a+1]=n?Dd(r):Id(r))}function $Z(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?os(e,t)>=0:!1}var Un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function GZ(e){return e.substring(Un.key,Un.keyEnd)}function UZ(e){return WZ(e),Jy(e,Xy(e,0,Un.textEnd))}function Jy(e,t){let a=Un.textEnd;return a===t?-1:(t=Un.keyEnd=ZZ(e,Un.key=t,a),Xy(e,t,a))}function WZ(e){Un.key=0,Un.keyEnd=0,Un.value=0,Un.valueEnd=0,Un.textEnd=e.length}function Xy(e,t,a){for(;t<a&&e.charCodeAt(t)<=32;)t++;return t}function ZZ(e,t,a){for(;t<a&&e.charCodeAt(t)>32;)t++;return t}function Me(e,t,a){let n=de(),r=Wr();if(yn(n,r,t)){let i=ut(),o=bu();fp(i,o,n,e,t,n[vt],a,!1)}return Me}function Td(e,t,a,n,r){vp(t,e,a,r?"class":"style",n)}function e_(e,t,a){return t_(e,t,a,!1),e_}function jt(e,t){return t_(e,t,null,!0),jt}function Ou(e){KZ(nY,YZ,e,!0)}function YZ(e,t){for(let a=UZ(t);a>=0;a=Jy(t,a))Nh(e,GZ(t),!0)}function t_(e,t,a,n){let r=de(),i=ut(),o=Zh(2);if(i.firstUpdatePass&&a_(i,e,o,n),t!==In&&yn(r,o,t)){let l=i.data[ga()];r_(i,l,r,r[vt],e,r[o+1]=rY(t,a),n,o)}}function KZ(e,t,a,n){let r=ut(),i=Zh(2);r.firstUpdatePass&&a_(r,null,i,n);let o=de();if(a!==In&&yn(o,i,a)){let l=r.data[ga()];if(i_(l,n)&&!n_(r,i)){let u=l.classesWithoutHost;u!==null&&(a=ad(u,a||"")),Td(r,l,o,a,n)}else aY(r,l,o,o[vt],o[i+1],o[i+1]=tY(e,t,a),n,i)}}function n_(e,t){return t>=e.expandoStartIndex}function a_(e,t,a,n){let r=e.data;if(r[a+1]===null){let i=r[ga()],o=n_(e,a);i_(i,n)&&t===null&&!o&&(t=!1),t=QZ(r,i,t,n),HZ(r,i,t,a,o,n)}}function QZ(e,t,a,n){let r=wG(e),i=n?t.residualClasses:t.residualStyles;if(r===null)(n?t.classBindings:t.styleBindings)===0&&(a=cc(null,e,t,a,n),a=zo(a,t.attrs,n),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==r)if(a=cc(r,e,t,a,n),i===null){let l=JZ(e,t,n);l!==void 0&&Array.isArray(l)&&(l=cc(null,e,t,l[1],n),l=zo(l,t.attrs,n),XZ(e,t,n,l))}else i=eY(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),a}function JZ(e,t,a){let n=a?t.classBindings:t.styleBindings;if(Ai(n)!==0)return e[$r(n)]}function XZ(e,t,a,n){let r=a?t.classBindings:t.styleBindings;e[$r(r)]=n}function eY(e,t,a){let n,r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<r;i++){let o=e[i].hostAttrs;n=zo(n,o,a)}return zo(n,t.attrs,a)}function cc(e,t,a,n,r){let i=null,o=a.directiveEnd,l=a.directiveStylingLast;for(l===-1?l=a.directiveStart:l++;l<o&&(i=t[l],n=zo(n,i.hostAttrs,r),i!==e);)l++;return e!==null&&(a.directiveStylingLast=l),n}function zo(e,t,a){let n=a?1:2,r=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?r=o:r===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Nh(e,o,a?!0:t[++i]))}return e===void 0?null:e}function tY(e,t,a){if(a==null||a==="")return fn;let n=[],r=Qa(a);if(Array.isArray(r))for(let i=0;i<r.length;i++)e(n,r[i],!0);else if(typeof r=="object")for(let i in r)r.hasOwnProperty(i)&&e(n,i,r[i]);else typeof r=="string"&&t(n,r);return n}function nY(e,t,a){let n=String(t);n!==""&&!n.includes(" ")&&Nh(e,n,a)}function aY(e,t,a,n,r,i,o,l){r===In&&(r=fn);let u=0,c=0,d=0<r.length?r[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let v=u<r.length?r[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&&r_(e,t,a,n,w,x,o,l),d=u<r.length?r[u]:null,m=c<i.length?i[c]:null}}function r_(e,t,a,n,r,i,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],d=BZ(c)?kf(u,t,a,r,Ai(c),o):void 0;if(!Vl(d)){Vl(i)||VZ(c)&&(i=kf(u,null,a,r,l,o));let m=nb(ga(),a);WU(n,o,m,r,i)}}function kf(e,t,a,n,r,i){let o=t===null,l;for(;r>0;){let u=e[r],c=Array.isArray(u),d=c?u[1]:u,m=d===null,v=a[r+1];v===In&&(v=m?fn:void 0);let g=m?ec(v,n):d===n?v:void 0;if(c&&!Vl(g)&&(g=ec(u,n)),Vl(g)&&(l=g,o))return l;let w=e[r+1];r=o?$r(w):Ai(w)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(l=ec(u,n))}return l}function Vl(e){return e!==void 0}function rY(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=An(Qa(e)))),e}function i_(e,t){return(e.flags&(t?8:16))!==0}var iY=class{destroy(e){}updateValue(e,t){}swap(e,t){let a=Math.min(e,t),n=Math.max(e,t),r=this.detach(n);if(n-a>1){let i=this.detach(a);this.attach(a,r),this.attach(n,i)}else this.attach(a,r)}move(e,t){this.attach(t,this.detach(e))}};function dc(e,t,a,n,r){return e===a&&Object.is(t,n)?1:Object.is(r(e,t),r(a,n))?-1:0}function oY(e,t,a){let n,r,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=dc(i,u,i,c,a);if(d!==0){d<0&&e.updateValue(i,c),i++;continue}let m=e.at(o),v=t[l],g=dc(o,m,l,v,a);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let w=a(i,u),x=a(o,m),k=a(i,c);if(Object.is(k,x)){let D=a(l,v);Object.is(D,w)?(e.swap(i,o),e.updateValue(o,v),l--,o--):e.move(o,i),e.updateValue(i,c),i++;continue}if(n??(n=new If),r??(r=Df(e,i,o,a)),Rd(e,n,i,k))e.updateValue(i,c),i++,o++;else if(r.has(k))n.set(w,e.detach(i)),o--;else{let D=e.create(i,t[i]);e.attach(i,D),i++,o++}}for(;i<=l;)Cf(e,n,a,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=dc(i,c,i,d,a);if(m!==0)m<0&&e.updateValue(i,d),i++,u=l.next();else{n??(n=new If),r??(r=Df(e,i,o,a));let v=a(i,d);if(Rd(e,n,i,v))e.updateValue(i,d),i++,o++,u=l.next();else if(!r.has(v))e.attach(i,e.create(i,d)),i++,o++,u=l.next();else{let g=a(i,c);n.set(g,e.detach(i)),o--}}}for(;!u.done;)Cf(e,n,a,e.length,u.value),u=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Rd(e,t,a,n){return t!==void 0&&t.has(n)?(e.attach(a,t.get(n)),t.delete(n),!0):!1}function Cf(e,t,a,n,r){if(Rd(e,t,n,a(n,r)))e.updateValue(n,r);else{let i=e.create(n,r);e.attach(n,i)}}function Df(e,t,a,n){let r=new Set;for(let i=t;i<=a;i++)r.add(n(i,e.at(i)));return r}var If=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let a=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(a);)a=n.get(a);n.set(a,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,a]of this.kvMap)if(e(a,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(a);)a=n.get(a),e(a,t)}}};function je(e,t){Zr("NgControlFlow");let a=de(),n=Wr(),r=a[n]!==In?a[n]:-1,i=r!==-1?zl(a,yt+r):void 0,o=0;if(yn(a,n,e)){let l=De(null);try{if(i!==void 0&&ky(i,o),e!==-1){let u=yt+e,c=zl(a,u),d=Od(a[_e],u),m=Ni(c,d.tView.ssrId),v=ps(a,d,t,{dehydratedView:m});ms(c,v,o,Mi(d,m))}}finally{De(l)}}else if(i!==void 0){let l=Sy(i,o);l!==void 0&&(l[qt]=t)}}var sY=class{constructor(e,t,a){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=a}get $count(){return this.lContainer.length-tn}};function Tp(e){return e}function Rp(e,t){return t}var lY=class{constructor(e,t,a){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=a}};function Qi(e,t,a,n,r,i,o,l,u,c,d,m,v){Zr("NgControlFlow");let g=de(),w=ut(),x=u!==void 0,k=de(),D=o,O=new lY(x,D);k[yt+e]=O,Zy(g,w,e+1,t,a,n,r,Br(w.consts,i))}var uY=class extends iY{constructor(t,a,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=a,this.templateTNode=n}get length(){return this.lContainer.length-tn}at(t){return this.getLView(t)[qt].$implicit}attach(t,a){let n=a[Ii];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),ms(this.lContainer,a,t,Mi(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),cY(this.lContainer,t)}create(t,a){var i;let n=Ni(this.lContainer,this.templateTNode.tView.ssrId),r=ps(this.hostLView,this.templateTNode,new sY(this.lContainer,a,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),r}destroy(t){var a;Du(t[_e],t),(a=this.operationsCounter)==null||a.recordDestroy()}updateValue(t,a){this.getLView(t)[qt].$implicit=a}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[qt].$index=t}getLView(t){return dY(this.lContainer,t)}};function Ji(e){let t=De(null),a=ga();try{let n=de(),r=n[_e],i=n[a],o=a+1,l=zl(n,o);if(i.liveCollection===void 0){let c=Od(r,o);i.liveCollection=new uY(l,n,c)}else i.liveCollection.reset();let u=i.liveCollection;if(oY(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Wr(),d=u.length===0;if(yn(n,c,d)){let m=a+2,v=zl(n,m);if(d){let g=Od(r,m),w=Ni(v,g.tView.ssrId),x=ps(n,g,void 0,{dehydratedView:w});ms(v,x,0,Mi(g,w))}else ky(v,0)}}}finally{De(t)}}function zl(e,t){return e[t]}function cY(e,t){return Lo(e,t)}function dY(e,t){return Sy(e,t)}function Od(e,t){return zh(e,t)}function j(e,t,a,n){let r=de(),i=ut(),o=yt+e,l=r[vt],u=i.firstCreatePass?Ty(o,i,r,t,gp,hG(),a,n):i.data[o],c=hY(i,r,u,l,t);r[o]=c;let d=vu(u);return hr(u,!0),iy(l,c,u),!_p(u)&&yu()&&Iu(i,r,c,u),(uG()===0||d)&&Yi(c,r),cG(),d&&(Cu(i,r,u),lp(i,u,r)),n!==null&&mp(r,u),j}function V(){let e=rn();Uh()?Wh():(e=e.parent,hr(e,!1));let t=e;pG(t)&&mG(),dG();let a=ut();return a.firstCreatePass&&Ry(a,t),t.classesWithoutHost!=null&&DG(t)&&Td(a,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&IG(t)&&Td(a,t,de(),t.stylesWithoutHost,!1),V}function tt(e,t,a,n){return j(e,t,a,n),V(),tt}var hY=(e,t,a,n,r,i)=>(_u(!0),ay(n,r,SG()));function pY(e,t,a,n,r){let i=t.consts,o=Br(i,n),l=Ki(t,e,8,"ng-container",o);o!==null&&Sd(l,o,!0);let u=Br(i,r);return Sp(t,a,l,u,gp),l.mergedAttrs=Oi(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Ya(e,t,a){let n=de(),r=ut(),i=e+yt,o=r.firstCreatePass?pY(i,r,n,t,a):r.data[i];hr(o,!0);let l=mY(r,n);return n[i]=l,yu()&&Iu(r,n,l,o),Yi(l,n),vu(o)&&(Cu(r,n,o),lp(r,o,n)),a!=null&&mp(n,o),Ya}function Ka(){let e=rn(),t=ut();return Uh()?Wh():(e=e.parent,hr(e,!1)),t.firstCreatePass&&(Jh(t,e),Vh(e)&&t.queries.elementEnd(e)),Ka}function Yt(e,t,a){return Ya(e,t,a),Ka(),Yt}var mY=(e,t,a,n)=>(_u(!0),gU(t[vt],""));function ba(){return de()}function Op(e,t,a){let n=de(),r=Wr();if(yn(n,r,t)){let i=ut(),o=bu();fp(i,o,n,e,t,n[vt],a,!0)}return Op}var _r=void 0;function fY(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var gY=["en",[["a","p"],["AM","PM"],_r],[["AM","PM"],_r,_r],[["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"]],_r,[["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"]],_r,[["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}",_r,"{1} 'at' {0}",_r],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",fY],Eo={};function vY(e,t,a){typeof t!="string"&&(a=t,t=e[Ot.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Eo[t]=e,a&&(Eo[t][Ot.ExtraData]=a)}function Qn(e){let t=bY(e),a=Tf(t);if(a)return a;let n=t.split("-")[0];if(a=Tf(n),a)return a;if(n==="en")return gY;throw new G(701,!1)}function Tf(e){return e in Eo||(Eo[e]=ui.ng&&ui.ng.common&&ui.ng.common.locales&&ui.ng.common.locales[e]),Eo[e]}var Ot=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ot||{});function bY(e){return e.toLowerCase().replace(/_/g,"-")}var Md="en-US";function yY(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Rf(e,t,a){return function n(r){if(r===Function)return a;let i=$i(e)?pa(e.index,t):t;Ep(i,5);let o=t[qt],l=Of(t,o,a,r),u=n.__ngNextListenerFn__;for(;u;)l=Of(t,o,u,r)&&l,u=u.__ngNextListenerFn__;return l}}function Of(e,t,a,n){let r=De(null);try{return zr(6,t,a),a(n)!==!1}catch(i){return _Y(e,i),!1}finally{De(r)}}function _Y(e,t){let a=e[Ti],n=a?a.get(Yn,null):null;n&&n.handleError(t)}function Mf(e,t,a,n,r,i){let o=t[a],l=t[_e],u=l.data[a].outputs[n],c=o[u],d=l.firstCreatePass?Gh(l):null,m=$h(t),v=c.subscribe(i),g=m.length;m.push(i,v),d&&d.push(r,e.index,g,-(g+1))}function on(e,t,a,n){let r=de(),i=ut(),o=rn();return o_(i,r,r[vt],o,e,t,n),on}function wY(e,t,a,n){let r=e.cleanup;if(r!=null)for(let i=0;i<r.length-1;i+=2){let o=r[i];if(o===a&&r[i+1]===n){let l=t[bi],u=r[i+2];return l.length>u?l[u]:null}typeof o=="string"&&(i+=2)}return null}function o_(e,t,a,n,r,i,o){var m,v;let l=vu(n),u=e.firstCreatePass?Gh(e):null,c=$h(t),d=!0;if(n.type&3||o){let g=fa(n,t),w=o?o(g):g,x=c.length,k=o?O=>o(ha(O[n.index])):n.index,D=null;if(!o&&l&&(D=wY(e,t,r,n.index)),D!==null){let O=D.__ngLastListenerFn__||D;O.__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,d=!1}else{i=Rf(n,t,i);let O=a.listen(w,r,i);c.push(i,O),u&&u.push(r,k,x,x+1)}}else i=Rf(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[r],w=(v=n.hostDirectiveOutputs)==null?void 0:v[r];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,r,i)}if(g&&g.length)for(let x of g)Mf(n,t,x,r,r,i)}}function le(e=1){return EG(e)}function xY(e,t){let a=null,n=sU(e);for(let r=0;r<t.length;r++){let i=t[r];if(i==="*"){a=r;continue}if(n===null?ny(e,i,!0):cU(n,i))return r}return a}function Vn(e){let t=de()[Ln][wn];if(!t.projection){let a=e?e.length:1,n=t.projection=j6(a,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?xY(i,e):0;o!==null&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i)}i=i.next}}}function pt(e,t=0,a,n,r,i){let o=de(),l=ut(),u=null,c=Ki(l,yt+e,16,null,null);c.projection===null&&(c.projection=t),Wh();let d=!o[Ii]||ib();o[Ln][wn].projection[c.projection]===null&&u!==null?EY(o,l,u):d&&!_p(c)&&GU(l,o,c)}function EY(e,t,a){let n=yt+a,r=t.data[n],i=e[n],o=Ni(i,r.tView.ssrId),l=ps(e,r,void 0,{dehydratedView:o});ms(i,l,0,Mi(r,o))}function Na(e,t,a,n){nZ(e,t,a,n)}function Pi(e,t,a){tZ(e,t,a)}function un(e){let t=de(),a=ut(),n=ub();Yh(n+1);let r=Cp(a,n);if(e.dirty&&rG(t)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let i=iZ(t,n);e.reset(i,t8),e.notifyOnChanges()}return!0}return!1}function cn(){return eZ(de(),ub())}function Mu(e){let t=sb();return ss(t,yt+e)}function ee(e,t=""){let a=de(),n=ut(),r=e+yt,i=n.firstCreatePass?Ki(n,r,1,t,null):n.data[r],o=SY(n,a,i,t);a[r]=o,yu()&&Iu(n,a,o,i),hr(i,!1)}var SY=(e,t,a,n,r)=>(_u(!0),mU(t[vt],n));function Ne(e){return Ue("",e,""),Ne}function Ue(e,t,a){let n=de(),r=FZ(n,e,t,a);return r!==In&&s_(n,ga(),r),Ue}function Mp(e,t,a,n,r){let i=de(),o=jZ(i,e,t,a,n,r);return o!==In&&s_(i,ga(),o),Mp}function s_(e,t,a){let n=nb(t,e);fU(e[vt],n,a)}function l_(e,t,a){Lb(t)&&(t=t());let n=de(),r=Wr();if(yn(n,r,t)){let i=ut(),o=bu();fp(i,o,n,e,t,n[vt],a,!1)}return l_}function kY(e,t){let a=Lb(e);return a&&e.set(t),a}function u_(e,t){let a=de(),n=ut(),r=rn();return o_(n,a,a[vt],r,e,t),u_}var c_={};function d_(e){let t=ut(),a=de(),n=e+yt,r=Ki(t,n,128,null,null);return hr(r,!1),Bh(t,a,n,c_),d_}function Nf(e){Zr("NgLet");let t=ut(),a=de(),n=ga();return Bh(t,a,n,e),e}function Af(e){let t=sb(),a=ss(t,yt+e);if(a===c_)throw new G(314,!1);return a}function CY(e,t,a){let n=ut();if(n.firstCreatePass){let r=da(e);Nd(a,n.data,n.blueprint,r,!0),Nd(t,n.data,n.blueprint,r,!1)}}function Nd(e,t,a,n,r){if(e=Wt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Nd(e[i],t,a,n,r);else{let i=ut(),o=de(),l=rn(),u=Di(e)?e:Wt(e.provide),c=W0(e),d=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Di(e)||!e.multi){let g=new us(c,r,Zt),w=pc(u,t,r?d:d+v,m);w===-1?(md(Al(l,o),i,u),hc(i,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(g),o.push(g)):(a[w]=g,o[w]=g)}else{let g=pc(u,t,d+v,m),w=pc(u,t,d,d+v),x=g>=0&&a[g],k=w>=0&&a[w];if(r&&!k||!r&&!x){md(Al(l,o),i,u);let D=TY(r?IY:DY,a.length,r,n,c);!r&&k&&(a[w].providerFactory=D),hc(i,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(D),o.push(D)}else{let D=h_(a[r?w:g],c,!r&&n);hc(i,e,g>-1?g:w,D)}!r&&n&&k&&a[w].componentProviders++}}}function hc(e,t,a,n){let r=Di(t),i=U6(t);if(r||i){let o=(i?Wt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let u=l.indexOf(a);u===-1?l.push(a,[n,o]):l[u+1].push(n,o)}else l.push(a,o)}}}function h_(e,t,a){return a&&e.componentProviders++,e.multi.push(t)-1}function pc(e,t,a,n){for(let r=a;r<n;r++)if(t[r]===e)return r;return-1}function DY(e,t,a,n,r){return Ad(this.multi,[])}function IY(e,t,a,n,r){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Ao(n,n[_e],this.providerFactory.index,r);o=u.slice(0,l),Ad(i,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Ad(i,o);return o}function Ad(e,t){for(let a=0;a<e.length;a++){let n=e[a];t.push(n())}return t}function TY(e,t,a,n,r){let i=new us(e,a,Zt);return i.multi=[],i.index=t,i.componentProviders=0,h_(i,r,n&&!a),i}function Tn(e,t=[]){return a=>{a.providersResolver=(n,r)=>CY(n,r?r(e):e,t)}}function Bo(e,t,a){let n=Ur()+e,r=de();return r[n]===In?gs(r,n,t()):Wy(r,n)}function p_(e,t,a,n){return m_(de(),Ur(),e,t,a,n)}function RY(e,t,a,n,r){return f_(de(),Ur(),e,t,a,n,r)}function OY(e,t,a,n,r,i,o,l){let u=Ur()+e,c=de(),d=kZ(c,u,a,n,r,i);return yn(c,u+4,o)||d?gs(c,u+5,t(a,n,r,i,o)):Wy(c,u+5)}function Np(e,t){let a=e[t];return a===In?void 0:a}function m_(e,t,a,n,r,i){let o=t+a;return yn(e,o,r)?gs(e,o+1,i?n.call(i,r):n(r)):Np(e,o+1)}function f_(e,t,a,n,r,i,o){let l=t+a;return Vo(e,l,r,i)?gs(e,l+2,o?n.call(o,r,i):n(r,i)):Np(e,l+2)}function MY(e,t,a,n,r,i,o,l){let u=t+a;return SZ(e,u,r,i,o)?gs(e,u+3,l?n.call(l,r,i,o):n(r,i,o)):Np(e,u+3)}function te(e,t){let a=ut(),n,r=e+yt;a.firstCreatePass?(n=NY(t,a.pipeRegistry),a.data[r]=n,n.onDestroy&&(a.destroyHooks??(a.destroyHooks=[])).push(r,n.onDestroy)):n=a.data[r];let i=n.factory||(n.factory=Fr(n.type)),o=pn(Zt);try{let l=Nl(!1),u=i();return Nl(l),Bh(a,de(),r,u),u}finally{pn(o)}}function NY(e,t){if(t)for(let a=t.length-1;a>=0;a--){let n=t[a];if(e===n.name)return n}}function ae(e,t,a){let n=e+yt,r=de(),i=ss(r,n);return Ap(r,n)?m_(r,Ur(),t,i.transform,a,i):i.transform(a)}function vs(e,t,a,n){let r=e+yt,i=de(),o=ss(i,r);return Ap(i,r)?f_(i,Ur(),t,o.transform,a,n,o):o.transform(a,n)}function g_(e,t,a,n,r){let i=e+yt,o=de(),l=ss(o,i);return Ap(o,i)?MY(o,Ur(),t,l.transform,a,n,r,l):l.transform(a,n,r)}function Ap(e,t){return e[_e].data[t].pure}function Pf(e,t){return Ru(e,t)}var AY=class{constructor(e){s(this,"full");s(this,"major");s(this,"minor");s(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Lf=new AY("19.2.15"),PY=(()=>{const t=class t{constructor(){s(this,"zone",S(He));s(this,"changeDetectionScheduler",S(Wi));s(this,"applicationRef",S(ur));s(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function LY({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:a}){return e??(e=()=>new He(Qt(ce({},FY()),{scheduleInRootZone:a}))),[{provide:He,useFactory:e},{provide:Dl,multi:!0,useFactory:()=>{let n=S(PY,{optional:!0});return()=>n.initialize()}},{provide:Dl,multi:!0,useFactory:()=>{let n=S(jY);return()=>{n.initialize()}}},t===!0?{provide:Ob,useValue:!0}:[],{provide:Mb,useValue:a??Ib}]}function FY(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var jY=(()=>{const t=class t{constructor(){s(this,"subscription",new Kt);s(this,"initialized",!1);s(this,"zone",S(He));s(this,"pendingTasks",S(cs))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{He.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{He.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),VY=(()=>{var t;const a=class a{constructor(){s(this,"appRef",S(ur));s(this,"taskService",S(cs));s(this,"ngZone",S(He));s(this,"zonelessEnabled",S(Rb));s(this,"tracing",S(ds,{optional:!0}));s(this,"disableScheduling",S(Ob,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new Kt);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Pl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(Mb,{optional:!0})??!1));s(this,"cancelScheduledCallback",null);s(this,"useMicrotaskScheduler",!1);s(this,"runningTick",!1);s(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof YG||!this.zoneIsDefined))}notify(r){var l;if(!this.zonelessEnabled&&r===5)return;let i=!1;switch(r){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(i))return;let o=this.useMicrotaskScheduler?nf:Nb;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Pl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,nf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var r;if(this.runningTick=!1,(r=this.cancelScheduledCallback)==null||r.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(a,"ɵfac",function(r){return new(r||a)}),s(a,"ɵprov",z({token:a,factory:a.ɵfac,providedIn:"root"}));let e=a;return e})();function zY(){return typeof $localize<"u"&&$localize.locale||Md}var Nu=new K("",{providedIn:"root",factory:()=>S(Nu,Te.Optional|Te.SkipSelf)||zY()}),Pd=new K(""),BY=new K("");function so(e){return!e.moduleRef}function HY(e){let t=so(e)?e.r3Injector:e.moduleRef.injector,a=t.get(He);return a.run(()=>{so(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Yn,null),r;if(a.runOutsideAngular(()=>{r=a.onError.subscribe({next:i=>{n.handleError(i)}})}),so(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Pd);o.add(i),t.onDestroy(()=>{r.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Pd);o.add(i),e.moduleRef.onDestroy(()=>{cl(e.allPlatformModules,e.moduleRef),r.unsubscribe(),o.delete(i)})}return $Y(n,a,()=>{let i=t.get(Qy);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Nu,Md);if(yY(o||Md),!t.get(BY,!0))return so(e)?t.get(ur):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(so(e)){let l=t.get(ur);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return qY(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function qY(e,t){let a=e.injector.get(ur);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>a.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(a);else throw new G(-403,!1);t.push(e)}function $Y(e,t,a){try{let n=a();return Ip(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var dl=null;function GY(e=[],t){return ht.create({name:t,providers:[{provide:Lh,useValue:"platform"},{provide:Pd,useValue:new Set([()=>dl=null])},...e]})}function UY(e=[]){if(dl)return dl;let t=GY(e);return dl=t,NZ(),WY(t),t}function WY(e){let t=e.get(qb,null);jh(e,()=>{t==null||t.forEach(a=>a())})}function ZY(){return!1}var ya=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",YY),e})();function YY(e){return KY(rn(),de(),(e&16)===16)}function KY(e,t,a){if($i(e)&&!a){let n=pa(e.index,t);return new Fo(n,n)}else if(e.type&175){let n=t[Ln];return new Fo(n,t)}return null}var QY=class{constructor(){}supports(e){return Uy(e)}create(e){return new XY(e)}},JY=(e,t)=>t,XY=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||JY}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,a=this._removalsHead,n=0,r=null;for(;t||a;){let i=!a||t&&t.currentIndex<jf(a,n,r)?t:a,o=jf(i,n,r),l=i.currentIndex;if(i===a)n--,a=a._nextRemoved;else if(t=t._next,i.previousIndex==null)n++;else{r||(r=[]);let u=o-n,c=l-n;if(u!=c){for(let m=0;m<u;m++){let v=m<r.length?r[m]:r[m]=0,g=v+m;c<=g&&g<u&&(r[m]=v+1)}let d=i.previousIndex;r[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=[]),!Uy(e))throw new G(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,a=!1,n,r,i;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)r=e[o],i=this._trackByFn(o,r),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,r,i,o),a=!0):(a&&(t=this._verifyReinsertion(t,r,i,o)),Object.is(t.item,r)||this._addIdentityChange(t,r)),t=t._next}else n=0,EZ(e,o=>{i=this._trackByFn(n,o),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,o,i,n),a=!0):(a&&(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,a,n){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(a,n),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,n)):e=this._addAfter(new eK(t,a),r,n)),e}_verifyReinsertion(e,t,a,n){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null);return r!==null?e=this._reinsertAfter(r,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,a){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,r=e._nextRemoved;return n===null?this._removalsHead=r:n._nextRemoved=r,r===null?this._removalsTail=n:r._prevRemoved=n,this._insertAfter(e,t,a),this._addToMoves(e,a),e}_moveAfter(e,t,a){return this._unlink(e),this._insertAfter(e,t,a),this._addToMoves(e,a),e}_addAfter(e,t,a){return this._insertAfter(e,t,a),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,a){let n=t===null?this._itHead:t._next;return e._next=n,e._prev=t,n===null?this._itTail=e:n._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ff),this._linkedRecords.put(e),e.currentIndex=a,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,a=e._next;return t===null?this._itHead=a:t._next=a,a===null?this._itTail=t:a._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ff),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},eK=class{constructor(e,t){s(this,"item");s(this,"trackById");s(this,"currentIndex",null);s(this,"previousIndex",null);s(this,"_nextPrevious",null);s(this,"_prev",null);s(this,"_next",null);s(this,"_prevDup",null);s(this,"_nextDup",null);s(this,"_prevRemoved",null);s(this,"_nextRemoved",null);s(this,"_nextAdded",null);s(this,"_nextMoved",null);s(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},tK=class{constructor(){s(this,"_head",null);s(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let a;for(a=this._head;a!==null;a=a._nextDup)if((t===null||t<=a.currentIndex)&&Object.is(a.trackById,e))return a;return null}remove(e){let t=e._prevDup,a=e._nextDup;return t===null?this._head=a:t._nextDup=a,a===null?this._tail=t:a._prevDup=t,this._head===null}},Ff=class{constructor(){s(this,"map",new Map)}put(e){let t=e.trackById,a=this.map.get(t);a||(a=new tK,this.map.set(t,a)),a.add(e)}get(e,t){let a=e,n=this.map.get(a);return n?n.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function jf(e,t,a){let n=e.previousIndex;if(n===null)return n;let r=0;return a&&n<a.length&&(r=a[n]),n+t+r}var nK=class{constructor(){}supports(e){return e instanceof Map||Dp(e)}create(){return new aK}},aK=class{constructor(){s(this,"_records",new Map);s(this,"_mapHead",null);s(this,"_appendAfter",null);s(this,"_previousMapHead",null);s(this,"_changesHead",null);s(this,"_changesTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Dp(e)))throw new G(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(a,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,a),this._appendAfter=t,t=t._next;else{let r=this._getOrCreateRecordForKey(n,a);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let a=t;a!==null;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let a=e._prev;return t._next=e,t._prev=a,e._prev=t,a&&(a._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}let a=new rK(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(a=>t(e[a],a))}},rK=class{constructor(e){s(this,"key");s(this,"previousValue",null);s(this,"currentValue",null);s(this,"_nextPrevious",null);s(this,"_next",null);s(this,"_prev",null);s(this,"_nextAdded",null);s(this,"_nextRemoved",null);s(this,"_nextChanged",null);this.key=e}};function Vf(){return new Xi([new QY])}var Xi=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r!=null){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Vf()),deps:[[t,new Oh,new Rh]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r!=null)return r;throw new G(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:Vf}));let e=t;return e})();function zf(){return new v_([new nK])}var v_=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||zf()),deps:[[t,new Oh,new Rh]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new G(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:zf}));let e=t;return e})();function iK(e){let{rootComponent:t,appProviders:a,platformProviders:n,platformRef:r}=e;try{let i=(r==null?void 0:r.injector)??UY(n),o=[LY({}),{provide:Wi,useExisting:VY},...a||[]],l=new Hy({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return HY({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Lt(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Pp(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ld(e){return _$(e)}function mi(e,t){return d$(e)}var Cv,oK=(Cv=gn,class{constructor(e){s(this,Cv);this[gn]=e}destroy(){this[gn].destroy()}});function sK(e,t){!(t!=null&&t.injector)&&fu();let a=(t==null?void 0:t.injector)??S(ht),n=(t==null?void 0:t.manualCleanup)!==!0?a.get(pr):null,r,i=a.get(sp,null,{optional:!0}),o=a.get(Wi);return i!==null&&!(t!=null&&t.forceRoot)?(r=cK(i.view,o,e),n instanceof Tb&&n._lView===i.view&&(n=null)):r=dK(e,a.get(Yy),o),r.injector=a,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new oK(r)}var b_=Qt(ce({},Bi),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Po,run(){if(this.dirty=!1,this.hasRun&&!bh(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Io(this),a=Rl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Rl(a),su(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),lK=Qt(ce({},b_),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){lu(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),uK=Qt(ce({},b_),{consumerMarkedDirty(){this.view[fe]|=8192,Ui(this.view),this.notifier.notify(13)},destroy(){var e;lu(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Aa])==null||e.delete(this)}});function cK(e,t,a){let n=Object.create(uK);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=a,e[Aa]??(e[Aa]=new Set),e[Aa].add(n),n.consumerMarkedDirty(n),n}function dK(e,t,a){let n=Object.create(lK);return n.fn=e,n.scheduler=t,n.notifier=a,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var hK=e=>e;function pK(e,t){if(typeof e=="function"){let a=Fm(e,hK,t==null?void 0:t.equal);return Bf(a)}else{let a=Fm(e.source,e.computation,e.equal);return Bf(a)}}function Bf(e){let t=e[gn],a=e;return a.set=n=>v$(t,n),a.update=n=>b$(t,n),a.asReadonly=rp.bind(e),a}function y_(e,t){let a=Ci(e),n=t.elementInjector||mu();return new kp(a).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var mK={schedule(e,t){let a=setTimeout(e,t);return()=>clearTimeout(a)}};function fK(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function gK(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var mc;function vK(e,t){if(!mc){let a=Element.prototype;mc=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?mc.call(e,t):!1}function bK(e){let t={};return e.forEach(({propName:a,templateName:n,transform:r})=>{t[fK(n)]=[a,r]}),t}function yK(e,t){return t.get(fs).resolveComponentFactory(e).inputs}function _K(e,t){let a=e.childNodes,n=t.map(()=>[]),r=-1;t.some((i,o)=>i==="*"?(r=o,!0):!1);for(let i=0,o=a.length;i<o;++i){let l=a[i],u=wK(l,t,r);u!==-1&&n[u].push(l)}return n}function wK(e,t,a){let n=a;return gK(e)&&t.some((r,i)=>r!=="*"&&vK(e,r)?(n=i,!0):!1),n}var xK=10,EK=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(fs).resolveComponentFactory(e);for(let a of this.componentFactory.inputs)this.inputMap.set(a.propName,a.templateName)}create(e){return new SK(this.componentFactory,e,this.inputMap)}},SK=class{constructor(e,t,a){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new Eh(1));s(this,"events",this.eventEmitters.pipe(El(e=>Lr(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=a,this.ngZone=this.injector.get(He),this.appRef=this.injector.get(ur),this.cdScheduler=t.get(Wi),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=mK.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},xK))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),lW(this.componentRef.hostView)&&(uW(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ht.create({providers:[],parent:this.injector}),a=_K(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,a,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:a,templateName:n})=>{let r=e.instance[a];return new mt(i=>{let o=r.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()}},kK=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function CK(e,t){let a=yK(e,t.injector),n=t.strategyFactory||new EK(e,t.injector),r=bK(a);class i extends kK{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);a.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,d)})}return this._ngElementStrategy}attributeChangedCallback(u,c,d,m){let[v,g]=r[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(r)),a.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),i}var Ve=new K(""),__=null;function So(){return __}function DK(e){__??(__=e)}var IK=class{},w_=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(TK),providedIn:"platform"}));let e=t;return e})(),TK=(()=>{const t=class t extends w_{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",S(Ve));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return So().getBaseHref(this._doc)}onPopState(r){let i=So().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=So().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵprov",z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function x_(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Hf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Or(e){return e&&e[0]!=="?"?`?${e}`:e}var Lp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(OK),providedIn:"root"}));let e=t;return e})(),RK=new K(""),OK=(()=>{const t=class t extends Lp{constructor(r,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=r,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=S(Ve).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return x_(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+Or(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,l){let u=this.prepareExternalUrl(o+Or(l));this._platformLocation.pushState(r,i,u)}replaceState(r,i,o,l){let u=this.prepareExternalUrl(o+Or(l));this._platformLocation.replaceState(r,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,r)}};s(t,"ɵfac",function(r){return new(r||t)(oe(w_),oe(RK,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),E_=(()=>{const t=class t{constructor(n){s(this,"_subject",new ve);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=AK(Hf(qf(r))),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,r=""){return this.path()==this.normalize(n+Or(r))}normalize(n){return t.stripTrailingSlash(NK(this._basePath,qf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Or(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Or(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,i;(i=(r=this._locationStrategy).historyGo)==null||i.call(r,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{var i;let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",Or),s(t,"joinWithSlash",x_),s(t,"stripTrailingSlash",Hf),s(t,"ɵfac",function(n){return new(n||t)(oe(Lp))}),s(t,"ɵprov",z({token:t,factory:()=>MK(),providedIn:"root"}));let e=t;return e})();function MK(){return new E_(oe(Lp))}function NK(e,t){if(!e||!t.startsWith(e))return t;let a=t.substring(e.length);return a===""||["/",";","?","#"].includes(a[0])?a:t}function qf(e){return e.replace(/\/index.html$/,"")}function AK(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var ln=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ln||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),xn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(xn||{}),Au={MinusSign:5};function PK(e){return Qn(e)[Ot.LocaleId]}function LK(e,t,a){let n=Qn(e),r=[n[Ot.DayPeriodsFormat],n[Ot.DayPeriodsStandalone]],i=Fn(r,t);return Fn(i,a)}function FK(e,t,a){let n=Qn(e),r=[n[Ot.DaysFormat],n[Ot.DaysStandalone]],i=Fn(r,t);return Fn(i,a)}function jK(e,t,a){let n=Qn(e),r=[n[Ot.MonthsFormat],n[Ot.MonthsStandalone]],i=Fn(r,t);return Fn(i,a)}function VK(e,t){let a=Qn(e)[Ot.Eras];return Fn(a,t)}function Ls(e,t){let a=Qn(e);return Fn(a[Ot.DateFormat],t)}function Fs(e,t){let a=Qn(e);return Fn(a[Ot.TimeFormat],t)}function js(e,t){let a=Qn(e)[Ot.DateTimeFormat];return Fn(a,t)}function Pu(e,t){return Qn(e)[Ot.NumberSymbols][t]}function S_(e){if(!e[Ot.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Ot.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function zK(e){let t=Qn(e);return S_(t),(t[Ot.ExtraData][2]||[]).map(a=>typeof a=="string"?fc(a):[fc(a[0]),fc(a[1])])}function BK(e,t,a){let n=Qn(e);S_(n);let r=[n[Ot.ExtraData][0],n[Ot.ExtraData][1]],i=Fn(r,t)||[];return Fn(i,a)||[]}function Fn(e,t){for(let a=t;a>-1;a--)if(typeof e[a]<"u")return e[a];throw new Error("Locale data API: locale data undefined")}function fc(e){let[t,a]=e.split(":");return{hours:+t,minutes:+a}}var HK=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ni={},qK=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function $K(e,t,a,n){let r=XK(e);t=Oa(a,t)||t;let i=[],o;for(;t;)if(o=qK.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=r.getTimezoneOffset();n&&(l=C_(n,l),r=JK(r,n));let u="";return i.forEach(c=>{let d=KK(c);u+=d?d(r,a,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Bl(e,t,a){let n=new Date(0);return n.setFullYear(e,t,a),n.setHours(0,0,0),n}function Oa(e,t){let a=PK(e);if(ni[a]??(ni[a]={}),ni[a][t])return ni[a][t];let n="";switch(t){case"shortDate":n=Ls(e,xn.Short);break;case"mediumDate":n=Ls(e,xn.Medium);break;case"longDate":n=Ls(e,xn.Long);break;case"fullDate":n=Ls(e,xn.Full);break;case"shortTime":n=Fs(e,xn.Short);break;case"mediumTime":n=Fs(e,xn.Medium);break;case"longTime":n=Fs(e,xn.Long);break;case"fullTime":n=Fs(e,xn.Full);break;case"short":let r=Oa(e,"shortTime"),i=Oa(e,"shortDate");n=Vs(js(e,xn.Short),[r,i]);break;case"medium":let o=Oa(e,"mediumTime"),l=Oa(e,"mediumDate");n=Vs(js(e,xn.Medium),[o,l]);break;case"long":let u=Oa(e,"longTime"),c=Oa(e,"longDate");n=Vs(js(e,xn.Long),[u,c]);break;case"full":let d=Oa(e,"fullTime"),m=Oa(e,"fullDate");n=Vs(js(e,xn.Full),[d,m]);break}return n&&(ni[a][t]=n),n}function Vs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(a,n){return t!=null&&n in t?t[n]:a})),e}function Gn(e,t,a="-",n,r){let i="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i=a));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function GK(e,t){return Gn(e,3).substring(0,t)}function It(e,t,a=0,n=!1,r=!1){return function(i,o){let l=UK(e,i);if((a>0||l>-a)&&(l+=a),e===3)l===0&&a===-12&&(l=12);else if(e===6)return GK(l,t);let u=Pu(o,Au.MinusSign);return Gn(l,t,u,n,r)}}function UK(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function Xe(e,t,a=ln.Format,n=!1){return function(r,i){return WK(r,i,e,t,a,n)}}function WK(e,t,a,n,r,i){switch(a){case 2:return jK(t,r,n)[e.getMonth()];case 1:return FK(t,r,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let c=zK(t),d=BK(t,r,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,w]=v,x=o>=g.hours&&l>=g.minutes,k=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&k)return!0}else if(x||k)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return LK(t,r,n)[o<12?0:1];case 3:return VK(t,n)[e.getFullYear()<=0?0:1];default:let u=a;throw new Error(`unexpected translation type ${u}`)}}function zs(e){return function(t,a,n){let r=-1*n,i=Pu(a,Au.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+Gn(o,2,i)+Gn(Math.abs(r%60),2,i);case 1:return"GMT"+(r>=0?"+":"")+Gn(o,1,i);case 2:return"GMT"+(r>=0?"+":"")+Gn(o,2,i)+":"+Gn(Math.abs(r%60),2,i);case 3:return n===0?"Z":(r>=0?"+":"")+Gn(o,2,i)+":"+Gn(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var ZK=0,hl=4;function YK(e){let t=Bl(e,ZK,1).getDay();return Bl(e,0,1+(t<=hl?hl:hl+7)-t)}function k_(e){let t=e.getDay(),a=t===0?-3:hl-t;return Bl(e.getFullYear(),e.getMonth(),e.getDate()+a)}function gc(e,t=!1){return function(a,n){let r;if(t){let i=new Date(a.getFullYear(),a.getMonth(),1).getDay()-1,o=a.getDate();r=1+Math.floor((o+i)/7)}else{let i=k_(a),o=YK(i.getFullYear()),l=i.getTime()-o.getTime();r=1+Math.round(l/6048e5)}return Gn(r,e,Pu(n,Au.MinusSign))}}function Bs(e,t=!1){return function(a,n){let r=k_(a).getFullYear();return Gn(r,e,Pu(n,Au.MinusSign),t)}}var vc={};function KK(e){if(vc[e])return vc[e];let t;switch(e){case"G":case"GG":case"GGG":t=Xe(3,Ke.Abbreviated);break;case"GGGG":t=Xe(3,Ke.Wide);break;case"GGGGG":t=Xe(3,Ke.Narrow);break;case"y":t=It(0,1,0,!1,!0);break;case"yy":t=It(0,2,0,!0,!0);break;case"yyy":t=It(0,3,0,!1,!0);break;case"yyyy":t=It(0,4,0,!1,!0);break;case"Y":t=Bs(1);break;case"YY":t=Bs(2,!0);break;case"YYY":t=Bs(3);break;case"YYYY":t=Bs(4);break;case"M":case"L":t=It(1,1,1);break;case"MM":case"LL":t=It(1,2,1);break;case"MMM":t=Xe(2,Ke.Abbreviated);break;case"MMMM":t=Xe(2,Ke.Wide);break;case"MMMMM":t=Xe(2,Ke.Narrow);break;case"LLL":t=Xe(2,Ke.Abbreviated,ln.Standalone);break;case"LLLL":t=Xe(2,Ke.Wide,ln.Standalone);break;case"LLLLL":t=Xe(2,Ke.Narrow,ln.Standalone);break;case"w":t=gc(1);break;case"ww":t=gc(2);break;case"W":t=gc(1,!0);break;case"d":t=It(2,1);break;case"dd":t=It(2,2);break;case"c":case"cc":t=It(7,1);break;case"ccc":t=Xe(1,Ke.Abbreviated,ln.Standalone);break;case"cccc":t=Xe(1,Ke.Wide,ln.Standalone);break;case"ccccc":t=Xe(1,Ke.Narrow,ln.Standalone);break;case"cccccc":t=Xe(1,Ke.Short,ln.Standalone);break;case"E":case"EE":case"EEE":t=Xe(1,Ke.Abbreviated);break;case"EEEE":t=Xe(1,Ke.Wide);break;case"EEEEE":t=Xe(1,Ke.Narrow);break;case"EEEEEE":t=Xe(1,Ke.Short);break;case"a":case"aa":case"aaa":t=Xe(0,Ke.Abbreviated);break;case"aaaa":t=Xe(0,Ke.Wide);break;case"aaaaa":t=Xe(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=Xe(0,Ke.Abbreviated,ln.Standalone,!0);break;case"bbbb":t=Xe(0,Ke.Wide,ln.Standalone,!0);break;case"bbbbb":t=Xe(0,Ke.Narrow,ln.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ke.Abbreviated,ln.Format,!0);break;case"BBBB":t=Xe(0,Ke.Wide,ln.Format,!0);break;case"BBBBB":t=Xe(0,Ke.Narrow,ln.Format,!0);break;case"h":t=It(3,1,-12);break;case"hh":t=It(3,2,-12);break;case"H":t=It(3,1);break;case"HH":t=It(3,2);break;case"m":t=It(4,1);break;case"mm":t=It(4,2);break;case"s":t=It(5,1);break;case"ss":t=It(5,2);break;case"S":t=It(6,1);break;case"SS":t=It(6,2);break;case"SSS":t=It(6,3);break;case"Z":case"ZZ":case"ZZZ":t=zs(0);break;case"ZZZZZ":t=zs(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=zs(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=zs(2);break;default:return null}return vc[e]=t,t}function C_(e,t){e=e.replace(/:/g,"");let a=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(a)?t:a}function QK(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function JK(e,t,a){let n=e.getTimezoneOffset(),r=C_(t,n);return QK(e,-1*(r-n))}function XK(e){if($f(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,i=1,o=1]=e.split("-").map(l=>+l);return Bl(r,i-1,o)}let a=parseFloat(e);if(!isNaN(e-a))return new Date(a);let n;if(n=e.match(HK))return eQ(n)}let t=new Date(e);if(!$f(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function eQ(e){let t=new Date(0),a=0,n=0,r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(a=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-a,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,u,c),t}function $f(e){return e instanceof Date&&!isNaN(e.valueOf())}var bc=/\s+/,Gf=[],Fp=(()=>{const t=class t{constructor(n,r){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Gf);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(bc):Gf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(bc):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(bc).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(Zt(Qe),Zt(Kr))}),s(t,"ɵdir",be({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),tQ=(()=>{const t=class t{constructor(n,r,i){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=r,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,r){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:er.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,l)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Zt(Qe),Zt(v_),Zt(Kr))}),s(t,"ɵdir",be({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),nQ=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}};s(t,"ɵfac",function(n){return new(n||t)(Zt(jn))}),s(t,"ɵdir",be({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[dr]}));let e=t;return e})();function jp(e,t){return new G(2100,!1)}var aQ=class{createSubscription(e,t){return Ld(()=>e.subscribe({next:t,error:a=>{throw a}}))}dispose(e){Ld(()=>e.unsubscribe())}},rQ=class{createSubscription(e,t){return e.then(a=>t==null?void 0:t(a),a=>{throw a}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},iQ=new rQ,oQ=new aQ,sQ=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Ip(n))return iQ;if(Ky(n))return oQ;throw jp()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){var i;n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(Zt(ya,16))}),s(t,"ɵpipe",va({name:"async",type:t,pure:!1}));let e=t;return e})(),lQ="mediumDate",uQ=new K(""),cQ=new K(""),Vp=(()=>{const t=class t{constructor(n,r,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=r,this.defaultOptions=i}transform(n,r,i,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=r??((l=this.defaultOptions)==null?void 0:l.dateFormat)??lQ,d=i??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return $K(n,c,o||this.locale,d)}catch(c){throw jp(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Zt(Nu,16),Zt(uQ,24),Zt(cQ,24))}),s(t,"ɵpipe",va({name:"date",type:t,pure:!0}));let e=t;return e})(),D_=(()=>{const t=class t{transform(n,r,i){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw jp();return n.slice(r,i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",va({name:"slice",type:t,pure:!1}));let e=t;return e})(),I_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})();function T_(e,t){t=encodeURIComponent(t);for(let a of e.split(";")){let n=a.indexOf("="),[r,i]=n==-1?[a,""]:[a.slice(0,n),a.slice(n+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}var R_="browser",dQ="server";function hQ(e){return e===R_}function O_(e){return e===dQ}var M_=class{};function Lu(e,t,a){return vY(e,t,a)}var Fd=new K(""),N_=(()=>{const t=class t{constructor(n,r){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new G(5101,!1);return this._eventNameToPlugin.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fd),oe(He))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),A_=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},pl="ng-app-id";function Uf(e){for(let t of e)t.remove()}function Wf(e,t){let a=t.createElement("style");return a.textContent=e,a}function pQ(e,t,a,n){var i;let r=(i=e.head)==null?void 0:i.querySelectorAll(`style[${pl}="${t}"],link[${pl}="${t}"]`);if(r)for(let o of r)o.removeAttribute(pl),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&a.set(o.textContent,{usage:0,elements:[o]})}function jd(e,t){let a=t.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),a}var P_=(()=>{const t=class t{constructor(n,r,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=r,this.nonce=i,this.isServer=O_(o),pQ(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Wf);r==null||r.forEach(i=>this.addUsage(i,this.external,jd))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r==null||r.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(Uf(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Uf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Wf(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,jd(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(pl,this.appId),n.appendChild(r)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(wu),oe(ip,8),oe(xu))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),yc={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"},zp=/%COMP%/g,L_="%COMP%",mQ=`_nghost-${L_}`,fQ=`_ngcontent-${L_}`,gQ=!0,vQ=new K("",{providedIn:"root",factory:()=>gQ});function bQ(e){return fQ.replace(zp,e)}function yQ(e){return mQ.replace(zp,e)}function F_(e,t){return t.map(a=>a.replace(zp,e))}var Vd=(()=>{const t=class t{constructor(n,r,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=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=d,this.tracingService=m,this.platformIsServer=O_(u),this.defaultRenderer=new Bp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Pa.ShadowDom&&(r=Qt(ce({},r),{encapsulation:Pa.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Yf?i.applyToHost(n):i instanceof zd&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.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(r.encapsulation){case Pa.Emulated:o=new Yf(c,d,r,this.appId,m,l,u,v,g);break;case Pa.ShadowDom:return new _Q(c,d,n,r,l,u,this.nonce,v,g);default:o=new zd(c,d,r,m,l,u,v,g);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(oe(N_),oe(P_),oe(wu),oe(vQ),oe(Ve),oe(xu),oe(He),oe(ip),oe(ds,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Bp=class{constructor(e,t,a,n,r){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=a,this.platformIsServer=n,this.tracingService=r}destroy(){}createElement(e,t){return t?this.doc.createElementNS(yc[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Zf(e)?e.content:e).appendChild(t)}insertBefore(e,t,a){e&&(Zf(e)?e.content:e).insertBefore(t,a)}removeChild(e,t){t.remove()}selectRootElement(e,t){let a=typeof e=="string"?this.doc.querySelector(e):e;if(!a)throw new G(-5104,!1);return t||(a.textContent=""),a}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,a,n){if(n){t=n+":"+t;let r=yc[n];r?e.setAttributeNS(r,t,a):e.setAttribute(t,a)}else e.setAttribute(t,a)}removeAttribute(e,t,a){if(a){let n=yc[a];n?e.removeAttributeNS(n,t):e.removeAttribute(`${a}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,a,n){n&(er.DashCase|er.Important)?e.style.setProperty(t,a,n&er.Important?"important":""):e.style[t]=a}removeStyle(e,t,a){a&er.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,a){e!=null&&(e[t]=a)}setValue(e,t){e.nodeValue=t}listen(e,t,a,n){var i;if(typeof e=="string"&&(e=So().getGlobalEventTarget(this.doc,e),!e))throw new G(5102,!1);let r=this.decoratePreventDefault(a);return(i=this.tracingService)!=null&&i.wrapEventListener&&(r=this.tracingService.wrapEventListener(e,t,r)),this.eventManager.addEventListener(e,t,r,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Zf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var _Q=class extends Bp{constructor(t,a,n,r,i,o,l,u,c){var v;super(t,i,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=a,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=F_(r.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=r.getExternalStyles)==null?void 0:v.call(r);if(m)for(let g of m){let w=jd(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,a){return super.appendChild(this.nodeOrShadowRoot(t),a)}insertBefore(t,a,n){return super.insertBefore(this.nodeOrShadowRoot(t),a,n)}removeChild(t,a){return super.removeChild(null,a)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},zd=class extends Bp{constructor(t,a,n,r,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=a,this.removeStylesOnCompDestroy=r;let d=n.styles;this.styles=c?F_(c,d):d,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Yf=class extends zd{constructor(t,a,n,r,i,o,l,u,c){let d=r+"-"+n.id;super(t,a,n,i,o,l,u,c,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=bQ(d),this.hostAttr=yQ(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,a){let n=super.createElement(t,a);return super.setAttribute(n,this.contentAttr,""),n}},wQ=class j_ extends IK{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){DK(new j_)}onAndCancel(a,n,r,i){return a.addEventListener(n,r,i),()=>{a.removeEventListener(n,r,i)}}dispatchEvent(a,n){a.dispatchEvent(n)}remove(a){a.remove()}createElement(a,n){return n=n||this.getDefaultDocument(),n.createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,n){return n==="window"?window:n==="document"?a:n==="body"?a.body:null}getBaseHref(a){let n=xQ();return n==null?null:EQ(n)}resetBaseElement(){bo=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return T_(document.cookie,a)}},bo=null;function xQ(){return bo=bo||document.head.querySelector("base"),bo?bo.getAttribute("href"):null}function EQ(e){return new URL(e,document.baseURI).pathname}var SQ=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),kQ=(()=>{const t=class t extends A_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Kf=["alt","control","meta","shift"],CQ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},DQ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},IQ=(()=>{const t=class t extends A_{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let l=t.parseEventName(r),u=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>So().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),l="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),l="code."),Kf.forEach(d=>{let m=r.indexOf(d);m>-1&&(r.splice(m,1),l+=d+".")}),l+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=l,c}static matchEventFullKeyCode(n,r){let i=CQ[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Kf.forEach(l=>{if(l!==i){let u=DQ[l];u(n)&&(o+=l+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function TQ(e){return iK(RQ(e))}function RQ(e){return{appProviders:[...PQ,...(e==null?void 0:e.providers)??[]],platformProviders:AQ}}function OQ(){wQ.makeCurrent()}function MQ(){return new Yn}function NQ(){return l8(document),document}var AQ=[{provide:xu,useValue:R_},{provide:qb,useValue:OQ,multi:!0},{provide:Ve,useFactory:NQ}],PQ=[{provide:Lh,useValue:"root"},{provide:Yn,useFactory:MQ},{provide:Fd,useClass:kQ,multi:!0,deps:[Ve]},{provide:Fd,useClass:IQ,multi:!0,deps:[Ve]},Vd,P_,N_,{provide:Kn,useExisting:Vd},{provide:M_,useClass:SQ},[]],Hp=class{},V_=class{},Li=class ml{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
19
|
-
`).forEach(a=>{let n=a.indexOf(":");if(n>0){let r=a.slice(0,n),i=a.slice(n+1).trim();this.addHeaderEntry(r,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((a,n)=>{this.addHeaderEntry(n,a)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([a,n])=>{this.setHeaderEntries(a,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let a=this.headers.get(t.toLowerCase());return a&&a.length>0?a[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,a){return this.clone({name:t,value:a,op:"a"})}set(t,a){return this.clone({name:t,value:a,op:"s"})}delete(t,a){return this.clone({name:t,value:a,op:"d"})}maybeSetNormalizedName(t,a){this.normalizedNames.has(a)||this.normalizedNames.set(a,t)}init(){this.lazyInit&&(this.lazyInit instanceof ml?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(a=>{this.headers.set(a,t.headers.get(a)),this.normalizedNames.set(a,t.normalizedNames.get(a))})}clone(t){let a=new ml;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof ml?this.lazyInit:this,a.lazyUpdate=(this.lazyUpdate||[]).concat([t]),a}applyUpdate(t){let a=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,a);let r=(t.op==="a"?this.headers.get(a):void 0)||[];r.push(...n),this.headers.set(a,r);break;case"d":let i=t.value;if(!i)this.headers.delete(a),this.normalizedNames.delete(a);else{let o=this.headers.get(a);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(a),this.normalizedNames.delete(a)):this.headers.set(a,o)}break}}addHeaderEntry(t,a){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(a):this.headers.set(n,[a])}setHeaderEntries(t,a){let n=(Array.isArray(a)?a:[a]).map(i=>i.toString()),r=t.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(a=>t(this.normalizedNames.get(a),this.headers.get(a)))}},LQ=class{encodeKey(e){return Qf(e)}encodeValue(e){return Qf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function FQ(e,t){let a=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let r=n.indexOf("="),[i,o]=r==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,r)),t.decodeValue(n.slice(r+1))],l=a.get(i)||[];l.push(o),a.set(i,l)}),a}var jQ=/%(\d[a-f0-9])/gi,VQ={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qf(e){return encodeURIComponent(e).replace(jQ,(t,a)=>VQ[a]??t)}function Hs(e){return`${e}`}var _i=class z_{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new LQ,t.fromString){if(t.fromObject)throw new G(2805,!1);this.map=FQ(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(a=>{let n=t.fromObject[a],r=Array.isArray(n)?n.map(Hs):[Hs(n)];this.map.set(a,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let a=this.map.get(t);return a?a[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,a){return this.clone({param:t,value:a,op:"a"})}appendAll(t){let a=[];return Object.keys(t).forEach(n=>{let r=t[n];Array.isArray(r)?r.forEach(i=>{a.push({param:n,value:i,op:"a"})}):a.push({param:n,value:r,op:"a"})}),this.clone(a)}set(t,a){return this.clone({param:t,value:a,op:"s"})}delete(t,a){return this.clone({param:t,value:a,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let a=this.encoder.encodeKey(t);return this.map.get(t).map(n=>a+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let a=new z_({encoder:this.encoder});return a.cloneFrom=this.cloneFrom||this,a.updates=(this.updates||[]).concat(t),a}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let a=(t.op==="a"?this.map.get(t.param):void 0)||[];a.push(Hs(t.value)),this.map.set(t.param,a);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],r=n.indexOf(Hs(t.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},zQ=class{constructor(){s(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function BQ(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Jf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Xf(e){return typeof Blob<"u"&&e instanceof Blob}function eg(e){return typeof FormData<"u"&&e instanceof FormData}function HQ(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var tg="Content-Type",ng="Accept",B_="X-Request-URL",H_="text/plain",q_="application/json",qQ=`${q_}, ${H_}, */*`,_c=class $_{constructor(t,a,n,r){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=a,this.method=t.toUpperCase();let i;if(BQ(this.method)||r?(this.body=n!==void 0?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??(this.headers=new Li),this.context??(this.context=new zQ),!this.params)this.params=new _i,this.urlWithParams=a;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=a;else{let l=a.indexOf("?"),u=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Jf(this.body)||Xf(this.body)||eg(this.body)||HQ(this.body)?this.body:this.body instanceof _i?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||eg(this.body)?null:Xf(this.body)?this.body.type||null:Jf(this.body)?null:typeof this.body=="string"?H_:this.body instanceof _i?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?q_:null}clone(t={}){let a=t.method||this.method,n=t.url||this.url,r=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 $_(a,n,o,{params:d,headers:c,context:m,reportProgress:u,responseType:r,withCredentials:l,transferCache:i})}},wi=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(wi||{}),qp=class{constructor(e,t=200,a="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Li,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||a,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},$Q=class G_ extends qp{constructor(a={}){super(a);s(this,"type",wi.ResponseHeader)}clone(a={}){return new G_({headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},U_=class W_ extends qp{constructor(a={}){super(a);s(this,"body");s(this,"type",wi.Response);this.body=a.body!==void 0?a.body:null}clone(a={}){return new W_({body:a.body!==void 0?a.body:this.body,headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},ag=class extends qp{constructor(t){super(t,0,"Unknown Error");s(this,"name","HttpErrorResponse");s(this,"message");s(this,"error");s(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},GQ=200,UQ=204;function wc(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var eo=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,r,i={}){let o;if(n instanceof _c)o=n;else{let c;i.headers instanceof Li?c=i.headers:c=new Li(i.headers);let d;i.params&&(i.params instanceof _i?d=i.params:d=new _i({fromObject:i.params})),o=new _c(n,r,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=et(o).pipe(_0(c=>this.handler.handle(c)));if(n instanceof _c||i.observe==="events")return l;let u=l.pipe(Cn(c=>c instanceof U_));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(Pt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new G(2806,!1);return c.body}));case"blob":return u.pipe(Pt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new G(2807,!1);return c.body}));case"text":return u.pipe(Pt(c=>{if(c.body!==null&&typeof c.body!="string")throw new G(2808,!1);return c.body}));case"json":default:return u.pipe(Pt(c=>c.body))}case"response":return u;default:throw new G(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new _i().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,wc(i,r))}post(n,r,i={}){return this.request("POST",n,wc(i,r))}put(n,r,i={}){return this.request("PUT",n,wc(i,r))}};s(t,"ɵfac",function(n){return new(n||t)(oe(Hp))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),WQ=new K("");function ZQ(e,t){return t(e)}function YQ(e,t,a){return(n,r)=>jh(a,()=>t(n,i=>e(i,r)))}var $p=new K(""),KQ=new K(""),QQ=new K("",{providedIn:"root",factory:()=>!0}),rg=(()=>{const t=class t extends Hp{constructor(r,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",S(cs));s(this,"contributeToStability",S(QQ));this.backend=r,this.injector=i}handle(r){if(this.chain===null){let i=Array.from(new Set([...this.injector.get($p),...this.injector.get(KQ,[])]));this.chain=i.reduceRight((o,l)=>YQ(o,l,this.injector),ZQ)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(w0(()=>this.pendingTasks.remove(i)))}else return this.chain(r,i=>this.backend.handle(i))}};s(t,"ɵfac",function(r){return new(r||t)(oe(V_),oe(ca))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),JQ=/^\)\]\}',?\n/,XQ=RegExp(`^${B_}:`,"m");function eJ(e){return"responseURL"in e&&e.responseURL?e.responseURL:XQ.test(e.getAllResponseHeaders())?e.getResponseHeader(B_):null}var ig=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new G(-2800,!1);let r=this.xhrFactory;return(r.ɵloadImpl?Gr(r.ɵloadImpl()):et(null)).pipe(El(()=>new mt(i=>{let o=r.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,k)=>o.setRequestHeader(x,k.join(","))),n.headers.has(ng)||o.setRequestHeader(ng,qQ),!n.headers.has(tg)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(tg,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let x=o.statusText||"OK",k=new Li(o.getAllResponseHeaders()),D=eJ(o)||n.url;return u=new $Q({headers:k,status:o.status,statusText:x,url:D}),u},d=()=>{let{headers:x,status:k,statusText:D,url:O}=c(),M=null;k!==UQ&&(M=typeof o.response>"u"?o.responseText:o.response),k===0&&(k=M?GQ:0);let X=k>=200&&k<300;if(n.responseType==="json"&&typeof M=="string"){let ue=M;M=M.replace(JQ,"");try{M=M!==""?JSON.parse(M):null}catch(we){M=ue,X&&(X=!1,M={error:we,text:M})}}X?(i.next(new U_({body:M,headers:x,status:k,statusText:D,url:O||void 0})),i.complete()):i.error(new ag({error:M,headers:x,status:k,statusText:D,url:O||void 0}))},m=x=>{let{url:k}=c(),D=new ag({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:k||void 0});i.error(D)},v=!1,g=x=>{v||(i.next(c()),v=!0);let k={type:wi.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),n.responseType==="text"&&o.responseText&&(k.partialText=o.responseText),i.next(k)},w=x=>{let k={type:wi.UploadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),i.next(k)};return o.addEventListener("load",d),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(l),i.next({type:wi.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",d),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",w)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(oe(M_))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Z_=new K(""),tJ="XSRF-TOKEN",nJ=new K("",{providedIn:"root",factory:()=>tJ}),aJ="X-XSRF-TOKEN",rJ=new K("",{providedIn:"root",factory:()=>aJ}),Y_=class{},iJ=(()=>{const t=class t{constructor(n,r){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=T_(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(nJ))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function oJ(e,t){let a=e.url.toLowerCase();if(!S(Z_)||e.method==="GET"||e.method==="HEAD"||a.startsWith("http://")||a.startsWith("https://"))return t(e);let n=S(Y_).getToken(),r=S(rJ);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var K_=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}(K_||{});function sJ(e,t){return{ɵkind:e,ɵproviders:t}}function lJ(...e){let t=[eo,ig,rg,{provide:Hp,useExisting:rg},{provide:V_,useFactory:()=>S(WQ,{optional:!0})??S(ig)},{provide:$p,useValue:oJ,multi:!0},{provide:Z_,useValue:!0},{provide:Y_,useClass:iJ}];for(let a of e)t.push(...a.ɵproviders);return Ah(t)}function uJ(e){return sJ(K_.Interceptors,e.map(t=>({provide:$p,useValue:t,multi:!0})))}var Q_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=oe(cJ),r},providedIn:"root"}));let e=t;return e})(),cJ=(()=>{const t=class t extends Q_{constructor(r){super();s(this,"_doc");this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case Sn.NONE:return i;case Sn.HTML:return ii(i,"HTML")?Qa(i):Z8(this._doc,String(i)).toString();case Sn.STYLE:return ii(i,"Style")?Qa(i):i;case Sn.SCRIPT:if(ii(i,"Script"))return Qa(i);throw new G(5200,!1);case Sn.URL:return ii(i,"URL")?Qa(i):up(String(i));case Sn.RESOURCE_URL:if(ii(i,"ResourceURL"))return Qa(i);throw new G(5201,!1);default:throw new G(5202,!1)}}bypassSecurityTrustHtml(r){return k8(r)}bypassSecurityTrustStyle(r){return C8(r)}bypassSecurityTrustScript(r){return D8(r)}bypassSecurityTrustUrl(r){return I8(r)}bypassSecurityTrustResourceUrl(r){return T8(r)}};s(t,"ɵfac",function(r){return new(r||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bs=class{},dJ=(()=>{const t=class t extends bs{getTranslation(n){return et({})}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),J_=class{},hJ=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Hl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let a=typeof e,n=typeof t,r,i,o;if(a==n&&a=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(i=0;i<r;i++)if(!Hl(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!Hl(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!(i in o)&&typeof t[i]<"u")return!1;return!0}return!1}function tr(e){return typeof e<"u"&&e!==null}function ys(e){return fl(e)&&!Gp(e)&&e!==null}function fl(e){return typeof e=="object"}function Gp(e){return Array.isArray(e)}function Up(e){return typeof e=="string"}function pJ(e){return typeof e=="function"}function Bd(e,t){let a=Object.assign({},e);return fl(e)?(fl(e)&&fl(t)&&Object.keys(t).forEach(n=>{ys(t[n])?n in e?a[n]=Bd(e[n],t[n]):Object.assign(a,{[n]:t[n]}):Object.assign(a,{[n]:t[n]})}),a):Bd({},t)}function Hd(e,t){let a=t.split(".");t="";do t+=a.shift(),tr(e)&&tr(e[t])&&(ys(e[t])||Gp(e[t])||!a.length)?(e=e[t],t=""):a.length?t+=".":e=void 0;while(a.length);return e}function mJ(e,t,a){let n=t.split("."),r=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?r[o]=a:((!r[o]||!ys(r[o]))&&(r[o]={}),r=r[o])}}var Wp=class{},fJ=(()=>{const t=class t extends Wp{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(r,i){if(Up(r))return this.interpolateString(r,i);if(pJ(r))return this.interpolateFunction(r,i)}interpolateFunction(r,i){return r(i)}interpolateString(r,i){return i?r.replace(this.templateMatcher,(o,l)=>{let u=Hd(i,l);return tr(u)?u:o}):r}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),_s=class{},gJ=(()=>{const t=class t extends _s{compile(n,r){return n}compileTranslations(n,r){return n}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),qd=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new ot);s(this,"onLangChange",new ot);s(this,"onDefaultLangChange",new ot)}},X_=new K("ISOLATE_TRANSLATE_SERVICE"),e1=new K("USE_DEFAULT_LANG"),t1=new K("DEFAULT_LANGUAGE"),n1=new K("USE_EXTEND"),lo=e=>vi(e)?e:et(e),Jn=(()=>{const t=class t{constructor(n,r,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=r,this.compiler=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=u,this.extend=d,c&&(this.store=new qd),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 r=this.retrieveTranslations(n);typeof r<"u"?(this.defaultLang==null&&(this.defaultLang=n),r.pipe(mn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return et(this.translations[n]);this.currentLang||(this.currentLang=n);let r=this.retrieveTranslations(n);return vi(r)?(r.pipe(mn(1)).subscribe(()=>{this.changeLang(n)}),r):(this.changeLang(n),et(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 r=this.currentLoader.getTranslation(n).pipe(qm(1),mn(1));return this.loadingTranslations=r.pipe(Pt(i=>this.compiler.compileTranslations(i,n)),qm(1),mn(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}}),r}setTranslation(n,r,i=!1){let o=this.compiler.compileTranslations(r,n);(i||this.extend)&&this.translations[n]?this.translations[n]=Bd(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 r=n.filter(i=>!this.langs.includes(i));r.length>0&&(this.langs=[...this.langs,...r])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,r,i){let o;if(n&&(o=this.runInterpolation(Hd(n,r),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Hd(this.translations[this.defaultLang],r),i)),o===void 0){let l={key:r,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:r}runInterpolation(n,r){if(Gp(n))return n.map(i=>this.runInterpolation(i,r));if(ys(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],r);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,r)}getParsedResult(n,r,i){if(r instanceof Array){let o={},l=!1;for(let c of r)o[c]=this.getParsedResultForKey(n,c,i),l=l||vi(o[c]);if(!l)return o;let u=r.map(c=>lo(o[c]));return b0(u).pipe(Pt(c=>{let d={};return c.forEach((m,v)=>{d[r[v]]=m}),d}))}return this.getParsedResultForKey(n,r,i)}get(n,r){if(!tr(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(_0(i=>lo(this.getParsedResult(i,n,r)))):lo(this.getParsedResult(this.translations[this.currentLang],n,r))}getStreamOnTranslationChange(n,r){if(!tr(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Mo(xl(()=>this.get(n,r)),this.onTranslationChange.pipe(El(i=>{let o=this.getParsedResult(i.translations,n,r);return lo(o)})))}stream(n,r){if(!tr(n)||!n.length)throw new Error('Parameter "key" required');return Mo(xl(()=>this.get(n,r)),this.onLangChange.pipe(El(i=>{let o=this.getParsedResult(i.translations,n,r);return lo(o)})))}instant(n,r){if(!tr(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,r);return vi(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,r,i=this.currentLang){mJ(this.translations[i],n,Up(r)?this.compiler.compile(r,i):this.compiler.compileTranslations(r,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(qd),oe(bs),oe(_s),oe(Wp),oe(J_),oe(e1),oe(X_),oe(n1),oe(t1))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),fr=(()=>{const t=class t{constructor(n,r){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=r}updateValue(n,r,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,r);vi(l)?l.subscribe(o):o(l)}this.translate.get(n,r).subscribe(o)}transform(n,...r){if(!n||!n.length)return n;if(Hl(n,this.lastKey)&&Hl(r,this.lastParams))return this.value;let i;if(tr(r[0])&&r.length)if(Up(r[0])&&r[0].length){let o=r[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: ${r[0]}`)}}else ys(r[0])&&(i=r[0]);return this.lastKey=n,this.lastParams=r,this.updateValue(n,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)(Zt(Jn,16),Zt(ya,16))}),s(t,"ɵpipe",va({name:"translate",type:t,pure:!1})),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),vJ=(e={})=>Ah([e.loader||{provide:bs,useClass:dJ},e.compiler||{provide:_s,useClass:gJ},e.parser||{provide:Wp,useClass:fJ},e.missingTranslationHandler||{provide:J_,useClass:hJ},qd,{provide:X_,useValue:e.isolate},{provide:e1,useValue:e.useDefaultLang},{provide:n1,useValue:e.extend},{provide:t1,useValue:e.defaultLanguage},Jn]);function a1(e){return e.buttons===0||e.detail===0}function r1(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var xc;function bJ(){if(xc==null){let e=typeof document<"u"?document.head:null;xc=!!(e&&(e.createShadowRoot||e.attachShadow))}return xc}function yJ(e){if(bJ()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ec(){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 Va(e){return e.composedPath?e.composedPath()[0]:e.target}function nr(e,t,a,n,r){let i=parseInt(Lf.major),o=parseInt(Lf.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,a,n,r):(t.addEventListener(a,n,r),()=>{t.removeEventListener(a,n,r)})}var $d;try{$d=typeof Intl<"u"&&Intl.v8BreakIterator}catch{$d=!1}var hn=(()=>{const t=class t{constructor(){s(this,"_platformId",S(xu));s(this,"isBrowser",this._platformId?hQ(this._platformId):typeof document=="object"&&!!document);s(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));s(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));s(this,"BLINK",this.isBrowser&&!!(window.chrome||$d)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);s(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);s(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));s(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));s(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);s(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),uo;function _J(){if(uo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>uo=!0}))}finally{uo=uo||!1}return uo}function Zp(e){return _J()?e:!!e.capture}function og(e,t=0){return i1(e)?Number(e):arguments.length===2?t:0}function i1(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function xi(e){return e instanceof Qe?e.nativeElement:e}var wJ=new K("cdk-input-modality-detector-options"),xJ={ignoreKeys:[18,17,224,91,16]},o1=650,Sc={passive:!0,capture:!0},EJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(hn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new Ar(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var r,i;(i=(r=this._options)==null?void 0:r.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Va(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<o1||(this._modality.next(a1(n)?"keyboard":"mouse"),this._mostRecentTarget=Va(n))});s(this,"_onTouchstart",n=>{if(r1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Va(n)});let n=S(He),r=S(Ve),i=S(wJ,{optional:!0});if(this._options=ce(ce({},xJ),i),this.modalityDetected=this._modality.pipe(E0(1)),this.modalityChanged=this.modalityDetected.pipe(g6()),this._platform.isBrowser){let o=S(Kn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[nr(o,r,"keydown",this._onKeydown,Sc),nr(o,r,"mousedown",this._onMousedown,Sc),nr(o,r,"touchstart",this._onTouchstart,Sc)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(r=>r())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),gl=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(gl||{}),SJ=new K("cdk-focus-monitor-default-options"),qs=Zp({passive:!0,capture:!0}),Fu=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(He));s(this,"_platform",S(hn));s(this,"_inputModalityDetector",S(EJ));s(this,"_origin",null);s(this,"_lastFocusOrigin");s(this,"_windowFocused",!1);s(this,"_windowFocusTimeoutId");s(this,"_originTimeoutId");s(this,"_originFromTouchInteraction",!1);s(this,"_elementInfo",new Map);s(this,"_monitoredElementCount",0);s(this,"_rootNodeFocusListenerCount",new Map);s(this,"_detectionMode");s(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});s(this,"_document",S(Ve,{optional:!0}));s(this,"_stopInputModalityDetector",new ve);s(this,"_rootNodeFocusAndBlurListener",n=>{let r=Va(n);for(let i=r;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=S(SJ,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||gl.IMMEDIATE}monitor(n,r=!1){let i=xi(n);if(!this._platform.isBrowser||i.nodeType!==1)return et();let o=yJ(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return r&&(l.checkChildren=!0),l.subject;let u={checkChildren:r,subject:new ve,rootNode:o};return this._elementInfo.set(i,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let r=xi(n),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(n,r,i){let o=xi(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,r,c)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===gl.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===gl.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?o1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,r){let i=this._elementInfo.get(r),o=Va(n);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(n,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,qs),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,qs)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ir(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qs),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qs),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,i){this._setClasses(n,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===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(r))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$s=new WeakMap,gr=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",S(ht));s(this,"_environmentInjector",S(ca))}load(n){let r=this._appRef=this._appRef||this._injector.get(ur),i=$s.get(r);i||(i={loaders:new Set,refs:[]},$s.set(r,i),r.onDestroy(()=>{var o;(o=$s.get(r))==null||o.refs.forEach(l=>l.destroy()),$s.delete(r)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(y_(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})(),s1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
20
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function ql(e){return Array.isArray(e)?e:[e]}var sg=new Set,wr,kJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(hn));s(this,"_nonce",S(ip,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):DJ}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&CJ(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 CJ(e,t){if(!sg.has(e))try{wr||(wr=document.createElement("style"),t&&wr.setAttribute("nonce",t),wr.setAttribute("type","text/css"),document.head.appendChild(wr)),wr.sheet&&(wr.sheet.insertRule(`@media ${e} {body{ }}`,0),sg.add(e))}catch(a){console.error(a)}}function DJ(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var l1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",S(kJ));s(this,"_zone",S(He));s(this,"_queries",new Map);s(this,"_destroySubject",new ve)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return lg(ql(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let r=lg(ql(n)).map(o=>this._registerQuery(o).observable),i=il(r);return i=Mo(i.pipe(mn(1)),i.pipe(E0(1),f6(0))),i.pipe(Pt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),i={observable:new mt(o=>{let l=u=>this._zone.run(()=>o.next(u));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(du(r),Pt(({matches:o})=>({query:n,matches:o})),ir(this._destroySubject)),mql:r};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function lg(e){return e.map(t=>t.split(",")).reduce((t,a)=>t.concat(a)).map(t=>t.trim())}var IJ=(()=>{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})(),TJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[IJ]}));let e=t;return e})(),u1=(()=>{const t=class t{constructor(){s(this,"_platform",S(hn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return OJ(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=RJ(VJ(n));if(r&&(ug(r)===-1||!this.isVisible(r)))return!1;let i=n.nodeName.toLowerCase(),o=ug(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!FJ(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,r){return jJ(n)&&!this.isDisabled(n)&&((r==null?void 0:r.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 RJ(e){try{return e.frameElement}catch{return null}}function OJ(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function MJ(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function NJ(e){return PJ(e)&&e.type=="hidden"}function AJ(e){return LJ(e)&&e.hasAttribute("href")}function PJ(e){return e.nodeName.toLowerCase()=="input"}function LJ(e){return e.nodeName.toLowerCase()=="a"}function c1(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function ug(e){if(!c1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function FJ(e){let t=e.nodeName.toLowerCase(),a=t==="input"&&e.type;return a==="text"||a==="password"||t==="select"||t==="textarea"}function jJ(e){return NJ(e)?!1:MJ(e)||AJ(e)||e.hasAttribute("contenteditable")||c1(e)}function VJ(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var zJ=class{constructor(e,t,a,n,r=!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=a,this._document=n,this._injector=i,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let a=this._getFirstTabbableElement(t);return a==null||a.focus(e),!!a}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let a=0;a<t.length;a++){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[a]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let a=t.length-1;a>=0;a--){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[a]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Eu(e,{injector:this._injector}):setTimeout(e)}},BJ=(()=>{const t=class t{constructor(){s(this,"_checker",S(u1));s(this,"_ngZone",S(He));s(this,"_document",S(Ve));s(this,"_injector",S(ht));S(gr).load(s1)}create(n,r=!1){return new zJ(n,this._checker,this._ngZone,this._document,r,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})(),HJ=new K("liveAnnouncerElement",{providedIn:"root",factory:qJ});function qJ(){return null}var $J=new K("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),GJ=0,UJ=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(He));s(this,"_defaultOptions",S($J,{optional:!0}));s(this,"_liveElement");s(this,"_document",S(Ve));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=S(HJ,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...r){let i=this._defaultOptions,o,l;return r.length===1&&typeof r[0]=="number"?l=r[0]:[o,l]=r,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,r;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(r=this._currentResolve)==null||r.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[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-${GJ++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<r.length;i++){let o=r[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})(),Dr=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}(Dr||{}),cg="cdk-high-contrast-black-on-white",dg="cdk-high-contrast-white-on-black",kc="cdk-high-contrast-active",d1=(()=>{const t=class t{constructor(){s(this,"_platform",S(hn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",S(Ve));s(this,"_breakpointSubscription");this._breakpointSubscription=S(l1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Dr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.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 Dr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Dr.BLACK_ON_WHITE}return Dr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(kc,cg,dg),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Dr.BLACK_ON_WHITE?n.add(kc,cg):r===Dr.WHITE_ON_BLACK&&n.add(kc,dg)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),WJ=(()=>{const t=class t{constructor(){S(d1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[TJ]}));let e=t;return e})(),Cc={},Qr=(()=>{const t=class t{constructor(){s(this,"_appId",S(wu))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Cc.hasOwnProperty(n)||(Cc[n]=0),`${n}${Cc[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 Yp(e,...t){return t.length?t.some(a=>e[a]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var h1=" ";function ZJ(e,t,a){let n=$l(e,t);a=a.trim(),!n.some(r=>r.trim()===a)&&(n.push(a),e.setAttribute(t,n.join(h1)))}function YJ(e,t,a){let n=$l(e,t);a=a.trim();let r=n.filter(i=>i!==a);r.length?e.setAttribute(t,r.join(h1)):e.removeAttribute(t)}function $l(e,t){var a;return((a=e.getAttribute(t))==null?void 0:a.match(/\S+/g))??[]}var p1="cdk-describedby-message",Gs="cdk-describedby-host",Gd=0,KJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(hn));s(this,"_document",S(Ve));s(this,"_messageRegistry",new Map);s(this,"_messagesContainer",null);s(this,"_id",`${Gd++}`);S(gr).load(s1),this._id=S(wu)+"-"+Gd++}describe(n,r,i){if(!this._canBeDescribed(n,r))return;let o=Dc(r,i);typeof r!="string"?(hg(r,this._id),this._messageRegistry.set(o,{messageElement:r,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(r,i),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o)}removeDescription(n,r,i){var l;if(!r||!this._isElementNode(n))return;let o=Dc(r,i);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),typeof r=="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 r;let n=this._document.querySelectorAll(`[${Gs}="${this._id}"]`);for(let i=0;i<n.length;i++)this._removeCdkDescribedByReferenceIds(n[i]),n[i].removeAttribute(Gs);(r=this._messagesContainer)==null||r.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let i=this._document.createElement("div");hg(i,this._id),i.textContent=n,r&&i.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(Dc(n,r),{messageElement:i,referenceCount:0})}_deleteMessageElement(n){var r,i;(i=(r=this._messageRegistry.get(n))==null?void 0:r.messageElement)==null||i.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let o=0;o<r.length;o++)r[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 r=$l(n,"aria-describedby").filter(i=>i.indexOf(p1)!=0);n.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(n,r){let i=this._messageRegistry.get(r);ZJ(n,"aria-describedby",i.messageElement.id),n.setAttribute(Gs,this._id),i.referenceCount++}_removeMessageReference(n,r){let i=this._messageRegistry.get(r);i.referenceCount--,YJ(n,"aria-describedby",i.messageElement.id),n.removeAttribute(Gs)}_isElementDescribedByMessage(n,r){let i=$l(n,"aria-describedby"),o=this._messageRegistry.get(r),l=o&&o.messageElement.id;return!!l&&i.indexOf(l)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r=="object")return!0;let i=r==null?"":`${r}`.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 Dc(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function hg(e,t){e.id||(e.id=`${p1}-${t}-${Gd++}`)}var QJ=new K("cdk-dir-doc",{providedIn:"root",factory:JJ});function JJ(){return S(Ve)}var XJ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function eX(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?XJ.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Ho=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new ot);let n=S(QJ,{optional:!0});if(n){let r=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=eX(r||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qo=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),ma=(()=>{const t=class t{constructor(){S(d1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[qo,qo]}));let e=t;return e})(),Ud=new K("MAT_DATE_LOCALE",{providedIn:"root",factory:tX});function tX(){return S(Nu)}var ai="Method not implemented",m1=class{constructor(){s(this,"locale");s(this,"_localeChanges",new ve);s(this,"localeChanges",this._localeChanges)}setTime(e,t,a,n){throw new Error(ai)}getHours(e){throw new Error(ai)}getMinutes(e){throw new Error(ai)}getSeconds(e){throw new Error(ai)}parseTime(e,t){throw new Error(ai)}addSeconds(e,t){throw new Error(ai)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareDate(e,t):a==n}return e==t}sameTime(e,t){if(e&&t){let a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareTime(e,t):a==n}return e==t}clampDate(e,t,a){return t&&this.compareDate(e,t)<0?t:a&&this.compareDate(e,a)>0?a:e}},nX=new K("mat-date-formats"),Kp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},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})(),ra=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(ra||{}),Us,xr;function f1(){if(xr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return xr=!1,xr;if("scrollBehavior"in document.documentElement.style)xr=!0;else{let e=Element.prototype.scrollTo;e?xr=!/\{\s*\[native code\]\s*\}/.test(e.toString()):xr=!1}}return xr}function co(){if(typeof document!="object"||!document)return ra.NORMAL;if(Us==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let a=document.createElement("div"),n=a.style;n.width="2px",n.height="1px",e.appendChild(a),document.body.appendChild(e),Us=ra.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Us=e.scrollLeft===0?ra.NEGATED:ra.INVERTED),e.remove()}return Us}function pg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Tt(e){return e==null?"":typeof e=="string"?e:`${e}px`}var Mn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Mn||{}),aX=class{constructor(e,t,a,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",Mn.HIDDEN);this._renderer=e,this.element=t,this.config=a,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},mg=Zp({passive:!0,capture:!0}),rX=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var a;let t=Va(e);t&&((a=this._events.get(e.type))==null||a.forEach((n,r)=>{(r===t||r.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,a,n){let r=this._events.get(t);if(r){let i=r.get(a);i?i.add(n):r.set(a,new Set([n]))}else this._events.set(t,new Map([[a,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,mg)})}removeHandler(e,t,a){let n=this._events.get(e);if(!n)return;let r=n.get(t);r&&(r.delete(a),r.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,mg)))}},Gl={enterDuration:225,exitDuration:150},iX=800,fg=Zp({passive:!0,capture:!0}),gg=["mousedown","touchstart"],vg=["mouseup","mouseleave","touchend","touchcancel"],oX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},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})(),ar,sX=(ar=class{constructor(t,a,n,r,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=a,this._platform=r,r.isBrowser&&(this._containerElement=xi(n)),i&&i.get(gr).load(oX)}fadeInRipple(t,a,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=ce(ce({},Gl),n.animation);n.centered&&(t=r.left+r.width/2,a=r.top+r.height/2);let o=n.radius||lX(t,a,r),l=t-r.left,u=a-r.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"||r.width===0&&r.height===0,x=new aX(this,d,n,w);d.style.transform="scale3d(1, 1, 1)",x.state=Mn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let k=null;return!w&&(c||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{k&&(k.fallbackTimer=null),clearTimeout(M),this._finishRippleTransition(x)},O=()=>this._destroyRipple(x),M=setTimeout(O,c+100);d.addEventListener("transitionend",D),d.addEventListener("transitioncancel",O),k={onTransitionEnd:D,onTransitionCancel:O,fallbackTimer:M}}),this._activeRipples.set(x,k),(w||!c)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===Mn.FADING_OUT||t.state===Mn.HIDDEN)return;let a=t.element,n=ce(ce({},Gl),t.config.animation);a.style.transitionDuration=`${n.exitDuration}ms`,a.style.opacity="0",t.state=Mn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let a=xi(t);!this._platform.isBrowser||!a||a===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=a,gg.forEach(n=>{ar._eventManager.addHandler(this._ngZone,n,a,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{vg.forEach(a=>{this._triggerElement.addEventListener(a,this,fg)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Mn.FADING_IN?this._startFadeOutTransition(t):t.state===Mn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let a=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=Mn.VISIBLE,!n&&(!a||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let a=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Mn.HIDDEN,a!==null&&(t.element.removeEventListener("transitionend",a.onTransitionEnd),t.element.removeEventListener("transitioncancel",a.onTransitionCancel),a.fallbackTimer!==null&&clearTimeout(a.fallbackTimer)),t.element.remove()}_onMousedown(t){let a=a1(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+iX;!this._target.rippleDisabled&&!a&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!r1(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let a=t.changedTouches;if(a)for(let n=0;n<a.length;n++)this.fadeInRipple(a[n].clientX,a[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let a=t.state===Mn.VISIBLE||t.config.terminateOnPointerUp&&t.state===Mn.FADING_IN;!t.config.persistent&&a&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(gg.forEach(a=>ar._eventManager.removeHandler(a,t,this)),this._pointerUpEventsRegistered&&(vg.forEach(a=>t.removeEventListener(a,this,fg)),this._pointerUpEventsRegistered=!1))}},s(ar,"_eventManager",new rX),ar);function lX(e,t,a){let n=Math.max(Math.abs(e-a.left),Math.abs(e-a.right)),r=Math.max(Math.abs(t-a.top),Math.abs(t-a.bottom));return Math.sqrt(n*n+r*r)}var uX=new K("mat-ripple-global-options"),cX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,ma]}));let e=t;return e})(),dX={capture:!0},hX=["focus","mousedown","mouseenter","touchstart"],Ic="mat-ripple-loader-uninitialized",Tc="mat-ripple-loader-class-name",bg="mat-ripple-loader-centered",Ws="mat-ripple-loader-disabled",pX=(()=>{const t=class t{constructor(){s(this,"_document",S(Ve));s(this,"_animationMode",S(mr,{optional:!0}));s(this,"_globalRippleOptions",S(uX,{optional:!0}));s(this,"_platform",S(hn));s(this,"_ngZone",S(He));s(this,"_injector",S(ht));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var i;let r=Va(n);if(r instanceof HTMLElement){let o=r.closest(`[${Ic}="${((i=this._globalRippleOptions)==null?void 0:i.namespace)??""}"]`);o&&this._createRipple(o)}});let n=S(Kn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>hX.map(r=>nr(n,this._document,r,this._onInteraction,dX)))}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(n,r){var i;n.setAttribute(Ic,((i=this._globalRippleOptions)==null?void 0:i.namespace)??""),(r.className||!n.hasAttribute(Tc))&&n.setAttribute(Tc,r.className||""),r.centered&&n.setAttribute(bg,""),r.disabled&&n.setAttribute(Ws,"")}setDisabled(n,r){let i=this._hosts.get(n);i?(i.target.rippleDisabled=r,!r&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(n))):r?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 r=this._document.createElement("span");r.classList.add("mat-ripple",n.getAttribute(Tc)),n.append(r);let i=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=i?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Gl.enterDuration,u=i?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??Gl.exitDuration,c={rippleDisabled:i||(o==null?void 0:o.disabled)||n.hasAttribute(Ws),rippleConfig:{centered:n.hasAttribute(bg),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:u}}},d=new sX(c,this._ngZone,r,this._platform,this._injector),m=!c.rippleDisabled;m&&d.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:d,hasSetUpEvents:m}),n.removeAttribute(Ic)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.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})(),mX=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,fX=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Rc(e,t){let a=Array(e);for(let n=0;n<e;n++)a[n]=t(n);return a}var gX=(()=>{const t=class t extends m1{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",S(Ud,{optional:!0}));let r=S(Ud,{optional:!0});r!==void 0&&(this._matDateLocale=r),super.setLocale(this._matDateLocale)}getYear(r){return r.getFullYear()}getMonth(r){return r.getMonth()}getDate(r){return r.getDate()}getDayOfWeek(r){return r.getDay()}getMonthNames(r){let i=new Intl.DateTimeFormat(this.locale,{month:r,timeZone:"utc"});return Rc(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){let r=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Rc(31,i=>this._format(r,new Date(2017,0,i+1)))}getDayOfWeekNames(r){let i=new Intl.DateTimeFormat(this.locale,{weekday:r,timeZone:"utc"});return Rc(7,o=>this._format(i,new Date(2017,0,o+1)))}getYearName(r){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,r)}getFirstDayOfWeek(){var r,i;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((i=((r=o.getWeekInfo)==null?void 0:r.call(o))||o.weekInfo)==null?void 0:i.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(r){return this.getDate(this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+1,0))}clone(r){return new Date(r.getTime())}createDate(r,i,o){let l=this._createDateWithOverflow(r,i,o);return l.getMonth()!=i,l}today(){return new Date}parse(r,i){return typeof r=="number"?new Date(r):r?new Date(Date.parse(r)):null}format(r,i){if(!this.isValid(r))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Qt(ce({},i),{timeZone:"utc"}));return this._format(o,r)}addCalendarYears(r,i){return this.addCalendarMonths(r,i*12)}addCalendarMonths(r,i){let o=this._createDateWithOverflow(this.getYear(r),this.getMonth(r)+i,this.getDate(r));return this.getMonth(o)!=((this.getMonth(r)+i)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(r,i){return this._createDateWithOverflow(this.getYear(r),this.getMonth(r),this.getDate(r)+i)}toIso8601(r){return[r.getUTCFullYear(),this._2digit(r.getUTCMonth()+1),this._2digit(r.getUTCDate())].join("-")}deserialize(r){if(typeof r=="string"){if(!r)return null;if(mX.test(r)){let i=new Date(r);if(this.isValid(i))return i}}return super.deserialize(r)}isDateInstance(r){return r instanceof Date}isValid(r){return!isNaN(r.getTime())}invalid(){return new Date(NaN)}setTime(r,i,o,l){let u=this.clone(r);return u.setHours(i,o,l,0),u}getHours(r){return r.getHours()}getMinutes(r){return r.getMinutes()}getSeconds(r){return r.getSeconds()}parseTime(r,i){if(typeof r!="string")return r instanceof Date?new Date(r.getTime()):null;let o=r.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(r,i){return new Date(r.getTime()+i*1e3)}_createDateWithOverflow(r,i,o){let l=new Date;return l.setFullYear(r,i,o),l.setHours(0,0,0,0),l}_2digit(r){return("00"+r).slice(-2)}_format(r,i){let o=new Date;return o.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),o.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),r.format(o)}_parseTimeString(r){let i=r.toUpperCase().match(fX);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),Oc(o,0,23)&&Oc(l,0,59)&&(u==null||Oc(u,0,59)))return this.setTime(this.today(),o,l,u||0)}return null}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Oc(e,t,a){return!isNaN(e)&&e>=t&&e<=a}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}},$o=class extends Qp{constructor(t,a,n,r,i){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=a,this.injector=n,this.projectableNodes=i}},ju=class extends Qp{constructor(t,a,n,r){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=a,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,a=this.context){return this.context=a,super.attach(t)}detach(){return this.context=void 0,super.detach()}},vX=class extends Qp{constructor(t){super();s(this,"element");this.element=t instanceof Qe?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 $o)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof ju)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof vX)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)}},bX=class extends Vu{constructor(t,a,n,r,i){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let a=t.element;a.parentNode;let n=this._document.createComment("dom-portal");a.parentNode.insertBefore(n,a),this.outletElement.appendChild(a),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(a,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=r,this._document=i}attachComponentPortal(t){let a;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,r=n.get(jo,null,{optional:!0})||void 0;a=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:r,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>a.destroy())}else{let n=this._appRef,r=t.injector||this._defaultInjector||ht.NULL,i=r.get(ca,n.injector);a=y_(t.component,{elementInjector:r,environmentInjector:i,projectableNodes:t.projectableNodes||void 0}),n.attachView(a.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(a.hostView),a.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(a)),this._attachedPortal=t,a}attachTemplatePortal(t){let a=t.viewContainerRef,n=a.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=a.indexOf(n);r!==-1&&a.remove(r)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Fi=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_moduleRef",S(jo,{optional:!0}));s(this,"_document",S(Ve));s(this,"_viewContainerRef",S(jn));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new ot);s(this,"attachDomPortal",r=>{let i=r.element;i.parentNode;let o=this._document.createComment("dom-portal");r.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._getRootNode().appendChild(i),this._attachedPortal=r,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(i,o)})})}get portal(){return this._attachedPortal}set portal(r){this.hasAttached()&&!r&&!this._isInitialized||(this.hasAttached()&&super.detach(),r&&super.attach(r),this._attachedPortal=r||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(r){r.setAttachedHost(this);let i=r.viewContainerRef!=null?r.viewContainerRef:this._viewContainerRef,o=i.createComponent(r.component,{index:i.length,injector:r.injector||i.injector,projectableNodes:r.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=r,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(r){r.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=r,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let r=this._viewContainerRef.element.nativeElement;return r.nodeType===r.ELEMENT_NODE?r:r.parentNode}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ye]}));let e=t;return e})(),Go=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),yX=class{};function Mc(e){return e&&typeof e.connect=="function"&&!(e instanceof O$)}var ko=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(ko||{}),Wd=new K("_ViewRepeater"),_X=20,g1=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(He));s(this,"_platform",S(hn));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new ve);s(this,"_scrolledCount",0);s(this,"scrollContainers",new Map)}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=_X){return this._platform.isBrowser?new mt(r=>{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(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{var o;i.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):et()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((r,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,r){let i=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Cn(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,n)&&r.push(o)}),r}_scrollableContainsElement(n,r){let i=xi(r),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})(),wX=(()=>{const t=class t{constructor(){s(this,"elementRef",S(Qe));s(this,"scrollDispatcher",S(g1));s(this,"ngZone",S(He));s(this,"dir",S(Ho,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new ve);s(this,"_renderer",S(Kr));s(this,"_cleanupScroll");s(this,"_elementScrolled",new ve)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",n=>this._elementScrolled.next(n))),this.scrollDispatcher.register(this)}ngOnDestroy(){var n;(n=this._cleanupScroll)==null||n.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let r=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=r.scrollHeight-r.clientHeight-n.bottom),i&&co()!=ra.NORMAL?(n.left!=null&&(n.right=r.scrollWidth-r.clientWidth-n.left),co()==ra.INVERTED?n.left=n.right:co()==ra.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=r.scrollWidth-r.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let r=this.elementRef.nativeElement;f1()?r.scrollTo(n):(n.top!=null&&(r.scrollTop=n.top),n.left!=null&&(r.scrollLeft=n.left))}measureScrollOffset(n){let r="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:r:n=="end"&&(n=l?r:i),l&&co()==ra.INVERTED?n==r?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&co()==ra.NEGATED?n==r?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==r?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),xX=20,Jp=(()=>{const t=class t{constructor(){s(this,"_platform",S(hn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new ve);s(this,"_document",S(Ve,{optional:!0}));let n=S(He),r=S(Kn).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[r.listen("window","resize",i),r.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var n;(n=this._listeners)==null||n.forEach(r=>r()),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:r,height:i}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+i,right:n.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect(),l=-o.top||n.body.scrollTop||r.scrollY||i.scrollTop||0,u=-o.left||n.body.scrollLeft||r.scrollX||i.scrollLeft||0;return{top:l,left:u}}change(n=xX){return n>0?this._change.pipe(y0(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),yg=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),Zd=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[qo,yg,qo,yg]}));let e=t;return e})(),_g=f1(),EX=class{constructor(e,t){s(this,"_viewportRuler");s(this,"_previousHTMLStyles",{top:"",left:""});s(this,"_previousScrollPosition");s(this,"_isEnabled",!1);s(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Tt(-this._previousScrollPosition.left),e.style.top=Tt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,a=e.style,n=t.style,r=a.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,a.left=this._previousHTMLStyles.left,a.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),_g&&(a.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_g&&(a.scrollBehavior=r,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}},SX=class{constructor(e,t,a,n){s(this,"_scrollDispatcher");s(this,"_ngZone");s(this,"_viewportRuler");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");s(this,"_initialScrollPosition");s(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=a,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Cn(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}},v1=class{enable(){}disable(){}attach(){}};function Yd(e,t){return t.some(a=>{let n=e.bottom<a.top,r=e.top>a.bottom,i=e.right<a.left,o=e.left>a.right;return n||r||i||o})}function wg(e,t){return t.some(a=>{let n=e.top<a.top,r=e.bottom>a.bottom,i=e.left<a.left,o=e.right>a.right;return n||r||i||o})}var kX=class{constructor(e,t,a,n){s(this,"_scrollDispatcher");s(this,"_viewportRuler");s(this,"_ngZone");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=a,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:a,height:n}=this._viewportRuler.getViewportSize();Yd(t,[{width:a,height:n,bottom:n,right:a,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},CX=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",S(g1));s(this,"_viewportRuler",S(Jp));s(this,"_ngZone",S(He));s(this,"_document",S(Ve));s(this,"noop",()=>new v1);s(this,"close",n=>new SX(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new EX(this._viewportRuler,this._document));s(this,"reposition",n=>new kX(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})(),Xp=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new v1);s(this,"panelClass","");s(this,"hasBackdrop",!1);s(this,"backdropClass","cdk-overlay-dark-backdrop");s(this,"width");s(this,"height");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"direction");s(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let a of t)e[a]!==void 0&&(this[a]=e[a])}}},DX=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},b1=(()=>{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 r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,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})(),IX=(()=>{const t=class t extends b1{constructor(){super(...arguments);s(this,"_ngZone",S(He));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",r=>{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(r));break}})}add(r){super.add(r),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var r;this._isAttached&&((r=this._cleanupKeydown)==null||r.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),TX=(()=>{const t=class t extends b1{constructor(){super(...arguments);s(this,"_platform",S(hn));s(this,"_ngZone",S(He));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",r=>{this._pointerDownEventTarget=Va(r)});s(this,"_clickListener",r=>{let i=Va(r),o=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){let c=l[u];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(xg(c.overlayElement,i)||xg(c.overlayElement,o))break;let d=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(r)):d.next(r)}})}add(r){if(super.add(r),!this._isAttached){let i=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[nr(this._renderer,i,"pointerdown",this._pointerDownListener,o),nr(this._renderer,i,"click",this._clickListener,o),nr(this._renderer,i,"auxclick",this._clickListener,o),nr(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 r;this._isAttached&&((r=this._cleanups)==null||r.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 r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xg(e,t){let a=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=a&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var y1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,r){},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})(),em=(()=>{const t=class t{constructor(){s(this,"_platform",S(hn));s(this,"_containerElement");s(this,"_document",S(Ve));s(this,"_styleLoader",S(gr))}ngOnDestroy(){var n;(n=this._containerElement)==null||n.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||pg()){let i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let r=this._document.createElement("div");r.classList.add(n),pg()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(y1)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),RX=class{constructor(e,t,a,n){s(this,"_renderer");s(this,"_ngZone");s(this,"element");s(this,"_cleanupClick");s(this,"_cleanupTransitionEnd");s(this,"_fallbackTimeout");s(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=a,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",n)}detach(){this._ngZone.runOutsideAngular(()=>{var t;let e=this.element;clearTimeout(this._fallbackTimeout),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}},tm=class{constructor(e,t,a,n,r,i,o,l,u,c=!1,d,m){s(this,"_portalOutlet");s(this,"_host");s(this,"_pane");s(this,"_config");s(this,"_ngZone");s(this,"_keyboardDispatcher");s(this,"_document");s(this,"_location");s(this,"_outsideClickDispatcher");s(this,"_animationsDisabled");s(this,"_injector");s(this,"_renderer");s(this,"_backdropClick",new ve);s(this,"_attachments",new ve);s(this,"_detachments",new ve);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",Kt.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new ve);s(this,"_outsidePointerEvents",new ve);s(this,"_renders",new ve);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=a,this._config=n,this._ngZone=r,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=Ld(()=>Ub(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){var e;return((e=this._backdropRef)==null?void 0:e.element)||null}get hostElement(){return this._host}attach(e){var a;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(a=this._afterNextRenderRef)==null||a.destroy(),this._afterNextRenderRef=Eu(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(t==null?void 0:t.onDestroy)=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t,a,n;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),(t=this._backdropRef)==null||t.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(a=this._host)==null||a.remove(),(n=this._afterNextRenderRef)==null||n.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=ce(ce({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Qt(ce({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Tt(this._config.width),e.height=Tt(this._config.height),e.minWidth=Tt(this._config.minWidth),e.minHeight=Tt(this._config.minHeight),e.maxWidth=Tt(this._config.maxWidth),e.maxHeight=Tt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){var t;let e="cdk-overlay-backdrop-showing";(t=this._backdropRef)==null||t.dispose(),this._backdropRef=new RX(this._document,this._renderer,this._ngZone,a=>{this._backdropClick.next(a)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{var a;return(a=this._backdropRef)==null?void 0:a.element.classList.add(e)})}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){var e,t;this._animationsDisabled?((e=this._backdropRef)==null||e.dispose(),this._backdropRef=null):(t=this._backdropRef)==null||t.detach()}_toggleClasses(e,t,a){let n=ql(t||[]).filter(r=>!!r);n.length&&(a?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(ir(Lr(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){var t;let e=this._scrollStrategy;e==null||e.disable(),(t=e==null?void 0:e.detach)==null||t.call(e)}},Eg="cdk-overlay-connected-position-bounding-box",OX=/([A-Za-z%]+)$/,MX=class{constructor(e,t,a,n,r){s(this,"_viewportRuler");s(this,"_document");s(this,"_platform");s(this,"_overlayContainer");s(this,"_overlayRef");s(this,"_isInitialRender");s(this,"_lastBoundingBoxSize",{width:0,height:0});s(this,"_isPushed",!1);s(this,"_canPush",!0);s(this,"_growAfterOpen",!1);s(this,"_hasFlexibleDimensions",!0);s(this,"_positionLocked",!1);s(this,"_originRect");s(this,"_overlayRect");s(this,"_viewportRect");s(this,"_containerRect");s(this,"_viewportMargin",0);s(this,"_scrollables",[]);s(this,"_preferredPositions",[]);s(this,"_origin");s(this,"_pane");s(this,"_isDisposed");s(this,"_boundingBox");s(this,"_lastPosition");s(this,"_lastScrollVisibility");s(this,"_positionChanges",new ve);s(this,"_resizeSubscription",Kt.EMPTY);s(this,"_offsetX",0);s(this,"_offsetY",0);s(this,"_transformOriginSelector");s(this,"_appliedPanelClasses",[]);s(this,"_previousPushAmount");s(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=a,this._platform=n,this._overlayContainer=r,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Eg),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,a=this._viewportRect,n=this._containerRect,r=[],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,a,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(c,u,a)){r.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(r.length){let o=null,l=-1;for(let u of r){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&&Er(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Eg),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,a){let n;if(a.originX=="center")n=e.left+e.width/2;else{let i=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=a.originX=="start"?i:o}t.left<0&&(n-=t.left);let r;return a.originY=="center"?r=e.top+e.height/2:r=a.originY=="top"?e.top:e.bottom,t.top<0&&(r-=t.top),{x:n,y:r}}_getOverlayPoint(e,t,a){let n;a.overlayX=="center"?n=-t.width/2:a.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let r;return a.overlayY=="center"?r=-t.height/2:r=a.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+r}}_getOverlayFit(e,t,a,n){let r=kg(t),{x:i,y:o}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(i+=l),u&&(o+=u);let c=0-i,d=i+r.width-a.width,m=0-o,v=o+r.height-a.height,g=this._subtractOverflows(r.width,c,d),w=this._subtractOverflows(r.height,m,v),x=g*w;return{visibleArea:x,isCompletelyWithinViewport:r.width*r.height===x,fitsInViewportVertically:w===r.height,fitsInViewportHorizontally:g==r.width}}_canFitWithFlexibleDimensions(e,t,a){if(this._hasFlexibleDimensions){let n=a.bottom-t.y,r=a.right-t.x,i=Sg(this._overlayRef.getConfig().minHeight),o=Sg(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||i!=null&&i<=n,u=e.fitsInViewportHorizontally||o!=null&&o<=r;return l&&u}return!1}_pushOverlayOnScreen(e,t,a){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=kg(t),r=this._viewportRect,i=Math.max(e.x+n.width-r.width,0),o=Math.max(e.y+n.height-r.height,0),l=Math.max(r.top-a.top-e.y,0),u=Math.max(r.left-a.left-e.x,0),c=0,d=0;return n.width<=r.width?c=u||-i:c=e.x<this._viewportMargin?r.left-a.left-e.x:0,n.height<=r.height?d=l||-o:d=e.y<this._viewportMargin?r.top-a.top-e.y:0,this._previousPushAmount={x:c,y:d},{x:e.x+c,y:e.y+d}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let a=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!NX(this._lastScrollVisibility,a)){let n=new DX(e,a);this._positionChanges.next(n)}this._lastScrollVisibility=a}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),a,n=e.overlayY;e.overlayX==="center"?a="center":this._isRtl()?a=e.overlayX==="start"?"right":"left":a=e.overlayX==="start"?"left":"right";for(let r=0;r<t.length;r++)t[r].style.transformOrigin=`${a} ${n}`}_calculateBoundingBoxRect(e,t){let a=this._viewportRect,n=this._isRtl(),r,i,o;if(t.overlayY==="top")i=e.y,r=a.height-i+this._viewportMargin;else if(t.overlayY==="bottom")o=a.height-e.y+this._viewportMargin*2,r=a.height-o+this._viewportMargin;else{let v=Math.min(a.bottom-e.y+a.top,e.y),g=this._lastBoundingBoxSize.height;r=v*2,i=e.y-v,r>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=a.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)d=e.x,c=a.right-e.x;else{let v=Math.min(a.right-e.x+a.left,e.x),g=this._lastBoundingBoxSize.width;c=v*2,d=e.x-v,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-g/2)}return{top:i,left:d,bottom:o,right:m,width:c,height:r}}_setBoundingBoxStyles(e,t){let a=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;n.height=Tt(a.height),n.top=Tt(a.top),n.bottom=Tt(a.bottom),n.width=Tt(a.width),n.left=Tt(a.left),n.right=Tt(a.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",r&&(n.maxHeight=Tt(r)),i&&(n.maxWidth=Tt(i))}this._lastBoundingBoxSize=a,Er(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Er(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Er(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let a={},n=this._hasExactPosition(),r=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();Er(a,this._getExactOverlayY(t,e,c)),Er(a,this._getExactOverlayX(t,e,c))}else a.position="static";let o="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),u&&(o+=`translateY(${u}px)`),a.transform=o.trim(),i.maxHeight&&(n?a.maxHeight=Tt(i.maxHeight):r&&(a.maxHeight="")),i.maxWidth&&(n?a.maxWidth=Tt(i.maxWidth):r&&(a.maxWidth="")),Er(this._pane.style,a)}_getExactOverlayY(e,t,a){let n={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,a)),e.overlayY==="bottom"){let i=this._document.documentElement.clientHeight;n.bottom=`${i-(r.y+this._overlayRect.height)}px`}else n.top=Tt(r.y);return n}_getExactOverlayX(e,t,a){let n={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,a));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-(r.x+this._overlayRect.width)}px`}else n.left=Tt(r.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),a=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:wg(e,a),isOriginOutsideView:Yd(e,a),isOverlayClipped:wg(t,a),isOverlayOutsideView:Yd(t,a)}}_subtractOverflows(e,...t){return t.reduce((a,n)=>a-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,a=this._viewportRuler.getViewportScrollPosition();return{top:a.top+this._viewportMargin,left:a.left+this._viewportMargin,right:a.left+e-this._viewportMargin,bottom:a.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&ql(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof Qe)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,a=e.height||0;return{top:e.y,bottom:e.y+a,left:e.x,right:e.x+t,height:a,width:t}}};function Er(e,t){for(let a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e}function Sg(e){if(typeof e!="number"&&e!=null){let[t,a]=e.split(OX);return!a||a==="px"?parseFloat(t):null}return e||null}function kg(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function NX(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Cg="cdk-global-overlay-wrapper",AX=class{constructor(){s(this,"_overlayRef");s(this,"_cssPosition","static");s(this,"_topOffset","");s(this,"_bottomOffset","");s(this,"_alignItems","");s(this,"_xPosition","");s(this,"_xOffset","");s(this,"_width","");s(this,"_height","");s(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Cg),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,a=this._overlayRef.getConfig(),{width:n,height:r,maxWidth:i,maxHeight:o}=a,l=(n==="100%"||n==="100vw")&&(!i||i==="100%"||i==="100vw"),u=(r==="100%"||r==="100vh")&&(!o||o==="100%"||o==="100vh"),c=this._xPosition,d=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",v="",g="",w="";l?w="flex-start":c==="center"?(w="center",m?g=d:v=d):m?c==="left"||c==="end"?(w="flex-end",v=d):(c==="right"||c==="start")&&(w="flex-start",g=d):c==="left"||c==="start"?(w="flex-start",v=d):(c==="right"||c==="end")&&(w="flex-end",g=d),e.position=this._cssPosition,e.marginLeft=l?"0":v,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,a=t.style;t.classList.remove(Cg),a.justifyContent=a.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},PX=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",S(Jp));s(this,"_document",S(Ve));s(this,"_platform",S(hn));s(this,"_overlayContainer",S(em))}global(){return new AX}flexibleConnectedTo(n){return new MX(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})(),vr=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",S(CX));s(this,"_overlayContainer",S(em));s(this,"_positionBuilder",S(PX));s(this,"_keyboardDispatcher",S(IX));s(this,"_injector",S(ht));s(this,"_ngZone",S(He));s(this,"_document",S(Ve));s(this,"_directionality",S(Ho));s(this,"_location",S(E_));s(this,"_outsideClickDispatcher",S(TX));s(this,"_animationsModuleType",S(mr,{optional:!0}));s(this,"_idGenerator",S(Qr));s(this,"_renderer",S(Kn).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",S(gr))}create(n){this._styleLoader.load(y1);let r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),l=new Xp(n);return l.direction=l.direction||this._directionality.value,new tm(o,r,i,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(ca),this._renderer)}position(){return this._positionBuilder}_createPaneElement(n){let r=this._document.createElement("div");return r.id=this._idGenerator.getId("cdk-overlay-"),r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(ur)),new bX(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})(),LX=new K("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(vr);return()=>e.scrollStrategies.reposition()}});function FX(e){return()=>e.scrollStrategies.reposition()}var jX={provide:LX,deps:[vr],useFactory:FX},_1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[vr,jX],imports:[qo,Go,Zd,Zd]}));let e=t;return e})();function VX(e,t){}var Uo=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"positionStrategy");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"closeOnDestroy",!0);s(this,"closeOnOverlayDetachments",!0);s(this,"componentFactoryResolver");s(this,"providers");s(this,"container");s(this,"templateContext")}},w1=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_elementRef",S(Qe));s(this,"_focusTrapFactory",S(BJ));s(this,"_config");s(this,"_interactivityChecker",S(u1));s(this,"_ngZone",S(He));s(this,"_overlayRef",S(tm));s(this,"_focusMonitor",S(Fu));s(this,"_renderer",S(Kr));s(this,"_changeDetectorRef",S(ya));s(this,"_injector",S(ht));s(this,"_platform",S(hn));s(this,"_document",S(Ve,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new ve);s(this,"_focusTrap",null);s(this,"_elementFocusedBeforeDialogWasOpened",null);s(this,"_closeInteractionType",null);s(this,"_ariaLabelledByQueue",[]);s(this,"_isDestroyed",!1);s(this,"attachDomPortal",r=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(r);return this._contentAttached(),i});this._config=S(Uo,{optional:!0})||new Uo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(r){this._ariaLabelledByQueue.push(r),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(r){let i=this._ariaLabelledByQueue.indexOf(r);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(r){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(r);return this._contentAttached(),i}attachTemplatePortal(r){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(r);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(r,i){this._interactivityChecker.isFocusable(r)||(r.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),u(),r.removeAttribute("tabindex")},l=this._renderer.listen(r,"blur",o),u=this._renderer.listen(r,"mousedown",o)})),r.focus(i)}_focusByCssSelector(r,i){let o=this._elementRef.nativeElement.querySelector(r);o&&this._forceFocus(o,i)}_trapFocus(r){this._isDestroyed||Eu(()=>{var o;let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(r);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(r)||this._focusDialogContainer(r);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',r);break;default:this._focusByCssSelector(this._config.autoFocus,r);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let r=this._config.restoreFocus,i=null;if(typeof r=="string"?i=this._document.querySelector(r):typeof r=="boolean"?i=r?this._elementFocusedBeforeDialogWasOpened:null:r&&(i=r),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=Ec(),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(r){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(r)}_containsFocus(){let r=this._elementRef.nativeElement,i=Ec();return r===i||r.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ec()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(r,i){if(r&1&&Pi(Fi,7),r&2){let o;un(o=cn())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,i){r&2&&$t("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[Ye],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,i){r&1&&he(0,VX,0,0,"ng-template",0)},dependencies:[Fi],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
|
|
24
|
-
`],encapsulation:2}));let e=t;return e})(),Nc=class{constructor(e,t){s(this,"overlayRef");s(this,"config");s(this,"componentInstance");s(this,"componentRef");s(this,"containerInstance");s(this,"disableClose");s(this,"closed",new ve);s(this,"backdropClick");s(this,"keydownEvents");s(this,"outsidePointerEvents");s(this,"id");s(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(a=>{a.keyCode===27&&!this.disableClose&&!Yp(a)&&(a.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let a=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),a.next(e),a.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},zX=new K("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=S(vr);return()=>e.scrollStrategies.block()}}),BX=new K("DialogData"),HX=new K("DefaultDialogConfig"),x1=(()=>{const t=class t{constructor(){s(this,"_overlay",S(vr));s(this,"_injector",S(ht));s(this,"_defaultOptions",S(HX,{optional:!0}));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",S(em));s(this,"_idGenerator",S(Qr));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new ve);s(this,"_afterOpenedAtThisLevel",new ve);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",S(zX));s(this,"afterAllClosed",xl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(du(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(n,r){let i=this._defaultOptions||new Uo;r=ce(ce({},i),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let o=this._getOverlayConfig(r),l=this._overlay.create(o),u=new Nc(l,r),c=this._attachContainer(l,u,r);if(u.containerInstance=c,!this.openDialogs.length){let d=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(mn(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(d)}):this._hideNonDialogContentFromAssistiveTechnology(d)}return this._attachDialogContent(n,u,c,r),this.openDialogs.push(u),u.closed.subscribe(()=>this._removeOpenDialog(u,!0)),this.afterOpened.next(u),u}closeAll(){Ac(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){Ac(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),Ac(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let r=new Xp({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&&(r.backdropClass=n.backdropClass),r}_attachContainer(n,r,i){var d;let o=i.injector||((d=i.viewContainerRef)==null?void 0:d.injector),l=[{provide:Uo,useValue:i},{provide:Nc,useValue:r},{provide:tm,useValue:n}],u;i.container?typeof i.container=="function"?u=i.container:(u=i.container.type,l.push(...i.container.providers(i))):u=w1;let c=new $o(u,i.viewContainerRef,ht.create({parent:o||this._injector,providers:l}));return n.attach(c).instance}_attachDialogContent(n,r,i,o){if(n instanceof an){let l=this._createInjector(o,r,i,void 0),u={$implicit:o.data,dialogRef:r};o.templateContext&&(u=ce(ce({},u),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new ju(n,null,u,l))}else{let l=this._createInjector(o,r,i,this._injector),u=i.attachComponentPortal(new $o(n,o.viewContainerRef,l));r.componentRef=u,r.componentInstance=u.instance}}_createInjector(n,r,i,o){var c;let l=n.injector||((c=n.viewContainerRef)==null?void 0:c.injector),u=[{provide:BX,useValue:n.data},{provide:Nc,useValue:r}];return n.providers&&(typeof n.providers=="function"?u.push(...n.providers(r,n,i)):u.push(...n.providers)),n.direction&&(!l||!l.get(Ho,null,{optional:!0}))&&u.push({provide:Ho,useValue:{value:n.direction,change:et()}}),ht.create({parent:l||o,providers:u})}_removeOpenDialog(n,r){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(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let r=n.parentElement.children;for(let i=r.length-1;i>-1;i--){let o=r[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 Ac(e,t){let a=e.length;for(;a--;)t(e[a])}var qX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[x1],imports:[_1,Go,WJ,Go]}));let e=t;return e})();function $X(e,t){}var Dg=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"position");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"delayFocusTrap",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"componentFactoryResolver");s(this,"enterAnimationDuration");s(this,"exitAnimationDuration")}},Pc="mdc-dialog--open",Ig="mdc-dialog--opening",Tg="mdc-dialog--closing",GX=150,UX=75,WX=(()=>{const t=class t extends w1{constructor(){super(...arguments);s(this,"_animationMode",S(mr,{optional:!0}));s(this,"_animationStateChanged",new ot);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?Og(this._config.enterAnimationDuration)??GX:0);s(this,"_exitAnimationDuration",this._animationsEnabled?Og(this._config.exitAnimationDuration)??UX:0);s(this,"_animationTimer",null);s(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});s(this,"_finishDialogClose",()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})})}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Rg,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ig,Pc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Pc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Pc),this._animationsEnabled?(this._hostElement.style.setProperty(Rg,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Tg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(r){this._actionSectionCount+=r,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Ig,Tg)}_waitForAnimationToComplete(r,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,r)}_requestAnimationFrame(r){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(r):r()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(r){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:r})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(r){let i=super.attachComponentPortal(r);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,i){r&2&&(Op("id",i._config.id),$t("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),jt("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},features:[Ye],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,i){r&1&&(j(0,"div",0)(1,"div",1),he(2,$X,0,0,"ng-template",2),V()())},dependencies:[Fi],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
|
|
25
|
-
`],encapsulation:2}));let e=t;return e})(),Rg="--mat-dialog-transition-duration";function Og(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?og(e.substring(0,e.length-2)):e.endsWith("s")?og(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var vl=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(vl||{}),nm=class{constructor(e,t,a){s(this,"_ref");s(this,"_containerInstance");s(this,"componentInstance");s(this,"componentRef");s(this,"disableClose");s(this,"id");s(this,"_afterOpened",new ve);s(this,"_beforeClosed",new ve);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",vl.OPEN);s(this,"_closeInteractionType");this._ref=e,this._containerInstance=a,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),a._animationStateChanged.pipe(Cn(n=>n.state==="opened"),mn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),a._animationStateChanged.pipe(Cn(n=>n.state==="closed"),mn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Lr(this.backdropClick(),this.keydownEvents().pipe(Cn(n=>n.keyCode===27&&!this.disableClose&&!Yp(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),E1(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Cn(t=>t.state==="closing"),mn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=vl.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=vl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function E1(e,t,a){return e._closeInteractionType=t,e.close(a)}var S1=new K("MatMdcDialogData"),k1=new K("mat-mdc-dialog-default-options"),ZX=new K("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(vr);return()=>e.scrollStrategies.block()}}),zu=(()=>{const t=class t{constructor(){s(this,"_overlay",S(vr));s(this,"_defaultOptions",S(k1,{optional:!0}));s(this,"_scrollStrategy",S(ZX));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",S(Qr));s(this,"_dialog",S(x1));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new ve);s(this,"_afterOpenedAtThisLevel",new ve);s(this,"dialogConfigClass",Dg);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",xl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(du(void 0))));this._dialogRefConstructor=nm,this._dialogContainerType=WX,this._dialogDataToken=S1}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,r){let i;r=ce(ce({},this._defaultOptions||new Dg),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,Qt(ce({},r),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Uo,useValue:r}]},templateContext:()=>({dialogRef:i}),providers:(l,u,c)=>(i=new this._dialogRefConstructor(l,r,c),i.updatePosition(r==null?void 0:r.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(r=>r.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let r=n.length;for(;r--;)n[r].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})(),C1=(()=>{const t=class t{constructor(){s(this,"dialogRef",S(nm,{optional:!0}));s(this,"_elementRef",S(Qe));s(this,"_dialog",S(zu));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=O1(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let r=n._matDialogClose||n._matDialogCloseResult;r&&(this.dialogResult=r.currentValue)}_onButtonClick(n){E1(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,r){n&1&&on("click",function(i){return r._onButtonClick(i)}),n&2&&$t("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[dr]}));let e=t;return e})(),D1=(()=>{const t=class t{constructor(){s(this,"_dialogRef",S(nm,{optional:!0}));s(this,"_elementRef",S(Qe));s(this,"_dialog",S(zu))}ngOnInit(){this._dialogRef||(this._dialogRef=O1(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var n;(n=this._dialogRef)!=null&&n._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t}));let e=t;return e})(),I1=(()=>{const t=class t extends D1{constructor(){super(...arguments);s(this,"id",S(Qr).getId("mat-mdc-dialog-title-"))}_onAdd(){var r,i;(i=(r=this._dialogRef._containerInstance)==null?void 0:r._addAriaLabelledBy)==null||i.call(r,this.id)}_onRemove(){var r,i,o;(o=(i=(r=this._dialogRef)==null?void 0:r._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||o.call(i,this.id)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,i){r&2&&Op("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ye]}));let e=t;return e})(),T1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[wZ([wX])]}));let e=t;return e})(),R1=(()=>{const t=class t extends D1{constructor(){super(...arguments);s(this,"align")}_onAdd(){var r,i;(i=(r=this._dialogRef._containerInstance)==null?void 0:r._updateActionSectionCount)==null||i.call(r,1)}_onRemove(){var r,i;(i=(r=this._dialogRef._containerInstance)==null?void 0:r._updateActionSectionCount)==null||i.call(r,-1)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,i){r&2&&jt("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end")},inputs:{align:"align"},features:[Ye]}));let e=t;return e})();function O1(e,t){let a=e.nativeElement.parentElement;for(;a&&!a.classList.contains("mat-mdc-dialog-container");)a=a.parentElement;return a?t.find(n=>n.id===a.id):null}var M1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[zu],imports:[qX,_1,Go,ma,ma]}));let e=t;return e})(),N1=(()=>{const t=class t{constructor(){s(this,"_listeners",[])}notify(n,r){for(let i of this._listeners)i(n,r)}listen(n){return this._listeners.push(n),()=>{this._listeners=this._listeners.filter(r=>n!==r)}}ngOnDestroy(){this._listeners=[]}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),A1=class{applyChanges(e,t,a,n,r){e.forEachOperation((i,o,l)=>{let u,c;if(i.previousIndex==null){let d=a(i,o,l);u=t.createEmbeddedView(d.templateRef,d.context,d.index),c=ko.INSERTED}else l==null?(t.remove(o),c=ko.REMOVED):(u=t.get(o),t.move(u,l),c=ko.MOVED);r&&r({context:u==null?void 0:u.context,operation:c,record:i})})}detach(){}},YX=new K("MAT_BUTTON_CONFIG"),KX=[{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"]}],P1=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(Qe));s(this,"_ngZone",S(He));s(this,"_animationMode",S(mr,{optional:!0}));s(this,"_focusMonitor",S(Fu));s(this,"_rippleLoader",S(pX));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;S(gr).load(Kp);let n=S(YX,{optional:!0}),r=this._elementRef.nativeElement,i=r.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(r,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:u}of KX)r.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",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Lt],disabled:[2,"disabled","disabled",Lt],ariaDisabled:[2,"aria-disabled","ariaDisabled",Lt],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Lt]}}));let e=t;return e})(),QX=(()=>{const t=class t extends P1{constructor(){super(...arguments);s(this,"_renderer",S(Kr));s(this,"_cleanupClick");s(this,"tabIndex");s(this,"_haltDisabledEvents",r=>{this.disabled&&(r.preventDefault(),r.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var r;super.ngOnDestroy(),(r=this._cleanupClick)==null||r.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵdir",be({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",r=>r==null?void 0:Pp(r)]},features:[Ye]}));let e=t;return e})(),L1=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],F1=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],JX=`.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
|
-
`,XX=`@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 P1{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,r){n&2&&($t("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Ou(r.color?"mat-"+r.color:""),jt("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ye],ngContentSelectors:F1,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,r){n&1&&(Vn(L1),tt(0,"span",0),pt(1),j(2,"span",1),pt(3,1),V(),pt(4,2),tt(5,"span",2)(6,"span",3)),n&2&&jt("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._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})(),j1=(()=>{const t=class t extends QX{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,r){n&2&&($t("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),Ou(r.color?"mat-"+r.color:""),jt("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ye],ngContentSelectors:F1,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,r){n&1&&(Vn(L1),tt(0,"span",0),pt(1),j(2,"span",1),pt(3,1),V(),pt(4,2),tt(5,"span",2)(6,"span",3)),n&2&&jt("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[JX,XX],encapsulation:2,changeDetection:0}));let e=t;return e})(),am=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,cX,ma]}));let e=t;return e})(),V1=(()=>{const t=class t{constructor(){s(this,"changes",new ve);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,r,i)=>{if(i==0||r==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*r,l=o<i?Math.min(o+r,i):o+r;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})(),Oe=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}(Oe||{}),La="*";function eee(e,t=null){return{type:Oe.Sequence,steps:e,options:t}}function Mg(e){return{type:Oe.Style,styles:e,offset:null}}var Wo=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},z1=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,a=0,n=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==r&&this._onFinish()}),i.onDestroy(()=>{++a==r&&this._onDestroy()}),i.onStart(()=>{++n==r&&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(a=>{let n=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(n)})}getPosition(){let e=this.players.reduce((t,a)=>t===null||a.totalTime>t.totalTime?a:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},rm="!";function Ng(e){return new G(3e3,!1)}function tee(){return new G(3100,!1)}function nee(){return new G(3101,!1)}function aee(e){return new G(3001,!1)}function ree(e){return new G(3003,!1)}function iee(e){return new G(3004,!1)}function oee(e,t){return new G(3005,!1)}function see(){return new G(3006,!1)}function lee(){return new G(3007,!1)}function uee(e,t){return new G(3008,!1)}function cee(e){return new G(3002,!1)}function dee(e,t,a,n,r){return new G(3010,!1)}function hee(){return new G(3011,!1)}function pee(){return new G(3012,!1)}function mee(){return new G(3200,!1)}function fee(){return new G(3202,!1)}function gee(){return new G(3013,!1)}function vee(e){return new G(3014,!1)}function bee(e){return new G(3015,!1)}function yee(e){return new G(3016,!1)}function _ee(e,t){return new G(3404,!1)}function wee(e){return new G(3502,!1)}function xee(e){return new G(3503,!1)}function Eee(){return new G(3300,!1)}function See(e){return new G(3504,!1)}function kee(e){return new G(3301,!1)}function Cee(e,t){return new G(3302,!1)}function Dee(e){return new G(3303,!1)}function Iee(e,t){return new G(3400,!1)}function Tee(e){return new G(3401,!1)}function Ree(e){return new G(3402,!1)}function Oee(e,t){return new G(3505,!1)}function Ja(e){switch(e.length){case 0:return new Wo;case 1:return e[0];default:return new z1(e)}}function B1(e,t,a=new Map,n=new Map){let r=[],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,r),x){case rm:x=a.get(g);break;case La:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,r);break}m.set(w,x)}),d||i.push(m),l=m,o=c}),r.length)throw wee();return i}function im(e,t,a,n){switch(t){case"start":e.onStart(()=>n(a&&Lc(a,"start",e)));break;case"done":e.onDone(()=>n(a&&Lc(a,"done",e)));break;case"destroy":e.onDestroy(()=>n(a&&Lc(a,"destroy",e)));break}}function Lc(e,t,a){let n=a.totalTime,r=!!a.disabled,i=om(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,r),o=e._data;return o!=null&&(i._data=o),i}function om(e,t,a,n,r="",i=0,o){return{element:e,triggerName:t,fromState:a,toState:n,phaseName:r,totalTime:i,disabled:!!o}}function kn(e,t,a){let n=e.get(t);return n||e.set(t,n=a),n}function Ag(e){let t=e.indexOf(":"),a=e.substring(1,t),n=e.slice(t+1);return[a,n]}var Mee=typeof document>"u"?null:document.documentElement;function sm(e){let t=e.parentNode||e.host||null;return t===Mee?null:t}function Nee(e){return e.substring(1,6)=="ebkit"}var Sr=null,Pg=!1;function Aee(e){Sr||(Sr=Pee()||{},Pg=Sr.style?"WebkitAppearance"in Sr.style:!1);let t=!0;return Sr.style&&!Nee(e)&&(t=e in Sr.style,!t&&Pg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Sr.style)),t}function Pee(){return typeof document<"u"?document.body:null}function H1(e,t){for(;t;){if(t===e)return!0;t=sm(t)}return!1}function q1(e,t,a){if(a)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var Lee=1e3,$1="{{",Fee="}}",G1="ng-enter",Kd="ng-leave",Zs="ng-trigger",Ul=".ng-trigger",Lg="ng-animating",Qd=".ng-animating";function Ma(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*Lee;default:return e}}function Wl(e,t,a){return e.hasOwnProperty("duration")?e:jee(e,t,a)}function jee(e,t,a){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Ng()),{duration:0,delay:0,easing:""};r=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 r=e;if(!a){let l=!1,u=t.length;r<0&&(t.push(tee()),l=!0),i<0&&(t.push(nee()),l=!0),l&&t.splice(u,0,Ng())}return{duration:r,delay:i,easing:o}}function Vee(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ia(e,t,a){t.forEach((n,r)=>{let i=lm(r);a&&!a.has(r)&&a.set(r,e.style[i]),e.style[i]=n})}function Mr(e,t){t.forEach((a,n)=>{let r=lm(n);e.style[r]=""})}function ho(e){return Array.isArray(e)?e.length==1?e[0]:eee(e):e}function zee(e,t,a){let n=t.params||{},r=U1(e);r.length&&r.forEach(i=>{n.hasOwnProperty(i)||a.push(aee())})}var Xd=new RegExp(`${$1}\\s*(.+?)\\s*${Fee}`,"g");function U1(e){let t=[];if(typeof e=="string"){let a;for(;a=Xd.exec(e);)t.push(a[1]);Xd.lastIndex=0}return t}function Zo(e,t,a){let n=`${e}`,r=n.replace(Xd,(i,o)=>{let l=t[o];return l==null&&(a.push(ree()),l=""),l.toString()});return r==n?e:r}var Bee=/-+([a-z0-9])/g;function lm(e){return e.replace(Bee,(...t)=>t[1].toUpperCase())}function Hee(e,t){return e===0||t===0}function qee(e,t,a){if(a.size&&t.length){let n=t[0],r=[];if(a.forEach((i,o)=>{n.has(o)||r.push(o),n.set(o,i)}),r.length)for(let i=1;i<t.length;i++){let o=t[i];r.forEach(l=>o.set(l,um(e,l)))}}return t}function En(e,t,a){switch(t.type){case Oe.Trigger:return e.visitTrigger(t,a);case Oe.State:return e.visitState(t,a);case Oe.Transition:return e.visitTransition(t,a);case Oe.Sequence:return e.visitSequence(t,a);case Oe.Group:return e.visitGroup(t,a);case Oe.Animate:return e.visitAnimate(t,a);case Oe.Keyframes:return e.visitKeyframes(t,a);case Oe.Style:return e.visitStyle(t,a);case Oe.Reference:return e.visitReference(t,a);case Oe.AnimateChild:return e.visitAnimateChild(t,a);case Oe.AnimateRef:return e.visitAnimateRef(t,a);case Oe.Query:return e.visitQuery(t,a);case Oe.Stagger:return e.visitStagger(t,a);default:throw iee(t.type)}}function um(e,t){return window.getComputedStyle(e)[t]}var $ee=(()=>{const t=class t{validateStyleProperty(n){return Aee(n)}containsElement(n,r){return H1(n,r)}getParentElement(n){return sm(n)}query(n,r,i){return q1(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,l,u=[],c){return new Wo(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Qc,W1=(Qc=class{},s(Qc,"NOOP",new $ee),Qc),cm=class{},Gee=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"]),Uee=class extends cm{normalizePropertyName(e,t){return lm(e)}normalizeStyleValue(e,t,a,n){let r="",i=a.toString().trim();if(Gee.has(t)&&a!==0&&a!=="0")if(typeof a=="number")r="px";else{let o=a.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(oee())}return i+r}},Zl="*";function Wee(e,t){let a=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Zee(n,a,t)):a.push(e),a}function Zee(e,t,a){if(e[0]==":"){let u=Yee(e,a);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return a.push(bee()),t;let r=n[1],i=n[2],o=n[3];t.push(Fg(r,o));let l=r==Zl&&o==Zl;i[0]=="<"&&!l&&t.push(Fg(o,r))}function Yee(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,n)=>parseFloat(n)>parseFloat(a);case":decrement":return(a,n)=>parseFloat(n)<parseFloat(a);default:return t.push(yee()),"* => *"}}var Ys=new Set(["true","1"]),Ks=new Set(["false","0"]);function Fg(e,t){let a=Ys.has(e)||Ks.has(e),n=Ys.has(t)||Ks.has(t);return(r,i)=>{let o=e==Zl||e==r,l=t==Zl||t==i;return!o&&a&&typeof r=="boolean"&&(o=r?Ys.has(e):Ks.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Ys.has(t):Ks.has(t)),o&&l}}var Z1=":self",Kee=new RegExp(`s*${Z1}s*,?`,"g");function Y1(e,t,a,n){return new Qee(e).build(t,a,n)}var jg="",Qee=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,a){let n=new ete(t);return this._resetContextStyleTimingState(n),En(this,ho(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=jg,e.collectedStyles=new Map,e.collectedStyles.set(jg,new Map),e.currentTime=0}visitTrigger(e,t){let a=t.queryCount=0,n=t.depCount=0,r=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(see()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Oe.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==Oe.Transition){let l=this.visitTransition(o,t);a+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(lee())}),{type:Oe.Trigger,name:e.name,states:r,transitions:i,queryCount:a,depCount:n,options:null}}visitState(e,t){let a=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(a.containsDynamicStyles){let r=new Set,i=n||{};a.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{U1(l).forEach(u=>{i.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(uee(e.name,[...r.values()]))}return{type:Oe.State,name:e.name,style:a,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let a=En(this,ho(e.animation),t),n=Wee(e.expr,t.errors);return{type:Oe.Transition,matchers:n,animation:a,queryCount:t.queryCount,depCount:t.depCount,options:kr(e.options)}}visitSequence(e,t){return{type:Oe.Sequence,steps:e.steps.map(a=>En(this,a,t)),options:kr(e.options)}}visitGroup(e,t){let a=t.currentTime,n=0,r=e.steps.map(i=>{t.currentTime=a;let o=En(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Oe.Group,steps:r,options:kr(e.options)}}visitAnimate(e,t){let a=nte(e.timings,t.errors);t.currentAnimateTimings=a;let n,r=e.styles?e.styles:Mg({});if(r.type==Oe.Keyframes)n=this.visitKeyframes(r,t);else{let i=e.styles,o=!1;if(!i){o=!0;let u={};a.easing&&(u.easing=a.easing),i=Mg(u)}t.currentTime+=a.duration+a.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Oe.Animate,timings:a,style:n,options:null}}visitStyle(e,t){let a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}_makeStyleAst(e,t){let a=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===La?a.push(o):t.errors.push(cee()):a.push(new Map(Object.entries(o)));let r=!1,i=null;return a.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf($1)>=0){r=!0;break}}}),{type:Oe.Style,styles:a,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let a=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;a&&r>0&&(r-=a.duration+a.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&&(r!=n&&r>=c.startTime&&n<=c.endTime&&(t.errors.push(dee(l,c.startTime,c.endTime)),d=!1),r=c.startTime),d&&u.set(l,{startTime:r,endTime:n}),t.options&&zee(o,t.options,t.errors)})})}visitKeyframes(e,t){let a={type:Oe.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(hee()),a;let n=1,r=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),M=0;return O!=null&&(r++,M=D.offset=O),l=l||M<0||M>1,o=o||M<u,u=M,i.push(M),D});l&&t.errors.push(pee()),o&&t.errors.push(mee());let d=e.steps.length,m=0;r>0&&r<d?t.errors.push(fee()):r==0&&(m=n/(d-1));let v=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return c.forEach((k,D)=>{let O=m>0?D==v?1:m*D:i[D],M=O*x;t.currentTime=g+w.delay+M,w.duration=M,this._validateStyleAst(k,t),k.offset=O,a.styles.push(k)}),a}visitReference(e,t){return{type:Oe.Reference,animation:En(this,ho(e.animation),t),options:kr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Oe.AnimateChild,options:kr(e.options)}}visitAnimateRef(e,t){return{type:Oe.AnimateRef,animation:this.visitReference(e.animation,t),options:kr(e.options)}}visitQuery(e,t){let a=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,i]=Jee(e.selector);t.currentQuerySelector=a.length?a+" "+r:r,kn(t.collectedStyles,t.currentQuerySelector,new Map);let o=En(this,ho(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:Oe.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:kr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(gee());let a=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Wl(e.timings,t.errors,!0);return{type:Oe.Stagger,animation:En(this,ho(e.animation),t),timings:a,options:null}}};function Jee(e){let t=!!e.split(/\s*,\s*/).find(a=>a==Z1);return t&&(e=e.replace(Kee,"")),e=e.replace(/@\*/g,Ul).replace(/@\w+/g,a=>Ul+"-"+a.slice(1)).replace(/:animating/g,Qd),[e,t]}function Xee(e){return e?ce({},e):null}var ete=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(a=>{if(a instanceof Map&&a.has("offset")){let n=a;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let a=e;t=parseFloat(a.get("offset")),a.delete("offset")}return t}function nte(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=Wl(e,t).duration;return Fc(r,0,"")}let a=e;if(a.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Fc(0,0,"");return r.dynamic=!0,r.strValue=a,r}let n=Wl(a,t);return Fc(n.duration,n.delay,n.easing)}function kr(e){return e?(e=ce({},e),e.params&&(e.params=Xee(e.params))):e={},e}function Fc(e,t,a){return{duration:e,delay:t,easing:a}}function dm(e,t,a,n,r,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:a,postStyleProps:n,duration:r,delay:i,totalTime:r+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 a=this._map.get(e);a||this._map.set(e,a=[]),a.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},ate=1,rte=":enter",ite=new RegExp(rte,"g"),ote=":leave",ste=new RegExp(ote,"g");function K1(e,t,a,n,r,i=new Map,o=new Map,l,u,c=[]){return new lte().buildKeyframes(e,t,a,n,r,i,o,l,u,c)}var lte=class{buildKeyframes(e,t,a,n,r,i,o,l,u,c=[]){u=u||new hm;let d=new ute(e,t,u,n,r,c,[]);d.options=l;let m=l.delay?Ma(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),En(this,a,d);let v=d.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let w=v.length-1;w>=0;w--){let x=v[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[dm(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let a=t.subInstructions.get(t.element);if(a){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,i=this._visitSubInstructions(a,n,n.options);r!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,a),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,a){for(let n of e){let r=n==null?void 0:n.delay;if(r){let i=typeof r=="number"?r:Ma(Zo(r,(n==null?void 0:n.params)??{},t.errors));a.delayNextStep(i)}}}_visitSubInstructions(e,t,a){let n=t.currentTimeline.currentTime,r=a.duration!=null?Ma(a.duration):null,i=a.delay!=null?Ma(a.delay):null;return r!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,r,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),En(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let a=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==Oe.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Yl);let i=Ma(r.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>En(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>a&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let a=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?Ma(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),En(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),a.push(o.currentTimeline)}),a.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let a=e.strValue,n=t.params?Zo(a,t.params,t.errors):a;return Wl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let a=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),n.snapshotCurrentStyles());let r=e.style;r.type==Oe.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(a.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let a=t.currentTimeline,n=t.currentAnimateTimings;!n&&a.hasCurrentStyleProperties()&&a.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(r):a.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let a=t.currentAnimateTimings,n=t.currentTimeline.duration,r=a.duration,i=t.createSubContext().currentTimeline;i.easing=a.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*r),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let a=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?Ma(n.delay):0;r&&(t.previousNode.type===Oe.Style||a==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Yl);let i=a,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let d=t.createSubContext(e.options,u);r&&d.delayNextStep(r),u===t.element&&(l=d.currentTimeline),En(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 a=t.parentContext,n=t.currentTimeline,r=e.timings,i=Math.abs(r.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=a.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;En(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=n.currentTime-c+(n.startTime-a.currentTimeline.startTime)}},Yl={},ute=class Q1{constructor(t,a,n,r,i,o,l,u){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",Yl);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=a,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=u||new J1(this._driver,a,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,a){if(!t)return;let n=t,r=this.options;n.duration!=null&&(r.duration=Ma(n.duration)),n.delay!=null&&(r.delay=Ma(n.delay));let i=n.params;if(i){let o=r.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!a||!o.hasOwnProperty(l))&&(o[l]=Zo(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let a=this.options.params;if(a){let n=t.params={};Object.keys(a).forEach(r=>{n[r]=a[r]})}}return t}createSubContext(t=null,a,n){let r=a||this.element,i=new Q1(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Yl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,a,n){let r={duration:a??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new cte(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,a,n,r,i,o){let l=[];if(r&&l.push(this.element),t.length>0){t=t.replace(ite,"."+this._enterClassName),t=t.replace(ste,"."+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(vee()),l}},J1=class X1{constructor(t,a,n,r){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=a,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+t),a&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,a){return this.applyStylesToKeyframe(),new X1(this._driver,t,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=ate,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,a){this._localTimelineStyles.set(t,a),this._globalTimelineStyles.set(t,a),this._styleSummary.set(t,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[a,n]of this._globalTimelineStyles)this._backFill.set(a,n||La),this._currentKeyframe.set(a,La);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,a,n,r){a&&this._previousKeyframe.set("easing",a);let i=r&&r.params||{},o=dte(t,this._globalTimelineStyles);for(let[l,u]of o){let c=Zo(u,i,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??La),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,a)=>{this._currentKeyframe.set(a,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,t)}))}snapshotCurrentStyles(){for(let[t,a]of this._localTimelineStyles)this._pendingStyles.set(t,a),this._updateStyle(t,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let a in this._currentKeyframe)t.push(a);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((a,n)=>{let r=this._styleSummary.get(n);(!r||a.time>r.time)&&this._updateStyle(n,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,a=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((d,m)=>{d===rm?t.add(m):d===La&&a.add(m)}),n||c.set("offset",u/this.duration),r.push(c)});let i=[...t.values()],o=[...a.values()];if(n){let l=r[0],u=new Map(l);l.set("offset",0),u.set("offset",1),r=[l,u]}return dm(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}},cte=class extends J1{constructor(t,a,n,r,i,o,l=!1){super(t,a,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=r,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:a,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&a){let i=[],o=n+a,l=a/o,u=new Map(t[0]);u.set("offset",0),i.push(u);let c=new Map(t[0]);c.set("offset",Vg(l)),i.push(c);let d=t.length-1;for(let m=1;m<=d;m++){let v=new Map(t[m]),g=v.get("offset"),w=a+g*n;v.set("offset",Vg(w/o)),i.push(v)}n=o,a=0,r="",t=i}return dm(this.element,t,this.preStyleProps,this.postStyleProps,n,a,r,!0)}};function Vg(e,t=3){let a=Math.pow(10,t-1);return Math.round(e*a)/a}function dte(e,t){let a=new Map,n;return e.forEach(r=>{if(r==="*"){n??(n=t.keys());for(let i of n)a.set(i,La)}else for(let[i,o]of r)a.set(i,o)}),a}function zg(e,t,a,n,r,i,o,l,u,c,d,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:a,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:d,totalTime:m,errors:v}}var jc={},ew=class{constructor(e,t,a){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=a}match(e,t,a,n){return hte(this.ast.matchers,e,t,a,n)}buildStyles(e,t,a){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,a):new Map}build(e,t,a,n,r,i,o,l,u,c){var Mt;let d=[],m=this.ast.options&&this.ast.options.params||jc,v=o&&o.params||jc,g=this.buildStyles(a,v,d),w=l&&l.params||jc,x=this.buildStyles(n,w,d),k=new Set,D=new Map,O=new Map,M=n==="void",X={params:tw(w,m),delay:(Mt=this.ast.options)==null?void 0:Mt.delay},ue=c?[]:K1(e,t,this.ast.animation,r,i,g,x,X,u,d),we=0;return ue.forEach(wt=>{we=Math.max(wt.duration+wt.delay,we)}),d.length?zg(t,this._triggerName,a,n,M,g,x,[],[],D,O,we,d):(ue.forEach(wt=>{let at=wt.element,Ct=kn(D,at,new Set);wt.preStyleProps.forEach(U=>Ct.add(U));let J=kn(O,at,new Set);wt.postStyleProps.forEach(U=>J.add(U)),at!==t&&k.add(at)}),zg(t,this._triggerName,a,n,M,g,x,ue,[...k.values()],D,O,we))}};function hte(e,t,a,n,r){return e.some(i=>i(t,a,n,r))}function tw(e,t){let a=ce({},t);return Object.entries(e).forEach(([n,r])=>{r!=null&&(a[n]=r)}),a}var pte=class{constructor(e,t,a){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=a}buildStyles(e,t){let a=new Map,n=tw(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((i,o)=>{i&&(i=Zo(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),a.set(o,i)})}),a}};function mte(e,t,a){return new fte(e,t,a)}var fte=class{constructor(e,t,a){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=a,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new pte(n.style,r,a))}),Bg(this.states,"true","1"),Bg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new ew(e,n,this.states))}),this.fallbackTransition=gte(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,a,n){return this.transitionFactories.find(r=>r.match(e,t,a,n))||null}matchStyles(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}};function gte(e,t,a){let n=[(o,l)=>!0],r={type:Oe.Sequence,steps:[],options:null},i={type:Oe.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new ew(e,i,t)}function Bg(e,t,a){e.has(t)?e.has(a)||e.set(a,e.get(t)):e.has(a)&&e.set(t,e.get(a))}var vte=new hm,bte=class{constructor(e,t,a){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=a}register(e,t){let a=[],n=[],r=Y1(this._driver,t,a,n);if(a.length)throw xee();this._animations.set(e,r)}_buildPlayer(e,t,a){let n=e.element,r=B1(this._normalizer,e.keyframes,t,a);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,a={}){let n=[],r=this._animations.get(e),i,o=new Map;if(r?(i=K1(this._driver,t,r,G1,Kd,new Map,new Map,a,vte,n),i.forEach(c=>{let d=kn(o,c.element,new Map);c.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(Eee()),i=[]),n.length)throw See();o.forEach((c,d)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(d,v,La))})});let l=i.map(c=>{let d=o.get(c.element);return this._buildPlayer(c,new Map,d)}),u=Ja(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw kee();return t}listen(e,t,a,n){let r=om(t,"","","");return im(this._getPlayer(e),a,r,n),()=>{}}command(e,t,a,n){if(a=="register"){this.register(e,n[0]);return}if(a=="create"){let i=n[0]||{};this.create(e,t,i);return}let r=this._getPlayer(e);switch(a){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Hg="ng-animate-queued",yte=".ng-animate-queued",Vc="ng-animate-disabled",_te=".ng-animate-disabled",wte="ng-star-inserted",xte=".ng-star-inserted",Ete=[],nw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ste={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$n="__ng_removed",eh=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let a=e&&e.hasOwnProperty("value"),n=a?e.value:e;if(this.value=Ite(n),a){let r=e,{value:i}=r,o=wq(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let a=this.options.params;Object.keys(t).forEach(n=>{a[n]==null&&(a[n]=t[n])})}}},Co="void",zc=new eh(Co),kte=class{constructor(e,t,a){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=a,this._hostClassName="ng-tns-"+e,Nn(t,this._hostClassName)}listen(e,t,a,n){if(!this._triggers.has(t))throw Cee();if(a==null||a.length==0)throw Dee();if(!Tte(a))throw Iee();let r=kn(this._elementListeners,e,[]),i={name:t,phase:a,callback:n};r.push(i);let o=kn(this._engine.statesByElement,e,new Map);return o.has(t)||(Nn(e,Zs),Nn(e,Zs+"-"+t),o.set(t,zc)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(i);l>=0&&r.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 Tee();return t}trigger(e,t,a,n=!0){let r=this._getTrigger(t),i=new th(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Nn(e,Zs),Nn(e,Zs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new eh(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=zc),u.value!==Co&&l.value===u.value){if(!Mte(l.params,u.params)){let v=[],g=r.matchStyles(l.value,l.params,v),w=r.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Mr(e,g),ia(e,w)})}return}let c=kn(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let d=r.matchTransition(l.value,u.value,e,u.params),m=!1;if(!d){if(!n)return;d=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:i,isFallbackTransition:m}),m||(Nn(e,Hg),i.onStart(()=>{oi(e,Hg)})),i.onDone(()=>{let v=this.players.indexOf(i);v>=0&&this.players.splice(v,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),c.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,a)=>{this._elementListeners.set(a,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(a=>a.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let a=this._engine.driver.query(e,Ul,!0);a.forEach(n=>{if(n[$n])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,a,n){let r=this._engine.statesByElement.get(e),i=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(i.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,Co,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),a&&Ja(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(t&&a){let n=new Set;t.forEach(r=>{let i=r.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=a.get(i)||zc,u=new eh(Co),c=new th(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 a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(a.totalAnimations){let r=a.players.length?a.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(a.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)a.markElementAsRemoved(this.id,e,!1,t);else{let r=e[$n];(!r||r===nw)&&(a.afterFlush(()=>this.clearElementCache(e)),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}insertNode(e,t){Nn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(a=>{let n=a.player;if(n.destroyed)return;let r=a.element,i=this._elementListeners.get(r);i&&i.forEach(o=>{if(o.name==a.triggerName){let l=om(r,a.triggerName,a.fromState.value,a.toState.value);l._data=e,im(a.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(a)}),this._queue=[],t.sort((a,n)=>{let r=a.transition.ast.depCount,i=n.transition.ast.depCount;return r==0||i==0?r-i:this._engine.driver.containsElement(a.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Cte=class{constructor(e,t,a){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=a}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(a=>{a.queued&&e.push(a)})}),e}createNamespace(e,t){let a=new kte(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}_balanceNamespaceList(e,t){let a=this._namespaceList,n=this.namespacesByHostElement;if(a.length-1>=0){let r=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=a.indexOf(o);a.splice(l+1,0,e),r=!0;break}i=this.driver.getParentElement(i)}r||a.unshift(e)}else a.push(e);return n.set(t,e),e}register(e,t){let a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}registerTrigger(e,t,a){let n=this._namespaceLookup[e];n&&n.register(t,a)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let a=this._fetchNamespace(e);this.namespacesByHostElement.delete(a.hostElement);let n=this._namespaceList.indexOf(a);n>=0&&this._namespaceList.splice(n,1),a.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,a=this.statesByElement.get(e);if(a){for(let n of a.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,a,n){if(Qs(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,a,n),!0}return!1}insertNode(e,t,a,n){if(!Qs(t))return;let r=t[$n];if(r&&r.setForRemoval){r.setForRemoval=!1,r.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,a)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Nn(e,Vc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),oi(e,Vc))}removeNode(e,t,a){if(Qs(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,a)}else this._onRemovalComplete(t,a)}markElementAsRemoved(e,t,a,n,r){this.collectedLeaveElements.push(t),t[$n]={namespaceId:e,setForRemoval:n,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,a,n,r){return Qs(t)?this._fetchNamespace(e).listen(t,a,n,r):()=>{}}_buildInstruction(e,t,a,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,Ul,!0);t.forEach(a=>this.destroyActiveAnimationsForElement(a)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Qd,!0),t.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ja(this.players).onDone(()=>e());e()})}processLeaveNode(e){var a;let t=e[$n];if(t&&t.setForRemoval){if(e[$n]=nw,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(a=e.classList)!=null&&a.contains(Vc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,_te,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,n)=>this._balanceNamespaceList(a,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++){let n=this.collectedEnterElements[a];Nn(n,wte)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let a=[];try{t=this._flushAnimations(a,e)}finally{for(let n=0;n<a.length;n++)a[n]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++){let n=this.collectedLeaveElements[a];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){let a=this._whenQuietFns;this._whenQuietFns=[],t.length?Ja(t).onDone(()=>{a.forEach(n=>n())}):a.forEach(n=>n())}}reportError(e){throw Ree()}_flushAnimations(e,t){let a=new hm,n=[],r=new Map,i=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(F=>{c.add(F);let H=this.driver.query(F,yte,!0);for(let Y=0;Y<H.length;Y++)c.add(H[Y])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=Gg(m,this.collectedEnterElements),g=new Map,w=0;v.forEach((F,H)=>{let Y=G1+w++;g.set(H,Y),F.forEach(Ie=>Nn(Ie,Y))});let x=[],k=new Set,D=new Set;for(let F=0;F<this.collectedLeaveElements.length;F++){let H=this.collectedLeaveElements[F],Y=H[$n];Y&&Y.setForRemoval&&(x.push(H),k.add(H),Y.hasAnimation?this.driver.query(H,xte,!0).forEach(Ie=>k.add(Ie)):D.add(H))}let O=new Map,M=Gg(m,Array.from(k));M.forEach((F,H)=>{let Y=Kd+w++;O.set(H,Y),F.forEach(Ie=>Nn(Ie,Y))}),e.push(()=>{v.forEach((F,H)=>{let Y=g.get(H);F.forEach(Ie=>oi(Ie,Y))}),M.forEach((F,H)=>{let Y=O.get(H);F.forEach(Ie=>oi(Ie,Y))}),x.forEach(F=>{this.processLeaveNode(F)})});let X=[],ue=[];for(let F=this._namespaceList.length-1;F>=0;F--)this._namespaceList[F].drainQueuedTransitions(t).forEach(H=>{let Y=H.player,Ie=H.element;if(X.push(Y),this.collectedEnterElements.length){let rt=Ie[$n];if(rt&&rt.setForMove){if(rt.previousTriggersValues&&rt.previousTriggersValues.has(H.triggerName)){let en=rt.previousTriggersValues.get(H.triggerName),Nt=this.statesByElement.get(H.element);if(Nt&&Nt.has(H.triggerName)){let Xn=Nt.get(H.triggerName);Xn.value=en,Nt.set(H.triggerName,Xn)}}Y.destroy();return}}let Je=!d||!this.driver.containsElement(d,Ie),Xt=O.get(Ie),Pe=g.get(Ie),ze=this._buildInstruction(H,a,Pe,Xt,Je);if(ze.errors&&ze.errors.length){ue.push(ze);return}if(Je){Y.onStart(()=>Mr(Ie,ze.fromStyles)),Y.onDestroy(()=>ia(Ie,ze.toStyles)),n.push(Y);return}if(H.isFallbackTransition){Y.onStart(()=>Mr(Ie,ze.fromStyles)),Y.onDestroy(()=>ia(Ie,ze.toStyles)),n.push(Y);return}let ft=[];ze.timelines.forEach(rt=>{rt.stretchStartingKeyframe=!0,this.disabledNodes.has(rt.element)||ft.push(rt)}),ze.timelines=ft,a.append(Ie,ze.timelines);let zn={instruction:ze,player:Y,element:Ie};i.push(zn),ze.queriedElements.forEach(rt=>kn(o,rt,[]).push(Y)),ze.preStyleProps.forEach((rt,en)=>{if(rt.size){let Nt=l.get(en);Nt||l.set(en,Nt=new Set),rt.forEach((Xn,$a)=>Nt.add($a))}}),ze.postStyleProps.forEach((rt,en)=>{let Nt=u.get(en);Nt||u.set(en,Nt=new Set),rt.forEach((Xn,$a)=>Nt.add($a))})});if(ue.length){let F=[];ue.forEach(H=>{F.push(Oee(H.triggerName,H.errors))}),X.forEach(H=>H.destroy()),this.reportError(F)}let we=new Map,Mt=new Map;i.forEach(F=>{let H=F.element;a.has(H)&&(Mt.set(H,H),this._beforeAnimationBuild(F.player.namespaceId,F.instruction,we))}),n.forEach(F=>{let H=F.element;this._getPreviousPlayers(H,!1,F.namespaceId,F.triggerName,null).forEach(Y=>{kn(we,H,[]).push(Y),Y.destroy()})});let wt=x.filter(F=>Ug(F,l,u)),at=new Map;$g(at,this.driver,D,u,La).forEach(F=>{Ug(F,l,u)&&wt.push(F)});let Ct=new Map;v.forEach((F,H)=>{$g(Ct,this.driver,new Set(F),l,rm)}),wt.forEach(F=>{let H=at.get(F),Y=Ct.get(F);at.set(F,new Map([...(H==null?void 0:H.entries())??[],...(Y==null?void 0:Y.entries())??[]]))});let J=[],U=[],Ee={};i.forEach(F=>{let{element:H,player:Y,instruction:Ie}=F;if(a.has(H)){if(c.has(H)){Y.onDestroy(()=>ia(H,Ie.toStyles)),Y.disabled=!0,Y.overrideTotalTime(Ie.totalTime),n.push(Y);return}let Je=Ee;if(Mt.size>1){let Pe=H,ze=[];for(;Pe=Pe.parentNode;){let ft=Mt.get(Pe);if(ft){Je=ft;break}ze.push(Pe)}ze.forEach(ft=>Mt.set(ft,Je))}let Xt=this._buildAnimation(Y.namespaceId,Ie,we,r,Ct,at);if(Y.setRealPlayer(Xt),Je===Ee)J.push(Y);else{let Pe=this.playersByElement.get(Je);Pe&&Pe.length&&(Y.parentPlayer=Ja(Pe)),n.push(Y)}}else Mr(H,Ie.fromStyles),Y.onDestroy(()=>ia(H,Ie.toStyles)),U.push(Y),c.has(H)&&n.push(Y)}),U.forEach(F=>{let H=r.get(F.element);if(H&&H.length){let Y=Ja(H);F.setRealPlayer(Y)}}),n.forEach(F=>{F.parentPlayer?F.syncPlayerEvents(F.parentPlayer):F.destroy()});for(let F=0;F<x.length;F++){let H=x[F],Y=H[$n];if(oi(H,Kd),Y&&Y.hasAnimation)continue;let Ie=[];if(o.size){let Xt=o.get(H);Xt&&Xt.length&&Ie.push(...Xt);let Pe=this.driver.query(H,Qd,!0);for(let ze=0;ze<Pe.length;ze++){let ft=o.get(Pe[ze]);ft&&ft.length&&Ie.push(...ft)}}let Je=Ie.filter(Xt=>!Xt.destroyed);Je.length?Rte(this,H,Je):this.processLeaveNode(H)}return x.length=0,J.forEach(F=>{this.players.push(F),F.onDone(()=>{F.destroy();let H=this.players.indexOf(F);this.players.splice(H,1)}),F.play()}),J}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,a,n,r){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==Co;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||i.push(u)})}}return(a||n)&&(i=i.filter(o=>!(a&&a!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,a){let n=t.triggerName,r=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!==r,d=kn(a,u,[]);this._getPreviousPlayers(u,c,i,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),d.push(m)})}Mr(r,t.fromStyles)}_buildAnimation(e,t,a,n,r,i){let o=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;c.add(w);let x=w[$n];if(x&&x.removedBeforeQueried)return new Wo(g.duration,g.delay);let k=w!==l,D=Ote((a.get(w)||Ete).map(we=>we.getRealPlayer())).filter(we=>{let Mt=we;return Mt.element?Mt.element===w:!1}),O=r.get(w),M=i.get(w),X=B1(this._normalizer,g.keyframes,O,M),ue=this._buildPlayer(g,X,D);if(g.subTimeline&&n&&d.add(w),k){let we=new th(e,o,w);we.setRealPlayer(ue),u.push(we)}return ue});u.forEach(g=>{kn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>Dte(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Nn(g,Lg));let v=Ja(m);return v.onDestroy(()=>{c.forEach(g=>oi(g,Lg)),ia(l,t.toStyles)}),d.forEach(g=>{kn(n,g,[]).push(v)}),v}_buildPlayer(e,t,a){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new Wo(e.duration,e.delay)}},th=class{constructor(e,t,a){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Wo);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=a}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,a)=>{t.forEach(n=>im(e,a,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){kn(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 Dte(e,t,a){let n=e.get(t);if(n){if(n.length){let r=n.indexOf(a);n.splice(r,1)}n.length==0&&e.delete(t)}return n}function Ite(e){return e??null}function Qs(e){return e&&e.nodeType===1}function Tte(e){return e=="start"||e=="done"}function qg(e,t){let a=e.style.display;return e.style.display=t??"none",a}function $g(e,t,a,n,r){let i=[];a.forEach(u=>i.push(qg(u)));let o=[];n.forEach((u,c)=>{let d=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,r);d.set(m,v),(!v||v.length==0)&&(c[$n]=Ste,o.push(c))}),e.set(c,d)});let l=0;return a.forEach(u=>qg(u,i[l++])),o}function Gg(e,t){let a=new Map;if(e.forEach(l=>a.set(l,[])),t.length==0)return a;let n=1,r=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 a.has(c)?u=c:r.has(c)?u=n:u=o(c),i.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&a.get(u).push(l)}),a}function Nn(e,t){var a;(a=e.classList)==null||a.add(t)}function oi(e,t){var a;(a=e.classList)==null||a.remove(t)}function Rte(e,t,a){Ja(a).onDone(()=>e.processLeaveNode(t))}function Ote(e){let t=[];return aw(e,t),t}function aw(e,t){for(let a=0;a<e.length;a++){let n=e[a];n instanceof z1?aw(n.players,t):t.push(n)}}function Mte(e,t){let a=Object.keys(e),n=Object.keys(t);if(a.length!=n.length)return!1;for(let r=0;r<a.length;r++){let i=a[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function Ug(e,t,a){let n=a.get(e);if(!n)return!1;let r=t.get(e);return r?n.forEach(i=>r.add(i)):t.set(e,n),a.delete(e),!0}var nh=class{constructor(e,t,a){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=a,this._transitionEngine=new Cte(e.body,t,a),this._timelineEngine=new bte(e.body,t,a),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,a,n,r){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],u=[],c=Y1(this._driver,r,l,u);if(l.length)throw _ee();o=mte(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,a,n){this._transitionEngine.insertNode(e,t,a,n)}onRemove(e,t,a){this._transitionEngine.removeNode(e,t,a)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,a,n){if(a.charAt(0)=="@"){let[r,i]=Ag(a),o=n;this._timelineEngine.command(r,t,i,o)}else this._transitionEngine.trigger(e,t,a,n)}listen(e,t,a,n,r){if(a.charAt(0)=="@"){let[i,o]=Ag(a);return this._timelineEngine.listen(i,t,o,r)}return this._transitionEngine.listen(e,t,a,n,r)}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 Nte(e,t){let a=null,n=null;return Array.isArray(t)&&t.length?(a=Bc(t[0]),t.length>1&&(n=Bc(t[t.length-1]))):t instanceof Map&&(a=Bc(t)),a||n?new Ate(e,a,n):null}var Ate=(()=>{const t=class t{constructor(n,r,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=r,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&&ia(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ia(this._element,this._initialStyles),this._endStyles&&(ia(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Mr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mr(this._element,this._endStyles),this._endStyles=null),ia(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Bc(e){let t=null;return e.forEach((a,n)=>{Pte(n)&&(t=t||new Map,t.set(n,a))}),t}function Pte(e){return e==="display"||e==="position"}var Wg=class{constructor(e,t,a,n){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=a,this._specialStyles=n,this._duration=a.duration,this._delay=a.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(a=>{t.push(Object.fromEntries(a))}),t}_triggerWebAnimation(e,t,a){return e.animate(this._convertKeyframesToObject(t),a)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,a)=>{a!=="offset"&&e.set(a,this._finished?t:um(this.element,a))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},Lte=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return H1(e,t)}getParentElement(e){return sm(e)}query(e,t,a){return q1(e,t,a)}computeStyle(e,t,a){return um(e,t)}animate(e,t,a,n,r,i=[]){let o=n==0?"both":"forwards",l={duration:a,delay:n,fill:o};r&&(l.easing=r);let u=new Map,c=i.filter(v=>v instanceof Wg);Hee(a,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,w)=>u.set(w,g))});let d=Vee(t).map(v=>new Map(v));d=qee(e,d,u);let m=Nte(e,d);return new Wg(e,d,l,m)}},bl="@",rw="@.disabled",iw=class{constructor(e,t,a,n){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=a,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,a;(a=(t=this.delegate).destroyNode)==null||a.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,a,n=!0){this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,a){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,a,n){this.delegate.setAttribute(e,t,a,n)}removeAttribute(e,t,a){this.delegate.removeAttribute(e,t,a)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,a,n){this.delegate.setStyle(e,t,a,n)}removeStyle(e,t,a){this.delegate.removeStyle(e,t,a)}setProperty(e,t,a){t.charAt(0)==bl&&t==rw?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,a,n){return this.delegate.listen(e,t,a,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Fte=class extends iw{constructor(t,a,n,r,i){super(a,n,r,i);s(this,"factory");this.factory=t,this.namespaceId=a}setProperty(t,a,n){a.charAt(0)==bl?a.charAt(1)=="."&&a==rw?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,a.slice(1),n):this.delegate.setProperty(t,a,n)}listen(t,a,n,r){if(a.charAt(0)==bl){let i=jte(t),o=a.slice(1),l="";return o.charAt(0)!=bl&&([o,l]=Vte(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,a,n,r)}};function jte(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Vte(e){let t=e.indexOf("."),a=e.substring(0,t),n=e.slice(t+1);return[a,n]}var zte=class{constructor(e,t,a){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=a,t.onRemovalComplete=(n,r)=>{r==null||r.removeChild(null,n)}}createRenderer(e,t){var l;let a="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let u=this._rendererCache,c=u.get(n);if(!c){let d=()=>u.delete(n);c=new iw(a,n,this.engine,d),u.set(n,c)}return c}let r=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(r,i,e,u.name,u)};return t.data.animation.forEach(o),new Fte(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(a));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[i,o]=r;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,a])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,a;this.engine.flush(),(a=(t=this.delegate).componentReplaced)==null||a.call(t,e)}},Bte=(()=>{const t=class t extends nh{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(W1),oe(cm))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Hte(){return new Uee}function qte(e,t,a){return new zte(e,t,a)}var $te=[{provide:cm,useFactory:Hte},{provide:nh,useClass:Bte},{provide:Kn,useFactory:qte,deps:[Vd,nh,He]}],Gte=[{provide:W1,useFactory:()=>new Lte},{provide:mr,useFactory:()=>"BrowserAnimations"},...$te];function Ute(){return Zr("NgEagerAnimations"),[...Gte]}var Wte=(()=>{const t=class t extends V1{constructor(n){super(),this.translate=n,this.getRangeLabel=(r,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=r*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(Jn))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),ow=6048e5,Zte=864e5,Yte=6e4,Kte=36e5,Qte=1e3,Zg=Symbol.for("constructDateFrom");function Gt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Zg in e?e[Zg](t):e instanceof Date?new e.constructor(t):new Date(t)}function Vt(e,t){return Gt(t||e,e)}function sw(e,t,a){let n=Vt(e,a==null?void 0:a.in);return isNaN(t)?Gt((a==null?void 0:a.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Jte={};function to(){return Jte}function cr(e,t){var l,u,c,d;let a=to(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??a.weekStartsOn??((d=(c=a.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??0,r=Vt(e,t==null?void 0:t.in),i=r.getDay(),o=(i<n?7:0)+i-n;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function ji(e,t){return cr(e,Qt(ce({},t),{weekStartsOn:1}))}function lw(e,t){let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),r=Gt(a,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let i=ji(r),o=Gt(a,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=ji(o);return a.getTime()>=i.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function Kl(e){let t=Vt(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function Xte(e,...t){let a=Gt.bind(null,t.find(n=>typeof n=="object"));return t.map(a)}function Yg(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setHours(0,0,0,0),a}function ene(e,t,a){let[n,r]=Xte(a==null?void 0:a.in,e,t),i=Yg(n),o=Yg(r),l=+i-Kl(i),u=+o-Kl(o);return Math.round((l-u)/Zte)}function tne(e,t){let a=lw(e,t),n=Gt(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),ji(n)}function nne(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ane(e){return!(!nne(e)&&typeof e!="number"||isNaN(+Vt(e)))}function rne(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}var ine={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"}},one=(e,t,a)=>{let n,r=ine[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};function Hc(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var sne={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"},une={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cne={date:Hc({formats:sne,defaultWidth:"full"}),time:Hc({formats:lne,defaultWidth:"full"}),dateTime:Hc({formats:une,defaultWidth:"full"})},dne={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},hne=(e,t,a,n)=>dne[e];function po(e){return(t,a)=>{let n=a!=null&&a.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=a!=null&&a.width?String(a.width):o;r=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}var pne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mne={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},fne={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"]},gne={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"]},vne={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"}},bne={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"}},yne=(e,t)=>{let a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},_ne={ordinalNumber:yne,era:po({values:pne,defaultWidth:"wide"}),quarter:po({values:mne,defaultWidth:"wide",argumentCallback:e=>e-1}),month:po({values:fne,defaultWidth:"wide"}),day:po({values:gne,defaultWidth:"wide"}),dayPeriod:po({values:vne,defaultWidth:"wide",formattingValues:bne,defaultFormattingWidth:"wide"})};function mo(e){return(t,a={})=>{let n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?xne(l,m=>m.test(o)):wne(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=a.valueCallback?a.valueCallback(c):c;let d=t.slice(o.length);return{value:c,rest:d}}}function wne(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function xne(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function Ene(e){return(t,a={})=>{let n=t.match(e.matchPattern);if(!n)return null;let r=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;let l=t.slice(r.length);return{value:o,rest:l}}}var Sne=/^(\d+)(th|st|nd|rd)?/i,kne=/\d+/i,Cne={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},Dne={any:[/^b/i,/^(a|c)/i]},Ine={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Tne={any:[/1/i,/2/i,/3/i,/4/i]},Rne={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},One={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]},Mne={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},Nne={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]},Ane={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},Pne={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}},Lne={ordinalNumber:Ene({matchPattern:Sne,parsePattern:kne,valueCallback:e=>parseInt(e,10)}),era:mo({matchPatterns:Cne,defaultMatchWidth:"wide",parsePatterns:Dne,defaultParseWidth:"any"}),quarter:mo({matchPatterns:Ine,defaultMatchWidth:"wide",parsePatterns:Tne,defaultParseWidth:"any",valueCallback:e=>e+1}),month:mo({matchPatterns:Rne,defaultMatchWidth:"wide",parsePatterns:One,defaultParseWidth:"any"}),day:mo({matchPatterns:Mne,defaultMatchWidth:"wide",parsePatterns:Nne,defaultParseWidth:"any"}),dayPeriod:mo({matchPatterns:Ane,defaultMatchWidth:"any",parsePatterns:Pne,defaultParseWidth:"any"})},uw={code:"en-US",formatDistance:one,formatLong:cne,formatRelative:hne,localize:_ne,match:Lne,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Fne(e,t){let a=Vt(e,t==null?void 0:t.in);return ene(a,rne(a))+1}function cw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+ji(a)-+tne(a);return Math.round(n/ow)+1}function pm(e,t){var d,m,v,g;let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),r=to(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(v=r.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Gt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=cr(o,t),u=Gt((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,i),u.setHours(0,0,0,0);let c=cr(u,t);return+a>=+l?n+1:+a>=+c?n:n-1}function jne(e,t){var o,l,u,c;let a=to(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??a.firstWeekContainsDate??((c=(u=a.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,r=pm(e,t),i=Gt((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,n),i.setHours(0,0,0,0),cr(i,t)}function dw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+cr(a,t)-+jne(a,t);return Math.round(n/ow)+1}function Ze(e,t){let a=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return a+n}var Wa={y(e,t){let a=e.getFullYear(),n=a>0?a:1-a;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):Ze(a+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let a=t.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,a-3));return Ze(r,t.length)}},ri={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Kg={G:function(e,t,a){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){let n=e.getFullYear(),r=n>0?n:1-n;return a.ordinalNumber(r,{unit:"year"})}return Wa.y(e,t)},Y:function(e,t,a,n){let r=pm(e,n),i=r>0?r:1-r;if(t==="YY"){let o=i%100;return Ze(o,2)}return t==="Yo"?a.ordinalNumber(i,{unit:"year"}):Ze(i,t.length)},R:function(e,t){let a=lw(e);return Ze(a,t.length)},u:function(e,t){let a=e.getFullYear();return Ze(a,t.length)},Q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){let n=e.getMonth();switch(t){case"M":case"MM":return Wa.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){let r=dw(e,n);return t==="wo"?a.ordinalNumber(r,{unit:"week"}):Ze(r,t.length)},I:function(e,t,a){let n=cw(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):Wa.d(e,t)},D:function(e,t,a){let n=Fne(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,a){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ze(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ze(i,t.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,a){let n=e.getDay(),r=n===0?7:n;switch(t){case"i":return String(r);case"ii":return Ze(r,t.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){let n=e.getHours(),r;switch(n===12?r=ri.noon:n===0?r=ri.midnight:r=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,a){let n=e.getHours(),r;switch(n>=17?r=ri.evening:n>=12?r=ri.afternoon:n>=4?r=ri.morning:r=ri.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return Wa.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):Wa.H(e,t)},K:function(e,t,a){let n=e.getHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,a){let n=e.getHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wa.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):Wa.s(e,t)},S:function(e,t){return Wa.S(e,t)},X:function(e,t,a){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Jg(n);case"XXXX":case"XX":return Ir(n);case"XXXXX":case"XXX":default:return Ir(n,":")}},x:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"x":return Jg(n);case"xxxx":case"xx":return Ir(n);case"xxxxx":case"xxx":default:return Ir(n,":")}},O:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Qg(n,":");case"OOOO":default:return"GMT"+Ir(n,":")}},z:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Qg(n,":");case"zzzz":default:return"GMT"+Ir(n,":")}},t:function(e,t,a){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,a){return Ze(+e,t.length)}};function Qg(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.trunc(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+Ze(i,2)}function Jg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Ir(e,t)}function Ir(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Ze(Math.trunc(n/60),2),i=Ze(n%60,2);return a+r+t+i}var Xg=(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"})}},hw=(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"})}},Vne=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],n=a[1],r=a[2];if(!r)return Xg(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}}",Xg(n,t)).replace("{{time}}",hw(r,t))},ah={p:hw,P:Vne},zne=/^D+$/,Bne=/^Y+$/,Hne=["D","DD","YY","YYYY"];function pw(e){return zne.test(e)}function mw(e){return Bne.test(e)}function rh(e,t,a){let n=qne(e,t,a);if(console.warn(n),Hne.includes(e))throw new RangeError(n)}function qne(e,t,a){let n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var $ne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Gne=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Une=/^'([^]*?)'?$/,Wne=/''/g,Zne=/[a-zA-Z]/;function fw(e,t,a){var d,m,v,g,w,x,k,D;let n=to(),r=(a==null?void 0:a.locale)??n.locale??uw,i=(a==null?void 0:a.firstWeekContainsDate)??((m=(d=a==null?void 0:a.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(a==null?void 0:a.weekStartsOn)??((x=(w=a==null?void 0:a.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((D=(k=n.locale)==null?void 0:k.options)==null?void 0:D.weekStartsOn)??0,l=Vt(e,a==null?void 0:a.in);if(!ane(l))throw new RangeError("Invalid time value");let u=t.match(Gne).map(O=>{let M=O[0];if(M==="p"||M==="P"){let X=ah[M];return X(O,r.formatLong)}return O}).join("").match($ne).map(O=>{if(O==="''")return{isToken:!1,value:"'"};let M=O[0];if(M==="'")return{isToken:!1,value:Yne(O)};if(Kg[M])return{isToken:!0,value:O};if(M.match(Zne))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return{isToken:!1,value:O}});r.localize.preprocessor&&(u=r.localize.preprocessor(l,u));let c={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return u.map(O=>{if(!O.isToken)return O.value;let M=O.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&mw(M)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&pw(M))&&rh(M,t,String(e));let X=Kg[M[0]];return X(l,M,r.localize,c)}).join("")}function Yne(e){let t=e.match(Une);return t?t[1].replace(Wne,"'"):e}function gw(){return Object.assign({},to())}function Kne(e,t){let a=Vt(e,t==null?void 0:t.in).getDay();return a===0?7:a}function Qne(e,t){let a=Jne(t)?new t(0):Gt(t,0);return a.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),a.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),a}function Jne(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Xne=10,vw=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},eae=class extends vw{constructor(e,t,a,n,r){super(),this.value=e,this.validateValue=t,this.setValue=a,this.priority=n,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,a){return this.setValue(e,t,this.value,a)}},tae=class extends vw{constructor(t,a){super();s(this,"priority",Xne);s(this,"subPriority",-1);this.context=t||(n=>Gt(a,n))}set(t,a){return a.timestampIsSet?t:Gt(t,Qne(t,this.context))}},Ge=class{run(e,t,a,n){let r=this.parse(e,t,a,n);return r?{setter:new eae(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,a){return!0}},nae=class extends Ge{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,n){switch(a){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,a,n){return a.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},St={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},oa={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function kt(e,t){return e&&{value:t(e.value),rest:e.rest}}function gt(e,t){let a=t.match(e);return a?{value:parseInt(a[0],10),rest:t.slice(a[0].length)}:null}function sa(e,t){let a=t.match(e);if(!a)return null;if(a[0]==="Z")return{value:0,rest:t.slice(1)};let n=a[1]==="+"?1:-1,r=a[2]?parseInt(a[2],10):0,i=a[3]?parseInt(a[3],10):0,o=a[5]?parseInt(a[5],10):0;return{value:n*(r*Kte+i*Yte+o*Qte),rest:t.slice(a[0].length)}}function bw(e){return gt(St.anyDigitsSigned,e)}function _t(e,t){switch(e){case 1:return gt(St.singleDigit,t);case 2:return gt(St.twoDigits,t);case 3:return gt(St.threeDigits,t);case 4:return gt(St.fourDigits,t);default:return gt(new RegExp("^\\d{1,"+e+"}"),t)}}function Ql(e,t){switch(e){case 1:return gt(St.singleDigitSigned,t);case 2:return gt(St.twoDigitsSigned,t);case 3:return gt(St.threeDigitsSigned,t);case 4:return gt(St.fourDigitsSigned,t);default:return gt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function mm(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function yw(e,t){let a=t>0,n=a?t:1-t,r;if(n<=50)r=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;r=e+o-(l?100:0)}return a?r:1-r}function _w(e){return e%400===0||e%4===0&&e%100!==0}var aae=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,a,n){let r=i=>({year:i,isTwoDigitYear:a==="yy"});switch(a){case"y":return kt(_t(4,t),r);case"yo":return kt(n.ordinalNumber(t,{unit:"year"}),r);default:return kt(_t(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n){let r=t.getFullYear();if(n.isTwoDigitYear){let o=yw(n.year,r);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},rae=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,a,n){let r=i=>({year:i,isTwoDigitYear:a==="YY"});switch(a){case"Y":return kt(_t(4,t),r);case"Yo":return kt(n.ordinalNumber(t,{unit:"year"}),r);default:return kt(_t(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n,r){let i=pm(t,r);if(n.isTwoDigitYear){let l=yw(n.year,i);return t.setFullYear(l,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),cr(t,r)}let o=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(o,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),cr(t,r)}},iae=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,a){return Ql(a==="R"?4:a.length,t)}set(t,a,n){let r=Gt(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),ji(r)}},oae=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,a){return Ql(a==="u"?4:a.length,t)}set(t,a,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},sae=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"Q":case"QQ":return _t(a.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},lae=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"q":case"qq":return _t(a.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},uae=class extends Ge{constructor(){super(...arguments);s(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);s(this,"priority",110)}parse(t,a,n){let r=i=>i-1;switch(a){case"M":return kt(gt(St.month,t),r);case"MM":return kt(_t(2,t),r);case"Mo":return kt(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",110);s(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,a,n){let r=i=>i-1;switch(a){case"L":return kt(gt(St.month,t),r);case"LL":return kt(_t(2,t),r);case"Lo":return kt(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function dae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=dw(n,a)-t;return n.setDate(n.getDate()-r*7),Vt(n,a==null?void 0:a.in)}var hae=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,a,n){switch(a){case"w":return gt(St.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n,r){return cr(dae(t,n,r),r)}};function pae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=cw(n,a)-t;return n.setDate(n.getDate()-r*7),n}var mae=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,a,n){switch(a){case"I":return gt(St.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n){return ji(pae(t,n))}},fae=[31,28,31,30,31,30,31,31,30,31,30,31],gae=[31,29,31,30,31,30,31,31,30,31,30,31],vae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subPriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"d":return gt(St.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return _t(a.length,t)}}validate(t,a){let n=t.getFullYear(),r=_w(n),i=t.getMonth();return r?a>=1&&a<=gae[i]:a>=1&&a<=fae[i]}set(t,a,n){return t.setDate(n),t.setHours(0,0,0,0),t}},bae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subpriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,a,n){switch(a){case"D":case"DD":return gt(St.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return _t(a.length,t)}}validate(t,a){let n=t.getFullYear();return _w(n)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function fm(e,t,a){var d,m,v,g;let n=to(),r=(a==null?void 0:a.weekStartsOn)??((m=(d=a==null?void 0:a.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,i=Vt(e,a==null?void 0:a.in),o=i.getDay(),l=(t%7+7)%7,u=7-r,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return sw(i,c,a)}var yae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=fm(t,n,r),t.setHours(0,0,0,0),t}},_ae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return kt(_t(a.length,t),i);case"eo":return kt(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=fm(t,n,r),t.setHours(0,0,0,0),t}},wae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return kt(_t(a.length,t),i);case"co":return kt(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=fm(t,n,r),t.setHours(0,0,0,0),t}};function xae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=Kne(n,a),i=t-r;return sw(n,i,a)}var Eae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,a,n){let r=i=>i===0?7:i;switch(a){case"i":case"ii":return _t(a.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return kt(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return kt(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return kt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return kt(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,a){return a>=1&&a<=7}set(t,a,n){return t=xae(t,n),t.setHours(0,0,0,0),t}},Sae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,n){switch(a){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(mm(n),0,0,0),t}},kae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,n){switch(a){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(mm(n),0,0,0),t}},Cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,n){switch(a){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(mm(n),0,0,0),t}},Dae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,n){switch(a){case"h":return gt(St.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,n){let r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):!r&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},Iae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,n){switch(a){case"H":return gt(St.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,n){return t.setHours(n,0,0,0),t}},Tae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,n){switch(a){case"K":return gt(St.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},Rae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,n){switch(a){case"k":return gt(St.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,n){let r=n<=24?n%24:n;return t.setHours(r,0,0,0),t}},Oae=class extends Ge{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"m":return gt(St.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setMinutes(n,0,0),t}},Mae=class extends Ge{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"s":return gt(St.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return _t(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setSeconds(n,0),t}},Nae=class extends Ge{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,a){let n=r=>Math.trunc(r*Math.pow(10,-a.length+3));return kt(_t(a.length,t),n)}set(t,a,n){return t.setMilliseconds(n),t}},Aae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return sa(oa.basicOptionalMinutes,t);case"XX":return sa(oa.basic,t);case"XXXX":return sa(oa.basicOptionalSeconds,t);case"XXXXX":return sa(oa.extendedOptionalSeconds,t);case"XXX":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Gt(t,t.getTime()-Kl(t)-n)}},Pae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return sa(oa.basicOptionalMinutes,t);case"xx":return sa(oa.basic,t);case"xxxx":return sa(oa.basicOptionalSeconds,t);case"xxxxx":return sa(oa.extendedOptionalSeconds,t);case"xxx":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Gt(t,t.getTime()-Kl(t)-n)}},Lae=class extends Ge{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return bw(t)}set(t,a,n){return[Gt(t,n*1e3),{timestampIsSet:!0}]}},Fae=class extends Ge{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return bw(t)}set(t,a,n){return[Gt(t,n),{timestampIsSet:!0}]}},jae={G:new nae,y:new aae,Y:new rae,R:new iae,u:new oae,Q:new sae,q:new lae,M:new uae,L:new cae,w:new hae,I:new mae,d:new vae,D:new bae,E:new yae,e:new _ae,c:new wae,i:new Eae,a:new Sae,b:new kae,B:new Cae,h:new Dae,H:new Iae,K:new Tae,k:new Rae,m:new Oae,s:new Mae,S:new Nae,X:new Aae,x:new Pae,t:new Lae,T:new Fae},Vae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bae=/^'([^]*?)'?$/,Hae=/''/g,qae=/\S/,$ae=/[a-zA-Z]/;function Gae(e,t,a,n){var k,D,O,M;let r=()=>Gt(a,NaN),i=gw(),o=i.locale??uw,l=i.firstWeekContainsDate??((D=(k=i.locale)==null?void 0:k.options)==null?void 0:D.firstWeekContainsDate)??1,u=i.weekStartsOn??((M=(O=i.locale)==null?void 0:O.options)==null?void 0:M.weekStartsOn)??0,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},d=[new tae(n==null?void 0:n.in,a)],m=t.match(zae).map(X=>{let ue=X[0];if(ue in ah){let we=ah[ue];return we(X,o.formatLong)}return X}).join("").match(Vae),v=[];for(let X of m){mw(X)&&rh(X,t,e),pw(X)&&rh(X,t,e);let ue=X[0],we=jae[ue];if(we){let{incompatibleTokens:Mt}=we;if(Array.isArray(Mt)){let at=v.find(Ct=>Mt.includes(Ct.token)||Ct.token===ue);if(at)throw new RangeError(`The format string mustn't contain \`${at.fullToken}\` and \`${X}\` at the same time`)}else if(we.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 wt=we.run(e,X,o.match,c);if(!wt)return r();d.push(wt.setter),e=wt.rest}else{if(ue.match($ae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ue+"`");if(X==="''"?X="'":ue==="'"&&(X=Uae(X)),e.indexOf(X)===0)e=e.slice(X.length);else return r()}}if(e.length>0&&qae.test(e))return r();let g=d.map(X=>X.priority).sort((X,ue)=>ue-X).filter((X,ue,we)=>we.indexOf(X)===ue).map(X=>d.filter(ue=>ue.priority===X).sort((ue,we)=>we.subPriority-ue.subPriority)).map(X=>X[0]),w=Vt(a,n==null?void 0:n.in);if(isNaN(+w))return r();let x={};for(let X of g){if(!X.validate(w,c))return r();let ue=X.set(w,x,c);Array.isArray(ue)?(w=ue[0],Object.assign(x,ue[1])):w=ue}return w}function Uae(e){return e.match(Bae)[1].replace(Hae,"'")}var T=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(T||{}),gm=new K("ngx-mask config"),ww=new K("new ngx-mask config"),xw=new K("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 ot,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var Zae=(()=>{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,r,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(;r&&v.test(d);)d=d.replace(v,"$1"+r+"$2");return typeof o>"u"?d+c:o===0?d:d+c.substring(0,o+1)});s(this,"percentage",n=>{let r=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(T.MINUS)?r.slice(1,n.length):r);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let r=n.split(T.DOT);return r.length>1?Number(r[r.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var r,i,o,l;for(let u=((r=this.suffix)==null?void 0:r.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,r,i)=>{var u;let o=n,l=i;if(r<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${r}}.*$`),d=o.match(c),m=(d&&((u=d[0])==null?void 0:u.length))??0;if(m-1>r){let v=m-1-r;o=o.substring(0,o.length-v)}r===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,r){let[i,o]=r;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,r,i=0,o=!1,l=!1,u=()=>{}){var wt,at,Ct;if(!r||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)),r===T.IP){let J=x.split(T.DOT);this.ipError=this._validIP(J),r="099.099.099.099"}let O=[];for(let J=0;J<x.length;J++)(wt=x[J])!=null&&wt.match("\\d")&&O.push(x[J]??T.EMPTY_STRING);if(r===T.CPF_CNPJ&&(this.cpfCnpjError=O.length!==11&&O.length!==14,O.length>11?r="00.000.000/0000-00":r="000.000.000-00"),r.startsWith(T.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let Ee=this.getPrecision(r);x=this.checkInputPrecision(x,Ee,this.decimalMarker)}let J=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(x.indexOf(J)>0&&!this.percentage(x.substring(0,x.indexOf(J)))){let Ee=x.substring(0,x.indexOf(J)-1);this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&!l&&(Ee=x.substring(0,x.indexOf(J))),x=`${Ee}${x.substring(x.indexOf(J),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(r.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 J=this.getPrecision(r),U=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(J===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===T.MINUS&&x[1]===T.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==T.COMMA&&x[2]!==T.DOT?"-"+x.slice(2,x.length):x[0]===T.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===T.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:(x[0]===U&&x.length>1&&(x=T.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===T.NUMBER_ZERO&&x[1]!==U&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+U+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===T.MINUS&&(x[1]===U||x[1]===T.NUMBER_ZERO)&&(x=x[1]===U&&x.length>2?x.slice(0,1)+T.NUMBER_ZERO+x.slice(1,x.length):x[1]===T.NUMBER_ZERO&&x.length>2&&x[2]!==U?x.slice(0,2)+U+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Pe=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),ze=x[k]===T.NUMBER_ZERO||x[k]===U,ft=x[0]===T.NUMBER_ZERO,zn=x[0]===T.MINUS,rt=x[0]===this.thousandSeparator,en=x[1]===U,Nt=x[1]===T.NUMBER_ZERO,Xn=x[2]===U;ft&&en&&ze&&k<2&&(x=Pe),zn&&Nt&&Xn&&ze&&k<3&&(x=T.MINUS+Pe),Pe!==T.MINUS&&(k===0&&(ft||rt)||this.allowNegativeNumbers&&k===1&&zn&&!Nt)&&(x=zn?T.MINUS+Pe:Pe)}let Ee=this._charToRegExpExpression(this.thousandSeparator),F='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ee,"");if(Array.isArray(this.decimalMarker))for(let Pe of this.decimalMarker)F=F.replace(this._charToRegExpExpression(Pe),T.EMPTY_STRING);else F=F.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+F+"]");x.match(H)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,J,this.decimalMarker);let Y=x.replace(new RegExp(Ee,"g"),"");d=this._formatWithSeparators(Y,this.thousandSeparator,this.decimalMarker,J);let Ie=d.indexOf(T.COMMA)-x.indexOf(T.COMMA),Je=d.length-x.length,Xt=l&&d.length<n.length&&this.separatorLimit;if((d[k-1]===this.thousandSeparator||d[k-this.prefix.length])&&this.prefix&&l)k=k-1;else if(Je>0&&d[k]!==this.thousandSeparator||Xt){v=!0;let Pe=0;do this._shift.add(k+Pe),Pe++;while(Pe<Je)}else d[k-1]===this.thousandSeparator||Je===-4||Je===-3||d[k]===this.thousandSeparator?(this._shift.clear(),this._shift.add(k-1)):Ie!==0&&k>0&&!(d.indexOf(T.COMMA)>=k&&k>3)||!(d.indexOf(T.DOT)>=k&&k>3)&&Je<=0?(this._shift.clear(),v=!0,g=Je,k+=Je,this._shift.add(k)):this._shift.clear()}else for(let J=0,U=D[0];J<D.length&&c!==r.length;J++,U=D[J]??T.EMPTY_STRING){let Ee=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(U,r[c]??T.EMPTY_STRING)&&r[c+1]===T.SYMBOL_QUESTION)d+=U,c+=2;else if(r[c+1]===T.SYMBOL_STAR&&m&&this._checkSymbolMask(U,r[c+2]??T.EMPTY_STRING))d+=U,c+=3,m=!1;else if(this._checkSymbolMask(U,r[c]??T.EMPTY_STRING)&&r[c+1]===T.SYMBOL_STAR&&!Ee)d+=U,m=!0;else if(r[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(U,r[c+2]??T.EMPTY_STRING))d+=U,c+=3;else if(this._checkSymbolMask(U,r[c]??T.EMPTY_STRING)){if(r[c]===T.HOURS&&(this.apm?Number(U)>9:Number(U)>2)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),J--,this.leadZeroDateTime&&(d+="0");continue}if(r[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,J--;continue}if((r[c]===T.MINUTE||r[c]===T.SECOND)&&Number(U)>5){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),J--,this.leadZeroDateTime&&(d+="0");continue}let F=31,H=x[c],Y=x[c+1],Ie=x[c+2],Je=x[c-1],Xt=x[c-2],Pe=x.slice(c-3,c-1),ze=x.slice(c-1,c+1),ft=x.slice(c,c+2),zn=x.slice(c-2,c);if(r[c]===T.DAY){let rt=r.slice(0,2)===T.MONTHS,en=r.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Xt);if(Number(U)>3&&this.leadZeroDateTime||!rt&&(Number(ft)>F||Number(ze)>F||this.specialCharacters.includes(Y))||(en?Number(ze)>F||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Ie)||this.specialCharacters.includes(H):Number(ft)>F||this.specialCharacters.includes(Y)&&!l)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),J--,this.leadZeroDateTime&&(d+="0");continue}}if(r[c]===T.MONTH){let rt=c===0&&(Number(U)>2||Number(ft)>12||this.specialCharacters.includes(Y)&&!l),en=r.slice(c+2,c+3),Nt=Pe.includes(en)&&r.includes("d0")&&(this.specialCharacters.includes(Xt)&&Number(ze)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),Xn=Number(Pe)<=F&&!this.specialCharacters.includes(Pe)&&this.specialCharacters.includes(Je)&&(Number(ft)>12||this.specialCharacters.includes(Y)),$a=Number(ft)>12&&c===5||this.specialCharacters.includes(Y)&&c===5,xs=Number(Pe)>F&&!this.specialCharacters.includes(Pe)&&!this.specialCharacters.includes(zn)&&Number(zn)>12&&r.includes("d0"),Es=Number(Pe)<=F&&!this.specialCharacters.includes(Pe)&&!this.specialCharacters.includes(Je)&&Number(ze)>12;if(Number(U)>1&&this.leadZeroDateTime||rt||Nt||Es||xs||Xn||$a&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),J--,this.leadZeroDateTime&&(d+="0");continue}}d+=U,c++}else this.specialCharacters.includes(U)&&r[c]===U?(d+=U,c++):this.specialCharacters.indexOf(r[c]??T.EMPTY_STRING)!==-1?(d+=r[c],c++,this._shiftStep(r,c,D.length),J--):r[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(r,c,D.length):this.patterns[r[c]??T.EMPTY_STRING]&&((at=this.patterns[r[c]??T.EMPTY_STRING])!=null&&at.optional)?(D[c]&&r!=="099.099.099.099"&&r!=="000.000.000-00"&&r!=="00.000.000/0000-00"&&!r.match(/^9+\.0+$/)&&!((Ct=this.patterns[r[c]??T.EMPTY_STRING])!=null&&Ct.optional)&&(d+=D[c]),r.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&r.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&c++,c++,J--):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===r.length&&this.specialCharacters.indexOf(r[r.length-1]??T.EMPTY_STRING)!==-1&&(d+=r[r.length-1]);let M=k+1;for(;this._shift.has(M);)g++,M++;let X=o&&!r.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(J=>this.specialCharacters.includes(J)));let we=`${this.prefix}${ue?T.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(we=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let Mt=x.length===1&&this.specialCharacters.includes(r[0])&&x!==r[0];if(!this._checkSymbolMask(x,r[1])&&Mt)return"";if(d.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===T.MINUS)return"";we=`${T.MINUS}${this.prefix}${d.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return we}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(r=>r===n)}_checkSymbolMask(n,r){var i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[r])==null?void 0:i.pattern)&&((o=this.patterns[r])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(T.EMPTY_STRING).filter((r,i)=>{let o=typeof this.decimalMarker=="string"?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||r===T.MINUS&&i===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,r,i){let o=/[*?]/g.test(n.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(n):n===r}_validIP(n){return!(n.length===4&&!n.some((r,i)=>n.length!==i+1?r===T.EMPTY_STRING||Number(r)>255:r===T.EMPTY_STRING||Number(r.substring(0,3))>255))}_splitPercentZero(n){if(n===T.MINUS&&this.allowNegativeNumbers)return n;let r=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(T.DOT),i=this.allowNegativeNumbers&&n.includes(T.MINUS)?"-":"";if(r===-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,r),10),l=n.substring(r+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 r=0;r<n.length;r++){let i=n[r];if(i&&i>="1"&&i<="9")return r}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})(),Yae=(()=>{const t=class t extends Zae{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",r=>{});s(this,"_elementRef",S(Qe,{optional:!0}));s(this,"document",S(Ve));s(this,"_config",S(gm));s(this,"_renderer",S(Kr,{optional:!0}))}applyMask(r,i,o=0,l=!1,u=!1,c=()=>{}){if(!i)return r!==this.actualValue?this.actualValue:r;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||T.HASH)),!r&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=r&&typeof this.selStart=="number"?r[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let k=r&&r.length===1?r.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)):r!==T.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(r.length>k.length?k.splice(this.selStart,0,d):r.length<k.length&&(k.length-r.length===1?u?k.splice(this.selStart-1,1):k.splice(r.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(r)),m=this.actualValue.length&&k.length<=r.length?this.shiftTypedSymbols(k.join(T.EMPTY_STRING)):r}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=r),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(r)),this.maskChanged?m=r:m=m&&m.length?m:r,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(r){let i=/(^|\D)(\d\D)/g,o=i.exec(r),l=0;for(;o!=null;)l+=1,o=i.exec(r);return l}applyValueChanges(r,i,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,r,i,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(r,i){return r.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(r){let i=r.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)===r?i.join(T.EMPTY_STRING):r}shiftTypedSymbols(r){let i="";return(r&&r.split(T.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(r[l+1]??T.EMPTY_STRING)&&r[l+1]!==this.maskExpression[l+1])return i=o,r[l+1];if(i.length){let u=i;return i=T.EMPTY_STRING,u}return o})||[]).join(T.EMPTY_STRING)}numberToString(r){return!r&&r!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(r).length>14?String(r):Number(r).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(r){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(r){if(this.maskExpression===T.IP)return this._checkForIp(r);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(r)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;let r=(i=this._elementRef)==null?void 0:i.nativeElement;r&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==r.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([r,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,r,i)})}checkDropSpecialCharAmount(r){return r.split(T.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(r){return this._removeMask(this._removeSuffix(this._removePrefix(r)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(r){if(r===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<r.length;o++){let l=r[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(r){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(r===T.HASH)return i;let l=[];for(let u=0;u<r.length;u++){let c=r[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?r.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(r=this.document){var o;let i=(o=r==null?void 0:r.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):r.activeElement}formControlResult(r){if(this.writingValue&&!r){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(r)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(r)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===r?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(r)))))):this.onChange(this.outputTransformFn(this._toNumber(r)))}_toNumber(r){if(!this.isNumberValue||r===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return r;if(String(r).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(r);let i=Number(r);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(i)){let o=String(r).replace(",",".");return Number(o)}return Number.isNaN(i)?r:i}_removeMask(r,i){return this.maskExpression.startsWith(T.PERCENT)&&r.includes(T.DOT)?r:r&&r.replace(this._regExpForRemove(i),T.EMPTY_STRING)}_removePrefix(r){return this.prefix?r&&r.replace(this.prefix,T.EMPTY_STRING):r}_removeSuffix(r){return this.suffix?r&&r.replace(this.suffix,T.EMPTY_STRING):r}_retrieveSeparatorValue(r){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&r.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(i=i.filter(o=>o!==T.WHITE_SPACE)),this._removeMask(r,i)}_regExpForRemove(r){return new RegExp(r.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(r){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return r.replace(this._regExpForRemove(i),T.DOT)}_checkSymbols(r){let i=r;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 r,i,o;for(let l in this.patterns)if(this.patterns[l]&&((r=this.patterns[l])!=null&&r.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(r){let i=r.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(r,i){let o=this.getPrecision(r),l=i;return r.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(r){return r.match(/{[0-9]+}/)&&r.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(r.slice(this._start+1,this._end)),c=new Array(u+1).join(r[this._start-1]);if(r.slice(0,this._start).length>1&&r.includes(T.LETTER_S)){let d=r.slice(0,this._start-1);return d.includes(T.CURLY_BRACKETS_LEFT)?i+c:d+i+c}else return i+c},"")||r}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Kae(){let e=S(xw),t=S(ww);return t instanceof Function?ce(ce({},e),t()):ce(ce({},e),t)}function Qae(e){return[{provide:ww,useValue:e},{provide:xw,useValue:Wae},{provide:gm,useFactory:Kae},Yae]}function Jae(e){return Ah(Qae(e))}var Bu=(()=>{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})(),Xae="4.0",ih=Xae,Xa=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Xa||{}),ere=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new ot);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=ih.split(".").map(i=>parseInt(i)),r=(this.version||"").split(".").map(i=>parseInt(i));return r.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):r[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${ih})!`),!1):!0}validateInputs(){let n=this,r=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=r.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),l),{missingFields:[],presentFields:[]});return i.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${i.join(", ")}; Present inputs: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(n){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(n):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(n){}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[dr],decls:0,vars:0,template:function(n,r){},encapsulation:2}));let e=t;return e})(),Ew=class{constructor(e,t,a,n,r){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=r,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=a}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return Rt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Rt(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return Rt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return Rt(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return Rt(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return Rt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return Rt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},Sw=()=>{let e=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],t=new RegExp("("+e.join("|")+")","ig");return!!navigator.userAgent.match(t)},Yo=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Yo||{}),Ei=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Ei||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var Nr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Do={authorization:"Authorization",userType:"user-type",clientType:"client-type"},yo=class extends Error{};yo.prototype.name="InvalidTokenError";function tre(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,a)=>{let n=a.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function nre(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 tre(t)}catch{return atob(t)}}function are(e,t){if(typeof e!="string")throw new yo("Invalid token specified: must be a string");t||(t={});let a=t.header===!0?0:1,n=e.split(".")[a];if(typeof n!="string")throw new yo(`Invalid token specified: missing part #${a+1}`);let r;try{r=nre(n)}catch(i){throw new yo(`Invalid token specified: invalid base64 for part #${a+1} (${i.message})`)}try{return JSON.parse(r)}catch(i){throw new yo(`Invalid token specified: invalid json for part #${a+1} (${i.message})`)}}var rre=class extends Ew{constructor(e,t,a){super(e,Yo.USER_INFOS,t,a,Yo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Rt(this,null,function*(){return are(yield this.getLocalAccessToken("")).userProfile})}},kw=(()=>{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 ire(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0].ssin:e.ssin}function ore(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var sre=(()=>{const t=class t extends kw{constructor(){super(...arguments),this.servicesStore=S(Bu)}resolveSsin(){return Rt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return ire(n)})}resolvePatientInfo(){return Rt(this,null,function*(){let n=yield this.fetchUserProfileToken();return ore(n)})}resolveUserInfo(){return Rt(this,null,function*(){var d,m,v,g;let n=yield this.fetchUserProfileToken(),r=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:r,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Rt(this,null,function*(){var n,r;return((r=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:r.length)>0})}resolveProfessional(n,r){return r?n[r]:void 0}extractProfessionalRole(n){let r=["physician","nurse","midwife","dentist"],i="patient";return r.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r,this.accessTokenService=new rre(this.servicesStore.getServices(),n,r)}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),lre=(()=>{const t=class t extends kw{resolveSsin(){return Rt(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return Rt(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ure=(()=>{const t=class t{constructor(){this.http=S(eo)}get(n,r,i){return Js()?this.http.get(n,{headers:i}):et(r)}patch(n,r,i){return Js()?this.http.patch(n,{},{headers:i}):et(r)}post(n,r,i){return Js()?this.http.post(n,{},{headers:i}):et(r)}delete(n,r,i){return Js()?this.http.delete(n,{headers:i}):et(r)}};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;function Cw(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var cre={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Jl(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let a of cre[t]){let n=e.find(r=>r.lang===a);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Si=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Si||{}),Fa=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(Fa||{});function dre(e,t){return Rt(this,null,function*(){t.next({status:Si.LOADING});try{let a=yield e,n={status:Si.SUCCESS,data:a};return t.next(n),n}catch(a){let n={status:Si.ERROR,error:mre(a)};return t.next(n),n}})}var ev={[Fa.NO_DATA]:["VIDIS_0140"],[Fa.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"],[Fa.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"],[Fa.OTHER]:[]};function hre(e){for(let t of Object.keys(ev))if(ev[t].includes(e))return t;return Fa.OTHER}function pre(e,t,a){let n=e||"UNKNOWN",r=hre(n);return{code:n,message:a??"An unexpected error occurred",group:r,traceId:t}}function mre(e){var r,i,o;let t=((r=e.error)==null?void 0:r.code)??void 0,a=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return pre(t,n,a)}var fre=(()=>{const t=class t{constructor(){this.translate=S(Jn)}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 Jl(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})(),Dw=(()=>{const t=class t{constructor(){this.http=S(eo),this.snackbarService=S(Tw)}getLeaflet(n,r){this.http.get(`/v2/leaflet/${n}/${r}`,{responseType:"text"}).pipe(mn(1),Dh(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),p0(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Vi=(()=>{const t=class t{constructor(){this.config=S(no),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(lre):this.injector.get(sre)}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})(),gre={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function vre(e,t){if(e&1){let a=ba();j(0,"div",1)(1,"button",2),on("click",function(){vn(a);let n=le();return bn(n.action())}),ee(2),V()()}if(e&2){let a=le();P(2),Ue(" ",a.data.action," ")}}var bre=["label"];function yre(e,t){}var _re=Math.pow(2,31)-1,oh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new ve);s(this,"_afterOpened",new ve);s(this,"_onAction",new ve);s(this,"_durationTimeoutId");s(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,_re))}_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}},Iw=new K("MatSnackBarData"),Xl=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")}},wre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),xre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),Ere=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),Sre=(()=>{const t=class t{constructor(){s(this,"snackBarRef",S(oh));s(this,"data",S(Iw))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(j(0,"div",0),ee(1),V(),he(2,vre,3,1,"div",1)),n&2&&(P(),Ue(" ",r.data.message,`
|
|
30
|
-
`),P(),je(r.hasAction?2:-1))},dependencies:[ws,wre,xre,Ere],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
31
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),qc="_mat-snack-bar-enter",$c="_mat-snack-bar-exit",kre=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_ngZone",S(He));s(this,"_elementRef",S(Qe));s(this,"_changeDetectorRef",S(ya));s(this,"_platform",S(hn));s(this,"_rendersRef");s(this,"_animationsDisabled",S(mr,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",S(Xl));s(this,"_document",S(Ve));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new ve);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new ve);s(this,"_onExit",new ve);s(this,"_onEnter",new ve);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",S(Qr).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",r=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(r);return this._afterPortalAttached(),i});let r=this.snackBarConfig;r.politeness==="assertive"&&!r.announcementMessage?this._live="assertive":r.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Ub(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(r){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(r);return this._afterPortalAttached(),i}attachTemplatePortal(r){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(r);return this._afterPortalAttached(),i}onAnimationEnd(r){r===$c?this._completeExit():r===qc&&(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(mn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(qc)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(qc)},200)))}exit(){return this._destroyed?et(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(mn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd($c)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd($c),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 r=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(u=>r.classList.add(u)):r.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let r=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(r)===-1&&l.setAttribute("aria-owns",u+" "+r):l.setAttribute("aria-owns",r)}}_clearFromModals(){this._trackedModals.forEach(r=>{let i=r.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?r.setAttribute("aria-owns",o):r.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let r=this._elementRef.nativeElement,i=r.querySelector("[aria-hidden]"),o=r.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(r){return new(r||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,i){if(r&1&&(Pi(Fi,7),Pi(bre,7)),r&2){let o;un(o=cn())&&(i._portalOutlet=o.first),un(o=cn())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(r,i){r&1&&on("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),r&2&&jt("mat-snack-bar-container-enter",i._animationState==="visible")("mat-snack-bar-container-exit",i._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!i._animationsDisabled)},features:[Ye],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(r,i){r&1&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),he(4,yre,0,0,"ng-template",4),V(),tt(5,"div"),V()()),r&2&&(P(5),$t("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Fi],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
|
|
32
|
-
`],encapsulation:2}));let e=t;return e})();function Cre(){return new Xl}var Dre=new K("mat-snack-bar-default-options",{providedIn:"root",factory:Cre}),Ire=(()=>{const t=class t{constructor(){s(this,"_overlay",S(vr));s(this,"_live",S(UJ));s(this,"_injector",S(ht));s(this,"_breakpointObserver",S(l1));s(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",S(Dre));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",Sre);s(this,"snackBarContainerComponent",kre);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,r){return this._attach(n,r)}openFromTemplate(n,r){return this._attach(n,r)}open(n,r="",i){let o=ce(ce({},this._defaultConfig),i);return o.data={message:n,action:r},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,r){let i=r&&r.viewContainerRef&&r.viewContainerRef.injector,o=ht.create({parent:i||this._injector,providers:[{provide:Xl,useValue:r}]}),l=new $o(this.snackBarContainerComponent,r.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=r,u.instance}_attach(n,r){let i=ce(ce(ce({},new Xl),this._defaultConfig),r),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),u=new oh(l,o);if(n instanceof an){let c=new ju(n,null,{$implicit:i.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(i,u),d=new $o(n,void 0,c),m=l.attachComponentPortal(d);u.instance=m.instance}return this._breakpointObserver.observe(gre.HandsetPortrait).pipe(ir(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,r){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),r.duration&&r.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(r.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let r=new Xp;r.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"),r.positionStrategy=i,this._overlay.create(r)}_createInjector(n,r){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return ht.create({parent:i||this._injector,providers:[{provide:oh,useValue:r},{provide:Iw,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})(),Tw=(()=>{const t=class t{constructor(){this.snackbar=S(Ire),this.translate=S(Jn)}showSuccess(n,r="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(r),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,r="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(r),{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})(),Tre={demo:{env:Xa.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Xa.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Xa.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Xa.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Xa.PROD}},no=(()=>{const t=class t{setEnvironment(n){this.configVariables=Tre[Xa[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})(),Rre=(e,t)=>{let a=S(Vi).getInstance(),n=S(Bu),r=S(no).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!r)return t(e);if(a.isOfflineAuthenticated)return et();let i=e.headers||new Li,o=a.isProfessional;return Gr(n.getServices().getAccessToken("")).pipe(Oo(l=>t(e.clone({url:`${r}${e.url}`,headers:i.set(Do.authorization,Nr.getAuthorizationHeader(l)).set(Do.userType,Nr.getUserType({isProfessional:o})).set(Do.clientType,Sw()?Nr.clientType.mobileApp:Nr.clientType.webApp)}))))};function Ore(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Mre=["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",Ore];function Nre(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Are=["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",Nre];function Pre(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&a===0||!(n>=0&&n<=5)?4:5}var Lre=["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",Pre];function Fre(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var jre=["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",Fre];Lu(Mre,"de");Lu(jre,"nl");Lu(Lre,"fr");Lu(Are,"en");var Vre=class{handleError(e){throw new Error(e)}},zre=class extends gX{getFirstDayOfWeek(){return 1}format(e){return fw(e,"dd/MM/yyyy")}parse(e){return Gae(e,"dd/MM/yyyy",new Date)}},Bre={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"}}},Hre=[Ute(),lJ(uJ([Rre])),Jae(),{provide:Yn,useClass:Vre},{provide:m1,useClass:zre,deps:[Ud]},{provide:nX,useValue:Bre},{provide:V1,useClass:Wte},{provide:k1,useValue:{panelClass:"mh-dialog-container"}}],qre=Iv(Eq(),1),$re=new K("MESSAGE_FORMAT_CONFIG"),Gre={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Ure=(()=>{const t=class t extends _s{constructor(n){super(),this.mfCache=new Map;let{formatters:r,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:d}=ce(ce({},Gre),n);this.messageFormatOptions={customFormatters:r,biDiSupport:i,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=d}compile(n,r){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=this.getMessageFormatInstance(r).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${r}': '${n}'`),i=Zre(n,r)}return this.throwOnError||(i=Wre(i,n)),i}compileTranslations(n,r){return typeof n=="string"?this.compile(n,r):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,r),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new qre.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(oe($re,8))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})();function Wre(e,t){return a=>{let n=t;try{n=e(a)}catch(r){console.error(r),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${a}'`)}return n}}function Zre(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var Rw={};pe(Rw,{"00001":()=>Ow,"00002":()=>Mw,"00003":()=>Nw,"00004":()=>Aw,"00005":()=>Pw,"00006":()=>Lw,"00007":()=>Fw,"00008":()=>jw,"00009":()=>Vw,"00010":()=>zw,"00011":()=>Bw,"00012":()=>Hw,"00013":()=>qw,"00014":()=>$w,"00015":()=>Gw,"00016":()=>Uw,"00017":()=>Ww,"00018":()=>Zw,"00019":()=>Yw,"00020":()=>Kw,"00021":()=>Qw,"00022":()=>Jw,"00023":()=>Xw,"00024":()=>ex,"00025":()=>tx,"00026":()=>nx,"00027":()=>ax,"00028":()=>rx,"00029":()=>ix,"00030":()=>ox,ampoule:()=>Mx,bandage:()=>Dx,bottle:()=>Nx,box:()=>Tx,cm:()=>sx,default:()=>Yre,dropsperminute:()=>lx,"effervescent-tablet":()=>kx,gm:()=>ux,internationalunits:()=>cx,iu:()=>Ex,liter:()=>Rx,"mck/h":()=>dx,"mck/kg/minute":()=>hx,measure:()=>px,meq:()=>wx,mg:()=>yx,"mg/h":()=>mx,"mg/ml":()=>_x,micrograms:()=>Cx,miu:()=>xx,"ml/h":()=>fx,mmol:()=>Sx,piece:()=>Ix,syringe:()=>Ox,"syringe-ampoule":()=>Ax,tbl:()=>gx,tsp:()=>vx,"unt/h":()=>bx});var Ow="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",Mw="{count, plural, one{Ampulle} other{Ampullen}}",Nw="anwenden",Aw="{count, plural, one{Kapsel} other{Kapseln}}",Pw="{count, plural, one{Tablette} other{Tabletten}}",Lw="Dosis",Fw="{count, plural, one{Tropf} other{Tropfen}}",jw="{count, plural, one{Fläsche} other{Fläschchen}}",Vw="{count, plural, one{Implantat} other{Implantate}}",zw="{count, plural, one{Infusion} other{Infusionen}}",Bw="{count, plural, one{Inhalation} other{Inhalationen}}",Hw="Einstechen",qw="Kaugummi",$w="{count, plural, one{Kompresse} other{Kompressen}}",Gw="{count, plural, one{Einlauf} other{Einläufe}}",Uw="ml",Ww="Ov.",Zw="{count, plural, one{Perle} other{Perlen}}",Yw="{count, plural, one{Pastille} other{Pastillen}}",Kw="Pflaster",Qw="cart",Jw="Pen",Xw="{count, plural, one{Puff} other{Puffs}}",ex="{count, plural, one{Schwamm} other{Schwämme}}",tx="{count, plural, one{Stift} other{Stifte}}",nx="Suppo",ax="Tube",rx="{count, plural, one{Docht} other{Dochte}}",ix="Beutel",ox="Beutel",sx="Zentimeter",lx="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",ux="Gramm",cx="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",dx="Mikrogramm pro Stunde",hx="Mikrogramm pro Kilogramm pro Minute",px="Maß",mx="Miligramm pro Stunde",fx="Milliliter pro Stunde",gx="Esslöffel",vx="Kaffeelöffel",bx="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",yx="Milligramm",_x="Milligramm pro Millimeter",wx="meq",xx="miu",Ex="iu",Sx="mmol",kx="effervescent-tablet",Cx="micrograms",Dx="{count, plural, one{bandage} other{bandagen}}",Ix="{count, plural, one{stück} other{stücke}}",Tx="schachteln",Rx="liter",Ox="{count, plural, one{spritze} other{spritzen}}",Mx="{count, plural, one{glühbirn} other{glühbirnen}}",Nx="{count, plural, one{Fläsche} other{Fläschchen}}",Ax="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",Yre={"00001":Ow,"00002":Mw,"00003":Nw,"00004":Aw,"00005":Pw,"00006":Lw,"00007":Fw,"00008":jw,"00009":Vw,"00010":zw,"00011":Bw,"00012":Hw,"00013":qw,"00014":$w,"00015":Gw,"00016":Uw,"00017":Ww,"00018":Zw,"00019":Yw,"00020":Kw,"00021":Qw,"00022":Jw,"00023":Xw,"00024":ex,"00025":tx,"00026":nx,"00027":ax,"00028":rx,"00029":ix,"00030":ox,cm:sx,dropsperminute:lx,gm:ux,internationalunits:cx,"mck/h":dx,"mck/kg/minute":hx,measure:px,"mg/h":mx,"ml/h":fx,tbl:gx,tsp:vx,"unt/h":bx,mg:yx,"mg/ml":_x,meq:wx,miu:xx,iu:Ex,mmol:Sx,"effervescent-tablet":kx,micrograms:Cx,bandage:Dx,piece:Ix,box:Tx,liter:Rx,syringe:Ox,ampoule:Mx,bottle:Nx,"syringe-ampoule":Ax},Px={};pe(Px,{"00001":()=>Lx,"00002":()=>Fx,"00003":()=>jx,"00004":()=>Vx,"00005":()=>zx,"00006":()=>Bx,"00007":()=>Hx,"00008":()=>qx,"00009":()=>$x,"00010":()=>Gx,"00011":()=>Ux,"00012":()=>Wx,"00013":()=>Zx,"00014":()=>Yx,"00015":()=>Kx,"00016":()=>Qx,"00017":()=>Jx,"00018":()=>Xx,"00019":()=>eE,"00020":()=>tE,"00021":()=>nE,"00022":()=>aE,"00023":()=>rE,"00024":()=>iE,"00025":()=>oE,"00026":()=>sE,"00027":()=>lE,"00028":()=>uE,"00029":()=>cE,"00030":()=>dE,ampoule:()=>FE,bandage:()=>ME,bottle:()=>jE,box:()=>AE,cm:()=>hE,default:()=>Kre,dropsperminute:()=>pE,"effervescent-tablet":()=>RE,gm:()=>mE,internationalunits:()=>fE,iu:()=>IE,liter:()=>PE,"mck/h":()=>gE,"mck/kg/minute":()=>vE,measure:()=>bE,meq:()=>CE,mg:()=>SE,"mg/h":()=>yE,"mg/ml":()=>kE,micrograms:()=>OE,miu:()=>DE,"ml/h":()=>_E,mmol:()=>TE,piece:()=>NE,syringe:()=>LE,"syringe-ampoule":()=>VE,tbl:()=>wE,tsp:()=>xE,"unt/h":()=>EE});var Lx="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",Fx="{count, plural, one{ampoule} other{ampoules}}",jx="applic.",Vx="{count, plural, one{capsule} other{capsules}}",zx="{count, plural, one{tablet} other{tablets}}",Bx="{count, plural, one{dose} other{doses}}",Hx="{count, plural, one{drop} other{drops}}",qx="{count, plural, one{bottle} other{bottles}}",$x="{count, plural, one{implant} other{implants}}",Gx="{count, plural, one{perfusion} other{perfusions}}",Ux="{count, plural, one{inhalation} other{inhalations}}",Wx="insert",Zx="{count, plural, one{chewing gum} other{chewing gums}}",Yx="{count, plural, one{compress} other{compresses}}",Kx="enema",Qx="ml",Jx="{count, plural, one{ovule} other{ovules}}",Xx="{count, plural, one{pearl} other{pearls}}",eE="{count, plural, one{pastille} other{pastilles}}",tE="{count, plural, one{patch} other{patches}}",nE="{count, plural, one{cartridge} other{cartridges}}",aE="{count, plural, one{pen} other{pens}}",rE="{count, plural, one{puff} other{puffs}}",iE="{count, plural, one{sponge} other{sponges}}",oE="{count, plural, one{stylo} other{stylos}}",sE="{count, plural, one{supository} other{supositories}}",lE="{count, plural, one{tube} other{tubes}}",uE="{count, plural, one{wick} other{wicks}}",cE="{count, plural, one{bag} other{bags}}",dE="{count, plural, one{small bag} other{small bags}}",hE="centimeter",pE="{count, plural, one{drop per minute} other{drops per minute}}",mE="gram",fE="international units",gE="microgram per hour",vE="microgram per kilogram per minute",bE="{count, plural, one{measure} other{measures}}",yE="milligram per hour",_E="milliliter per hour",wE="{count, plural, one{tablespoon} other{tablespoons}}",xE="{count, plural, one{teaspoon} other{teaspoons}}",EE="{count, plural, one{unit per hour} other{units per hour}}",SE="milligram",kE="milligram per milliliter",CE="milli-equivalent",DE="miu",IE="international units",TE="millimole",RE="{count, plural, one{effervescent tablet} other{effervescent tablets}}",OE="microgram",ME="{count, plural, one{bandage} other{bandages}}",NE="{count, plural, one{piece} other{pieces}}",AE="{count, plural, one{spray} other{sprays}}",PE="liter",LE="{count, plural, one{syringe} other{syringes}}",FE="{count, plural, one{ampoule} other{ampoules}}",jE="{count, plural, one{bottle} other{bottles}}",VE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Kre={"00001":Lx,"00002":Fx,"00003":jx,"00004":Vx,"00005":zx,"00006":Bx,"00007":Hx,"00008":qx,"00009":$x,"00010":Gx,"00011":Ux,"00012":Wx,"00013":Zx,"00014":Yx,"00015":Kx,"00016":Qx,"00017":Jx,"00018":Xx,"00019":eE,"00020":tE,"00021":nE,"00022":aE,"00023":rE,"00024":iE,"00025":oE,"00026":sE,"00027":lE,"00028":uE,"00029":cE,"00030":dE,cm:hE,dropsperminute:pE,gm:mE,internationalunits:fE,"mck/h":gE,"mck/kg/minute":vE,measure:bE,"mg/h":yE,"ml/h":_E,tbl:wE,tsp:xE,"unt/h":EE,mg:SE,"mg/ml":kE,meq:CE,miu:DE,iu:IE,mmol:TE,"effervescent-tablet":RE,micrograms:OE,bandage:ME,piece:NE,box:AE,liter:PE,syringe:LE,ampoule:FE,bottle:jE,"syringe-ampoule":VE},zE={};pe(zE,{"00001":()=>BE,"00002":()=>HE,"00003":()=>qE,"00004":()=>$E,"00005":()=>GE,"00006":()=>UE,"00007":()=>WE,"00008":()=>ZE,"00009":()=>YE,"00010":()=>KE,"00011":()=>QE,"00012":()=>JE,"00013":()=>XE,"00014":()=>eS,"00015":()=>tS,"00016":()=>nS,"00017":()=>aS,"00018":()=>rS,"00019":()=>iS,"00020":()=>oS,"00021":()=>sS,"00022":()=>lS,"00023":()=>uS,"00024":()=>cS,"00025":()=>dS,"00026":()=>hS,"00027":()=>pS,"00028":()=>mS,"00029":()=>fS,"00030":()=>gS,ampoule:()=>HS,bandage:()=>FS,bottle:()=>qS,box:()=>VS,cm:()=>vS,default:()=>Qre,dropsperminute:()=>bS,"effervescent-tablet":()=>PS,gm:()=>yS,internationalunits:()=>_S,iu:()=>NS,liter:()=>zS,"mck/h":()=>wS,"mck/kg/minute":()=>xS,measure:()=>ES,meq:()=>OS,mg:()=>TS,"mg/h":()=>SS,"mg/ml":()=>RS,micrograms:()=>LS,miu:()=>MS,"ml/h":()=>kS,mmol:()=>AS,piece:()=>jS,syringe:()=>BS,"syringe-ampoule":()=>$S,tbl:()=>CS,tsp:()=>DS,"unt/h":()=>IS});var BE="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",HE="amp.",qE="applic.",$E="caps.",GE="compr.",UE="{count, plural, one{dose} other{doses}}",WE="{count, plural, one{goutte} other{gouttes}}",ZE="flac.",YE="{count, plural, one{implant} other{implants}}",KE="{count, plural, one{perfusion} other{perfusions}}",QE="{count, plural, one{inhalation} other{inhalations}}",JE="insert",XE="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",eS="{count, plural, one{compres(se)} other{compres(ses)}}",tS="{count, plural, one{lavement} other{lavements}}",nS="ml",aS="ov.",rS="{count, plural, one{perle} other{perles}}",iS="{count, plural, one{pastille} other{pastilles}}",oS="{count, plural, one{patch} other{patchs}}",sS="patr.",lS="{count, plural, one{stylo} other{stylos}}",uS="{count, plural, one{puff} other{puffs}}",cS="{count, plural, one{éponge} other{éponges}}",dS="{count, plural, one{stylo} other{stylos}}",hS="suppo",pS="{count, plural, one{tube} other{tubes}}",mS="{count, plural, one{mèche} other{mèches}}",fS="{count, plural, one{sac} other{sacs}}",gS="{count, plural, one{sachet} other{sachets}}",vS="{count, plural, one{centimètre} other{centimètres}}",bS="{count, plural, one{goute par minute} other{goutes par minute}}",yS="{count, plural, one{gramme} other{grammes}}",_S="{count, plural, one{unité internationales} other{unités internationales}}",wS="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",xS="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",ES="{count, plural, one{mesure} other{mesures}}",SS="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",kS="{count, plural, one{millilitre par heure} other{millilitres par heure}}",CS="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",DS="{count, plural, one{cuillère à café} other{cuillères à café}}",IS="{count, plural, one{unité par heure} other{unités par heure}}",TS="{count, plural, one{miligramme} other{miligrammes}}",RS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",OS="milli-équivalent",MS="miu",NS="{count, plural, one{unité internationales} other{unités internationales}}",AS="millimol",PS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",LS="{count, plural, one{microgramme} other{microgrammes}}",FS="{count, plural, one{bandage} other{bandages}}",jS="{count, plural, one{pièce} other{pièces}}",VS="{count, plural, one{vaporisateur} other{vaporisateurs}}",zS="{count, plural, one{litre} other{litres}}",BS="{count, plural, one{seringue} other{seringues}}",HS="{count, plural, one{ampoule} other{ampoules}}",qS="{count, plural, one{fiole} other{fioles}}",$S="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",Qre={"00001":BE,"00002":HE,"00003":qE,"00004":$E,"00005":GE,"00006":UE,"00007":WE,"00008":ZE,"00009":YE,"00010":KE,"00011":QE,"00012":JE,"00013":XE,"00014":eS,"00015":tS,"00016":nS,"00017":aS,"00018":rS,"00019":iS,"00020":oS,"00021":sS,"00022":lS,"00023":uS,"00024":cS,"00025":dS,"00026":hS,"00027":pS,"00028":mS,"00029":fS,"00030":gS,cm:vS,dropsperminute:bS,gm:yS,internationalunits:_S,"mck/h":wS,"mck/kg/minute":xS,measure:ES,"mg/h":SS,"ml/h":kS,tbl:CS,tsp:DS,"unt/h":IS,mg:TS,"mg/ml":RS,meq:OS,miu:MS,iu:NS,mmol:AS,"effervescent-tablet":PS,micrograms:LS,bandage:FS,piece:jS,box:VS,liter:zS,syringe:BS,ampoule:HS,bottle:qS,"syringe-ampoule":$S},GS={};pe(GS,{"00001":()=>US,"00002":()=>WS,"00003":()=>ZS,"00004":()=>YS,"00005":()=>KS,"00006":()=>QS,"00007":()=>JS,"00008":()=>XS,"00009":()=>ek,"00010":()=>tk,"00011":()=>nk,"00012":()=>ak,"00013":()=>rk,"00014":()=>ik,"00015":()=>ok,"00016":()=>sk,"00017":()=>lk,"00018":()=>uk,"00019":()=>ck,"00020":()=>dk,"00021":()=>hk,"00022":()=>pk,"00023":()=>mk,"00024":()=>fk,"00025":()=>gk,"00026":()=>vk,"00027":()=>bk,"00028":()=>yk,"00029":()=>_k,"00030":()=>wk,ampoule:()=>Wk,bandage:()=>Hk,bottle:()=>Zk,box:()=>$k,cm:()=>xk,default:()=>Jre,dropsperminute:()=>Ek,"effervescent-tablet":()=>zk,gm:()=>Sk,internationalunits:()=>kk,iu:()=>jk,liter:()=>Gk,"mck/h":()=>Ck,"mck/kg/minute":()=>Dk,measure:()=>Ik,meq:()=>Lk,mg:()=>Ak,"mg/h":()=>Tk,"mg/ml":()=>Pk,micrograms:()=>Bk,miu:()=>Fk,"ml/h":()=>Rk,mmol:()=>Vk,piece:()=>qk,syringe:()=>Uk,"syringe-ampoule":()=>Yk,tbl:()=>Ok,tsp:()=>Mk,"unt/h":()=>Nk});var US="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",WS="{count, plural, one{ampule} other{ampullen}}",ZS="aanbrengen",YS="{count, plural, one{capsule} other{capsules}}",KS="{count, plural, one{tablet} other{tabletten}}",QS="{count, plural, one{dose} other{dosissen}}",JS="{count, plural, one{druppel} other{druppels}}",XS="{count, plural, one{flesje} other{flesjes}}",ek="{count, plural, one{implantaat} other{implantaten}}",tk="{count, plural, one{infuus} other{infusen}}",nk="{count, plural, one{inhalatie} other{inhalaties}}",ak="inbrengen",rk="{count, plural, one{kauwgom} other{kauwgommen}}",ik="{count, plural, one{kompres} other{kompressen}}",ok="lavement",sk="ml",lk="{count, plural, one{ovule} other{ovules}}",uk="{count, plural, one{parel} other{parels}}",ck="{count, plural, one{pastille} other{pastilles}}",dk="{count, plural, one{pleister} other{pleisters}}",hk="{count, plural, one{patroon} other{patronen}}",pk="{count, plural, one{pen} other{pennen}}",mk="{count, plural, one{puff} other{puffs}}",fk="{count, plural, one{spons} other{sponsen}}",gk="{count, plural, one{stylo} other{stylos}}",vk="{count, plural, one{zetpil} other{zetpillen}}",bk="{count, plural, one{tube} other{tubes}}",yk="{count, plural, one{wiek} other{wieken}}",_k="{count, plural, one{zak} other{zakken}}",wk="{count, plural, one{zakje} other{zakjes}}",xk="centimeter",Ek="{count, plural, one{druppel per minuut} other{druppels per minuut}}",Sk="gram",kk="internationale eenheden",Ck="microgram per uur",Dk="microgram per kilogram per minuut",Ik="{count, plural, one{maat} other{maten}}",Tk="milligram per uur",Rk="milliliter per uur",Ok="{count, plural, one{eetlepel} other{eetlepels}}",Mk="{count, plural, one{koffielepel} other{koffielepels}}",Nk="{count, plural, one{eenheid per uur} other{eenheden per uur}}",Ak="miligram",Pk="miligram per milimeter",Lk="milli-equivalent",Fk="miu",jk="internationale eenheden",Vk="millimol",zk="{count, plural, one{bruistablet} other{bruistabletten}}",Bk="microgram",Hk="{count, plural, one{verband} other{verbanden}}",qk="{count, plural, one{stuk} other{stuks}}",$k="{count, plural, one{verstuiving} other{verstuivingen}}",Gk="liter",Uk="{count, plural, one{spuit} other{spuiten}}",Wk="{count, plural, one{ampul} other{ampullen}}",Zk="{count, plural, one{fles} other{flessen}}",Yk="{count, plural, one{spuitampul} other{spuitampullen}}",Jre={"00001":US,"00002":WS,"00003":ZS,"00004":YS,"00005":KS,"00006":QS,"00007":JS,"00008":XS,"00009":ek,"00010":tk,"00011":nk,"00012":ak,"00013":rk,"00014":ik,"00015":ok,"00016":sk,"00017":lk,"00018":uk,"00019":ck,"00020":dk,"00021":hk,"00022":pk,"00023":mk,"00024":fk,"00025":gk,"00026":vk,"00027":bk,"00028":yk,"00029":_k,"00030":wk,cm:xk,dropsperminute:Ek,gm:Sk,internationalunits:kk,"mck/h":Ck,"mck/kg/minute":Dk,measure:Ik,"mg/h":Tk,"ml/h":Rk,tbl:Ok,tsp:Mk,"unt/h":Nk,mg:Ak,"mg/ml":Pk,meq:Lk,miu:Fk,iu:jk,mmol:Vk,"effervescent-tablet":zk,micrograms:Bk,bandage:Hk,piece:qk,box:$k,liter:Gk,syringe:Uk,ampoule:Wk,bottle:Zk,"syringe-ampoule":Yk},Xre={nl:GS,fr:zE,de:Rw,en:Px},Kk={};pe(Kk,{default:()=>eie,friday:()=>tC,monday:()=>Qk,saturday:()=>nC,sunday:()=>aC,thursday:()=>eC,tuesday:()=>Jk,wednesday:()=>Xk});var Qk="Montag",Jk="Dienstag",Xk="Mittwoch",eC="Donnerstag",tC="Freitag",nC="Samstag",aC="Sonntag",eie={monday:Qk,tuesday:Jk,wednesday:Xk,thursday:eC,friday:tC,saturday:nC,sunday:aC},rC={};pe(rC,{default:()=>tie,friday:()=>uC,monday:()=>iC,saturday:()=>cC,sunday:()=>dC,thursday:()=>lC,tuesday:()=>oC,wednesday:()=>sC});var iC="Monday",oC="Tuesday",sC="Wednesday",lC="Thursday",uC="Friday",cC="Saturday",dC="Sunday",tie={monday:iC,tuesday:oC,wednesday:sC,thursday:lC,friday:uC,saturday:cC,sunday:dC},hC={};pe(hC,{default:()=>nie,friday:()=>vC,monday:()=>pC,saturday:()=>bC,sunday:()=>yC,thursday:()=>gC,tuesday:()=>mC,wednesday:()=>fC});var pC="Lundi",mC="Mardi",fC="Mercredi",gC="Jeudi",vC="Vendredi",bC="Samedi",yC="Dimanche",nie={monday:pC,tuesday:mC,wednesday:fC,thursday:gC,friday:vC,saturday:bC,sunday:yC},_C={};pe(_C,{default:()=>aie,friday:()=>kC,monday:()=>wC,saturday:()=>CC,sunday:()=>DC,thursday:()=>SC,tuesday:()=>xC,wednesday:()=>EC});var wC="Maandag",xC="Dinsdag",EC="Woensdag",SC="Donderdag",kC="Vrijdag",CC="Zaterdag",DC="Zondag",aie={monday:wC,tuesday:xC,wednesday:EC,thursday:SC,friday:kC,saturday:CC,sunday:DC},rie={nl:_C,fr:hC,de:Kk,en:rC},IC={};pe(IC,{VIDIS_0035:()=>TC,VIDIS_0050:()=>RC,VIDIS_0090:()=>OC,VIDIS_0100:()=>sD,VIDIS_0110:()=>uD,VIDIS_0120:()=>lD,VIDIS_0121:()=>MC,VIDIS_0122:()=>NC,VIDIS_0123:()=>AC,VIDIS_0124:()=>PC,VIDIS_0125:()=>LC,VIDIS_0126:()=>FC,VIDIS_0131:()=>jC,VIDIS_0132:()=>VC,VIDIS_0133:()=>zC,VIDIS_0134:()=>BC,VIDIS_0135:()=>HC,VIDIS_0136:()=>qC,VIDIS_0190:()=>$C,VIDIS_0200:()=>cD,VIDIS_0210:()=>GC,VIDIS_0211:()=>UC,VIDIS_0230:()=>WC,VIDIS_0290:()=>ZC,VIDIS_0330:()=>YC,VIDIS_0340:()=>dD,VIDIS_0341:()=>hD,VIDIS_0400:()=>iD,VIDIS_04001:()=>pD,VIDIS_0435:()=>KC,VIDIS_0440:()=>QC,VIDIS_3030:()=>oD,VIDIS_3090:()=>tD,VIDIS_3100:()=>aD,VIDIS_3120:()=>rD,VIDIS_3140:()=>nD,VIDIS_3150:()=>eD,VIDIS_5000:()=>JC,VIDIS_7000:()=>XC,"action-not-authorized-close-button":()=>AD,"action-not-authorized-title":()=>ND,"data-not-available-title":()=>MD,default:()=>iie,general:()=>fD,"has-hidden-prescriptions":()=>ED,"incorrect-elements-ms-detail":()=>LD,"incorrect-elements-ms-list":()=>PD,invalid_date_format:()=>_D,myHealth:()=>vD,myHealthUrl:()=>bD,network_error:()=>yD,"no-access":()=>gD,prescriptionList:()=>mD,"report-message-confirm-toast":()=>OD,"report-message-content":()=>CD,"report-message-explanation":()=>kD,"report-message-ignore-button":()=>RD,"report-message-link":()=>ID,"report-message-report-button":()=>TD,"report-message-term-use":()=>DD,"report-message-title":()=>SD,"status-message-content":()=>xD,"status-message-title":()=>wD});var TC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",RC="Die Patienten-INSS fehlt. (VIDIS_0050)",OC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",MC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",NC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",AC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",PC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",LC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",FC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",jC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",VC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",zC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",BC="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",HC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",qC="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",$C="Ungültige INSS-Patientennummer. (VIDIS_0190)",GC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",UC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",WC="Der Vorgang ist ungültig (VIDIS_0230)",ZC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',YC="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)",KC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",QC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",JC="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",XC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",eD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",tD="Das Rezept ist abgelaufen.",nD="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",aD="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",rD="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",iD="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",oD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",sD="Vorgang nicht erlaubt.",lD="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",uD="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",cD="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",dD="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.",hD="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.",pD="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",mD="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",fD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",gD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",vD="Zurück zum Portal Meine Gesundheit",bD="https://wwwint.meinegesundheit.belgien.be/#/",yD="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",_D="Ungültiges Datumsformat.",wD="Dienst vorübergehend nicht verfügbar",xD=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
33
|
-
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,ED="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",SD="Technisches Problem",kD="Bitte versuchen Sie es später noch einmal.",CD="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",DD="unsere Nutzungsbedingungen",ID="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",TD="Problem melden",RD="Nicht melden",OD="Das Problem wurde gemeldet",MD="Daten nicht verfügbar",ND="Aktion nicht erlaubt",AD="Schließen",PD="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",LD="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",iie={VIDIS_0035:TC,VIDIS_0050:RC,VIDIS_0090:OC,VIDIS_0121:MC,VIDIS_0122:NC,VIDIS_0123:AC,VIDIS_0124:PC,VIDIS_0125:LC,VIDIS_0126:FC,VIDIS_0131:jC,VIDIS_0132:VC,VIDIS_0133:zC,VIDIS_0134:BC,VIDIS_0135:HC,VIDIS_0136:qC,VIDIS_0190:$C,VIDIS_0210:GC,VIDIS_0211:UC,VIDIS_0230:WC,VIDIS_0290:ZC,VIDIS_0330:YC,VIDIS_0435:KC,VIDIS_0440:QC,VIDIS_5000:JC,VIDIS_7000:XC,VIDIS_3150:eD,VIDIS_3090:tD,VIDIS_3140:nD,VIDIS_3100:aD,VIDIS_3120:rD,VIDIS_0400:iD,VIDIS_3030:oD,VIDIS_0100:sD,VIDIS_0120:lD,VIDIS_0110:uD,VIDIS_0200:cD,VIDIS_0340:dD,VIDIS_0341:hD,VIDIS_04001:pD,prescriptionList:mD,general:fD,"no-access":gD,myHealth:vD,myHealthUrl:bD,network_error:yD,invalid_date_format:_D,"status-message-title":wD,"status-message-content":xD,"has-hidden-prescriptions":ED,"report-message-title":SD,"report-message-explanation":kD,"report-message-content":CD,"report-message-term-use":DD,"report-message-link":ID,"report-message-report-button":TD,"report-message-ignore-button":RD,"report-message-confirm-toast":OD,"data-not-available-title":MD,"action-not-authorized-title":ND,"action-not-authorized-close-button":AD,"incorrect-elements-ms-list":PD,"incorrect-elements-ms-detail":LD},FD={};pe(FD,{VIDIS_0035:()=>jD,VIDIS_0050:()=>VD,VIDIS_0090:()=>zD,VIDIS_0100:()=>g2,VIDIS_0110:()=>b2,VIDIS_0120:()=>v2,VIDIS_0121:()=>BD,VIDIS_0122:()=>HD,VIDIS_0123:()=>qD,VIDIS_0124:()=>$D,VIDIS_0125:()=>GD,VIDIS_0126:()=>UD,VIDIS_0131:()=>WD,VIDIS_0132:()=>ZD,VIDIS_0133:()=>YD,VIDIS_0134:()=>KD,VIDIS_0135:()=>QD,VIDIS_0136:()=>JD,VIDIS_0190:()=>XD,VIDIS_0200:()=>y2,VIDIS_0210:()=>e2,VIDIS_0211:()=>t2,VIDIS_0230:()=>n2,VIDIS_0290:()=>a2,VIDIS_0330:()=>r2,VIDIS_0340:()=>_2,VIDIS_0341:()=>w2,VIDIS_0400:()=>m2,VIDIS_04001:()=>x2,VIDIS_0435:()=>i2,VIDIS_0440:()=>o2,VIDIS_3030:()=>f2,VIDIS_3090:()=>c2,VIDIS_3100:()=>h2,VIDIS_3120:()=>p2,VIDIS_3140:()=>d2,VIDIS_3150:()=>u2,VIDIS_5000:()=>s2,VIDIS_7000:()=>l2,"action-not-authorized-close-button":()=>q2,"action-not-authorized-title":()=>H2,"data-not-available-title":()=>B2,default:()=>oie,general:()=>S2,"has-hidden-prescriptions":()=>M2,"incorrect-elements-ms-detail":()=>G2,"incorrect-elements-ms-list":()=>$2,invalid_date_format:()=>T2,myHealth:()=>C2,myHealthUrl:()=>D2,network_error:()=>I2,"no-access":()=>k2,prescriptionList:()=>E2,"report-message-confirm-toast":()=>z2,"report-message-content":()=>P2,"report-message-explanation":()=>A2,"report-message-ignore-button":()=>V2,"report-message-link":()=>F2,"report-message-report-button":()=>j2,"report-message-term-use":()=>L2,"report-message-title":()=>N2,"status-message-content":()=>O2,"status-message-title":()=>R2});var jD="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",VD="The patient's NISS number is missing (VIDIS_0050)",zD="The personal information provided was not recognised. (VIDIS_0090)",BD="Consulting data of a Brussels patient is currently not authorised.",HD="Consulting data of a Walloon patient is currently not authorised.",qD="Consulting data of a Brussels child by a parent is currently not authorised.",$D="Consulting data of a Walloon child by a parent is currently not authorised.",GD="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",UD="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",WD="Access to the data of a Brussels patient is currently not permitted.",ZD="Access to the data of a Walloon patient is currently not permitted.",YD="A parent’s access to the data of a Brussels child is currently not permitted.",KD="A parent’s access to the data of a Walloon child is currently not permitted.",QD="A representative’s access to the data of a Brussels patient is currently not permitted.",JD="A representative’s access to the data of a Walloon patient is currently not permitted.",XD="The patient's NISS number is invalid. (VIDIS_0190)",e2="The login was unsuccessful. Please try again. (VIDIS_0210)",t2="The login was unsuccessful. Please try again. (VIDIS_0211)",n2="The request is invalid. (VIDIS_0230)",a2="User role must be citizen. (VIDIS_0290)",r2="Your authentication level is insufficient to access this page. Please authenticate by using other means (itsme, eID or a security code sent via email or an app). (VIDIS_0330)",i2="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",o2="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",s2="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",l2="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",u2="No mandate found between patient and mandateholder.",c2="Prescription has expired.",d2="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.",h2="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",p2="The patient in the session is different from the patient in the request.",m2="User is not authorized to make the request.",f2="No mandate found between patient and mandateholder.",g2="Operation is not allowed.",v2="A therapeutic relation between the requester and the patient is not available.",b2="There is no consent to share personal health information.",y2="User is not allowed to perform the operation due to an exclusion between requester and patient.",_2="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",w2="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",x2="Your request is invalid. Please try again later.",E2="Unfortunately the details of the prescription could not be retrieved. Please try again.",S2="An internal technical error has occured. Please try again later.",k2="An internal technical error has occured. Please try again later.",C2="Back to the MyHealth portal.",D2="https://www.myhealth.belgium.be/",I2="A network error unfortunately has occured. Please contact your network manager if the problem persists.",T2="Invalid date format.",R2="Service temporarily unavailable",O2=`We are currently having a problem connecting to the server.
|
|
34
|
-
Please try again later.`,M2="The patient has hidden one or more prescriptions.",N2="Technical problem",A2="Please try again later.",P2="Help us identify and resolve the issue. By reporting it, you accept ",L2="our terms of use",F2="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",j2="Report the problem",V2="Don't report",z2="The problem has been reported",B2="Data not available",H2="Action not authorized",q2="Close",$2="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",G2="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",oie={VIDIS_0035:jD,VIDIS_0050:VD,VIDIS_0090:zD,VIDIS_0121:BD,VIDIS_0122:HD,VIDIS_0123:qD,VIDIS_0124:$D,VIDIS_0125:GD,VIDIS_0126:UD,VIDIS_0131:WD,VIDIS_0132:ZD,VIDIS_0133:YD,VIDIS_0134:KD,VIDIS_0135:QD,VIDIS_0136:JD,VIDIS_0190:XD,VIDIS_0210:e2,VIDIS_0211:t2,VIDIS_0230:n2,VIDIS_0290:a2,VIDIS_0330:r2,VIDIS_0435:i2,VIDIS_0440:o2,VIDIS_5000:s2,VIDIS_7000:l2,VIDIS_3150:u2,VIDIS_3090:c2,VIDIS_3140:d2,VIDIS_3100:h2,VIDIS_3120:p2,VIDIS_0400:m2,VIDIS_3030:f2,VIDIS_0100:g2,VIDIS_0120:v2,VIDIS_0110:b2,VIDIS_0200:y2,VIDIS_0340:_2,VIDIS_0341:w2,VIDIS_04001:x2,prescriptionList:E2,general:S2,"no-access":k2,myHealth:C2,myHealthUrl:D2,network_error:I2,invalid_date_format:T2,"status-message-title":R2,"status-message-content":O2,"has-hidden-prescriptions":M2,"report-message-title":N2,"report-message-explanation":A2,"report-message-content":P2,"report-message-term-use":L2,"report-message-link":F2,"report-message-report-button":j2,"report-message-ignore-button":V2,"report-message-confirm-toast":z2,"data-not-available-title":B2,"action-not-authorized-title":H2,"action-not-authorized-close-button":q2,"incorrect-elements-ms-list":$2,"incorrect-elements-ms-detail":G2},U2={};pe(U2,{VIDIS_0035:()=>W2,VIDIS_0050:()=>Z2,VIDIS_0090:()=>Y2,VIDIS_0100:()=>kI,VIDIS_0110:()=>DI,VIDIS_0120:()=>CI,VIDIS_0121:()=>K2,VIDIS_0122:()=>Q2,VIDIS_0123:()=>J2,VIDIS_0124:()=>X2,VIDIS_0125:()=>eI,VIDIS_0126:()=>tI,VIDIS_0131:()=>nI,VIDIS_0132:()=>aI,VIDIS_0133:()=>rI,VIDIS_0134:()=>iI,VIDIS_0135:()=>oI,VIDIS_0136:()=>sI,VIDIS_0190:()=>lI,VIDIS_0200:()=>II,VIDIS_0210:()=>uI,VIDIS_0211:()=>cI,VIDIS_0230:()=>dI,VIDIS_0290:()=>hI,VIDIS_0330:()=>pI,VIDIS_0340:()=>TI,VIDIS_0341:()=>RI,VIDIS_0400:()=>EI,VIDIS_04001:()=>OI,VIDIS_0435:()=>mI,VIDIS_0440:()=>fI,VIDIS_3030:()=>SI,VIDIS_3090:()=>yI,VIDIS_3100:()=>wI,VIDIS_3120:()=>xI,VIDIS_3140:()=>_I,VIDIS_3150:()=>bI,VIDIS_5000:()=>gI,VIDIS_7000:()=>vI,"action-not-authorized-close-button":()=>JI,"action-not-authorized-title":()=>QI,"data-not-available-title":()=>KI,default:()=>sie,general:()=>NI,"has-hidden-prescriptions":()=>BI,"incorrect-elements-ms-detail":()=>eT,"incorrect-elements-ms-list":()=>XI,invalid_date_format:()=>jI,myHealth:()=>PI,myHealthUrl:()=>LI,network_error:()=>FI,"no-access":()=>AI,prescriptionList:()=>MI,"report-message-confirm-toast":()=>YI,"report-message-content":()=>$I,"report-message-explanation":()=>qI,"report-message-ignore-button":()=>ZI,"report-message-link":()=>UI,"report-message-report-button":()=>WI,"report-message-term-use":()=>GI,"report-message-title":()=>HI,"status-message-content":()=>zI,"status-message-title":()=>VI});var W2="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",Z2="Le NISS du patient est manquant. (VIDIS_0050)",Y2="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",K2="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",Q2="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",J2="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",X2="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",eI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",tI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",nI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",aI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",rI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",iI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",oI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",sI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",lI="Le NISS du patient n’est pas valide. (VIDIS_0190)",uI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",cI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",dI="L’opération n’est pas valide. (VIDIS_0230)",hI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",pI="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)",mI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",fI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",gI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",vI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",bI="Aucun mandat trouvé entre le patient et le mandataire.",yI="L’ordonnance est expirée.",_I="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.",wI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",xI="Le patient dans la session est différent de celui dans la demande.",EI="L’utilisateur n’est pas autorisé à effectuer la requête.",SI="Aucun mandat trouvé entre le patient et le mandataire.",kI="Opération non autorisée.",CI="Aucune relation thérapeutique entre le demandeur et le patient.",DI="Aucun consentement au partage des données de santé.",II="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",TI="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",RI="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",OI="Votre requête est invalide. Veuillez réessayer plus tard.",MI="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",NI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",AI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",PI="Revenir au portail MaSanté",LI="https://wwwint.masante.belgique.be/#/",FI="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",jI="Le format de date est invalide.",VI="Service temporairement indisponible",zI=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
35
|
-
Veuillez réessayer plus tard.`,BI="Le patient a masqué une ou plusieurs prescriptions.",HI="Problème technique",qI="Veuillez réessayer plus tard.",$I="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",GI="conditions d'utilisation",UI="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",WI="Signaler le problème",ZI="Ignorer",YI="Le problème a été signalé",KI="Données non disponibles",QI="Action non autorisée",JI="Fermer",XI="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",eT="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",sie={VIDIS_0035:W2,VIDIS_0050:Z2,VIDIS_0090:Y2,VIDIS_0121:K2,VIDIS_0122:Q2,VIDIS_0123:J2,VIDIS_0124:X2,VIDIS_0125:eI,VIDIS_0126:tI,VIDIS_0131:nI,VIDIS_0132:aI,VIDIS_0133:rI,VIDIS_0134:iI,VIDIS_0135:oI,VIDIS_0136:sI,VIDIS_0190:lI,VIDIS_0210:uI,VIDIS_0211:cI,VIDIS_0230:dI,VIDIS_0290:hI,VIDIS_0330:pI,VIDIS_0435:mI,VIDIS_0440:fI,VIDIS_5000:gI,VIDIS_7000:vI,VIDIS_3150:bI,VIDIS_3090:yI,VIDIS_3140:_I,VIDIS_3100:wI,VIDIS_3120:xI,VIDIS_0400:EI,VIDIS_3030:SI,VIDIS_0100:kI,VIDIS_0120:CI,VIDIS_0110:DI,VIDIS_0200:II,VIDIS_0340:TI,VIDIS_0341:RI,VIDIS_04001:OI,prescriptionList:MI,general:NI,"no-access":AI,myHealth:PI,myHealthUrl:LI,network_error:FI,invalid_date_format:jI,"status-message-title":VI,"status-message-content":zI,"has-hidden-prescriptions":BI,"report-message-title":HI,"report-message-explanation":qI,"report-message-content":$I,"report-message-term-use":GI,"report-message-link":UI,"report-message-report-button":WI,"report-message-ignore-button":ZI,"report-message-confirm-toast":YI,"data-not-available-title":KI,"action-not-authorized-title":QI,"action-not-authorized-close-button":JI,"incorrect-elements-ms-list":XI,"incorrect-elements-ms-detail":eT},tT={};pe(tT,{VIDIS_0035:()=>nT,VIDIS_0050:()=>aT,VIDIS_0090:()=>rT,VIDIS_0100:()=>AT,VIDIS_0110:()=>LT,VIDIS_0120:()=>PT,VIDIS_0121:()=>iT,VIDIS_0122:()=>oT,VIDIS_0123:()=>sT,VIDIS_0124:()=>lT,VIDIS_0125:()=>uT,VIDIS_0126:()=>cT,VIDIS_0131:()=>dT,VIDIS_0132:()=>hT,VIDIS_0133:()=>pT,VIDIS_0134:()=>mT,VIDIS_0135:()=>fT,VIDIS_0136:()=>gT,VIDIS_0190:()=>vT,VIDIS_0200:()=>FT,VIDIS_0210:()=>bT,VIDIS_0211:()=>yT,VIDIS_0230:()=>_T,VIDIS_0290:()=>wT,VIDIS_0330:()=>xT,VIDIS_0340:()=>jT,VIDIS_0341:()=>VT,VIDIS_0400:()=>MT,VIDIS_04001:()=>zT,VIDIS_0435:()=>ET,VIDIS_0440:()=>ST,VIDIS_3030:()=>NT,VIDIS_3090:()=>IT,VIDIS_3100:()=>RT,VIDIS_3120:()=>OT,VIDIS_3140:()=>TT,VIDIS_3150:()=>DT,VIDIS_5000:()=>kT,VIDIS_7000:()=>CT,"action-not-authorized-close-button":()=>sR,"action-not-authorized-title":()=>oR,"data-not-available-title":()=>iR,default:()=>lie,general:()=>HT,"has-hidden-prescriptions":()=>KT,"incorrect-elements-ms-detail":()=>uR,"incorrect-elements-ms-list":()=>lR,invalid_date_format:()=>WT,myHealth:()=>$T,myHealthUrl:()=>GT,network_error:()=>UT,"no-access":()=>qT,prescriptionList:()=>BT,"report-message-confirm-toast":()=>rR,"report-message-content":()=>XT,"report-message-explanation":()=>JT,"report-message-ignore-button":()=>aR,"report-message-link":()=>tR,"report-message-report-button":()=>nR,"report-message-term-use":()=>eR,"report-message-title":()=>QT,"status-message-content":()=>YT,"status-message-title":()=>ZT});var nT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",aT="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",rT="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",iT="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",oT="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",sT="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",lT="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",uT="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",cT="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",dT="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",hT="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",pT="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",mT="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",fT="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",gT="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",vT="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",bT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",yT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",_T="Het verzoek is ongeldig. (VIDIS_0230)",wT="Gebruikersrol moet burger zijn. (VIDIS_0290)",xT="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)",ET="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",ST="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",kT="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",CT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",DT="Geen mandaat gevonden tussen patiënt en mandataris.",IT="Voorschrift is verlopen.",TT="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.",RT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",OT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",MT="De gebruiker is niet gemachtigd om de aanvraag te doen.",NT="Geen mandaat gevonden tussen patiënt en mandataris.",AT="Bewerking is niet toegestaan.",PT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",LT="Er is geen toestemming om gezondheidsgegevens te delen.",FT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",jT="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",VT="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",zT="Uw verzoek is ongeldig. Probeer later opnieuw.",BT="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",HT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",qT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",$T="Terug naar het MijnGezondheid portaal",GT="http://wwwint.mijngezondheid.belgie.be/",UT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",WT="Ongeldig datumformaat.",ZT="Service tijdelijk niet beschikbaar",YT=`Er is momenteel een probleem met de verbinding met de server.
|
|
36
|
-
Probeer het later nog eens.`,KT="De patiënt heeft 1 of meerdere voorschriften verborgen.",QT="Technisch probleem",JT="Probeer het later opnieuw.",XT="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",eR="gebruiksvoorwaarden",tR="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",nR="Probleem melden",aR="Niet melden",rR="Het probleem is gemeld",iR="Gegevens niet beschikbaar",oR="Actie niet toegestaan",sR="Sluiten",lR="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",uR="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",lie={VIDIS_0035:nT,VIDIS_0050:aT,VIDIS_0090:rT,VIDIS_0121:iT,VIDIS_0122:oT,VIDIS_0123:sT,VIDIS_0124:lT,VIDIS_0125:uT,VIDIS_0126:cT,VIDIS_0131:dT,VIDIS_0132:hT,VIDIS_0133:pT,VIDIS_0134:mT,VIDIS_0135:fT,VIDIS_0136:gT,VIDIS_0190:vT,VIDIS_0210:bT,VIDIS_0211:yT,VIDIS_0230:_T,VIDIS_0290:wT,VIDIS_0330:xT,VIDIS_0435:ET,VIDIS_0440:ST,VIDIS_5000:kT,VIDIS_7000:CT,VIDIS_3150:DT,VIDIS_3090:IT,VIDIS_3140:TT,VIDIS_3100:RT,VIDIS_3120:OT,VIDIS_0400:MT,VIDIS_3030:NT,VIDIS_0100:AT,VIDIS_0120:PT,VIDIS_0110:LT,VIDIS_0200:FT,VIDIS_0340:jT,VIDIS_0341:VT,VIDIS_04001:zT,prescriptionList:BT,general:HT,"no-access":qT,myHealth:$T,myHealthUrl:GT,network_error:UT,invalid_date_format:WT,"status-message-title":ZT,"status-message-content":YT,"has-hidden-prescriptions":KT,"report-message-title":QT,"report-message-explanation":JT,"report-message-content":XT,"report-message-term-use":eR,"report-message-link":tR,"report-message-report-button":nR,"report-message-ignore-button":aR,"report-message-confirm-toast":rR,"data-not-available-title":iR,"action-not-authorized-title":oR,"action-not-authorized-close-button":sR,"incorrect-elements-ms-list":lR,"incorrect-elements-ms-detail":uR},uie={nl:tT,fr:U2,de:IC,en:FD},cR={};pe(cR,{1:()=>dR,10:()=>_R,11:()=>wR,12:()=>xR,13:()=>ER,14:()=>SR,15:()=>kR,16:()=>CR,17:()=>DR,18:()=>IR,19:()=>TR,2:()=>hR,20:()=>RR,21:()=>OR,22:()=>MR,23:()=>NR,24:()=>AR,25:()=>PR,26:()=>LR,27:()=>FR,28:()=>jR,29:()=>VR,3:()=>pR,30:()=>zR,31:()=>BR,32:()=>HR,33:()=>qR,34:()=>$R,4:()=>mR,40:()=>GR,41:()=>UR,5:()=>fR,6:()=>gR,7:()=>vR,71:()=>WR,8:()=>bR,9:()=>yR,90:()=>ZR,91:()=>YR,92:()=>KR,93:()=>QR,default:()=>cie});var dR="Gelatinekapseln",hR="Tabletten",pR="Creme",mR="Gel",fR="Paste",gR="Fette Salbe",vR="Granulat",bR="Zäpfchen für Erwachsene",yR="Zäpfchen für Kinder",_R="Vaginalzäpfchen",wR="Rektiole",xR="nicht gespaltenes Pulver innerliche Anwendung",ER="nicht gespaltenes Pulver äußerliche Anwendung",SR="Inhalation",kR="Pulver Zum Spalten innerliche Anwendung",CR="Pulver Zum Spalten äußerliche Anwendung",DR="Nasentropfen",IR="Nasensalbe",TR="Sirup",RR="Lösung innerliche Anwendung",OR="Lösung äußerliche Anwendung",MR="Tropfen innerliche Anwendung",NR="Tropfen äußerliche Anwendung",AR="Emulsion innerliche Anwendung",PR="Emulsion äußerliche Anwendung",LR="Shampoo",FR="Augentropfen",jR="Augenlotion",VR="Augenbad",zR="Salbe",BR="Augensalbe ",HR="Ohrentropfen",qR="Suspension innerliche Anwendung",$R="Suspension äußerliche Anwendung",GR="Kräutermischung",UR="Tee",WR="enterische Kapseln",ZR="derartig",YR="Dermatologie (fest) derartig",KR="Pulver derartig",QR="Lösung derartig",cie={1:dR,2:hR,3:pR,4:mR,5:fR,6:gR,7:vR,8:bR,9:yR,10:_R,11:wR,12:xR,13:ER,14:SR,15:kR,16:CR,17:DR,18:IR,19:TR,20:RR,21:OR,22:MR,23:NR,24:AR,25:PR,26:LR,27:FR,28:jR,29:VR,30:zR,31:BR,32:HR,33:qR,34:$R,40:GR,41:UR,71:WR,90:ZR,91:YR,92:KR,93:QR},JR={};pe(JR,{1:()=>XR,10:()=>lO,11:()=>uO,12:()=>cO,13:()=>dO,14:()=>hO,15:()=>pO,16:()=>mO,17:()=>fO,18:()=>gO,19:()=>vO,2:()=>eO,20:()=>bO,21:()=>yO,22:()=>_O,23:()=>wO,24:()=>xO,25:()=>EO,26:()=>SO,27:()=>kO,28:()=>CO,29:()=>DO,3:()=>tO,30:()=>IO,31:()=>TO,32:()=>RO,33:()=>OO,34:()=>MO,4:()=>nO,40:()=>NO,41:()=>AO,5:()=>aO,6:()=>rO,7:()=>iO,71:()=>PO,8:()=>oO,9:()=>sO,90:()=>LO,91:()=>FO,92:()=>jO,93:()=>VO,default:()=>die});var XR="Capsules",eO="Tablets",tO="Cream",nO="Gel",aO="Paste",rO="Fatty ointment",iO="Granulate",oO="Adult suppository",sO="Child suppository",lO="Vaginal ovules",uO="Rectiole",cO="Undivided powder for internal use",dO="Undivided powder for external use",hO="Inhalation",pO="Divided powders for internal use",mO="Divided powders for external use",fO="Nasal drops",gO="Nasal ointment",vO="Syrup",bO="Solution for internal use",yO="Solution for external use",_O="Drops for internal use",wO="Drops for external use",xO="Emulsion for internal use",EO="Emulsion for external use",SO="Shampoo",kO="Eye drops",CO="Eye lotion",DO="Eye bath",IO="Ointment",TO="Eye ointment",RO="Ear drops",OO="Suspension for internal use",MO="Suspension for external use",NO="Herbal mixture",AO="Tea",PO="Enteric-coated capsules",LO="As is",FO="Dermatology (solid) as is",jO="Powder as is",VO="Liquid as is",die={1:XR,2:eO,3:tO,4:nO,5:aO,6:rO,7:iO,8:oO,9:sO,10:lO,11:uO,12:cO,13:dO,14:hO,15:pO,16:mO,17:fO,18:gO,19:vO,20:bO,21:yO,22:_O,23:wO,24:xO,25:EO,26:SO,27:kO,28:CO,29:DO,30:IO,31:TO,32:RO,33:OO,34:MO,40:NO,41:AO,71:PO,90:LO,91:FO,92:jO,93:VO},zO={};pe(zO,{1:()=>BO,10:()=>KO,11:()=>QO,12:()=>JO,13:()=>XO,14:()=>eM,15:()=>tM,16:()=>nM,17:()=>aM,18:()=>rM,19:()=>iM,2:()=>HO,20:()=>oM,21:()=>sM,22:()=>lM,23:()=>uM,24:()=>cM,25:()=>dM,26:()=>hM,27:()=>pM,28:()=>mM,29:()=>fM,3:()=>qO,30:()=>gM,31:()=>vM,32:()=>bM,33:()=>yM,34:()=>_M,4:()=>$O,40:()=>wM,41:()=>xM,5:()=>GO,6:()=>UO,7:()=>WO,71:()=>EM,8:()=>ZO,9:()=>YO,90:()=>SM,91:()=>kM,92:()=>CM,93:()=>DM,default:()=>hie});var BO="Gélules",HO="Cachets / comprimés",qO="Crème",$O="Gel",GO="Pâte",UO="Pommade grasse",WO="Granulé",ZO="Suppo adulte",YO="Suppo enfant",KO="Ovules vaginales",QO="Rectiole",JO="Poudre non-divisée usage interne",XO="Poudre non-divisée usage externe",eM="Inhalation",tM="Poudres à diviser usage interne",nM="Poudres à diviser usage externe",aM="Gouttes nasales",rM="Pommade nasale",iM="Sirop",oM="Solution usage interne",sM="Solution usage externe",lM="Gouttes usage interne",uM="Gouttes usage externe",cM="Emulsion usage interne",dM="Emulsion usage externe",hM="Shampooing",pM="Gouttes ophtalmiques",mM="Lotion ophtalmique",fM="Bain ophtalmique",gM="Pommade",vM="Pommade ophtalmique",bM="Gouttes auriculaires",yM="Suspension usage interne",_M="Suspension usage externe",wM="Mélange de plantes",xM="Thé",EM="Gélules à enrobage entérique / Gélules entériques",SM="en tant que tel/telle",kM="Dermatologie (solide) en tant que telle",CM="Poudre en tant que telle ",DM="Solution en tant que telle ",hie={1:BO,2:HO,3:qO,4:$O,5:GO,6:UO,7:WO,8:ZO,9:YO,10:KO,11:QO,12:JO,13:XO,14:eM,15:tM,16:nM,17:aM,18:rM,19:iM,20:oM,21:sM,22:lM,23:uM,24:cM,25:dM,26:hM,27:pM,28:mM,29:fM,30:gM,31:vM,32:bM,33:yM,34:_M,40:wM,41:xM,71:EM,90:SM,91:kM,92:CM,93:DM},IM={};pe(IM,{1:()=>TM,10:()=>jM,11:()=>VM,12:()=>zM,13:()=>BM,14:()=>HM,15:()=>qM,16:()=>$M,17:()=>GM,18:()=>UM,19:()=>WM,2:()=>RM,20:()=>ZM,21:()=>YM,22:()=>KM,23:()=>QM,24:()=>JM,25:()=>XM,26:()=>eN,27:()=>tN,28:()=>nN,29:()=>aN,3:()=>OM,30:()=>rN,31:()=>iN,32:()=>oN,33:()=>sN,34:()=>lN,4:()=>MM,40:()=>uN,41:()=>cN,5:()=>NM,6:()=>AM,7:()=>PM,71:()=>dN,8:()=>LM,9:()=>FM,90:()=>hN,91:()=>pN,92:()=>mN,93:()=>fN,default:()=>pie});var TM="Capsules",RM="Tabletten",OM="Creme",MM="Gel",NM="Pasta",AM="Vette zalf",PM="Granulaat",LM="Suppo volwassene",FM="Suppo kind",jM="Vaginale zetpillen / vaginale ovules",VM="Rektiool",zM="Niet-verdeeld poeder inwendig gebruik",BM="Niet-verdeeld poeder uitwendig gebruik",HM="Inhalatie",qM="Te verdelen poeders inwendig gebruik",$M="Te verdelen poeders uitwendig gebruik",GM="Neusdruppels",UM="Neuszalf",WM="Siroop",ZM="Oplossing inwendig gebruik",YM="Oplossing uitwendig gebruik",KM="Druppels inwendig gebruik",QM="Druppels uitwendig gebruik",JM="Emulsie inwendig gebruik",XM="Emulsie uitwendig gebruik",eN="Shampoo",tN="Oogdruppels",nN="Ooglotion",aN="Oogbad",rN="Zalf",iN="Oogzalf",oN="Oordruppels",sN="Suspensie inwendig gebruik",lN="Suspensie uitwendig gebruik",uN="Kruidenmengsel",cN="Thee",dN="enterisch omhulde capsules",hN="Als dusdanig",pN="Als dusdanig dermatologie (vast)",mN="Als dusdanig poeder",fN="Als dusdanig vloeistof",pie={1:TM,2:RM,3:OM,4:MM,5:NM,6:AM,7:PM,8:LM,9:FM,10:jM,11:VM,12:zM,13:BM,14:HM,15:qM,16:$M,17:GM,18:UM,19:WM,20:ZM,21:YM,22:KM,23:QM,24:JM,25:XM,26:eN,27:tN,28:nN,29:aN,30:rN,31:iN,32:oN,33:sN,34:lN,40:uN,41:cN,71:dN,90:hN,91:pN,92:mN,93:fN},mie={nl:IM,fr:zO,de:cR,en:JR},gN={};pe(gN,{close:()=>vN,default:()=>fie,downloadLeaflet:()=>bN,file:()=>yN});var vN="Schließen",bN="Download Packungsbeilage (pdf)",yN="feile",fie={close:vN,downloadLeaflet:bN,file:yN},_N={};pe(_N,{close:()=>wN,default:()=>gie,downloadLeaflet:()=>xN,file:()=>EN});var wN="Close",xN="Download leaflet (pdf)",EN="file",gie={close:wN,downloadLeaflet:xN,file:EN},SN={};pe(SN,{close:()=>kN,default:()=>vie,downloadLeaflet:()=>CN,file:()=>DN});var kN="Fermer",CN="Télécharger la notice (pdf)",DN="fichier",vie={close:kN,downloadLeaflet:CN,file:DN},IN={};pe(IN,{close:()=>TN,default:()=>bie,downloadLeaflet:()=>RN,file:()=>ON});var TN="Sluiten",RN="Download bijsluiter (pdf)",ON="bestand",bie={close:TN,downloadLeaflet:RN,file:ON},yie={nl:IN,fr:SN,de:gN,en:_N},MN={};pe(MN,{afterbreakfast:()=>NN,afterdinner:()=>AN,afterlunch:()=>PN,aftermeal:()=>LN,afternoon:()=>FN,beforebreakfast:()=>jN,beforedinner:()=>VN,beforelunch:()=>zN,betweenbreakfastandlunch:()=>BN,betweendinnerandsleep:()=>HN,betweenlunchanddinner:()=>qN,betweenmeals:()=>$N,breakfast:()=>GN,default:()=>_ie,dinner:()=>UN,duringbreakfast:()=>WN,duringdinner:()=>ZN,duringlunch:()=>YN,evening:()=>KN,lunch:()=>QN,morning:()=>JN,night:()=>XN,thehourofsleep:()=>eA});var NN="nach dem Frühstück",AN="nach dem Abendessen",PN="nach dem Mittagessen",LN="nach dem Essen",FN="Nachmittag",jN="vor dem Frühstück",VN="vor dem Abendessen",zN="vor dem Mittagessen",BN="zwischen Frühstück und Mittagessen",HN="zwischen Abendessen und Nachtruhe",qN="zwischen Mittagessen und Abendessen",$N="zwischen den Mahlzeiten",GN="Frühstück",UN="Abendessen",WN="zum Frühstück",ZN="zum Abendessen",YN="zum Mittagessen",KN="Abend",QN="Mittagessen",JN="Vormittag",XN="Nacht",eA="Nachtruhe",_ie={afterbreakfast:NN,afterdinner:AN,afterlunch:PN,aftermeal:LN,afternoon:FN,beforebreakfast:jN,beforedinner:VN,beforelunch:zN,betweenbreakfastandlunch:BN,betweendinnerandsleep:HN,betweenlunchanddinner:qN,betweenmeals:$N,breakfast:GN,dinner:UN,duringbreakfast:WN,duringdinner:ZN,duringlunch:YN,evening:KN,lunch:QN,morning:JN,night:XN,thehourofsleep:eA},tA={};pe(tA,{afterbreakfast:()=>nA,afterdinner:()=>aA,afterlunch:()=>rA,aftermeal:()=>iA,afternoon:()=>oA,beforebreakfast:()=>sA,beforedinner:()=>lA,beforelunch:()=>uA,betweenbreakfastandlunch:()=>cA,betweendinnerandsleep:()=>dA,betweenlunchanddinner:()=>hA,betweenmeals:()=>pA,breakfast:()=>mA,default:()=>wie,dinner:()=>fA,duringbreakfast:()=>gA,duringdinner:()=>vA,duringlunch:()=>bA,evening:()=>yA,lunch:()=>_A,morning:()=>wA,night:()=>xA,thehourofsleep:()=>EA});var nA="after breakfast",aA="after dinner",rA="after lunch",iA="after meal",oA="afternoon",sA="before breakfast",lA="before dinner",uA="before lunch",cA="between breakfast and lunch",dA="between dinner and the hour of sleep",hA="between lunch and dinner",pA="between meals",mA="breakfast",fA="dinner",gA="during breakfast",vA="during dinner",bA="during lunch",yA="evening",_A="lunch",wA="morning",xA="night",EA="the hour of sleep",wie={afterbreakfast:nA,afterdinner:aA,afterlunch:rA,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={};pe(SA,{afterbreakfast:()=>kA,afterdinner:()=>CA,afterlunch:()=>DA,aftermeal:()=>IA,afternoon:()=>TA,beforebreakfast:()=>RA,beforedinner:()=>OA,beforelunch:()=>MA,betweenbreakfastandlunch:()=>NA,betweendinnerandsleep:()=>AA,betweenlunchanddinner:()=>PA,betweenmeals:()=>LA,breakfast:()=>FA,default:()=>xie,dinner:()=>jA,duringbreakfast:()=>VA,duringdinner:()=>zA,duringlunch:()=>BA,evening:()=>HA,lunch:()=>qA,morning:()=>$A,night:()=>GA,thehourofsleep:()=>UA});var kA="après le petit-déjeuner",CA="après le repas du soir",DA="après le repas du midi",IA="après le repas",TA="après-midi",RA="avant le petit-déjeuner",OA="avant le repas du soir",MA="avant le repas du midi",NA="entre le petit-déjeuner et le repas du midi",AA="entre le repas du soir et l’heure du coucher",PA="entre le repas du midi et le repas du soir",LA="entre les repas",FA="petit-déjeuner",jA="repas du soir",VA="pendant le petit-déjeuner",zA="pendant le repas du soir",BA="pendant le repas du midi",HA="soir",qA="repas du midi",$A="matin",GA="nuit",UA="heure du coucher",xie={afterbreakfast:kA,afterdinner:CA,afterlunch:DA,aftermeal:IA,afternoon:TA,beforebreakfast:RA,beforedinner:OA,beforelunch:MA,betweenbreakfastandlunch:NA,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},WA={};pe(WA,{afterbreakfast:()=>ZA,afterdinner:()=>YA,afterlunch:()=>KA,aftermeal:()=>QA,afternoon:()=>JA,beforebreakfast:()=>XA,beforedinner:()=>eP,beforelunch:()=>tP,betweenbreakfastandlunch:()=>nP,betweendinnerandsleep:()=>aP,betweenlunchanddinner:()=>rP,betweenmeals:()=>iP,breakfast:()=>oP,default:()=>Eie,dinner:()=>sP,duringbreakfast:()=>lP,duringdinner:()=>uP,duringlunch:()=>cP,evening:()=>dP,lunch:()=>hP,morning:()=>pP,night:()=>mP,thehourofsleep:()=>fP});var ZA="na het ontbijt",YA="na het avondmaal",KA="na het middagmaal",QA="na de maaltijd",JA="namiddag",XA="voor het ontbijt",eP="voor het avondmaal",tP="voor het middagmaal",nP="tussen het ontbijt en het middagmaal",aP="tussen het avondmaal en het slapen gaan",rP="tussen het middagmaal en het avondmaal",iP="tussen de maaltijden",oP="ontbijt",sP="avondmaal",lP="tijdens het ontbijt",uP="tijdens het avondmaal",cP="tijdens het middagmaal",dP="'s avonds",hP="middagmaal",pP="'s ochtends",mP="'s nachts",fP="voor het slapen gaan",Eie={afterbreakfast:ZA,afterdinner:YA,afterlunch:KA,aftermeal:QA,afternoon:JA,beforebreakfast:XA,beforedinner:eP,beforelunch:tP,betweenbreakfastandlunch:nP,betweendinnerandsleep:aP,betweenlunchanddinner:rP,betweenmeals:iP,breakfast:oP,dinner:sP,duringbreakfast:lP,duringdinner:uP,duringlunch:cP,evening:dP,lunch:hP,morning:pP,night:mP,thehourofsleep:fP},Sie={nl:WA,fr:SA,de:MN,en:tA},gP={};pe(gP,{day:()=>vP,default:()=>kie,during:()=>_P,on:()=>yP,week:()=>bP});var vP="Tag",bP="Woche",yP="am",_P="für",kie={day:vP,week:bP,on:yP,during:_P},wP={};pe(wP,{day:()=>xP,default:()=>Cie,during:()=>kP,on:()=>SP,week:()=>EP});var xP="day",EP="week",SP="on",kP="during",Cie={day:xP,week:EP,on:SP,during:kP},CP={};pe(CP,{day:()=>DP,default:()=>Die,during:()=>RP,on:()=>TP,week:()=>IP});var DP="jour",IP="semaine",TP="le",RP="durant",Die={day:DP,week:IP,on:TP,during:RP},OP={};pe(OP,{day:()=>MP,default:()=>Iie,during:()=>PP,on:()=>AP,week:()=>NP});var MP="dag",NP="week",AP="op",PP="gedurende",Iie={day:MP,week:NP,on:AP,during:PP},Tie={nl:OP,fr:CP,de:gP,en:wP},LP={};pe(LP,{a:()=>FP,d:()=>zP,default:()=>Rie,hr:()=>BP,min:()=>HP,mo:()=>jP,ms:()=>$P,ns:()=>UP,s:()=>qP,us:()=>GP,wk:()=>VP});var FP="{count} {count, plural, one{Jahr} other{Jahre}}",jP="{count} {count, plural, one{Monat} other{Monate}}",VP="{count} {count, plural, one{Woche} other{Wochen}}",zP="{count} {count, plural, one{Tag} other{Tage}}",BP="{count} {count, plural, one{Stunde} other{Stunden}}",HP="{count} {count, plural, one{Minute} other{Minuten}}",qP="{count} {count, plural, one{Sekunde} other{Sekunden}} ",$P="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",GP="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",UP="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",Rie={a:FP,mo:jP,wk:VP,d:zP,hr:BP,min:HP,s:qP,ms:$P,us:GP,ns:UP},WP={};pe(WP,{a:()=>ZP,d:()=>QP,default:()=>Oie,hr:()=>JP,min:()=>XP,mo:()=>YP,ms:()=>tL,ns:()=>aL,s:()=>eL,us:()=>nL,wk:()=>KP});var ZP="{count} {count, plural, one{year} other{years}}",YP="{count} {count, plural, one{month} other{months}}",KP="{count} {count, plural, one{week} other{weeks}}",QP="{count} {count, plural, one{day} other{days}}",JP="{count} {count, plural, one{hour} other{hours}}",XP="{count} {count, plural, one{minute} other{minutes}}",eL="{count} {count, plural, one{second} other{seconds}}",tL="{count} {count, plural, one{millisecond} other{millisecondes}}",nL="{count} {count, plural, one{microsecond} other{microsecondes}}",aL="{count} {count, plural, one{nanosecond} other{nanosecondes}}",Oie={a:ZP,mo:YP,wk:KP,d:QP,hr:JP,min:XP,s:eL,ms:tL,us:nL,ns:aL},rL={};pe(rL,{a:()=>iL,d:()=>lL,default:()=>Mie,hr:()=>uL,min:()=>cL,mo:()=>oL,ms:()=>hL,ns:()=>mL,s:()=>dL,us:()=>pL,wk:()=>sL});var iL="{count} {count, plural, one{année} other{années}}",oL="{count} {count, plural, one{mois} other{mois}}",sL="{count} {count, plural, one{semaine} other{semaines}}",lL="{count} {count, plural, one{jour} other{jours}}",uL="{count} {count, plural, one{heure} other{heures}}",cL="{count} {count, plural, one{minute} other{minutes}}",dL="{count} {count, plural, one{seconde} other{secondes}}",hL="{count} {count, plural, one{milliseconde} other{millisecondes}}",pL="{count} {count, plural, one{microseconde} other{microsecondes}}",mL="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",Mie={a:iL,mo:oL,wk:sL,d:lL,hr:uL,min:cL,s:dL,ms:hL,us:pL,ns:mL},fL={};pe(fL,{a:()=>gL,d:()=>yL,default:()=>Nie,hr:()=>_L,min:()=>wL,mo:()=>vL,ms:()=>EL,ns:()=>kL,s:()=>xL,us:()=>SL,wk:()=>bL});var gL="{count} {count, plural, one{jaar} other{jaren}}",vL="{count} {count, plural, one{maand} other{maanden}}",bL="{count} {count, plural, one{week} other{weken}}",yL="{count} {count, plural, one{dag} other{dagen}}",_L="{count} {count, plural, one{uur} other{uren}}",wL="{count} {count, plural, one{minuut} other{minuten}}",xL="{count} {count, plural, one{seconde} other{seconden}}",EL="{count} {count, plural, one{milliseconde} other{milliseconden}}",SL="{count} {count, plural, one{microseconde} other{microseconden}}",kL="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",Nie={a:gL,mo:vL,wk:bL,d:yL,hr:_L,min:wL,s:xL,ms:EL,us:SL,ns:kL},Aie={nl:fL,fr:rL,de:LP,en:WP},CL={};pe(CL,{"%":()=>DL,"%vv":()=>LF,"%wv":()=>FF,"%ww":()=>jF,"1000/mm3":()=>JL,amp:()=>IL,atptreatment:()=>M3,bag:()=>TL,bitperminute:()=>VF,bol:()=>zF,bot:()=>BF,box:()=>RL,c:()=>b3,can:()=>HF,cap:()=>qF,cc:()=>$F,cm:()=>GF,cmm:()=>XL,cnt:()=>y3,ctg:()=>vF,ctr:()=>UF,daily:()=>v3,day:()=>eF,default:()=>Pie,degree:()=>QL,dis:()=>rF,drm:()=>_3,fl:()=>OL,fld:()=>iF,flo:()=>oF,ftc:()=>sF,fts:()=>lF,"g/dl":()=>ML,gal:()=>bF,gm:()=>NL,goutte:()=>gF,gr:()=>WF,hour:()=>fF,in:()=>ZF,inc:()=>YF,jar:()=>KF,kg:()=>AL,"kg/m2":()=>PL,kit:()=>QF,l:()=>LL,lb:()=>FL,lm:()=>w3,loz:()=>f3,mcg:()=>jL,mcl:()=>VL,mcm:()=>yF,mcn:()=>JF,meq:()=>zL,mg:()=>BL,"mg/dl":()=>HL,"mg/l":()=>qL,"mg/m2":()=>$L,"mg/ml":()=>GL,mgper100ml:()=>wF,mic:()=>XF,mil:()=>e3,millisecond:()=>mF,min:()=>t3,minute:()=>uF,mis:()=>x3,ml:()=>UL,"ml/min":()=>WL,"ml/min/1.73m2":()=>p3,mm:()=>cF,"mm/h":()=>dF,mmhg:()=>hF,mmo:()=>n3,mol:()=>ZL,month:()=>aF,nl:()=>a3,nmg:()=>E3,nmo:()=>S3,ns:()=>IF,ondemand:()=>_F,oz:()=>YL,pel:()=>r3,pg:()=>DF,pkg:()=>i3,pnu:()=>k3,ppm:()=>KL,pt:()=>o3,qs:()=>s3,qt:()=>l3,sap:()=>N3,sat:()=>C3,second:()=>pF,shock:()=>m3,spoon:()=>tF,spr:()=>xF,sqc:()=>u3,stp:()=>D3,sup:()=>TF,syr:()=>SF,tab:()=>RF,tbl:()=>OF,tes:()=>MF,ton:()=>PF,tpn:()=>kF,trc:()=>I3,tro:()=>g3,tsp:()=>AF,tub:()=>CF,umg:()=>c3,unt:()=>NF,vil:()=>EF,vpr:()=>T3,waf:()=>R3,week:()=>nF,x:()=>O3,ydl:()=>d3,yds:()=>h3});var DL="%",IL="{count, plural, one{Glühbirn} other{Glühbirnen}}",TL="Beutel",RL="schachteln",OL="fl",ML="g/dl",NL="g",AL="kg",PL="kg/m²",LL="l",FL="lb",jL="µg",VL="µl",zL="meq",BL="mg",HL="mg/dl",qL="mg/l",$L="mg/m²",GL="mg/ml",UL="ml",WL="ml/min",ZL="mol",YL="oz",KL="ppm",QL="°",JL="1000/mm³",XL="mm³",eF="{count, plural, one{Tag} other{Tage}}",tF="Löffel",nF="{count, plural, one{Woche} other{Wochen}}",aF="{count, plural, one{Monat} other{Monate}}",rF="{count, plural, one{Platte} other{Platten}}",iF="fl dr",oF="fl oz",sF="cu ft",lF="sq ft",uF="{count, plural, one{Minute} other{Minuten}}",cF="mm",dF="mm/h",hF="mmHg",pF="{count, plural, one{Sekunde} other{Sekunden}}",mF="{count, plural, one{Millisekunde} other{Millisekunden}}",fF="{count, plural, one{Stunde} other{Stunden}}",gF="{count, plural, one{Tropf} other{Tropfen}}",vF="{count, plural, one{Kartusche} other{Kartuschen}}",bF="gal",yF="mmol",_F="auf Antrag",wF="mg/100mL",xF="{count, plural, one{Sprühe} other{Sprühen}}",EF="{count, plural, one{Phiole} other{Phiolen}}",SF="{count, plural, one{Spritze} other{Spritzen}}",kF="Tampon",CF="{count, plural, one{Rohr} other{Rohre}}",DF="pg",IF="nicht spezifiziert",TF="{count, plural, one{Zäpfch} other{Zäpfchen}}",RF="{count, plural, one{Tablette} other{Tabletten}}",OF="Esslöffel",MF="Test",NF="{count, plural, one{Einheit} other{Einheiten}}",AF="teelöffel",PF="ton",LF="% v/v",FF="% w/v",jF="% w/w",VF="Schläge pro Minute",zF="Bolus",BF="{count, plural, one{Flasche} other{Fläschchen}}",HF="Dose",qF="{count, plural, one{Kapsel} other{Kapseln}}",$F="cm3",GF="cm",UF="Halter",WF="Körnchen",ZF="in",YF="in²",KF="Glas",QF="Kitt",JF="Micron",XF="µCi",e3="mCi",t3="minim",n3="μmol",a3="normal",r3="{count, plural, one{Pille} other{Pillen}}",i3="{count, plural, one{Paket} other{Pakete}}",o3="Pinte",s3="ausreichende Menge",l3="qt",u3="cm²",c3="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",d3="yd",h3="yd²",p3="mL/min/1.73m²",m3="{count, plural, one{Schock} other{Schocks}}",f3="{count, plural, one{Pastille} other{Pastillen}}",g3="{count, plural, one{Pastille} other{Pastillen}}",v3="täglich",b3="homöopathische Verdünnung (Centesimal 1/100)",y3="cnt",_3="Fass",w3="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",x3="verschiedene",E3="ng",S3="nmol",k3="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",C3="gesättigt",D3="Strip",I3="Spur",T3="Therapieschema abhängig",R3="{count, plural, one{Oblate} other{Oblaten}}",O3="homöopathische Verdünnung (dezimal 1/10)",M3="anzahl der antitachykardie-stimulationsbehandlungen",N3="Kumulativer sap wert",Pie={"%":DL,amp:IL,bag:TL,box:RL,fl:OL,"g/dl":ML,gm:NL,kg:AL,"kg/m2":PL,l:LL,lb:FL,mcg:jL,mcl:VL,meq:zL,mg:BL,"mg/dl":HL,"mg/l":qL,"mg/m2":$L,"mg/ml":GL,ml:UL,"ml/min":WL,mol:ZL,oz:YL,ppm:KL,degree:QL,"1000/mm3":JL,cmm:XL,day:eF,spoon:tF,week:nF,month:aF,dis:rF,fld:iF,flo:oF,ftc:sF,fts:lF,minute:uF,mm:cF,"mm/h":dF,mmhg:hF,second:pF,millisecond:mF,hour:fF,goutte:gF,ctg:vF,gal:bF,mcm:yF,ondemand:_F,mgper100ml:wF,spr:xF,vil:EF,syr:SF,tpn:kF,tub:CF,pg:DF,ns:IF,sup:TF,tab:RF,tbl:OF,tes:MF,unt:NF,tsp:AF,ton:PF,"%vv":LF,"%wv":FF,"%ww":jF,bitperminute:VF,bol:zF,bot:BF,can:HF,cap:qF,cc:$F,cm:GF,ctr:UF,gr:WF,in:ZF,inc:YF,jar:KF,kit:QF,mcn:JF,mic:XF,mil:e3,min:t3,mmo:n3,nl:a3,pel:r3,pkg:i3,pt:o3,qs:s3,qt:l3,sqc:u3,umg:c3,ydl:d3,yds:h3,"ml/min/1.73m2":p3,shock:m3,loz:f3,tro:g3,daily:v3,c:b3,cnt:y3,drm:_3,lm:w3,mis:x3,nmg:E3,nmo:S3,pnu:k3,sat:C3,stp:D3,trc:I3,vpr:T3,waf:R3,x:O3,atptreatment:M3,sap:N3},A3={};pe(A3,{"%":()=>P3,"%vv":()=>L3,"%wv":()=>F3,"%ww":()=>j3,"1000/mm3":()=>V3,amp:()=>z3,atptreatment:()=>B3,bag:()=>H3,bitperminute:()=>q3,bol:()=>$3,bot:()=>G3,box:()=>U3,c:()=>W3,can:()=>Z3,cap:()=>Y3,cc:()=>K3,cm:()=>Q3,cmm:()=>J3,cnt:()=>X3,ctg:()=>ej,ctr:()=>tj,daily:()=>nj,day:()=>aj,default:()=>Lie,degree:()=>rj,dis:()=>ij,drm:()=>oj,fl:()=>sj,fld:()=>lj,flo:()=>uj,ftc:()=>cj,fts:()=>dj,"g/dl":()=>hj,gal:()=>pj,gm:()=>mj,goutte:()=>fj,gr:()=>gj,hour:()=>vj,in:()=>bj,inc:()=>yj,jar:()=>_j,kg:()=>wj,"kg/m2":()=>xj,kit:()=>Ej,l:()=>Sj,lb:()=>kj,lm:()=>Cj,loz:()=>Dj,mcg:()=>Ij,mcl:()=>Tj,mcm:()=>Rj,mcn:()=>Oj,meq:()=>Mj,mg:()=>Nj,"mg/dl":()=>Aj,"mg/l":()=>Pj,"mg/m2":()=>Lj,"mg/ml":()=>Fj,mgper100ml:()=>jj,mic:()=>Vj,mil:()=>zj,millisecond:()=>Bj,min:()=>Hj,minute:()=>qj,mis:()=>$j,ml:()=>Gj,"ml/min":()=>Uj,"ml/min/1.73m2":()=>Wj,mm:()=>Zj,"mm/h":()=>Yj,mmhg:()=>Kj,mmo:()=>Qj,mol:()=>Jj,month:()=>Xj,nl:()=>e5,nmg:()=>t5,nmo:()=>n5,ns:()=>a5,ondemand:()=>r5,oz:()=>i5,pel:()=>o5,pg:()=>s5,pkg:()=>l5,pnu:()=>u5,ppm:()=>c5,pt:()=>d5,qs:()=>h5,qt:()=>B5,sap:()=>p5,sat:()=>m5,second:()=>f5,shock:()=>g5,spoon:()=>v5,spr:()=>b5,sqc:()=>y5,stp:()=>_5,sup:()=>w5,syr:()=>x5,tab:()=>E5,tbl:()=>S5,tes:()=>k5,ton:()=>C5,tpn:()=>D5,trc:()=>I5,tro:()=>T5,tsp:()=>R5,tub:()=>O5,umg:()=>M5,unt:()=>N5,vil:()=>A5,vpr:()=>P5,waf:()=>L5,week:()=>F5,x:()=>j5,ydl:()=>V5,yds:()=>z5});var P3="%",L3="% v/v",F3="% w/v",j3="% w/w",V3="1000/mm³",z3="{count, plural, one{ampule} other{ampules}}",B3="Number of treatments by anti-tachycardia pacing",H3="{count, plural, one{bag} other{bags}}",q3="{count, plural, one{bit per minute} other{bits per minute}}",$3="bolus",G3="{count, plural, one{bottle} other{bottles}}",U3="{count, plural, one{box} other{boxes}}",W3="homeopathic dilution (centesimal 1/100)",Z3="{count, plural, one{can} other{cans}}",Y3="{count, plural, one{capsule} other{capsules}}",K3="cm³",Q3="cm",J3="mm³",X3="cnt",ej="{count, plural, one{cartridge} other{cartridges}}",tj="{count, plural, one{container} other{containers}}",nj="daily",aj="{count, plural, one{day} other{days}}",rj="°",ij="{count, plural, one{disk} other{disks}}",oj="drum",sj="{count, plural, one{fluid} other{fluids}}",lj="fl dr",uj="{count, plural, one{fluid ounce} other{fluid ounces}}",cj="cu ft",dj="sq ft",hj="g/dl",pj="{count, plural, one{gallon} other{gallons}}",mj="g",fj="{count, plural, one{drop} other{drops}}",gj="{count, plural, one{grain} other{grains}}",vj="{count, plural, one{hour} other{hours}}",bj="{count, plural, one{inch} other{inches}}",yj="in²",_j="{count, plural, one{jar} other{jars}}",wj="kg",xj="kg/m²",Ej="kit",Sj="{count, plural, one{liter} other{liters}}",kj="{count, plural, one{pound} other{pounds}}",Cj="homeopathic dilution (fifty millesimal 1/50,000)",Dj="{count, plural, one{lozenge} other{lozenges}}",Ij="µg",Tj="µl",Rj="mmol",Oj="micron",Mj="milliequivalent",Nj="mg",Aj="mg/dl",Pj="mg/l",Lj="mg/m²",Fj="mg/ml",jj="mg/100mL",Vj="µCi",zj="mCi",Bj="{count, plural, one{millisecond} other{milliseconds}}",Hj="minim",qj="{count, plural, one{minute} other{minutes}}",$j="miscellaneous",Gj="{count, plural, one{milliliter} other{milliliters}}",Uj="ml/min",Wj="mL/min/1.73m²",Zj="mm",Yj="mm/h",Kj="mmHg",Qj="μmol",Jj="mol",Xj="{count, plural, one{month} other{months}}",e5="normal",t5="ng",n5="nmol",a5="not stated",r5="on demand",i5="{count, plural, one{ounce} other{ounces}}",o5="{count, plural, one{pellet} other{pellets}}",s5="pg",l5="{count, plural, one{package} other{packages}}",u5="{count, plural, one{protein unit} other{protein unit}}",c5="ppm",d5="{count, plural, one{pint} other{pints}}",h5="quantity sufficient",p5="Cumulative sap value",m5="saturated",f5="{count, plural, one{second} other{seconds}}",g5="shock",v5="{count, plural, one{spoon} other{spoons}}",b5="{count, plural, one{spray} other{sprays}}",y5="cm²",_5="{count, plural, one{strip} other{strips}}",w5="{count, plural, one{suppository} other{suppositories}}",x5="{count, plural, one{syrynge} other{syrynges}}",E5="{count, plural, one{tablet} other{tablets}}",S5="{count, plural, one{tablespoon} other{tablespoons}}",k5="{count, plural, one{test} other{tests}}",C5="{count, plural, one{ton} other{tons}}",D5="{count, plural, one{tampon} other{tampons}}",I5="{count, plural, one{trace} other{traces}}",T5="{count, plural, one{troche} other{troches}}",R5="{count, plural, one{teaspoon} other{teaspoons}}",O5="{count, plural, one{tube} other{tubes}}",M5="UNITS PER MILLIGRAM",N5="{count, plural, one{unit} other{units}}",A5="{count, plural, one{vial} other{vials}}",P5="varies per regimen",L5="{count, plural, one{wafer} other{wafers}}",F5="{count, plural, one{week} other{weeks}}",j5="homeopathic dilution (decimal 1/10)",V5="yd",z5="yd²",B5="qt",Lie={"%":P3,"%vv":L3,"%wv":F3,"%ww":j3,"1000/mm3":V3,amp:z3,atptreatment:B3,bag:H3,bitperminute:q3,bol:$3,bot:G3,box:U3,c:W3,can:Z3,cap:Y3,cc:K3,cm:Q3,cmm:J3,cnt:X3,ctg:ej,ctr:tj,daily:nj,day:aj,degree:rj,dis:ij,drm:oj,fl:sj,fld:lj,flo:uj,ftc:cj,fts:dj,"g/dl":hj,gal:pj,gm:mj,goutte:fj,gr:gj,hour:vj,in:bj,inc:yj,jar:_j,kg:wj,"kg/m2":xj,kit:Ej,l:Sj,lb:kj,lm:Cj,loz:Dj,mcg:Ij,mcl:Tj,mcm:Rj,mcn:Oj,meq:Mj,mg:Nj,"mg/dl":Aj,"mg/l":Pj,"mg/m2":Lj,"mg/ml":Fj,mgper100ml:jj,mic:Vj,mil:zj,millisecond:Bj,min:Hj,minute:qj,mis:$j,ml:Gj,"ml/min":Uj,"ml/min/1.73m2":Wj,mm:Zj,"mm/h":Yj,mmhg:Kj,mmo:Qj,mol:Jj,month:Xj,nl:e5,nmg:t5,nmo:n5,ns:a5,ondemand:r5,oz:i5,pel:o5,pg:s5,pkg:l5,pnu:u5,ppm:c5,pt:d5,qs:h5,sap:p5,sat:m5,second:f5,shock:g5,spoon:v5,spr:b5,sqc:y5,stp:_5,sup:w5,syr:x5,tab:E5,tbl:S5,tes:k5,ton:C5,tpn:D5,trc:I5,tro:T5,tsp:R5,tub:O5,umg:M5,unt:N5,vil:A5,vpr:P5,waf:L5,week:F5,x:j5,ydl:V5,yds:z5,qt:B5},H5={};pe(H5,{"%":()=>q5,"%vv":()=>JV,"%wv":()=>XV,"%ww":()=>ez,"1000/mm3":()=>mV,amp:()=>$5,atptreatment:()=>Zz,bag:()=>G5,bitperminute:()=>tz,bol:()=>nz,bot:()=>az,box:()=>U5,c:()=>Az,can:()=>rz,cap:()=>iz,cc:()=>oz,cm:()=>sz,cmm:()=>fV,cnt:()=>Pz,ctg:()=>NV,ctr:()=>lz,daily:()=>Nz,day:()=>gV,default:()=>Fie,degree:()=>pV,dis:()=>_V,drm:()=>Lz,fl:()=>W5,fld:()=>wV,flo:()=>xV,ftc:()=>EV,fts:()=>SV,"g/dl":()=>Z5,gal:()=>AV,gm:()=>Y5,goutte:()=>MV,gr:()=>uz,hour:()=>OV,in:()=>cz,inc:()=>dz,jar:()=>hz,kg:()=>K5,"kg/m2":()=>Q5,kit:()=>pz,l:()=>J5,lb:()=>X5,lm:()=>Fz,loz:()=>Oz,mcg:()=>eV,mcl:()=>tV,mcm:()=>PV,mcn:()=>mz,meq:()=>nV,mg:()=>aV,"mg/dl":()=>rV,"mg/l":()=>iV,"mg/m2":()=>oV,"mg/ml":()=>sV,mgper100ml:()=>FV,mic:()=>fz,mil:()=>gz,millisecond:()=>RV,min:()=>vz,minute:()=>kV,mis:()=>jz,ml:()=>lV,"ml/min":()=>uV,"ml/min/1.73m2":()=>Tz,mm:()=>CV,"mm/h":()=>DV,mmhg:()=>IV,mmo:()=>bz,mol:()=>cV,month:()=>yV,nl:()=>yz,nmg:()=>Vz,nmo:()=>zz,ns:()=>$V,ondemand:()=>LV,oz:()=>dV,pel:()=>_z,pg:()=>qV,pkg:()=>wz,pnu:()=>Bz,ppm:()=>hV,pt:()=>xz,qs:()=>Ez,qt:()=>Sz,sap:()=>Yz,sat:()=>Hz,second:()=>TV,shock:()=>Rz,spoon:()=>vV,spr:()=>jV,sqc:()=>kz,stp:()=>qz,sup:()=>GV,syr:()=>zV,tab:()=>UV,tbl:()=>WV,tes:()=>ZV,ton:()=>QV,tpn:()=>BV,trc:()=>$z,tro:()=>Mz,tsp:()=>KV,tub:()=>HV,umg:()=>Cz,unt:()=>YV,vil:()=>VV,vpr:()=>Gz,waf:()=>Uz,week:()=>bV,x:()=>Wz,ydl:()=>Dz,yds:()=>Iz});var q5="%",$5="{count, plural, one{ampoule} other{ampoules}}",G5="{count, plural, one{sac} other{sacs}}",U5="{count, plural, one{vaporisateur} other{vaporisateurs}}",W5="fl",Z5="g/dl",Y5="g",K5="kg",Q5="kg/m²",J5="l",X5="lb",eV="µg",tV="µl",nV="milli-equivalent",aV="mg",rV="mg/dl",iV="mg/l",oV="mg/m²",sV="mg/ml",lV="ml",uV="ml/min",cV="mol",dV="oz",hV="ppm",pV="°",mV="1000/mm³",fV="mm³",gV="{count, plural, one{jour(s)} other{jours}}",vV="{count, plural, one{cuillère} other{cuillères}}",bV="{count, plural, one{semaine} other{semaines}}",yV="mois",_V="{count, plural, one{disque} other{disques}}",wV="fl dr",xV="fl oz",EV="cu ft",SV="sq ft",kV="{count, plural, one{minute} other{minutes}}",CV="mm",DV="mm/h",IV="mmHg",TV="{count, plural, one{seconde} other{secondes}}",RV="{count, plural, one{milliseconde} other{millisecondes}}",OV="{count, plural, one{heure} other{heures}}",MV="{count, plural, one{goutte} other{gouttes}}",NV="{count, plural, one{cartouche} other{cartouches}}",AV="gal",PV="mmol",LV="sur demande",FV="mg/100mL",jV="spray",VV="{count, plural, one{fiole} other{fioles}}",zV="{count, plural, one{seringue} other{seringues}}",BV="{count, plural, one{tampon} other{tampons}}",HV="{count, plural, one{tube} other{tubes}}",qV="pg",$V="non spécifié",GV="{count, plural, one{suppositoire} other{suppositoires}}",UV="{count, plural, one{tablette} other{tablettes}}",WV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",ZV="{count, plural, one{test} other{tests}}",YV="{count, plural, one{unité} other{unités}}",KV="{count, plural, one{cuillère à café} other{cuillères à café}}",QV="{count, plural, one{ton} other{tons}}",JV="% v/v",XV="% w/v",ez="% w/w",tz="{count, plural, one{battement par minute} other{battements par minute}}",nz="{count, plural, one{bolus} other{bolus}}",az="{count, plural, one{bouteille} other{bouteilles}}",rz="{count, plural, one{canette} other{canettes}}",iz="{count, plural, one{capsule} other{capsules}}",oz="cm3",sz="cm",lz="{count, plural, one{conteneur} other{conteneurs}}",uz="{count, plural, one{granule} other{granules}}",cz="in",dz="in²",hz="pot",pz="{count, plural, one{kit} other{kits}}",mz="micron",fz="µCi",gz="mCi",vz="minim",bz="μmol",yz="normal",_z="{count, plural, one{pilule} other{pilules}}",wz="{count, plural, one{paquet} other{paquets}}",xz="pinte",Ez="quantité suffisante",Sz="qt",kz="cm²",Cz="{count, plural, one{unité / mg} other{unités / mg}}",Dz="yd",Iz="yd²",Tz="mL/min/1.73m²",Rz="choc",Oz="{count, plural, one{pastille} other{pastilles}}",Mz="{count, plural, one{pastille} other{pastilles}}",Nz="journalier",Az="dilution homéopathique (centésimal 1/100)",Pz="cnt",Lz="fût",Fz="dilution homéopathique (50 millisimaux au ratio 1:50,000)",jz="divers",Vz="ng",zz="nmol",Bz="{count, plural, one{unité protéique} other{unités protéiques}}",Hz="saturé",qz="strip",$z="trace",Gz="dépendant du schéma thérapeutique",Uz="{count, plural, one{hostie} other{hosties}}",Wz="dilution homéopathique (décimal 1/10)",Zz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",Yz="Valeur sap cumulative",Fie={"%":q5,amp:$5,bag:G5,box:U5,fl:W5,"g/dl":Z5,gm:Y5,kg:K5,"kg/m2":Q5,l:J5,lb:X5,mcg:eV,mcl:tV,meq:nV,mg:aV,"mg/dl":rV,"mg/l":iV,"mg/m2":oV,"mg/ml":sV,ml:lV,"ml/min":uV,mol:cV,oz:dV,ppm:hV,degree:pV,"1000/mm3":mV,cmm:fV,day:gV,spoon:vV,week:bV,month:yV,dis:_V,fld:wV,flo:xV,ftc:EV,fts:SV,minute:kV,mm:CV,"mm/h":DV,mmhg:IV,second:TV,millisecond:RV,hour:OV,goutte:MV,ctg:NV,gal:AV,mcm:PV,ondemand:LV,mgper100ml:FV,spr:jV,vil:VV,syr:zV,tpn:BV,tub:HV,pg:qV,ns:$V,sup:GV,tab:UV,tbl:WV,tes:ZV,unt:YV,tsp:KV,ton:QV,"%vv":JV,"%wv":XV,"%ww":ez,bitperminute:tz,bol:nz,bot:az,can:rz,cap:iz,cc:oz,cm:sz,ctr:lz,gr:uz,in:cz,inc:dz,jar:hz,kit:pz,mcn:mz,mic:fz,mil:gz,min:vz,mmo:bz,nl:yz,pel:_z,pkg:wz,pt:xz,qs:Ez,qt:Sz,sqc:kz,umg:Cz,ydl:Dz,yds:Iz,"ml/min/1.73m2":Tz,shock:Rz,loz:Oz,tro:Mz,daily:Nz,c:Az,cnt:Pz,drm:Lz,lm:Fz,mis:jz,nmg:Vz,nmo:zz,pnu:Bz,sat:Hz,stp:qz,trc:$z,vpr:Gz,waf:Uz,x:Wz,atptreatment:Zz,sap:Yz},Kz={};pe(Kz,{"%":()=>Qz,"%vv":()=>o4,"%wv":()=>s4,"%ww":()=>l4,"1000/mm3":()=>xB,amp:()=>Jz,atptreatment:()=>n7,bag:()=>Xz,bitperminute:()=>u4,bol:()=>c4,bot:()=>d4,box:()=>eB,c:()=>H4,can:()=>h4,cap:()=>p4,cc:()=>m4,cm:()=>f4,cmm:()=>EB,cnt:()=>q4,ctg:()=>BB,ctr:()=>g4,daily:()=>B4,day:()=>SB,default:()=>jie,degree:()=>wB,dis:()=>IB,drm:()=>$4,fl:()=>tB,fld:()=>TB,flo:()=>RB,ftc:()=>OB,fts:()=>MB,"g/dl":()=>nB,gal:()=>HB,gm:()=>aB,goutte:()=>zB,gr:()=>v4,hour:()=>VB,in:()=>b4,inc:()=>y4,jar:()=>_4,kg:()=>rB,"kg/m2":()=>iB,kit:()=>w4,l:()=>oB,lb:()=>sB,lm:()=>G4,loz:()=>V4,mcg:()=>lB,mcl:()=>uB,mcm:()=>qB,mcn:()=>x4,meq:()=>cB,mg:()=>dB,"mg/dl":()=>hB,"mg/l":()=>pB,"mg/m2":()=>mB,"mg/ml":()=>fB,mgper100ml:()=>GB,mic:()=>E4,mil:()=>S4,millisecond:()=>jB,min:()=>k4,minute:()=>NB,mis:()=>U4,ml:()=>gB,"ml/min":()=>vB,"ml/min/1.73m2":()=>F4,mm:()=>AB,"mm/h":()=>PB,mmhg:()=>LB,mmo:()=>C4,mol:()=>bB,month:()=>DB,nl:()=>D4,nmg:()=>W4,nmo:()=>Z4,ns:()=>JB,ondemand:()=>$B,oz:()=>yB,pel:()=>I4,pg:()=>QB,pkg:()=>T4,pnu:()=>Y4,ppm:()=>_B,pt:()=>R4,qs:()=>O4,qt:()=>M4,sap:()=>a7,sat:()=>K4,second:()=>FB,shock:()=>j4,spoon:()=>kB,spr:()=>UB,sqc:()=>N4,stp:()=>Q4,sup:()=>XB,syr:()=>ZB,tab:()=>e4,tbl:()=>t4,tes:()=>n4,ton:()=>i4,tpn:()=>YB,trc:()=>J4,tro:()=>z4,tsp:()=>r4,tub:()=>KB,umg:()=>A4,unt:()=>a4,vil:()=>WB,vpr:()=>X4,waf:()=>e7,week:()=>CB,x:()=>t7,ydl:()=>P4,yds:()=>L4});var Qz="%",Jz="{count, plural, one{ampule} other{ampullen}}",Xz="{count, plural, one{zak} other{zakken}}",eB="{count, plural, one{verstuiver} other{verstuivers}}",tB="fl",nB="g/dl",aB="g",rB="kg",iB="kg/m²",oB="l",sB="lb",lB="µg",uB="µl",cB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",dB="mg",hB="mg/dl",pB="mg/l",mB="mg/m²",fB="mg/ml",gB="ml",vB="ml/min",bB="mol",yB="oz",_B="ppm",wB="°",xB="1000/mm³",EB="mm³",SB="{count, plural, one{dag} other{dagen}}",kB="{count, plural, one{lepel} other{lepels}}",CB="{count, plural, one{week} other{weken}}",DB="{count, plural, one{maand} other{maanden}}",IB="{count, plural, one{schijf} other{schijven}}",TB="fl dr",RB="fl oz",OB="cu ft",MB="sq ft",NB="{count, plural, one{minuut} other{minuten}}",AB="mm",PB="mm/h",LB="mmHg",FB="{count, plural, one{seconde} other{seconden}}",jB="{count, plural, one{milliseconde} other{milliseconden}}",VB="{count, plural, one{uur} other{uren}}",zB="{count, plural, one{druppel} other{druppels}}",BB="{count, plural, one{patroon} other{patronen}}",HB="gal",qB="mmol",$B="op aanvraag",GB="mg/100mL",UB="{count, plural, one{spray} other{sprays}}",WB="{count, plural, one{flesje} other{flesjes}}",ZB="{count, plural, one{spuit} other{spuiten}}",YB="{count, plural, one{tampon} other{tampons}}",KB="{count, plural, one{buis} other{buizen}}",QB="pg",JB="niet gespecificeerd",XB="{count, plural, one{zetpil} other{zetpillen}}",e4="{count, plural, one{tablet} other{tabletten}}",t4="{count, plural, one{eetlepel} other{eetlepels}}",n4="{count, plural, one{test} other{tests}}",a4="{count, plural, one{eenheid} other{eenheden}}",r4="{count, plural, one{theelepel} other{theelepels}}",i4="{count, plural, one{ton} other{tonnen}}",o4="% v/v",s4="% w/v",l4="% w/w",u4="{count, plural, one{slag per minuut} other{slagen per minuut}}",c4="bolus",d4="{count, plural, one{fles} other{flessen}}",h4="{count, plural, one{blikje} other{blikjes}}",p4="{count, plural, one{capsule} other{capsules}}",m4="cm3",f4="cm",g4="{count, plural, one{houder} other{houders}}",v4="{count, plural, one{korrel} other{korrels}}",b4="in",y4="in²",_4="{count, plural, one{pot} other{potten}}",w4="{count, plural, one{kit} other{kits}}",x4="micron",E4="µCi",S4="mCi",k4="minim",C4="μmol",D4="normaal",I4="{count, plural, one{pil} other{pillen}}",T4="{count, plural, one{pakket} other{pakketten}}",R4="{count, plural, one{pint} other{pinten}}",O4="voldoende hoeveelheid",M4="qt",N4="cm²",A4="{count, plural, one{eenheid / mg} other{eenheden / mg}}",P4="yd",L4="yd²",F4="mL/min/1.73m²",j4="{count, plural, one{schok} other{schokken}}",V4="{count, plural, one{zuigtablet} other{zuigtabletten}}",z4="{count, plural, one{zuigtablet} other{zuigtabletten}}",B4="dagelijks",H4="homeopathische verdunning (centesimal 1/100)",q4="cnt",$4="vat",G4="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",U4="diverse",W4="ng",Z4="nmol",Y4="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",K4="verzadigd",Q4="{count, plural, one{strip} other{strips}}",J4="{count, plural, one{spoor} other{sporen}}",X4="behandelingsschema-afhankelijk",e7="{count, plural, one{ouwel} other{ouwels}}",t7="homeopathische verdunning (decimaal 1/10)",n7="aantal anti-tachycardie-stimulatiebehandelingen",a7="Cumulatieve sap waarde",jie={"%":Qz,amp:Jz,bag:Xz,box:eB,fl:tB,"g/dl":nB,gm:aB,kg:rB,"kg/m2":iB,l:oB,lb:sB,mcg:lB,mcl:uB,meq:cB,mg:dB,"mg/dl":hB,"mg/l":pB,"mg/m2":mB,"mg/ml":fB,ml:gB,"ml/min":vB,mol:bB,oz:yB,ppm:_B,degree:wB,"1000/mm3":xB,cmm:EB,day:SB,spoon:kB,week:CB,month:DB,dis:IB,fld:TB,flo:RB,ftc:OB,fts:MB,minute:NB,mm:AB,"mm/h":PB,mmhg:LB,second:FB,millisecond:jB,hour:VB,goutte:zB,ctg:BB,gal:HB,mcm:qB,ondemand:$B,mgper100ml:GB,spr:UB,vil:WB,syr:ZB,tpn:YB,tub:KB,pg:QB,ns:JB,sup:XB,tab:e4,tbl:t4,tes:n4,unt:a4,tsp:r4,ton:i4,"%vv":o4,"%wv":s4,"%ww":l4,bitperminute:u4,bol:c4,bot:d4,can:h4,cap:p4,cc:m4,cm:f4,ctr:g4,gr:v4,in:b4,inc:y4,jar:_4,kit:w4,mcn:x4,mic:E4,mil:S4,min:k4,mmo:C4,nl:D4,pel:I4,pkg:T4,pt:R4,qs:O4,qt:M4,sqc:N4,umg:A4,ydl:P4,yds:L4,"ml/min/1.73m2":F4,shock:j4,loz:V4,tro:z4,daily:B4,c:H4,cnt:q4,drm:$4,lm:G4,mis:U4,nmg:W4,nmo:Z4,pnu:Y4,sat:K4,stp:Q4,trc:J4,vpr:X4,waf:e7,x:t7,atptreatment:n7,sap:a7},Vie={nl:Kz,fr:H5,de:CL,en:A3},r7={};pe(r7,{default:()=>zie,header:()=>i7,patient:()=>o7,professional:()=>s7});var i7="Ausgegebene Medikamente?",o7={part1:{1:"Die Liste kann",2:" unvollständig ",3:"sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für Sie bestimmt ",3:"sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen."},part3:{1:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu",2:" Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung."}},s7={part1:{1:"Die Liste kann",2:" unvollständig ",3:": , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für diesen Patienten bestimmt ",3:"sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."}},zie={header:i7,patient:o7,professional:s7},l7={};pe(l7,{default:()=>Bie,header:()=>u7,patient:()=>c7,professional:()=>d7});var u7="How to interpret the list?",c7={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."},part3:{1:"If in doubt, always consult your doctor or pharmacist. This information is provided",2:"for informational purposes and is not a substitute for professional medical advice."}},d7={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."}},Bie={header:u7,patient:c7,professional:d7},h7={};pe(h7,{default:()=>Hie,header:()=>p7,patient:()=>m7,professional:()=>f7});var p7="Comment interpréter la liste?",m7={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne vous concernent pas. ",3:"Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres."},part3:{1:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes",2:" à titre informatif et ne remplacent pas un avis médical professionnel."}},f7={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},Hie={header:p7,patient:m7,professional:f7},g7={};pe(g7,{default:()=>qie,header:()=>v7,patient:()=>b7,professional:()=>y7});var v7="Hoe de lijst interpreteren?",b7={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},y7={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:": is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor deze patiënt bestemd ",3:"zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."}},qie={header:v7,patient:b7,professional:y7},$ie={nl:g7,fr:h7,de:r7,en:l7},_7={};pe(_7,{default:()=>Gie,headers:()=>w7,magisterialPreparation:()=>x7,noContent:()=>E7});var w7={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},x7="Verschreibungurarzneimittel",E7="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Gie={headers:w7,magisterialPreparation:x7,noContent:E7},S7={};pe(S7,{default:()=>Uie,headers:()=>k7,magisterialPreparation:()=>C7,noContent:()=>D7});var k7={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},C7="Magistral preparation",D7="There is no delivered medication found for this patient.",Uie={headers:k7,magisterialPreparation:C7,noContent:D7},I7={};pe(I7,{default:()=>Wie,headers:()=>T7,magisterialPreparation:()=>R7,noContent:()=>O7});var T7={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},R7="Préparation magistrale",O7="Aucun médicament délivré n'a été retrouvé pour ce patient.",Wie={headers:T7,magisterialPreparation:R7,noContent:O7},M7={};pe(M7,{default:()=>Zie,headers:()=>N7,magisterialPreparation:()=>A7,noContent:()=>P7});var N7={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},A7="Magistrale bereiding",P7="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Zie={headers:N7,magisterialPreparation:A7,noContent:P7},Yie={nl:M7,fr:I7,de:_7,en:S7},L7={};pe(L7,{composition:()=>F7,default:()=>Kie,"delivered-by":()=>q7,"delivery-date":()=>H7,dguid:()=>V7,"is-prescribed":()=>z7,leaflet:()=>K7,"magisterial-preparation":()=>Y7,medication:()=>J7,"no-pharmacy":()=>W7,noDetails:()=>X7,package:()=>Q7,patient:()=>Z7,posologie:()=>j7,quantity:()=>B7,"return-delivery-date":()=>G7,"returned-by":()=>U7,"returned-quantity":()=>$7});var F7="Zusammensetzung",j7="Dosierung",V7="ID Ausgabe",z7={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},B7="Gelieferte Menge",H7="Lieferdatum",q7="Geliefert von",$7="Zurückgenommene Menge",G7="Rücknahme am",U7="Rücknahme durch",W7="Apotheke mit LIKIV-Erkennungsnummer",Z7="Patient",Y7="Verschreibungurarzneimittel",K7="Packungsbeilage",Q7="{count, plural, one{Verpackung} other{Verpackungen}}",J7="Arzneimittel",X7="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Kie={composition:F7,posologie:j7,dguid:V7,"is-prescribed":z7,quantity:B7,"delivery-date":H7,"delivered-by":q7,"returned-quantity":$7,"return-delivery-date":G7,"returned-by":U7,"no-pharmacy":W7,patient:Z7,"magisterial-preparation":Y7,leaflet:K7,package:Q7,medication:J7,noDetails:X7},eH={};pe(eH,{composition:()=>tH,default:()=>Qie,"delivered-by":()=>nH,"delivery-date":()=>aH,dguid:()=>rH,"is-prescribed":()=>iH,leaflet:()=>oH,"magisterial-preparation":()=>sH,medication:()=>lH,"no-pharmacy":()=>uH,noDetails:()=>cH,package:()=>dH,patient:()=>hH,posologie:()=>pH,quantity:()=>mH,"return-delivery-date":()=>vH,"returned-by":()=>bH,"returned-quantity":()=>gH,title:()=>fH});var tH="Composition",nH="Dispensed by",aH="Date dispensed",rH="Dispensing ID",iH={no:"No",title:"Was prescribed",yes:"Yes"},oH="Package leaflet",sH="Compounded preparation",lH="Medication",uH="Pharmacy with NIHDI number",cH="The requested information has been deleted or doesn't exist.",dH="{count, plural, one{package} other{packages}}",hH="Patient",pH="Dosage",mH="Dispensed quality",fH="Detail of the dispensed medication",gH="Returned quantity",vH="Return on",bH="Return by",Qie={composition:tH,"delivered-by":nH,"delivery-date":aH,dguid:rH,"is-prescribed":iH,leaflet:oH,"magisterial-preparation":sH,medication:lH,"no-pharmacy":uH,noDetails:cH,package:dH,patient:hH,posologie:pH,quantity:mH,title:fH,"returned-quantity":gH,"return-delivery-date":vH,"returned-by":bH},yH={};pe(yH,{composition:()=>_H,default:()=>Jie,"delivered-by":()=>CH,"delivery-date":()=>kH,dguid:()=>xH,"is-prescribed":()=>EH,leaflet:()=>NH,"magisterial-preparation":()=>MH,medication:()=>PH,"no-pharmacy":()=>RH,noDetails:()=>LH,package:()=>AH,patient:()=>OH,posologie:()=>wH,quantity:()=>SH,"return-delivery-date":()=>IH,"returned-by":()=>TH,"returned-quantity":()=>DH});var _H="Composition",wH="Posologie",xH="ID délivrance",EH={title:"A été prescrit",yes:"Oui",no:"Non"},SH="Quantité délivrée",kH="Date de délivrance",CH="Délivré par",DH="Quantité retournée",IH="Retour le",TH="Retour par",RH="Pharmacie avec numéro INAMI",OH="Patient",MH="Préparation magistrale",NH="Notice d'information",AH="{count, plural, one{emballage} other{emballages}}",PH="Médicament",LH="La prescription demandée a été supprimée ou n'existe pas.",Jie={composition:_H,posologie:wH,dguid:xH,"is-prescribed":EH,quantity:SH,"delivery-date":kH,"delivered-by":CH,"returned-quantity":DH,"return-delivery-date":IH,"returned-by":TH,"no-pharmacy":RH,patient:OH,"magisterial-preparation":MH,leaflet:NH,package:AH,medication:PH,noDetails:LH},FH={};pe(FH,{composition:()=>jH,default:()=>Xie,"delivered-by":()=>$H,"delivery-date":()=>qH,dguid:()=>zH,"is-prescribed":()=>BH,leaflet:()=>QH,"magisterial-preparation":()=>KH,medication:()=>XH,"no-pharmacy":()=>ZH,noDetails:()=>e9,package:()=>JH,patient:()=>YH,posologie:()=>VH,quantity:()=>HH,"return-delivery-date":()=>UH,"returned-by":()=>WH,"returned-quantity":()=>GH});var jH="Samenstelling",VH="Posologie",zH="ID aflevering",BH={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},HH="Afgeleverde hoeveelheid",qH="Datum afgeleverd",$H="Afgeleverd door",GH="Teruggenomen hoeveelheid",UH="Terugname op",WH="Terugname door",ZH="Apotheek met RIZIV-nummer",YH="Patiënt",KH="Magistrale bereiding",QH="Bijsluiter",JH="{count, plural, one{verpakking} other{verpakkingen}}",XH="Geneesmiddel(en)",e9="Het gevraagde voorschrift is verwijderd of bestaat niet.",Xie={composition:jH,posologie:VH,dguid:zH,"is-prescribed":BH,quantity:HH,"delivery-date":qH,"delivered-by":$H,"returned-quantity":GH,"return-delivery-date":UH,"returned-by":WH,"no-pharmacy":ZH,patient:YH,"magisterial-preparation":KH,leaflet:QH,package:JH,medication:XH,noDetails:e9},eoe={nl:FH,fr:yH,de:L7,en:eH},toe=class extends bs{getTranslation(e){return et({commons:Qt(ce({},yie[e]),{units:Vie[e],galenicFormCodes:mie[e],timeUnits:Aie[e],administrationUnits:Xre[e],periods:Sie[e],days:rie[e],posology:Tie[e],errors:uie[e]}),deliveredMedicationsList:Yie[e],deliveredMedicationsDisclaimer:$ie[e],deliveredMedicationDetails:eoe[e]})}},noe=[Hre,vJ({defaultLanguage:"fr",loader:{provide:bs,useClass:toe},compiler:{provide:_s,useClass:Ure}})];function sh(e){return(e==null?void 0:e.medication)!=null}var aoe=(()=>{const t=class t{transform(n){return sh(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"canDisplayDeliveredMedication",type:t,pure:!0});let e=t;return e})(),t9=(()=>{const t=class t{constructor(){this.http=S(eo)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),roe={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Ei.CNK},name:[{value:"Novyra 50 mg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 comprimé le matin"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Ei.CNK},name:[{value:"Meldiora 10 ml"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-06-30T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 goutte dans chaque narine 3x/j"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:Ei.CNK},name:[{value:"Cymelune 200 µg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"2 inhalations si nécessaire (max 4/j)"}]}],isPrescribed:!0}]},n9=(()=>{const t=class t{constructor(){this.demoService=S(ure)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",roe)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),a9=(()=>{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})(),ioe=(e,t)=>e.getEnvironmentVariable("env")===Xa.DEMO?t.get(n9):t.get(t9),ooe={provide:a9,useFactory:ioe,deps:[no,ht]},tv=(()=>{const t=class t extends Ew{constructor(n,r){super(n.getServices(),Yo.DELIVERED_MEDICATIONS,r.getInstance().isOfflineAuthenticated,r.getInstance().isOfflineDataStorageEnabled,Yo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=S(a9),this.authServiceSelector=S(Vi),this.deliveredMedicationsStateSubject$=new Ar({status:Si.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return Rt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),r=this.deliveredMedicationsApiService.get(n);return t6(r)})}getDeliveredMedications(n=!0){return Rt(this,null,function*(){return dre(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(oe(Bu),oe(Vi))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),Xs;function soe(){if(Xs===void 0&&(Xs=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Xs=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Xs}function fo(e){var t;return((t=soe())==null?void 0:t.createHTML(e))||e}function nv(e){return Error(`Unable to find icon with the name "${e}"`)}function loe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function av(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function rv(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Cr=class{constructor(e,t,a){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=a}},uoe=(()=>{const t=class t{constructor(n,r,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=r,this._errorHandler=o,this._document=i}addSvgIcon(n,r,i){return this.addSvgIconInNamespace("",n,r,i)}addSvgIconLiteral(n,r,i){return this.addSvgIconLiteralInNamespace("",n,r,i)}addSvgIconInNamespace(n,r,i,o){return this._addSvgIconConfig(n,r,new Cr(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){let l=this._sanitizer.sanitize(Sn.HTML,i);if(!l)throw rv(i);let u=fo(l);return this._addSvgIconConfig(n,r,new Cr("",u,o))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,i){return this._addSvgIconSetConfig(n,new Cr(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){let o=this._sanitizer.sanitize(Sn.HTML,r);if(!o)throw rv(r);let l=fo(o);return this._addSvgIconSetConfig(n,new Cr("",l,i))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(Sn.RESOURCE_URL,n);if(!r)throw av(n);let i=this._cachedIconsByUrl.get(r);return i?et(el(i)):this._loadSvgIconFromConfig(new Cr(n,null)).pipe(Xu(o=>this._cachedIconsByUrl.set(r,o)),Pt(o=>el(o)))}getNamedSvgIcon(n,r=""){let i=iv(r,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(r);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?et(el(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Pt(r=>el(r)))}_getSvgFromIconSetConfigs(n,r){let i=this._extractIconWithNameFromAnySet(n,r);if(i)return et(i);let o=r.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Dh(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(Sn.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),et(null)})));return b0(o).pipe(Pt(()=>{let l=this._extractIconWithNameFromAnySet(n,r);if(!l)throw nv(n);return l}))}_extractIconWithNameFromAnySet(n,r){for(let i=r.length-1;i>=0;i--){let o=r[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(Xu(r=>n.svgText=r),Pt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?et(null):this._fetchIcon(n).pipe(Xu(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,i){let o=n.querySelector(`[id="${r}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let u=this._svgElementFromString(fo("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,i)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let r=this._svgElementFromString(fo("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:u}=i[o];l!=="id"&&r.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw loe();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let l=this._sanitizer.sanitize(Sn.RESOURCE_URL,r);if(!l)throw av(r);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Pt(d=>fo(d)),w0(()=>this._inProgressUrlFetches.delete(l)),x0());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(iv(n,r),i),this}_addSvgIconSetConfig(n,r){let i=this._iconSetConfigs.get(n);return i?i.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](r,n);if(o)return coe(o)?new Cr(o.url,null,o.options):new Cr(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(oe(eo,8),oe(Q_),oe(Ve,8),oe(Yn))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function el(e){return e.cloneNode(!0)}function iv(e,t){return e+":"+t}function coe(e){return!!(e.url&&e.options)}var doe=["*"],hoe=new K("MAT_ICON_DEFAULT_OPTIONS"),poe=new K("mat-icon-location",{providedIn:"root",factory:moe});function moe(){let e=S(Ve),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var r9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],foe=r9.map(e=>`[${e}]`).join(", "),goe=/^url\(['"]?#(.*?)['"]?\)$/,Hu=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(Qe));s(this,"_iconRegistry",S(uoe));s(this,"_location",S(poe));s(this,"_errorHandler",S(Yn));s(this,"_defaultColor");s(this,"_color");s(this,"inline",!1);s(this,"_svgIcon");s(this,"_fontSet");s(this,"_fontIcon");s(this,"_previousFontSetClass",[]);s(this,"_previousFontIconClass");s(this,"_svgName");s(this,"_svgNamespace");s(this,"_previousPath");s(this,"_elementsWithExternalReferences");s(this,"_currentIconFetch",Kt.EMPTY);let n=S(new ep("aria-hidden"),{optional:!0}),r=S(hoe,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.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 r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let i=n.childNodes[r];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),r.forEach(i=>n.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.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 r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(foe),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)r9.forEach(l=>{let u=r[o],c=u.getAttribute(l),d=c?c.match(goe):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[r,i]=this._splitIconName(n);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(mn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${r}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&($t("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Ou(r.color?"mat-"+r.color:""),jt("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Lt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:doe,decls:1,vars:0,template:function(n,r){n&1&&(Vn(),pt(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
|
|
37
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),voe=(()=>{const t=class t{constructor(){this.authService=S(Vi).getInstance(),this.templateRef=S(an),this.viewContainer=S(jn),this.cdRef=S(ya)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(n){return new(n||t)},t.ɵdir=be({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})();function i9(e){e||(fu(),e=S(pr));let t=new mt(a=>e.onDestroy(a.next.bind(a)));return a=>a.pipe(ir(t))}var o9={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(o9);var boe=o9,s9={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(s9);var yoe=s9,On=function(e,t,a,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?n:a==="a"?n.call(e):n?n.value:t.get(e)},si,_o,Tr,_oe=class{constructor(...e){si.set(this,new Map),_o.set(this,new Map),Tr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[a,n]of Object.entries(e)){a=a.toLowerCase(),n=n.map(o=>o.toLowerCase()),On(this,Tr,"f").has(a)||On(this,Tr,"f").set(a,new Set);let r=On(this,Tr,"f").get(a),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,r==null||r.add(o),i&&On(this,_o,"f").set(a,o),i=!1,l)continue;let u=On(this,si,"f").get(o);if(u&&u!=a&&!t)throw new Error(`"${a} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);On(this,si,"f").set(o,a)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),a=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(a.length<t.length-1)&&n?null:On(this,si,"f").get(a)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&On(this,_o,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:On(this,Tr,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of On(this,Tr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:On(this,si,"f"),extensions:On(this,_o,"f")}}};si=new WeakMap,_o=new WeakMap,Tr=new WeakMap;var woe=_oe;new woe(yoe,boe)._freeze();var xoe=(()=>{const t=class t{transform(n){return Cw(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"fullname",type:t,pure:!0});let e=t;return e})(),vm=(()=>{const t=class t{constructor(){this.ingredientLabelService=S(fre),this.translate=S(Jn),this.destroyRef=S(pr),this.cd=S(ya),this.translate.onLangChange.pipe(i9(this.destroyRef)).subscribe(()=>{this.transformIngredientLabel(),this.cd.markForCheck()})}transform(n){return n!==this.ingredient&&(this.ingredient=n,this.transformIngredientLabel()),this.translation}transformIngredientLabel(){this.translation=this.ingredient?this.ingredientLabelService.transform(this.ingredient):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),Eoe=(()=>{const t=class t{transform(n,r){return this.sortFn([...n],r.sortProperty,r.isAscending)}sortFn(n,r,i){return[...n].sort((o,l)=>{var d,m;let u=i?o:l,c=i?l:o;if(r==="deliveryDate"){let v=u[r]?(d=new Date(u[r]))==null?void 0:d.getTime():0,g=c[r]?(m=new Date(c[r]))==null?void 0:m.getTime():0;return this.compareData(v,g,i)}return this.compareData(u[r],c[r],i)})}compareData(n,r,i){return n==null&&r==null||n===r?0:n==null?i?-1:1:r==null?i?1:-1:n>r?1:-1}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"sortOn",type:t,pure:!0});let e=t;return e})(),bm=(()=>{const t=class t{constructor(){this.translate=S(Jn)}transform(n){return Jl(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"translateValue",type:t,pure:!0});let e=t;return e})(),Soe=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"absolute",type:t,pure:!0});let e=t;return e})(),koe=e=>({count:e});function Coe(e,t){e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V()),e&2&&(P(),Ne(ae(2,1,"deliveredMedicationDetails.leaflet")))}function Doe(e,t){if(e&1){let a=ba();j(0,"span",2)(1,"a",5),on("click",function(n){vn(a);let r=le(3);return bn(r.onDownloadClick(n))}),tt(2,"mat-icon",6),ee(3),te(4,"translate"),V()()}e&2&&(P(3),Ue(" ",ae(4,1,"commons.downloadLeaflet")," "))}function Ioe(e,t){e&1&&he(0,Coe,3,3,"span",3)(1,Doe,5,3,"span",4)}function Toe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"translateValue"),V(),he(6,Ioe,2,0)),e&2){let a=le();P(),Ne(ae(2,3,"deliveredMedicationDetails.medication")),P(3),Ne(ae(5,5,a.item().medication.name)),P(2),je(a.displayAllDetails()&&a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?6:-1)}}function Roe(e,t){if(e&1&&(ee(0),te(1,"ingredientLabel")),e&2){let a=t.$implicit;Ue(" ",ae(1,1,a)," ")}}function Ooe(e,t){if(e&1&&(j(0,"span",1)(1,"strong"),ee(2),te(3,"translate"),V()(),j(4,"span",2),Qi(5,Roe,2,3,null,null,Tp),V()),e&2){let a=le();P(2),Ne(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(3),Ji(a.item().medication.ingredients)}}function Moe(e,t){if(e&1&&(j(0,"li"),ee(1),te(2,"translateValue"),V()),e&2){let a=t.$implicit;P(),Ue(" ",ae(2,1,a.texts)," ")}}function Noe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2)(4,"ul"),Qi(5,Moe,3,3,"li",null,Tp),V()()),e&2){let a=le();P(),Ne(ae(2,1,"deliveredMedicationDetails.posologie")),P(4),Ji(a.item().dosageInstructions)}}function Aoe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"date"),V()),e&2){let a=le(),n=le();P(),Ne(ae(2,2,a<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),P(3),Ne(vs(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function Poe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"absolute"),te(6,"absolute"),te(7,"translate"),V(),he(8,Aoe,6,7),j(9,"span",1),ee(10),te(11,"translate"),V()),e&2){let a=t,n=le();P(),Ne(ae(2,5,a<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),P(3),Mp("",ae(5,7,a)," ",vs(7,11,"deliveredMedicationDetails.package",p_(16,koe,ae(6,9,a))),""),P(4),je(n.displayAllDetails()?8:-1),P(2),Ne(ae(11,14,a<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function Loe(e,t){if(e&1&&(ee(0),te(1,"translateValue"),tt(2,"br"),ee(3)),e&2){let a=le();Ue(" ",ae(1,2,t)," "),P(3),Ue(" ",a.item().pharmacy.nihdi," ")}}function Foe(e,t){if(e&1&&(ee(0),te(1,"translate")),e&2){let a=le();Mp(" ",ae(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",a.item().pharmacy.nihdi," ")}}function joe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"fullname"),V()),e&2){let a=le();P(),Ne(ae(2,2,"deliveredMedicationDetails.patient")),P(3),Ne(ae(5,4,a.item().person))}}var Voe=(()=>{const t=class t{constructor(){this.translate=S(Jn),this.leafletService=S(Dw),this.item=Be.required(),this.displayAllDetails=Be(!1),this.isProfessional=Be.required(),this.identifierType=Ei}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,r){if(n&1&&(j(0,"span",0),he(1,Toe,7,7)(2,Ooe,7,3)(3,Noe,7,3),j(4,"span",1),ee(5),te(6,"translate"),V(),j(7,"span",2),ee(8),te(9,"translate"),V(),he(10,Poe,12,18),j(11,"span",2),he(12,Loe,4,4)(13,Foe,2,4),V(),he(14,joe,6,6),j(15,"span",1),ee(16),te(17,"translate"),V(),j(18,"span",2),ee(19),V()()),n&2){let i,o,l;P(),je(r.item().medication.name?1:2),P(2),je((i=r.item().dosageInstructions)!=null&&i.length?3:-1),P(2),Ne(ae(6,9,"deliveredMedicationDetails.is-prescribed.title")),P(3),Ne(ae(9,11,"deliveredMedicationDetails.is-prescribed."+(r.item().isPrescribed?"yes":"no"))),P(2),je((o=(o=r.item().medication.quantity)==null?null:o.value)?10:-1,o),P(2),je((l=(l=r.item().pharmacy)==null?null:l.name)?12:13,l),P(2),je(r.displayAllDetails()&&!r.isProfessional()?14:-1),P(2),Ne(ae(17,13,"deliveredMedicationDetails.dguid")),P(3),Ne(r.item().dguid)}},dependencies:[fr,bm,vm,j1,Hu,Vp,xoe,Soe,voe],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})(),zoe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,r){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()(),j(8,"p")(9,"span"),ee(10),te(11,"translate"),V(),j(12,"a",1),te(13,"translate"),ee(14),te(15,"translate"),V(),ee(16,"."),V()(),j(17,"mat-dialog-actions")(18,"button",2),ee(19),te(20,"translate"),V(),j(21,"button",3),ee(22),te(23,"translate"),V()()),n&2&&(P(),Ne(ae(2,9,"commons.errors.report-message-title")),P(5),Ne(ae(7,11,"commons.errors.report-message-explanation")),P(4),Ne(ae(11,13,"commons.errors.report-message-content")),P(2),Me("href",ae(13,15,"commons.errors.report-message-link"),K8),P(2),Ne(ae(15,17,"commons.errors.report-message-term-use")),P(4),Me("mat-dialog-close",!0),P(),Ue(" ",ae(20,19,"commons.errors.report-message-report-button")," "),P(2),Me("mat-dialog-close",!1),P(),Ue(" ",ae(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[M1,C1,I1,R1,T1,am,ws,fr],encapsulation:2});let e=t;return e})(),Boe=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(S1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,r){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()()(),j(8,"mat-dialog-actions")(9,"button",1),ee(10),te(11,"translate"),V()()),n&2&&(P(),Ne(ae(2,4,"commons.errors.action-not-authorized-title")),P(5),Ne(ae(7,6,"commons.errors."+r.vidisErrorCode)),P(3),Me("mat-dialog-close",!1),P(),Ue(" ",ae(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[M1,C1,I1,R1,T1,am,ws,fr],encapsulation:2});let e=t;return e})();function ov(e,t,a){let n=gw(),r=$oe(e,a.timeZone,a.locale??n.locale);return"formatToParts"in r?Hoe(r,t):qoe(r,t)}function Hoe(e,t){let a=e.formatToParts(t);for(let n=a.length-1;n>=0;--n)if(a[n].type==="timeZoneName")return a[n].value}function qoe(e,t){let a=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function $oe(e,t,a){return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Goe(e,t){let a=Koe(t);return"formatToParts"in a?Woe(a,e):Zoe(a,e)}var Uoe={year:0,month:1,day:2,hour:3,minute:4,second:5};function Woe(e,t){try{let a=e.formatToParts(t),n=[];for(let r=0;r<a.length;r++){let i=Uoe[a[r].type];i!==void 0&&(n[i]=parseInt(a[r].value,10))}return n}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function Zoe(e,t){let a=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}var Gc={},sv=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Yoe=sv==="06/25/2014, 00:00:00"||sv==="06/25/2014 00:00:00";function Koe(e){return Gc[e]||(Gc[e]=Yoe?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"})),Gc[e]}function l9(e,t,a,n,r,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,a),l.setUTCHours(n,r,i,o),l}var lv=36e5,Qoe=6e4,Uc={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function u9(e,t,a){if(!e)return 0;let n=Uc.timezoneZ.exec(e);if(n)return 0;let r,i;if(n=Uc.timezoneHH.exec(e),n)return r=parseInt(n[1],10),uv(r)?-(r*lv):NaN;if(n=Uc.timezoneHHMM.exec(e),n){r=parseInt(n[2],10);let o=parseInt(n[3],10);return uv(r,o)?(i=Math.abs(r)*lv+o*Qoe,n[1]==="+"?-i:i):NaN}if(ese(e)){t=new Date(t||Date.now());let o=a?t:Joe(t),l=lh(o,e);return-(a?l:Xoe(t,l,e))}return NaN}function Joe(e){return l9(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function lh(e,t){let a=Goe(e,t),n=l9(a[0],a[1]-1,a[2],a[3]%24,a[4],a[5],0).getTime(),r=e.getTime(),i=r%1e3;return r-=i>=0?i:1e3+i,n-r}function Xoe(e,t,a){let n=e.getTime()-t,r=lh(new Date(n),a);if(t===r)return t;n-=r-t;let i=lh(new Date(n),a);return r===i?r:Math.max(r,i)}function uv(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var cv={};function ese(e){if(cv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),cv[e]=!0,!0}catch{return!1}}var tse=60*1e3,nse={X:function(e,t,a){let n=Wc(a.timeZone,e);if(n===0)return"Z";switch(t){case"X":return dv(n);case"XXXX":case"XX":return li(n);case"XXXXX":case"XXX":default:return li(n,":")}},x:function(e,t,a){let n=Wc(a.timeZone,e);switch(t){case"x":return dv(n);case"xxxx":case"xx":return li(n);case"xxxxx":case"xxx":default:return li(n,":")}},O:function(e,t,a){let n=Wc(a.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+ase(n,":");case"OOOO":default:return"GMT"+li(n,":")}},z:function(e,t,a){switch(t){case"z":case"zz":case"zzz":return ov("short",e,a);case"zzzz":default:return ov("long",e,a)}}};function Wc(e,t){let a=e?u9(e,t,!0)/tse:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(a))throw new RangeError("Invalid time zone specified: "+e);return a}function eu(e,t){let a=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return a+n}function li(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=eu(Math.floor(n/60),2),i=eu(Math.floor(n%60),2);return a+r+t+i}function dv(e,t){return e%60===0?(e>0?"-":"+")+eu(Math.abs(e)/60,2):li(e,t)}function ase(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+eu(i,2)}function hv(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var rse=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Zc=36e5,pv=6e4,ise=2,dn={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:rse};function ose(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let a=t.additionalDigits==null?ise:Number(t.additionalDigits);if(a!==2&&a!==1&&a!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let n=sse(e),{year:r,restDateString:i}=lse(n.date,a),o=use(i,r);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=cse(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=u9(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=hv(new Date(l+u)),c=hv(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function sse(e){let t={},a=dn.dateTimePattern.exec(e),n;if(a?(t.date=a[1],n=a[3]):(a=dn.datePattern.exec(e),a?(t.date=a[1],n=a[2]):(t.date=null,n=e)),n){let r=dn.timeZone.exec(n);r?(t.time=n.replace(r[1],""),t.timeZone=r[1].trim()):t.time=n}return t}function lse(e,t){if(e){let a=dn.YYY[t],n=dn.YYYYY[t],r=dn.YYYY.exec(e)||n.exec(e);if(r){let i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=dn.YY.exec(e)||a.exec(e),r){let i=r[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function use(e,t){if(t===null)return null;let a,n,r;if(!e||!e.length)return a=new Date(0),a.setUTCFullYear(t),a;let i=dn.MM.exec(e);if(i)return a=new Date(0),n=parseInt(i[1],10)-1,fv(t,n)?(a.setUTCFullYear(t,n),a):new Date(NaN);if(i=dn.DDD.exec(e),i){a=new Date(0);let o=parseInt(i[1],10);return pse(t,o)?(a.setUTCFullYear(t,0,o),a):new Date(NaN)}if(i=dn.MMDD.exec(e),i){a=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return fv(t,n,o)?(a.setUTCFullYear(t,n,o),a):new Date(NaN)}if(i=dn.Www.exec(e),i)return r=parseInt(i[1],10)-1,gv(r)?mv(t,r):new Date(NaN);if(i=dn.WwwD.exec(e),i){r=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return gv(r,o)?mv(t,r,o):new Date(NaN)}return null}function cse(e){let t,a,n=dn.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Yc(t)?t%24*Zc:NaN;if(n=dn.HHMM.exec(e),n)return t=parseInt(n[1],10),a=parseFloat(n[2].replace(",",".")),Yc(t,a)?t%24*Zc+a*pv:NaN;if(n=dn.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);let r=parseFloat(n[3].replace(",","."));return Yc(t,a,r)?t%24*Zc+a*pv+r*1e3:NaN}return null}function mv(e,t,a){t=t||0,a=a||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let r=n.getUTCDay()||7,i=t*7+a+1-r;return n.setUTCDate(n.getUTCDate()+i),n}var dse=[31,28,31,30,31,30,31,31,30,31,30,31],hse=[31,29,31,30,31,30,31,31,30,31,30,31];function c9(e){return e%400===0||e%4===0&&e%100!==0}function fv(e,t,a){if(t<0||t>11)return!1;if(a!=null){if(a<1)return!1;let n=c9(e);if(n&&a>hse[t]||!n&&a>dse[t])return!1}return!0}function pse(e,t){if(t<1)return!1;let a=c9(e);return!(a&&t>366||!a&&t>365)}function gv(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Yc(e,t,a){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||a!=null&&(a<0||a>=60))}var mse=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function fse(e,t,a={}){t=String(t);let n=t.match(mse);if(n){let r=ose(a.originalDate||e,a);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),u=i[l-1]==="'",c=i.replace(o,"'"+nse[o[0]](r,o,a)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return fw(e,t,a)}var gse=(()=>{const t=class t{reportError(n){return et({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})(),vse=(()=>{const t=class t{constructor(){this.http=S(eo),this.authService=S(Vi).getInstance(),this.apiUrl=S(no).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Do.userType]:Nr.getUserType({isProfessional:this.authService.isProfessional}),[Do.clientType]:Sw()?Nr.clientType.mobileApp:Nr.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})(),bse=(()=>{const t=class t{constructor(){this.config=S(no),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(gse):this.injector.get(vse)}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})(),yse=(()=>{const t=class t extends ere{constructor(){super(...arguments),this.version=ih,this.authServiceSelector=S(Vi),this.translateService=S(Jn),this.webComponentConfig=S(no),this.injector=S(ht),this.servicesStore=S(Bu),this.matDialog=S(zu),this.destroyRef=S(pr),this.errorServiceSelector=S(bse),this.snackbarService=S(Tw),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Rt(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(n=>Rt(this,null,function*(){yield this.fetchData(!0),n()}))})}onPropsChanged(n){n.language&&this.translateService.use(this.language)}checkError(n){(n==null?void 0:n.group)===Fa.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===Fa.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(zoe,{data:{error:n}}).beforeClosed().pipe(Cn(r=>r),i9(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let r={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(r).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(Boe,{data:n})}formatDateWithZone(){return fse(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})(),t.ɵcmp=Ae({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ye],decls:0,vars:0,template:function(n,r){},encapsulation:2});let e=t;return e})(),vv=new K("CdkAccordion"),_se=(()=>{const t=class t{constructor(){s(this,"accordion",S(vv,{optional:!0,skipSelf:!0}));s(this,"_changeDetectorRef",S(ya));s(this,"_expansionDispatcher",S(N1));s(this,"_openCloseAllSubscription",Kt.EMPTY);s(this,"closed",new ot);s(this,"opened",new ot);s(this,"destroyed",new ot);s(this,"expandedChange",new ot);s(this,"id",S(Qr).getId("cdk-accordion-child-"));s(this,"_expanded",!1);s(this,"disabled",!1);s(this,"_removeUniqueSelectionListener",()=>{})}get expanded(){return this._expanded}set expanded(n){if(this._expanded!==n){if(this._expanded=n,this.expandedChange.emit(n),n){this.opened.emit();let r=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,r)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((n,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==n&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(n=>{this.disabled||(this.expanded=n)})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Lt],disabled:[2,"disabled","disabled",Lt]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Tn([{provide:vv,useValue:void 0}])]}));let e=t;return e})(),wse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),xse=["body"],Ese=["bodyWrapper"],Sse=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],kse=["mat-expansion-panel-header","*","mat-action-row"];function Cse(e,t){}var Dse=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ise=["mat-panel-title","mat-panel-description","*"];function Tse(e,t){e&1&&(j(0,"span",1),fb(),j(1,"svg",2),tt(2,"path",3),V()())}var bv=new K("MAT_ACCORDION"),d9=new K("MAT_EXPANSION_PANEL"),Rse=(()=>{const t=class t{constructor(){s(this,"_template",S(an));s(this,"_expansionPanel",S(d9,{optional:!0}))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}));let e=t;return e})(),h9=new K("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),p9=(()=>{const t=class t extends _se{constructor(){super();s(this,"_viewContainerRef",S(jn));s(this,"_animationsDisabled",S(mr,{optional:!0})==="NoopAnimations");s(this,"_document",S(Ve));s(this,"_ngZone",S(He));s(this,"_elementRef",S(Qe));s(this,"_renderer",S(Kr));s(this,"_cleanupTransitionEnd");s(this,"_hideToggle",!1);s(this,"_togglePosition");s(this,"afterExpand",new ot);s(this,"afterCollapse",new ot);s(this,"_inputChanges",new ve);s(this,"accordion",S(bv,{optional:!0,skipSelf:!0}));s(this,"_lazyContent");s(this,"_body");s(this,"_bodyWrapper");s(this,"_portal");s(this,"_headerId",S(Qr).getId("mat-expansion-panel-header-"));s(this,"_transitionEndListener",({target:r,propertyName:i})=>{var o;r===((o=this._bodyWrapper)==null?void 0:o.nativeElement)&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})});let r=S(h9,{optional:!0});this._expansionDispatcher=S(N1),r&&(this.hideToggle=r.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(r){this._hideToggle=r}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(r){this._togglePosition=r}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(du(null),Cn(()=>this.expanded&&!this._portal),mn(1)).subscribe(()=>{this._portal=new ju(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(r){this._inputChanges.next(r)}ngOnDestroy(){var r;super.ngOnDestroy(),(r=this._cleanupTransitionEnd)==null||r.call(this),this._inputChanges.complete()}_containsFocus(){if(this._body){let r=this._document.activeElement,i=this._body.nativeElement;return r===i||i.contains(r)}return!1}_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let r=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(r,"transitionend",this._transitionEndListener),r.classList.add("mat-expansion-panel-animations-enabled")},200)})}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(r,i,o){if(r&1&&Na(o,Rse,5),r&2){let l;un(l=cn())&&(i._lazyContent=l.first)}},viewQuery:function(r,i){if(r&1&&(Pi(xse,5),Pi(Ese,5)),r&2){let o;un(o=cn())&&(i._body=o.first),un(o=cn())&&(i._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(r,i){r&2&&jt("mat-expanded",i.expanded)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Lt],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Tn([{provide:bv,useValue:void 0},{provide:d9,useExisting:t}]),Ye,dr],ngContentSelectors:kse,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(r,i){r&1&&(Vn(Sse),pt(0),j(1,"div",2,0)(3,"div",3,1)(5,"div",4),pt(6,1),he(7,Cse,0,0,"ng-template",5),V(),pt(8,2),V()()),r&2&&(P(),$t("inert",i.expanded?null:""),P(2),Me("id",i.id),$t("aria-labelledby",i._headerId),P(4),Me("cdkPortalOutlet",i._portal))},dependencies:[Fi],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
|
|
38
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ose=(()=>{const t=class t{constructor(){s(this,"panel",S(p9,{host:!0}));s(this,"_element",S(Qe));s(this,"_focusMonitor",S(Fu));s(this,"_changeDetectorRef",S(ya));s(this,"_parentChangeSubscription",Kt.EMPTY);s(this,"expandedHeight");s(this,"collapsedHeight");s(this,"tabIndex",0);S(gr).load(Kp);let n=this.panel,r=S(h9,{optional:!0}),i=S(new ep("tabindex"),{optional:!0}),o=n.accordion?n.accordion._stateChanges.pipe(Cn(l=>!!(l.hideToggle||l.togglePosition))):kh;this.tabIndex=parseInt(i||"")||0,this._parentChangeSubscription=Lr(n.opened,n.closed,o,n._inputChanges.pipe(Cn(l=>!!(l.hideToggle||l.disabled||l.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),n.closed.pipe(Cn(()=>n._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let n=this._isExpanded();return n&&this.expandedHeight?this.expandedHeight:!n&&this.collapsedHeight?this.collapsedHeight:null}_keydown(n){switch(n.keyCode){case 32:case 13:Yp(n)||(n.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n);return}}focus(n,r){n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(n=>{n&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(n,r){n&1&&on("click",function(){return r._toggle()})("keydown",function(i){return r._keydown(i)}),n&2&&($t("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),e_("height",r._getHeaderHeight()),jt("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:Pp(n)]},ngContentSelectors:Ise,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,r){n&1&&(Vn(Dse),j(0,"span",0),pt(1),pt(2,1),pt(3,2),V(),he(4,Tse,3,0,"span",1)),n&2&&(jt("mat-content-hide-toggle",!r._showToggle()),P(4),je(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}
|
|
39
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Mse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}));let e=t;return e})(),Nse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,wse,Go]}));let e=t;return e})(),Ase=(()=>{const t=class t{constructor(){this.disclaimer=ap(!1)}get disclaimerRead(){return this.disclaimer}setDisclaimer(n){this.disclaimer.set(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Pse(e,t){e&1&&(j(0,"p",3),ee(1),te(2,"translate"),j(3,"strong"),ee(4),te(5,"translate"),V()()),e&2&&(P(),Ue(" ",ae(2,2,"deliveredMedicationsDisclaimer.patient.part3.1")," "),P(3),Ne(ae(5,4,"deliveredMedicationsDisclaimer.patient.part3.2")))}var Lse=(()=>{const t=class t{constructor(){this.deliveredMedicationsDisclaimerService=S(Ase),this.isProfessional=Be.required(),this.hideDisclaimer=this.deliveredMedicationsDisclaimerService.disclaimerRead}get prefix(){return"deliveredMedicationsDisclaimer."+(this.isProfessional()?"professional":"patient")}toggleDisclaimer(){this.deliveredMedicationsDisclaimerService.setDisclaimer(!this.hideDisclaimer())}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-disclaimer"]],inputs:{isProfessional:[1,"isProfessional"]},decls:22,vars:23,consts:[["togglePosition","before",3,"click","expanded"],["data-cy","delivered-medications-disclaimer-body-patient-part1"],["data-cy","delivered-medications-disclaimer-body-patient-part2"],["data-cy","delivered-medications-disclaimer-body-patient-part3"]],template:function(n,r){n&1&&(j(0,"mat-expansion-panel",0),on("click",function(){return r.toggleDisclaimer()}),j(1,"mat-expansion-panel-header")(2,"mat-panel-title"),ee(3),te(4,"translate"),V()(),j(5,"p",1),ee(6),te(7,"translate"),j(8,"strong"),ee(9),te(10,"translate"),V(),ee(11),te(12,"translate"),V(),j(13,"p",2),ee(14),te(15,"translate"),j(16,"strong"),ee(17),te(18,"translate"),V(),ee(19),te(20,"translate"),V(),he(21,Pse,6,6,"p",3),V()),n&2&&(Me("expanded",!r.hideDisclaimer()),P(3),Ne(ae(4,9,"deliveredMedicationsDisclaimer.header")),P(3),Ue(" ",ae(7,11,r.prefix+".part1.1")," "),P(3),Ne(ae(10,13,r.prefix+".part1.2")),P(2),Ue(" ",ae(12,15,r.prefix+".part1.3")," "),P(3),Ue(" ",ae(15,17,r.prefix+".part2.1")," "),P(3),Ne(ae(18,19,r.prefix+".part2.2")),P(2),Ue(" ",ae(20,21,r.prefix+".part2.3")," "),P(2),je(r.isProfessional()?-1:21))},dependencies:[Nse,p9,Ose,Mse,fr],styles:["mat-expansion-panel[_ngcontent-%COMP%]{--mat-expansion-container-background-color: #ffeee0}"],changeDetection:0});let e=t;return e})(),Fse=["*"];function jse(e,t){e&1&&(j(0,"div",2),fb(),j(1,"svg",3),tt(2,"path",4),V()())}var m9=new K("MAT_SORT_DEFAULT_OPTIONS"),uh=(()=>{const t=class t{constructor(n){s(this,"_defaultOptions");s(this,"_initializedStream",new Eh(1));s(this,"sortables",new Map);s(this,"_stateChanges",new ve);s(this,"active");s(this,"start","asc");s(this,"_direction","");s(this,"disableClear");s(this,"disabled",!1);s(this,"sortChange",new ot);s(this,"initialized",this._initializedStream);this._defaultOptions=n}get direction(){return this._direction}set direction(n){this._direction=n}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){var l;if(!n)return"";let r=(n==null?void 0:n.disableClear)??this.disableClear??!!((l=this._defaultOptions)!=null&&l.disableClear),i=Vse(n.start||this.start,r),o=i.indexOf(this.direction)+1;return o>=i.length&&(o=0),i[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};s(t,"ɵfac",function(n){return new(n||t)(Zt(m9,8))}),s(t,"ɵdir",be({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Lt],disabled:[2,"matSortDisabled","disabled",Lt]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[dr]}));let e=t;return e})();function Vse(e,t){let a=["asc","desc"];return e=="desc"&&a.reverse(),t||a.push(""),a}var tu=(()=>{const t=class t{constructor(){s(this,"changes",new ve)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function zse(e){return e||new tu}var Bse={provide:tu,deps:[[new Rh,new Oh,tu]],useFactory:zse},Hse=(()=>{const t=class t{constructor(){s(this,"_intl",S(tu));s(this,"_sort",S(uh,{optional:!0}));s(this,"_columnDef",S("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0}));s(this,"_changeDetectorRef",S(ya));s(this,"_focusMonitor",S(Fu));s(this,"_elementRef",S(Qe));s(this,"_ariaDescriber",S(KJ,{optional:!0}));s(this,"_renderChanges");s(this,"_animationModule",S(mr,{optional:!0}));s(this,"_recentlyCleared",ap(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(gr).load(Kp);let n=S(m9,{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=Lr(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,r;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),(n=this._renderChanges)==null||n.unsubscribe(),this._sortButton&&((r=this._ariaDescriber)==null||r.removeDescription(this._sortButton,this._sortActionDescription))}_toggleOnInteraction(){if(!this._isDisabled()){let n=this._isSorted(),r=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(n&&!this._isSorted()?r: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 r,i;this._sortButton&&((r=this._ariaDescriber)==null||r.removeDescription(this._sortButton,this._sortActionDescription),(i=this._ariaDescriber)==null||i.describe(this._sortButton,n)),this._sortActionDescription=n}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,r){n&1&&on("click",function(){return r._toggleOnInteraction()})("keydown",function(i){return r._handleKeydown(i)})("mouseleave",function(){return r._recentlyCleared.set(null)}),n&2&&($t("aria-sort",r._getAriaSortAttribute()),jt("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",Lt],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Lt]},exportAs:["matSortHeader"],ngContentSelectors:Fse,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,r){n&1&&(Vn(),j(0,"div",0)(1,"div",1),pt(2),V(),he(3,jse,3,0,"div",2),V()),n&2&&(jt("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before")("mat-sort-header-descending",r._sort.direction==="desc")("mat-sort-header-ascending",r._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",r._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",r._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",r._animationModule==="NoopAnimations"),$t("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),P(3),je(r._renderArrow()?3:-1))},styles:[`.mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}
|
|
40
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),qse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[Bse],imports:[ma]}));let e=t;return e})(),$se=[[["caption"]],[["colgroup"],["col"]],"*"],Gse=["caption","colgroup, col","*"];function Use(e,t){e&1&&pt(0,2)}function Wse(e,t){e&1&&(j(0,"thead",0),Yt(1,1),V(),j(2,"tbody",0),Yt(3,2)(4,3),V(),j(5,"tfoot",0),Yt(6,4),V())}function Zse(e,t){e&1&&Yt(0,1)(1,2)(2,3)(3,4)}var _a=new K("CDK_TABLE"),ch=(()=>{const t=class t{constructor(){s(this,"template",S(an))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),dh=(()=>{const t=class t{constructor(){s(this,"template",S(an))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),Yse=(()=>{const t=class t{constructor(){s(this,"template",S(an))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Ko=(()=>{const t=class t{constructor(){s(this,"_table",S(_a,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_name");s(this,"_sticky",!1);s(this,"_stickyEnd",!1);s(this,"cell");s(this,"headerCell");s(this,"footerCell");s(this,"cssClassFriendlyName");s(this,"_columnCssClassName")}get name(){return this._name}set name(n){this._setNameInput(n)}get sticky(){return this._sticky}set sticky(n){n!==this._sticky&&(this._sticky=n,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(n){n!==this._stickyEnd&&(this._stickyEnd=n,this._hasStickyChanged=!0)}hasStickyChanged(){let n=this._hasStickyChanged;return this.resetStickyChanged(),n}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(n){n&&(this._name=n,this.cssClassFriendlyName=n.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,r,i){if(n&1&&(Na(i,ch,5),Na(i,dh,5),Na(i,Yse,5)),n&2){let o;un(o=cn())&&(r.cell=o.first),un(o=cn())&&(r.headerCell=o.first),un(o=cn())&&(r.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Lt],stickyEnd:[2,"stickyEnd","stickyEnd",Lt]},features:[Tn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),f9=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},Kse=(()=>{const t=class t extends f9{constructor(){super(S(Ko),S(Qe))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ye]}));let e=t;return e})(),Qse=(()=>{const t=class t extends f9{constructor(){var o;let n=S(Ko),r=S(Qe);super(n,r);let i=(o=n._table)==null?void 0:o._getCellRole();i&&r.nativeElement.setAttribute("role",i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ye]}));let e=t;return e})(),yv=class{constructor(){s(this,"tasks",[]);s(this,"endTasks",[])}},hh=new K("_COALESCED_STYLE_SCHEDULER"),g9=(()=>{const t=class t{constructor(){s(this,"_currentSchedule",null);s(this,"_ngZone",S(He))}schedule(n){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(n)}scheduleEnd(n){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(n)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new yv,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let n=this._currentSchedule;this._currentSchedule=new yv;for(let r of n.tasks)r();for(let r of n.endTasks)r()}this._currentSchedule=null})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),ym=(()=>{const t=class t{constructor(){s(this,"template",S(an));s(this,"_differs",S(Xi));s(this,"columns");s(this,"_columnsDiffer")}ngOnChanges(n){if(!this._columnsDiffer){let r=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(r).create(),this._columnsDiffer.diff(r)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(n){return this instanceof nu?n.headerCell.template:this instanceof v9?n.footerCell.template:n.cell.template}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,features:[dr]}));let e=t;return e})(),nu=(()=>{const t=class t extends ym{constructor(){super(S(an),S(Xi));s(this,"_table",S(_a,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){let r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Lt]},features:[Ye,dr]}));let e=t;return e})(),v9=(()=>{const t=class t extends ym{constructor(){super(S(an),S(Xi));s(this,"_table",S(_a,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){let r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Lt]},features:[Ye,dr]}));let e=t;return e})(),ph=(()=>{const t=class t extends ym{constructor(){super(S(an),S(Xi));s(this,"_table",S(_a,{optional:!0}));s(this,"when")}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Ye]}));let e=t;return e})(),zi=(()=>{const t=class t{constructor(){s(this,"_viewContainer",S(jn));s(this,"cells");s(this,"context");t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};s(t,"mostRecentCellOutlet",null),s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),_v=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),wv=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),Jse=(()=>{const t=class t{constructor(){s(this,"templateRef",S(an));s(this,"_contentClassName","cdk-no-data-row")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),xv=["top","bottom","left","right"],Xse=class{constructor(e,t,a,n,r=!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=a,this._coalescedStyleScheduler=n,this._isBrowser=r,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 a=[];for(let n of e)n.nodeType===n.ELEMENT_NODE&&a.push(n,...Array.from(n.children));this._afterNextRender({write:()=>{for(let n of a)this._removeStickyStyle(n,t)}})}updateStickyColumns(e,t,a,n=!0,r=!0){var x,k;if(!e.length||!this._isBrowser||!(t.some(D=>D)||a.some(D=>D))){(x=this._positionListener)==null||x.stickyColumnsUpdated({sizes:[]}),(k=this._positionListener)==null||k.stickyEndColumnsUpdated({sizes:[]});return}let i=e[0],o=i.children.length,l=this.direction==="rtl",u=l?"right":"left",c=l?"left":"right",d=t.lastIndexOf(!0),m=a.indexOf(!0),v,g,w;r&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...a]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(i,n),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,a)},write:()=>{for(let D of e)for(let O=0;O<o;O++){let M=D.children[O];t[O]&&this._addStickyStyle(M,u,g[O],O===d),a[O]&&this._addStickyStyle(M,c,w[O],O===m)}this._positionListener&&v.some(D=>!!D)&&(this._positionListener.stickyColumnsUpdated({sizes:d===-1?[]:v.slice(0,d+1).map((D,O)=>t[O]?D:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:m===-1?[]:v.slice(m).map((D,O)=>a[O+m]?D:null).reverse()}))}})}stickRows(e,t,a){if(!this._isBrowser)return;let n=a==="bottom"?e.slice().reverse():e,r=a==="bottom"?t.slice().reverse():t,i=[],o=[],l=[];this._afterNextRender({earlyRead:()=>{for(let u=0,c=0;u<n.length;u++){if(!r[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=r.lastIndexOf(!0);for(let m=0;m<n.length;m++){if(!r[m])continue;let v=i[m],g=m===u;for(let w of l[m])this._addStickyStyle(w,a,v,g)}a==="top"?(c=this._positionListener)==null||c.stickyHeaderRowsUpdated({sizes:o,offsets:i,elements:l}):(d=this._positionListener)==null||d.stickyFooterRowsUpdated({sizes:o,offsets:i,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let a=e.querySelector("tfoot");a&&(t.some(n=>!n)?this._removeStickyStyle(a,["bottom"]):this._addStickyStyle(a,"bottom",0,!1))}})}destroy(){var e;this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),(e=this._resizeObserver)==null||e.disconnect(),this._destroyed=!0}_removeStickyStyle(e,t){if(e.classList.contains(this._stickCellCss)){for(let a of t)e.style[a]="",e.classList.remove(this._borderCellCss[a]);xv.some(a=>t.indexOf(a)===-1&&e.style[a])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,a,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${a}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let t={top:100,bottom:10,left:1,right:1},a=0;for(let n of xv)e.style[n]&&(a+=t[n]);return a?`${a}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let a=[],n=e.children;for(let r=0;r<n.length;r++){let i=n[r];a.push(this._retrieveElementSize(i).width)}return this._cachedCellWidths=a,a}_getStickyStartColumnPositions(e,t){let a=[],n=0;for(let r=0;r<e.length;r++)t[r]&&(a[r]=n,n+=e[r]);return a}_getStickyEndColumnPositions(e,t){let a=[],n=0;for(let r=e.length;r>0;r--)t[r]&&(a[r]=n,n+=e[r]);return a}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let a=e.getBoundingClientRect(),n={width:a.width,height:a.height};return this._resizeObserver&&(this._elemSizeCache.set(e,n),this._resizeObserver.observe(e,{box:"border-box"})),n}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let t=new Set(e);for(let a of this._updatedStickyColumnsParamsToReplay)a.rows=a.rows.filter(n=>!t.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(a=>!!a.rows.length)}_updateCachedSizes(e){var a,n;let t=!1;for(let r of e){let i=(a=r.borderBoxSize)!=null&&a.length?{width:r.borderBoxSize[0].inlineSize,height:r.borderBoxSize[0].blockSize}:{width:r.contentRect.width,height:r.contentRect.height};i.width!==((n=this._elemSizeCache.get(r.target))==null?void 0:n.width)&&ele(r.target)&&(t=!0),this._elemSizeCache.set(r.target,i)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let r of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(r.rows,r.stickyStartStates,r.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(e){this._tableInjector?Eu(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function ele(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var mh=new K("CDK_SPL"),b9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Qe));let n=S(_a);n._rowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),y9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Qe));let n=S(_a);n._headerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),_9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Qe));let n=S(_a);n._footerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),w9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(jn));s(this,"elementRef",S(Qe));let n=S(_a);n._noDataRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),Ev=(()=>{const t=class t{constructor(){s(this,"_differs",S(Xi));s(this,"_changeDetectorRef",S(ya));s(this,"_elementRef",S(Qe));s(this,"_dir",S(Ho,{optional:!0}));s(this,"_platform",S(hn));s(this,"_viewRepeater",S(Wd));s(this,"_coalescedStyleScheduler",S(hh));s(this,"_viewportRuler",S(Jp));s(this,"_stickyPositioningListener",S(mh,{optional:!0,skipSelf:!0}));s(this,"_document",S(Ve));s(this,"_data");s(this,"_onDestroy",new ve);s(this,"_renderRows");s(this,"_renderChangeSubscription");s(this,"_columnDefsByName",new Map);s(this,"_rowDefs");s(this,"_headerRowDefs");s(this,"_footerRowDefs");s(this,"_dataDiffer");s(this,"_defaultRowDef");s(this,"_customColumnDefs",new Set);s(this,"_customRowDefs",new Set);s(this,"_customHeaderRowDefs",new Set);s(this,"_customFooterRowDefs",new Set);s(this,"_customNoDataRow");s(this,"_headerRowDefChanged",!0);s(this,"_footerRowDefChanged",!0);s(this,"_stickyColumnStylesNeedReset",!0);s(this,"_forceRecalculateCellWidths",!0);s(this,"_cachedRenderRowsMap",new Map);s(this,"_isNativeHtmlTable");s(this,"_stickyStyler");s(this,"stickyCssClass","cdk-table-sticky");s(this,"needsPositionStickyOnElement",!0);s(this,"_isServer");s(this,"_isShowingNoDataRow",!1);s(this,"_hasAllOutlets",!1);s(this,"_hasInitialized",!1);s(this,"_cellRoleInternal");s(this,"_trackByFn");s(this,"_dataSource");s(this,"_multiTemplateDataRows",!1);s(this,"_fixedLayout",!1);s(this,"contentChanged",new ot);s(this,"viewChange",new Ar({start:0,end:Number.MAX_VALUE}));s(this,"_rowOutlet");s(this,"_headerRowOutlet");s(this,"_footerRowOutlet");s(this,"_noDataRowOutlet");s(this,"_contentColumnDefs");s(this,"_contentRowDefs");s(this,"_contentHeaderRowDefs");s(this,"_contentFooterRowDefs");s(this,"_noDataRow");s(this,"_injector",S(ht));S(new ep("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,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}_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(ir(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var n,r,i,o;(n=this._stickyStyler)==null||n.destroy(),[(r=this._rowOutlet)==null?void 0:r.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 r=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(n,r,(i,o,l)=>this._getEmbeddedViewArgs(i.item,l),i=>i.item.data,i=>{i.operation===ko.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),n.forEachIdentityChange(i=>{let o=r.get(i.currentIndex);o.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(n){this._customColumnDefs.add(n)}removeColumnDef(n){this._customColumnDefs.delete(n)}addRowDef(n){this._customRowDefs.add(n)}removeRowDef(n){this._customRowDefs.delete(n)}addHeaderRowDef(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0}removeHeaderRowDef(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0}addFooterRowDef(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0}removeFooterRowDef(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0}setNoDataRow(n){this._customNoDataRow=n}updateStickyHeaderRowStyles(){let n=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=Sv(this._headerRowOutlet,"thead");i&&(i.style.display=n.length?"":"none")}let r=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,r,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let n=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=Sv(this._footerRowOutlet,"tfoot");i&&(i.style.display=n.length?"":"none")}let r=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let n=this._getRenderedRows(this._headerRowOutlet),r=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...n,...r,...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<r.length;u++)this._renderRows[u].rowDef===o&&l.push(r[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=[],r=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,r.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,r,i){return this._getRowDefs(n,r).map(o=>{let l=i&&i.has(o)?i.get(o):[];if(l.length){let u=l.shift();return u.dataIndex=r,u}else return{data:n,rowDef:o,dataIndex:r}})}_cacheColumnDefs(){this._columnDefsByName.clear(),tl(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=tl(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=tl(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=tl(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let n=this._rowDefs.filter(r=>!r.when);!this.multiTemplateDataRows&&n.length>1,this._defaultRowDef=n[0]}_renderUpdatedColumns(){let n=(l,u)=>{let c=!!u.getColumnsDiff();return l||c},r=this._rowDefs.reduce(n,!1);r&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(n,!1);i&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(n,!1);return o&&this._forceRenderFooterRows(),r||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):vi(this.dataSource)?n=this.dataSource:Array.isArray(this.dataSource)&&(n=et(this.dataSource)),this._renderChangeSubscription=n.pipe(ir(this._onDestroy)).subscribe(r=>{this._data=r||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((n,r)=>this._renderRow(this._headerRowOutlet,n,r)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((n,r)=>this._renderRow(this._footerRowOutlet,n,r)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(n,r){let i=Array.from((r==null?void 0:r.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 r=[];for(let i=0;i<n.viewContainer.length;i++){let o=n.viewContainer.get(i);r.push(o.rootNodes[0])}return r}_getRowDefs(n,r){if(this._rowDefs.length==1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(o=>!o.when||o.when(r,n));else{let o=this._rowDefs.find(l=>l.when&&l.when(r,n))||this._defaultRowDef;o&&i.push(o)}return i.length,i}_getEmbeddedViewArgs(n,r){let i=n.rowDef,o={$implicit:n.data};return{templateRef:i.template,context:o,index:r}}_renderRow(n,r,i,o={}){let l=n.viewContainer.createEmbeddedView(r.template,o,i);return this._renderCellTemplateForItem(r,o),l}_renderCellTemplateForItem(n,r){for(let i of this._getCellTemplates(n))zi.mostRecentCellOutlet&&zi.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,r);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let n=this._rowOutlet.viewContainer;for(let r=0,i=n.length;r<i;r++){let o=n.get(r).context;o.count=i,o.first=r===0,o.last=r===i-1,o.even=r%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[r].dataIndex,o.renderIndex=r):o.index=this._renderRows[r].dataIndex}}_getCellTemplates(n){return!n||!n.columns?[]:Array.from(n.columns,r=>{let i=this._columnDefsByName.get(r);return n.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let n=(r,i)=>r||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 Xse(this._isNativeHtmlTable,this.stickyCssClass,n,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:et()).pipe(ir(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_getOwnDefs(n){return n.filter(r=>!r._table||r._table===this)}_updateNoDataRow(){let n=this._customNoDataRow||this._noDataRow;if(!n)return;let r=this._rowOutlet.viewContainer.length===0;if(r===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(r){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=r,this._changeDetectorRef.markForCheck()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,r,i){if(n&1&&(Na(i,Jse,5),Na(i,Ko,5),Na(i,ph,5),Na(i,nu,5),Na(i,v9,5)),n&2){let o;un(o=cn())&&(r._noDataRow=o.first),un(o=cn())&&(r._contentColumnDefs=o),un(o=cn())&&(r._contentRowDefs=o),un(o=cn())&&(r._contentHeaderRowDefs=o),un(o=cn())&&(r._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,r){n&2&&jt("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Lt],fixedLayout:[2,"fixedLayout","fixedLayout",Lt]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Tn([{provide:_a,useExisting:t},{provide:Wd,useClass:A1},{provide:hh,useClass:g9},{provide:mh,useValue:null}])],ngContentSelectors:Gse,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,r){n&1&&(Vn($se),pt(0),pt(1,1),he(2,Use,1,0)(3,Wse,7,0)(4,Zse,4,0)),n&2&&(P(2),je(r._isServer?2:-1),P(),je(r._isNativeHtmlTable?3:4))},dependencies:[y9,b9,w9,_9],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
|
|
41
|
-
`],encapsulation:2}));let e=t;return e})();function tl(e,t){return e.concat(Array.from(t))}function Sv(e,t){let a=t.toUpperCase(),n=e.viewContainer.element.nativeElement;for(;n;){let r=n.nodeType===1?n.nodeName:null;if(r===a)return n;if(r==="TABLE")break;n=n.parentNode}return null}var tle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[Zd]}));let e=t;return e})(),nle=[[["caption"]],[["colgroup"],["col"]],"*"],ale=["caption","colgroup, col","*"];function rle(e,t){e&1&&pt(0,2)}function ile(e,t){e&1&&(j(0,"thead",0),Yt(1,1),V(),j(2,"tbody",2),Yt(3,3)(4,4),V(),j(5,"tfoot",0),Yt(6,5),V())}function ole(e,t){e&1&&Yt(0,1)(1,3)(2,4)(3,5)}var sle=(()=>{const t=class t extends Ev{constructor(){super(...arguments);s(this,"stickyCssClass","mat-mdc-table-sticky");s(this,"needsPositionStickyOnElement",!1)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=nt(t)))(i||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(r,i){r&2&&jt("mdc-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[Tn([{provide:Ev,useExisting:t},{provide:_a,useExisting:t},{provide:hh,useClass:g9},{provide:Wd,useClass:A1},{provide:mh,useValue:null}]),Ye],ngContentSelectors:ale,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,i){r&1&&(Vn(nle),pt(0),pt(1,1),he(2,rle,1,0)(3,ile,7,0)(4,ole,4,0)),r&2&&(P(2),je(i._isServer?2:-1),P(),je(i._isNativeHtmlTable?3:4))},dependencies:[y9,b9,w9,_9],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
|
|
42
|
-
`],encapsulation:2}));let e=t;return e})(),lle=(()=>{const t=class t extends ch{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matCellDef",""]],features:[Tn([{provide:ch,useExisting:t}]),Ye]}));let e=t;return e})(),ule=(()=>{const t=class t extends dh{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matHeaderCellDef",""]],features:[Tn([{provide:dh,useExisting:t}]),Ye]}));let e=t;return e})(),cle=(()=>{const t=class t extends Ko{get name(){return this._name}set name(n){this._setNameInput(n)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Tn([{provide:Ko,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Ye]}));let e=t;return e})(),dle=(()=>{const t=class t extends Kse{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ye]}));let e=t;return e})(),hle=(()=>{const t=class t extends Qse{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ye]}));let e=t;return e})(),ple=(()=>{const t=class t extends nu{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Lt]},features:[Tn([{provide:nu,useExisting:t}]),Ye]}));let e=t;return e})(),mle=(()=>{const t=class t extends ph{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵdir",be({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Tn([{provide:ph,useExisting:t}]),Ye]}));let e=t;return e})(),fle=(()=>{const t=class t extends _v{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Tn([{provide:_v,useExisting:t}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),gle=(()=>{const t=class t extends wv{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Tn([{provide:wv,useExisting:t}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Yt(0,0)},dependencies:[zi],encapsulation:2}));let e=t;return e})(),vle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,tle,ma]}));let e=t;return e})(),ble=9007199254740991,yle=class extends yX{constructor(t=[]){super();s(this,"_data");s(this,"_renderData",new Ar([]));s(this,"_filter",new Ar(""));s(this,"_internalPageChanges",new ve);s(this,"_renderChangesSubscription",null);s(this,"filteredData");s(this,"_sort");s(this,"_paginator");s(this,"sortingDataAccessor",(t,a)=>{let n=t[a];if(i1(n)){let r=Number(n);return r<ble?r:n}return n});s(this,"sortData",(t,a)=>{let n=a.active,r=a.direction;return!n||r==""?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*(r=="asc"?1:-1)})});s(this,"filterPredicate",(t,a)=>{let n=a.trim().toLowerCase();return Object.values(t).some(r=>`${r}`.toLowerCase().includes(n))});this._data=new Ar(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?Lr(this._sort.sortChange,this._sort.initialized):et(null),a=this._paginator?Lr(this._paginator.page,this._internalPageChanges,this._paginator.initialized):et(null),n=this._data,r=il([n,this._filter]).pipe(Pt(([u])=>this._filterData(u))),i=il([r,t]).pipe(Pt(([u])=>this._orderData(u))),o=il([i,a]).pipe(Pt(([u])=>this._pageData(u)));(l=this._renderChangesSubscription)==null||l.unsubscribe(),this._renderChangesSubscription=o.subscribe(u=>this._renderData.next(u))}_filterData(t){return this.filteredData=this.filter==null||this.filter===""?t:t.filter(a=>this.filterPredicate(a,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;let a=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(a,a+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let a=this.paginator;if(a&&(a.length=t,a.pageIndex>0)){let n=Math.ceil(a.length/a.pageSize)-1||0,r=Math.min(a.pageIndex,n);r!==a.pageIndex&&(a.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}};Iv(s$());var _le=["*"];function wle(e,t){e&1&&Yt(0)}function xle(e,t){if(e&1&&(j(0,"div",3),he(1,wle,1,0,"ng-container",5),V()),e&2){le();let a=Mu(5);P(),Me("ngTemplateOutlet",a)}}function Ele(e,t){e&1&&Yt(0)}function Sle(e,t){if(e&1){let a=ba();j(0,"div",6),on("click",function(){vn(a);let n=le();return bn(n.toggleExpanded())})("keydown.enter",function(){vn(a);let n=le();return bn(n.toggleExpanded())})("keydown.space",function(){vn(a);let n=le();return bn(n.toggleExpanded())}),he(1,Ele,1,0,"ng-container",5),V()}if(e&2){let a=le(),n=Mu(5);$t("aria-label",a.currentExpandIconAriaLabel()),P(),Me("ngTemplateOutlet",n)}}function kle(e,t){e&1&&Yt(0)}function Cle(e,t){if(e&1&&he(0,kle,1,0,"ng-container",5),e&2){le();let a=Mu(7);Me("ngTemplateOutlet",a)}}function Dle(e,t){if(e&1&&(j(0,"h2"),ee(1),V()),e&2){let a=le(3);P(),Ne(a.alertTitle())}}function Ile(e,t){if(e&1&&(j(0,"p"),ee(1),V()),e&2){let a=le(3);P(),Ne(a.alertSubtitle())}}function Tle(e,t){if(e&1&&(j(0,"div"),he(1,Dle,2,1,"h2")(2,Ile,2,1,"p"),V()),e&2){let a=le(2);P(),je(a.alertTitle()?1:-1),P(),je(a.alertSubtitle()?2:-1)}}function Rle(e,t){e&1&&Yt(0)}function Ole(e,t){if(e&1&&he(0,Rle,1,0,"ng-container",5),e&2){le(2);let a=Mu(7);Me("ngTemplateOutlet",a)}}function Mle(e,t){if(e&1){let a=ba();j(0,"mat-icon",11),on("click",function(){vn(a);let n=le(2);return bn(n.onCloseButtonClick())})("keydown.enter",function(){vn(a);let n=le(2);return bn(n.onCloseButtonClick())})("keydown.space",function(){vn(a);let n=le(2);return bn(n.onCloseButtonClick())}),V()}if(e&2){let a=le(2);$t("aria-label",a.closeButtonAriaLabel())}}function Nle(e,t){if(e&1&&tt(0,"mat-icon",10),e&2){let a=le(2);Me("fontIcon",a.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function Ale(e,t){if(e&1&&(tt(0,"mat-icon",7),j(1,"div",8),he(2,Tle,3,2,"div")(3,Ole,1,1,"ng-container"),V(),he(4,Mle,1,1,"mat-icon",9)(5,Nle,1,1,"mat-icon",10)),e&2){let a=le();Me("fontIcon",a.fontIcon()),P(2),je(a.alertTitle()||a.alertSubtitle()?2:a.dismissMode()!=="expandable"?3:-1),P(2),je(a.dismissMode()==="closable"?4:a.dismissMode()==="expandable"?5:-1)}}function Ple(e,t){if(e&1){let a=ba();j(0,"button",14),on("click",function(){vn(a);let n=le(2);return bn(n.onActionButtonClicked())}),ee(1),V()}if(e&2){let a=le(2);Me("disabled",a.buttonDisabled()),P(),Ue(" ",a.buttonLabel()," ")}}function Lle(e,t){if(e&1&&(j(0,"span",12),pt(1),V(),he(2,Ple,2,2,"button",13)),e&2){let a=le();P(2),je(a.actionButton()?2:-1)}}var Fle=(()=>{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",Ll());s(this,"actionButtonClicked",Ll());s(this,"expanded",pK(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",mi(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",mi(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",mi(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",mi(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:_le,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,r){n&1&&(Vn(),j(0,"div",2),he(1,xle,2,1,"div",3)(2,Sle,2,2,"div",4)(3,Cle,1,1,"ng-container"),V(),he(4,Ale,6,3,"ng-template",null,0,Pf)(6,Lle,3,1,"ng-template",null,1,Pf)),n&2&&(Ou(r.usage()),jt("white",r.backgroundColor()==="white"),P(),je(r.dismissMode()!=="expandable"?1:2),P(2),je(r.notExpandableMissingTitleAndSubtitle()||r.expandableExpanded()?3:-1))},dependencies:[I_,nQ,Hu,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 jle(e,t){if(e&1&&(j(0,"mh-alert",0),te(1,"translate"),j(2,"div",1),ee(3),te(4,"translate"),V()()),e&2){let a=le();Me("alertTitle",ae(1,2,"commons.errors.data-not-available-title")),P(3),Ne(ae(4,4,"commons.errors."+a.error().code))}}var Vle=(()=>{const t=class t{constructor(){this.error=Be.required(),this.vidisErrorGroup=Fa}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,r){n&1&&he(0,jle,5,6,"mh-alert",0),n&2&&je(r.error().group===r.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[fr,Fle],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})(),zle=["*"],Ble=(()=>{const t=class t{constructor(){this.item=Be.required(),this.expandedElement=sZ.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:zle,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(n,r){n&1&&(Vn(),j(0,"button",0),on("click",function(){return r.expandedElement.set(r.expandedElement()===r.item()?null:r.item())}),tt(1,"mat-icon",1),pt(2),V()),n&2&&(P(),Me("fontIcon",r.item()===r.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[am,ws,Hu],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})(),Hle=["*"],qle=(e,t,a,n,r)=>({"custom-content":e,circle:t,progress:a,"progress-dark":n,pulse:r});function $le(e,t){e&1&&pt(0)}function Gle(e,t){if(e&1&&(j(0,"div",0),he(1,$le,1,0),V()),e&2){let a=le(),n=Af(0),r=Af(1);Me("ngClass",OY(5,qle,n==="custom-content",n==="circle",r==="progress",r==="progress-dark",r==="pulse"))("ngStyle",a.styles()),$t("aria-label",a.ariaLabel())("aria-valuetext",a.loadingText()),P(),je(n==="custom-content"?1:-1)}}var x9=new K("ngx-skeleton-loader.config"),E9=(()=>{var t;const a=class a{constructor(){Am(this,t);var r,i,o,l,u,c;Pm(this,t,S(x9,{optional:!0})),this.count=Be(((r=Ra(this,t))==null?void 0:r.count)||1,{transform:Pp}),this.loadingText=Be(((i=Ra(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Be(((o=Ra(this,t))==null?void 0:o.appearance)||"line"),this.animation=Be(((l=Ra(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Be(((u=Ra(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=Be(((c=Ra(this,t))==null?void 0:c.theme)||null),this.items=mi(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&ZY(),[...Array(d)].map((m,v)=>v)}),this.styles=mi(()=>{var m,v,g;let d=this.theme();return(v=(m=Ra(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ce(ce({},(g=Ra(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,a.ɵfac=function(r){return new(r||a)},a.ɵcmp=Ae({type:a,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:Hle,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(r,i){r&1&&(Vn(),d_(0)(1),Qi(2,Gle,2,11,"div",0,Rp)),r&2&&(Nf(i.appearance()),P(),Nf(i.animation()),P(),Ji(i.items()))},dependencies:[Fp,tQ],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=a;return e})(),S9=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:x9,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=Bt({type:t}),t.ɵinj=zt({imports:[I_]});let e=t;return e})();function Ule(e,t){if(e&1){let a=ba();j(0,"a",1),on("click",function(n){vn(a);let r=le();return bn(r.onDownloadClick(n))}),tt(1,"mat-icon",2),V()}}var Wle=(()=>{const t=class t{constructor(){this.translateService=S(Jn),this.leafletService=S(Dw),this.item=Be(),this.identifierType=Ei}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translateService.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-leaflet-download"]],inputs:{item:[1,"item"]},decls:1,vars:1,consts:[["mat-button","","target","_blank"],["mat-button","","target","_blank",3,"click"],["fontIcon","menu_book"]],template:function(n,r){n&1&&he(0,Ule,2,0,"a",0),n&2&&je(r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?0:-1)},dependencies:[Hu,j1],encapsulation:2});let e=t;return e})(),Zle=()=>["error"],Yle=()=>["expandDetails"],Kle=(e,t)=>({"more-than-one-quantity":e,"negative-quantity":t}),Qle=()=>({height:"47px",margin:"0px"});function Jle(e,t){e&1&&(j(0,"th",23),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.medicationName")," "))}function Xle(e,t){if(e&1&&(j(0,"div",26),ee(1),te(2,"translateValue"),V()),e&2){let a=le().$implicit;P(),Ne(ae(2,1,a.medication.name))}}function eue(e,t){if(e&1&&(j(0,"div",28),ee(1),te(2,"ingredientLabel"),V()),e&2){let a=t.$implicit;P(),Ue(" ",ae(2,1,a)," ")}}function tue(e,t){if(e&1&&(j(0,"div",27)(1,"strong"),ee(2),te(3,"translate"),V()(),Qi(4,eue,3,3,"div",28,Tp),te(6,"slice")),e&2){let a=le().$implicit;P(2),Ne(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Ji(g_(6,3,a.medication.ingredients,0,2))}}function nue(e,t){if(e&1){let a=ba();j(0,"td",24)(1,"vidis-table-detail-button",25),u_("expandedElementChange",function(n){vn(a);let r=le();return kY(r.expandedElement,n)||(r.expandedElement=n),bn(n)}),he(2,Xle,3,3,"div",26)(3,tue,7,7),V()()}if(e&2){let a=t.$implicit,n=le();P(),Me("item",a),l_("expandedElement",n.expandedElement),P(),je(a.medication.name?2:3)}}function aue(e,t){e&1&&(j(0,"th",29),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.deliveredOn")," "))}function rue(e,t){if(e&1&&(j(0,"td",30),ee(1),te(2,"date"),V()),e&2){let a=t.$implicit;P(),Ue(" ",vs(2,1,a.deliveryDate," dd/MM/yyy")," ")}}function iue(e,t){e&1&&(j(0,"th",31),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.quantity")," "))}function oue(e,t){if(e&1&&(j(0,"td",32)(1,"span",33),ee(2),V()()),e&2){let a=t.$implicit;P(),Me("ngClass",RY(2,Kle,(a.medication.quantity==null?null:a.medication.quantity.value)>1,(a.medication.quantity==null?null:a.medication.quantity.value)<0)),P(),Ue(" ",a.medication.quantity.value," ")}}function sue(e,t){e&1&&(j(0,"th",34),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.leaflet")," "))}function lue(e,t){if(e&1&&(j(0,"td",35),tt(1,"vidis-leaflet-download",36),V()),e&2){let a=t.$implicit;P(),Me("item",a)}}function uue(e,t){if(e&1&&(j(0,"td",37),ee(1),te(2,"translate"),tt(3,"br"),ee(4),V()),e&2){let a=t.$implicit;$t("colspan",4),P(),Ue(" ",ae(2,3,"error.deliveredMedication")," "),P(3),Ue(" ( ",a.dguid," ) ")}}function cue(e,t){if(e&1&&(j(0,"td",38)(1,"div"),tt(2,"vidis-delivered-medication-details-row",36),V()()),e&2){let a=t.$implicit,n=le();jt("mh-detail-row--expanded",a===n.expandedElement()),Me("colSpan",n.columns.length),P(2),Me("item",a)}}function due(e,t){e&1&&tt(0,"tr",39)}function hue(e,t){if(e&1&&tt(0,"tr",40),e&2){let a=le();Me("hidden",a.isLoading())}}function pue(e,t){e&1&&tt(0,"tr",41)}function mue(e,t){e&1&&tt(0,"tr",42)}function fue(e,t){e&1&&tt(0,"ngx-skeleton-loader",21),e&2&&Me("count",3)("theme",Bo(2,Qle))}function gue(e,t){e&1&&(j(0,"p",22),ee(1),te(2,"translate"),V()),e&2&&(P(),Ne(ae(2,1,"deliveredMedicationsList.noContent")))}var vue=(()=>{const t=class t{set sort(n){this.dataSource.sort=n,this.dataSource.sortingDataAccessor=(r,i)=>this.getSortingAccessor(r,i)}constructor(){this.translateService=S(Jn),this.data=Be(),this.isLoading=Be(),this.isProfessional=Be.required(),this.expandedElement=ap(null),this.dataSource=new yle,this.columns=["medicationName","deliveryDate","quantity","leaflet"],this.canDisplayDeliveredMedication=(n,r)=>sh(r),this.canNotDisplayDeliveredMedication=(n,r)=>!sh(r),sK(()=>{var n;return this.dataSource.data=(n=this.data())==null?void 0:n.items})}getSortingAccessor(n,r){var i;switch(r){case"medicationName":return n.medication?n.medication.name?Jl(n.medication.name,this.translateService.currentLang):Jl(n.medication.ingredients[0].name,this.translateService.currentLang):"";case"quantity":return((i=n.medication.quantity)==null?void 0:i.value)||0;case"patientName":return Cw(n.person);default:return n[r]}}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-table"]],viewQuery:function(n,r){if(n&1&&Pi(uh,7),n&2){let i;un(i=cn())&&(r.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,r){n&1&&(j(0,"table",0),te(1,"translate"),Ya(2,1),he(3,Jle,3,3,"th",2)(4,nue,4,3,"td",3),Ka(),Ya(5,4),he(6,aue,3,3,"th",5)(7,rue,3,4,"td",6),Ka(),Ya(8,7),he(9,iue,3,3,"th",8)(10,oue,3,5,"td",9),Ka(),Ya(11,10),he(12,sue,3,3,"th",11)(13,lue,2,1,"td",12),Ka(),Ya(14,13),he(15,uue,5,5,"td",14),Ka(),Ya(16,15),he(17,cue,3,4,"td",16),Ka(),he(18,due,1,0,"tr",17)(19,hue,1,1,"tr",18)(20,pue,1,0,"tr",19)(21,mue,1,0,"tr",20),V(),he(22,fue,1,3,"ngx-skeleton-loader",21)(23,gue,3,3,"p",22)),n&2&&(Me("dataSource",r.dataSource),$t("aria-label",ae(1,9,"deliveredMedicationsList.title")),P(18),Me("matHeaderRowDef",r.columns),P(),Me("matRowDefColumns",r.columns)("matRowDefWhen",r.canDisplayDeliveredMedication),P(),Me("matRowDefColumns",Bo(11,Zle))("matRowDefWhen",r.canNotDisplayDeliveredMedication),P(),Me("matRowDefColumns",Bo(12,Yle)),P(),je(r.isLoading()?22:r.dataSource.data.length<=0?23:-1))},dependencies:[vle,sle,ule,ple,cle,lle,mle,dle,hle,fle,gle,qse,uh,Hse,bm,Vp,vm,fr,S9,E9,D_,Voe,Ble,Wle,Fp],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})(),bue=["*"],yue=new K("MAT_CARD_CONFIG"),_ue=(()=>{const t=class t{constructor(){s(this,"appearance");let n=S(yue,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,r){n&2&&jt("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:bue,decls:1,vars:0,template:function(n,r){n&1&&(Vn(),pt(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
|
|
43
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),wue=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",be({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),xue=e=>({"negative-quantity":e});function Eue(e,t){e&1&&(j(0,"strong",3),ee(1),te(2,"translateValue"),V()),e&2&&(P(),Ne(ae(2,1,t)))}function Sue(e,t){if(e&1&&(j(0,"div",3),ee(1),te(2,"ingredientLabel"),V()),e&2){let a=t.$implicit;P(),Ne(ae(2,1,a))}}function kue(e,t){if(e&1&&(j(0,"div")(1,"strong"),ee(2),te(3,"translate"),V()(),Qi(4,Sue,3,3,"div",3,Rp),te(6,"slice")),e&2){let a=le(2);P(2),Ne(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Ji(g_(6,3,a.item().medication.ingredients,0,2))}}function Cue(e,t){if(e&1){let a=ba();j(0,"mat-card",1),on("click",function(){vn(a);let n=le();return bn(n.clickDetails.emit(null))}),j(1,"mat-card-content")(2,"div",2)(3,"div"),ee(4),te(5,"date"),V()(),j(6,"div"),he(7,Eue,3,3,"strong",3)(8,kue,7,7),V(),j(9,"div",4)(10,"span",5),ee(11),V()()()()}if(e&2){let a,n,r,i=le();P(4),Ne(vs(5,4,i.item().deliveryDate,"dd/MM/yyyy")),P(3),je((a=i.item().medication.name)?7:8,a),P(3),Me("ngClass",p_(7,xue,((n=i.item().medication.quantity)==null?null:n.value)<0)),P(),Ue(" ",(r=i.item().medication.quantity)==null?null:r.value," ")}}function Due(e,t){if(e&1&&(j(0,"mat-card")(1,"mat-card-content",6)(2,"div"),ee(3),te(4,"translate"),V(),j(5,"div"),ee(6),V()()()),e&2){let a,n=le();P(3),Ne(ae(4,2,"error.deliveredMedication")),P(3),Ue("( ",(a=n.item())==null?null:a.dguid," )")}}var Iue=(()=>{const t=class t{constructor(){this.item=Be(),this.clickDetails=Ll()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-card"]],inputs:{item:[1,"item"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[["role","button"],["role","button",3,"click"],[1,"card__top"],[1,"textOverflow"],[1,"quantity"],[3,"ngClass"],[1,"error-text"]],template:function(n,r){n&1&&(he(0,Cue,12,9,"mat-card",0),te(1,"canDisplayDeliveredMedication"),he(2,Due,7,4,"mat-card")),n&2&&je(ae(1,1,r.item())?0:2)},dependencies:[_ue,wue,Vp,aoe,vm,bm,fr,D_,Fp],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})(),Tue=()=>({sortProperty:"deliveryDate",isAscending:!1}),Rue=()=>({height:"47px",margin:"0px"});function Oue(e,t){if(e&1){let a=ba();j(0,"vidis-delivered-medications-card",1),on("clickDetails",function(){let n=vn(a).$implicit,r=le(2);return bn(r.clickDetails.emit(n.dguid))}),V()}if(e&2){let a=t.$implicit;Me("item",a)}}function Mue(e,t){if(e&1&&(Qi(0,Oue,1,1,"vidis-delivered-medications-card",0,Rp),te(2,"sortOn")),e&2){let a=le();Ji(vs(2,0,a.data().items,Bo(3,Tue)))}}function Nue(e,t){e&1&&tt(0,"ngx-skeleton-loader",2),e&2&&Me("count",10)("theme",Bo(2,Rue))}function Aue(e,t){e&1&&(j(0,"div",3),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.noContent")," "))}function Pue(e,t){if(e&1&&he(0,Nue,1,3,"ngx-skeleton-loader",2)(1,Aue,3,3,"div",3),e&2){let a=le();je(a.isLoading()?0:1)}}var Lue=(()=>{const t=class t{constructor(){this.data=Be(),this.isLoading=Be(),this.isProfessional=Be.required(),this.clickDetails=Ll()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-delivered-medications-mobile"]],inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},outputs:{clickDetails:"clickDetails"},decls:2,vars:1,consts:[[3,"item"],[3,"clickDetails","item"],["appearance","line",3,"count","theme"],["data-cy","no-deliverd-medications",1,"no-deliverd-medications"]],template:function(n,r){if(n&1&&he(0,Mue,3,4)(1,Pue,2,1),n&2){let i;je(((i=r.data())==null||i.items==null?null:i.items.length)>0?0:1)}},dependencies:[Iue,fr,Eoe,S9,E9],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 Fue(e,t){e&1&&(j(0,"div"),ee(1,"Component not properly initialized!"),V())}function jue(e,t){if(e&1&&tt(0,"vidis-status-message",0),e&2){let a=le();Me("error",a.error)}}function Vue(e,t){if(e&1){let a=ba();j(0,"div",1),tt(1,"vidis-delivered-medications-disclaimer",2),V(),tt(2,"vidis-delivered-medications-table",3),j(3,"vidis-delivered-medications-mobile",4),on("clickDetails",function(n){vn(a);let r=le(3);return bn(r.onSelectMedication.emit(n))}),V()}if(e&2){let a=le(),n=le(2);P(),Me("isProfessional",n.professional),P(),Me("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional),P(),Me("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional)}}function zue(e,t){if(e&1&&he(0,jue,1,1,"vidis-status-message",0)(1,Vue,4,7),e&2){let a=le(2);je(t.status===a.loadingStatus.ERROR?0:1)}}function Bue(e,t){if(e&1&&(he(0,zue,2,1),te(1,"async")),e&2){let a,n=le();je((a=ae(1,1,n.deliveredMedicationsState$))?0:-1,a)}}var Hue=(()=>{const t=class t extends yse{constructor(){super(...arguments),this.onSelectMedication=new ot,this.loadingStatus=Si}fetchData(n){return Rt(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(n)})}injectService(){this.deliveredMedicationsService=this.injector.get(tv),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$,this.deliveredMedicationsState$.subscribe(n=>{n.status===this.loadingStatus.ERROR&&this.checkError(n.error)})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=nt(t)))(r||t)}})(),t.ɵcmp=Ae({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[Tn([tv,t9,n9,ooe]),Ye],decls:2,vars:1,consts:[[3,"error"],[1,"disclaimer"],[3,"isProfessional"],[3,"isLoading","data","isProfessional"],[3,"clickDetails","isLoading","data","isProfessional"]],template:function(n,r){n&1&&he(0,Fue,2,0,"div")(1,Bue,2,3),n&2&&je(r.isCorrectlySetup()?1:0)},dependencies:[vue,Lue,Lse,sQ,Vle],styles:[".disclaimer[_ngcontent-%COMP%]{padding-bottom:16px}@media only screen and (max-width: 960px){vidis-delivered-medications-table[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 960px){vidis-delivered-medications-mobile[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})();TQ({providers:[noe]}).then(e=>{let t=CK(Hue,{injector:e.injector});customElements.define("vidis-delivered-medication-list",t)}).catch(e=>console.error(e));
|