@smals-belgium-shared/vidis-delivered-medication-detail 3.0.2-snapshot.0 → 3.0.2-snapshot.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var a7=Object.defineProperty;var sp=e=>{throw TypeError(e)};var r7=(e,t,a)=>t in e?a7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var s=(e,t,a)=>r7(e,typeof t!="symbol"?t+"":t,a),lp=(e,t,a)=>t.has(e)||sp("Cannot "+a);var da=(e,t,a)=>(lp(e,t,"read from private field"),a?a.call(e):t.get(e)),up=(e,t,a)=>t.has(e)?sp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),cp=(e,t,a,n)=>(lp(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var i7=Object.create,_l=Object.defineProperty,o7=Object.defineProperties,s7=Object.getOwnPropertyDescriptor,l7=Object.getOwnPropertyDescriptors,u7=Object.getOwnPropertyNames,As=Object.getOwnPropertySymbols,c7=Object.getPrototypeOf,od=Object.prototype.hasOwnProperty,$f=Object.prototype.propertyIsEnumerable,dp=(e,t,a)=>t in e?_l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,se=(e,t)=>{for(var a in t||(t={}))od.call(t,a)&&dp(e,a,t[a]);if(As)for(var a of As(t))$f.call(t,a)&&dp(e,a,t[a]);return e},Gt=(e,t)=>o7(e,l7(t)),d7=(e,t)=>{var a={};for(var n in e)od.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&As)for(var n of As(e))t.indexOf(n)<0&&$f.call(e,n)&&(a[n]=e[n]);return a},ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var a in t)_l(e,a,{get:t[a],enumerable:!0})},h7=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u7(t))!od.call(e,r)&&r!==a&&_l(e,r,{get:()=>t[r],enumerable:!(n=s7(t,r))||n.enumerable});return e},Gf=(e,t,a)=>(a=e!=null?i7(c7(e)):{},h7(t||!e||!e.__esModule?_l(a,"default",{value:e,enumerable:!0}):a,e)),Et=(e,t,a)=>new Promise((n,r)=>{var i=c=>{try{l(a.next(c))}catch(u){r(u)}},o=c=>{try{l(a.throw(c))}catch(u){r(u)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,o);l((a=a.apply(e,t)).next())}),p7=ne((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,v=1,y=arguments.length;v<y;v++){f=arguments[v];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,v=f&&p[f],y=0;if(v)return v.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(p,f){var v=typeof Symbol=="function"&&p[Symbol.iterator];if(!v)return p;var y=v.call(p),_,E=[],k;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(I){k={error:I}}finally{try{_&&!_.done&&(v=y.return)&&v.call(y)}finally{if(k)throw k.error}}return E}function i(p,f,v){if(arguments.length===2)for(var y=0,_=f.length,E;y<_;y++)(E||!(y in f))&&(E||(E=Array.prototype.slice.call(f,0,y)),E[y]=f[y]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,v,y){super(f),this.token=v,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",c=p=>p%2===0?"2-digit":"numeric";function u(p,f){switch(p.char){case"y":return{year:c(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:v,desc:y,width:_}=p;if(v==="d")return c(_);f(`${y} is not supported`)}function b(p,f){let{char:v,desc:y,width:_}=p;if((v==="c"||v==="e")&&_<3){let E=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=c(p.width),v;switch(p.char){case"h":v="h12";break;case"H":v="h23";break;case"k":v="h24";break;case"K":v="h11";break}return v?{hour:f,hourCycle:v}:{hour:f}}function w(p,f){let{char:v,desc:y,width:_}=p;switch(v){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${y} is not supported with width ${_}`);return;case"X":f(`${y} is not supported`);return}return"short"}function x(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return u(p,f);case"month":return{month:d(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:b(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:c(p.width)};case"sec":return{second:c(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function S(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:k,field:I,str:N}=E;if(k){let Q=new o(k.message,E);Q.stack=k.stack,v(Q)}if(N){let Q=`Ignoring string part: ${N}`;v(new o(Q,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):v(new o(`Duplicate ${I} token`,E)));let F=x(E,(Q,ue)=>v(new o(Q,E,ue)));F&&Object.assign(y,F)}return y}let T={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"}},A=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function O(p,f){let v=p[f],y=1;for(;p[++f]===v;)++y;let _=T[v];if(!_){let E=`The letter ${v} is not a valid field identifier`;return{char:v,error:new Error(E),width:y}}return{char:v,field:_.field,desc:_.desc,width:y}}function Y(p,f){let v=p[++f],y=2;if(v==="'")return{char:"'",str:v,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${v||p}`;return{char:"'",error:new Error(E),str:v,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:v,width:y};++y}v+=_}}function ie(p,f){let v=p[f];if(!v)return null;if(A(v))return O(p,f);if(v==="'")return Y(p,f);let y=v,_=1;for(;;){let E=p[++f];if(!E||A(E)||E==="'")return{char:v,str:y,width:_};y+=E,_+=1}}function me(p){let f=[],v=0;for(;;){let y=ie(p,v);if(!y)return f;f.push(y),v+=y.width}}function _t(p,f,v,y){typeof f=="string"&&(f=me(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y),E=new Intl.DateTimeFormat(p,_);return k=>E.format(k)}function st(p,f,v,y){typeof f=="string"&&(f=me(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
|
|
2
|
+
`)+`
|
|
3
|
+
})()`}class $e extends Error{constructor(f,v){super(v),this.code=f}}class ht extends $e{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Z extends $e{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class H extends $e{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class ge extends $e{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class L extends $e{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends $e{constructor(f,v,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${v.length})`),this.stem=f,this.options=v}}function U(p,f){let{numberingSystem:v}=f;return Array.isArray(p)||(p=[p]),v?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${v}`}).concat(p):p}function Ee(p,f){let v=+p+f/2;return v-v%+f}function He(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Pt(p){let f=He(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>Ee(y,v.increment)*f:y=>y*f}function Ie(p){let f=He(p),{precision:v}=p;if(v&&v.style==="precision-increment"){let y=`+n + ${v.increment/2}`,_=`x - (x % +${v.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Me(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:I,sign:N,unit:F,unitPer:Q,unitWidth:ue}=p,ke=(Ue,lt)=>{},W={};if(F)switch(F.style){case"base-unit":W.style="decimal";break;case"currency":W.style="currency",W.currency=F.currency;break;case"measure-unit":W.style="unit",W.unit=F.unit.replace(/.*-/,""),Q&&(W.unit+="-per-"+Q.replace(/.*-/,""));break;case"percent":W.style="percent";break}switch(ue){case"unit-width-full-name":W.currencyDisplay="name",W.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":W.currencyDisplay="code";break;case"unit-width-narrow":W.currencyDisplay="narrowSymbol",W.unitDisplay="narrow";break;case"unit-width-short":W.currencyDisplay="symbol",W.unitDisplay="short";break}switch(y){case"group-off":W.useGrouping=!1;break;case"group-auto":W.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":W.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:Ue,maxFraction:lt,minSignificant:xt,maxSignificant:zt,source:kn}=k;typeof Ue=="number"&&(W.minimumFractionDigits=Ue,typeof xt=="number"&&ke()),typeof lt=="number"&&(W.maximumFractionDigits=lt),typeof xt=="number"&&(W.minimumSignificantDigits=xt),typeof zt=="number"&&(W.maximumSignificantDigits=zt);break}case"precision-integer":W.maximumFractionDigits=0;break;case"precision-unlimited":W.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":W.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":ke(k.style);break}if(E)switch(E.style){case"compact-short":W.notation="compact",W.compactDisplay="short";break;case"compact-long":W.notation="compact",W.compactDisplay="long";break;case"notation-simple":W.notation="standard";break;case"scientific":case"engineering":{let{expDigits:Ue,expSign:lt,source:xt,style:zt}=E;W.notation=zt;break}}if(_){let{min:Ue,max:lt,source:xt}=_;if(Ue>0&&(W.minimumIntegerDigits=Ue),Number(lt)>0){let zt=W.notation==="engineering"||W.notation==="scientific";lt===3&&zt?W.notation="engineering":ke()}}switch(N){case"sign-auto":W.signDisplay="auto";break;case"sign-always":W.signDisplay="always";break;case"sign-except-zero":W.signDisplay="exceptZero";break;case"sign-never":W.signDisplay="never";break;case"sign-accounting":W.currencySign="accounting";break;case"sign-accounting-always":W.currencySign="accounting",W.signDisplay="always";break;case"sign-accounting-except-zero":W.currencySign="accounting",W.signDisplay="exceptZero";break}return W}function Je(p,f,v){let y=p[f];switch(y){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;p[++f]==="¤";)++_;switch(_){case 1:return{char:y,currency:"default",width:_};case 2:return{char:y,currency:"iso-code",width:_};case 3:return{char:y,currency:"full-name",width:_};case 5:return{char:y,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return v(new L("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return v(new L("'",I)),{char:y,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=k}}}return null}let Sn=p=>p>="0"&&p<="9";function Ge(p,f){let v=p[f];if(Sn(v)){let y=v;for(;;){let _=p[++f];if(Sn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(v){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:v,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:v,min:y,width:_}}case"E":{let y=p[f+1]==="+";y&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:v,expDigits:_,plus:y,width:E};break}case".":case",":return{char:v,width:1}}return null}function Lt(p,f,v){let y;(function(F){F[F.Prefix=0]="Prefix",F[F.Number=1]="Number",F[F.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],k=[],I=y.Prefix,N="";for(;f<p.length;){let F=p[f];if(F===";"){f+=1;break}switch(I){case y.Prefix:{let Q=Je(p,f,v);if(Q)N&&(_.push({char:"'",str:N,width:N.length}),N=""),_.push(Q),f+=Q.width;else{let ue=Ge(p,f);ue?(N&&(_.push({char:"'",str:N,width:N.length}),N=""),I=y.Number,E.push(ue),f+=ue.width):(N+=F,f+=1)}break}case y.Number:{let Q=Ge(p,f);Q?(E.push(Q),f+=Q.width):I=y.Suffix;break}case y.Suffix:{let Q=Je(p,f,v);Q?(N&&(k.push({char:"'",str:N,width:N.length}),N=""),k.push(Q),f+=Q.width):(N+=F,f+=1);break}}}return N&&k.push({char:"'",str:N,width:N.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function wt(p,f){let{pattern:v,pos:y}=Lt(p,0,f);if(y<p.length){let{pattern:_}=Lt(p,y,f);return{tokens:v,negative:_}}return{tokens:v}}function jn(p,f){let v={},y=!1,_=!1,E=0,k="",I=-1,N="",F=0;for(let ue=0;ue<p.length;++ue){let ke=p[ue];switch(ke.char){case"#":{if(I===-1){if(k){let W="Pattern has # after integer digits";f(new L("#",W))}E+=ke.width}else F+=ke.width;break}case"0":{if(I===-1)k+=ke.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new L("0",W))}N+=ke.digits}break}case"@":{v.precision&&f(new H("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:ke.min,maxSignificant:ke.width};break}case",":y=!0;break;case".":if(I===1){let W="Pattern has more than one decimal separator";f(new L(".",W))}I=ue;break;case"E":{if(_&&f(new H("exponent",v.notation)),y){let W="Exponential patterns may not contain grouping separators";f(new L("E",W))}v.notation={style:"scientific"},ke.expDigits>1&&(v.notation.expDigits=ke.expDigits),ke.plus&&(v.notation.expSign="sign-always"),_=!0}}}y?v.group="group-auto":E+k.length>3&&(v.group="group-off");let Q=+`${k||"0"}.${N}`;if(Q&&(v.precision={style:"precision-increment",increment:Q}),!_)k.length>1&&(v.integerWidth={min:k.length}),!v.precision&&(N.length||F)&&(v.precision={style:"precision-fraction",minFraction:N.length,maxFraction:N.length+F});else if((!v.precision||Q)&&(v.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),v.precision)Q||(v.integerWidth={min:1,max:1});else{let ue=k.length+N.length;I===-1?ue>0&&(v.precision={style:"precision-fraction",maxSignificant:ue}):(v.precision={style:"precision-fraction",maxSignificant:Math.max(1,ue)+F},ue>1&&(v.precision.minSignificant=ue))}return v}function Ia(p,f,v,y,_){let E=!1,k="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:k="";break;case"¤":if(!v){let N="The ¤ pattern requires a currency";y(new L("¤",N));break}switch(f.unit={style:"currency",currency:v},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:k="";break;case"*":break;case"+":E||(k+="+");break;case"'":E||(k+=I.str);break}return k}function Vo(p,f){let v=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?v=!0:y="";break;case"-":v||(y+="-");break;case"'":v||(y+=_.str);break}return y}function Bo(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N=>{throw N},{tokens:y,negative:_}=wt(p,v),E=jn(y.number,v),k=Ia(y.prefix,E,f,v,!0),I=Ia(y.suffix,E,f,v,!1);if(_){let N=Vo(_.prefix,!0),F=Vo(_.suffix,!1);E.affix={pos:[k,I],neg:[N,F]},E.sign="sign-never"}else(k||I)&&(E.affix={pos:[k,I]});return E}function f9(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 Yh(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[v]=p.split("-",1);return f.indexOf(v)!==-1}let Kh={"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},Xh={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function g9(p){return p in Kh}function v9(p){return p in Xh}function b9(p,f,v){if(g9(p)){let y=Kh[p];if(f.length>y){if(y===0)for(let _ of f)v(new ht(p,_));else v(new j(p,f,y));return!1}else if(v9(p)&&f.length<Xh[p])return v(new ge(p)),!1}return!0}function $l(p,f){let v=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(v);if(y){let _=y[1].length;switch(y[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+y[2].length}}}return null}function y9(p,f,v){let y=$l(p,"fraction");if(y){f.length>1&&v(new j(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let k=f[0],I=$l(k,"significant");return I?(E.source=`${p}/${k}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):k&&v(new ht(p,k)),E}let _=$l(p,"significant");if(_){for(let k of f)v(new ht(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class _9{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new ht(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new H(f,v))}parseToken(f,v){if(!b9(f,v,this.onError))return;let y=v[0],_=this.skeleton;switch(f){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),_.notation={style:f};break;case"scientific":case"engineering":{let E=null,k;for(let N of v)switch(N){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":k=N;break;default:/^\+e+$/.test(N)?E=N.length-1:this.badOption(f,N)}this.assertEmpty("notation");let I=v.join("/");_.notation=E&&k?{style:f,source:I,expDigits:E,expSign:k}:E?{style:f,source:I,expDigits:E}:k?{style:f,source:I,expSign:k}:{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":{Yh(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{Yh(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":{f9(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=y9(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Z(f))}}}}function Qh(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},v=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";v.push({stem:k,options:E})}let y=new _9(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function w9(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Qh(f.slice(2),y):Bo(f,v,y));let _=U(p,f),E=Me(f),k=Pt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[N,F]=f.affix.pos,[Q,ue]=f.affix.neg||["",""];return ke=>{let W=I.format(k(ke));return ke<0?`${Q}${W}${ue}`:`${N}${W}${F}`}}return N=>I.format(k(N))}function x9(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Qh(f.slice(2),y):Bo(f,v,y));let _=U(p,f),E=Me(f),k=Ie(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],N="nf.format(value)";if(k&&(I.push(`var mod = ${k};`),N="nf.format(mod(value))"),f.affix){let[F,Q]=f.affix.pos.map(ue=>JSON.stringify(ue));if(f.affix.neg){let[ue,ke]=f.affix.neg.map(W=>JSON.stringify(W));N=`value < 0 ? ${ue} + ${N} + ${ke} : ${F} + ${N} + ${Q}`}else N=`${F} + ${N} + ${Q}`}return I.push(`return function(value) { return ${N}; }`),I.join(`
|
|
4
|
+
`)+`
|
|
5
|
+
})()`}var Gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function E9(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var bi={},Jh={},ep={exports:{}};(function(p){(function(f,v){p.exports?p.exports=v():f.moo=v()})(Gl,function(){var f=Object.prototype.hasOwnProperty,v=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&v.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function k(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(M){var z=new RegExp("|"+M);return z.exec("").length-1}function N(M){return"("+M+")"}function F(M){if(!M.length)return"(?!)";var z=M.map(function(X){return"(?:"+X+")"}).join("|");return"(?:"+z+")"}function Q(M){if(typeof M=="string")return"(?:"+k(M)+")";if(_(M)){if(M.ignoreCase)throw new Error("RegExp /i flag not allowed");if(M.global)throw new Error("RegExp /g flag is implied");if(M.sticky)throw new Error("RegExp /y flag is implied");if(M.multiline)throw new Error("RegExp /m flag is implied");return M.source}else throw new Error("Not a pattern: "+M)}function ue(M,z){return M.length>z?M:Array(z-M.length+1).join(" ")+M}function ke(M,z){for(var X=M.length,J=0;;){var fe=M.lastIndexOf(`
|
|
6
|
+
`,X-1);if(fe===-1||(J++,X=fe,J===z)||X===0)break}var le=J<z?0:X+1;return M.substring(le).split(`
|
|
7
|
+
`)}function W(M){for(var z=Object.getOwnPropertyNames(M),X=[],J=0;J<z.length;J++){var fe=z[J],le=M[fe],De=[].concat(le);if(fe==="include"){for(var Xe=0;Xe<De.length;Xe++)X.push({include:De[Xe]});continue}var Ve=[];De.forEach(function(de){E(de)?(Ve.length&&X.push(lt(fe,Ve)),X.push(lt(fe,de)),Ve=[]):Ve.push(de)}),Ve.length&&X.push(lt(fe,Ve))}return X}function Ue(M){for(var z=[],X=0;X<M.length;X++){var J=M[X];if(J.include){for(var fe=[].concat(J.include),le=0;le<fe.length;le++)z.push({include:fe[le]});continue}if(!J.type)throw new Error("Rule has no type: "+JSON.stringify(J));z.push(lt(J.type,J))}return z}function lt(M,z){if(E(z)||(z={match:z}),z.include)throw new Error("Matching rules cannot also include states");var X={defaultType:M,lineBreaks:!!z.error||!!z.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var J in z)f.call(z,J)&&(X[J]=z[J]);if(typeof X.type=="string"&&M!==X.type)throw new Error("Type transform cannot be a string (type '"+X.type+"' for token '"+M+"')");var fe=X.match;return X.match=Array.isArray(fe)?fe:fe?[fe]:[],X.match.sort(function(le,De){return _(le)&&_(De)?0:_(De)?-1:_(le)?1:De.length-le.length}),X}function xt(M){return Array.isArray(M)?Ue(M):W(M)}var zt=lt("error",{lineBreaks:!0,shouldThrow:!0});function kn(M,z){for(var X=null,J=Object.create(null),fe=!0,le=null,De=[],Xe=[],Ve=0;Ve<M.length;Ve++)M[Ve].fallback&&(fe=!1);for(var Ve=0;Ve<M.length;Ve++){var de=M[Ve];if(de.include)throw new Error("Inheritance is not allowed in stateless lexers");if(de.error||de.fallback){if(X)throw!de.fallback==!X.fallback?new Error("Multiple "+(de.fallback?"fallback":"error")+" rules not allowed (for token '"+de.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+de.defaultType+"')");X=de}var pt=de.match.slice();if(fe)for(;pt.length&&typeof pt[0]=="string"&&pt[0].length===1;){var Er=pt.shift();J[Er.charCodeAt(0)]=de}if(de.pop||de.push||de.next){if(!z)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+de.defaultType+"')");if(de.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+de.defaultType+"')")}if(pt.length!==0){fe=!1,De.push(de);for(var zn=0;zn<pt.length;zn++){var Wa=pt[zn];if(_(Wa)){if(le===null)le=Wa.unicode;else if(le!==Wa.unicode&&de.fallback===!1)throw new Error("If one rule is /u then all must be")}}var Sr=F(pt.map(Q)),Cn=new RegExp(Sr);if(Cn.test(""))throw new Error("RegExp matches empty string: "+Cn);var _i=I(Sr);if(_i>0)throw new Error("RegExp has capture groups: "+Cn+`
|
|
8
|
+
Use (?: … ) instead`);if(!de.lineBreaks&&Cn.test(`
|
|
9
|
+
`))throw new Error("Rule should declare lineBreaks: "+Cn);Xe.push(N(Sr))}}var kr=X&&X.fallback,wi=y&&!kr?"ym":"gm",Wo=y||kr?"":"|";le===!0&&(wi+="u");var n7=new RegExp(F(Xe)+Wo,wi);return{regexp:n7,groups:De,fast:J,error:X||zt}}function Ta(M){var z=kn(xt(M));return new nt({start:z},"start")}function sa(M,z,X){var J=M&&(M.push||M.next);if(J&&!X[J])throw new Error("Missing state '"+J+"' (in token '"+M.defaultType+"' of state '"+z+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+z+"')")}function la(M,z){var X=M.$all?xt(M.$all):[];delete M.$all;var J=Object.getOwnPropertyNames(M);z||(z=J[0]);for(var fe=Object.create(null),le=0;le<J.length;le++){var De=J[le];fe[De]=xt(M[De]).concat(X)}for(var le=0;le<J.length;le++)for(var De=J[le],Xe=fe[De],Ve=Object.create(null),de=0;de<Xe.length;de++){var pt=Xe[de];if(pt.include){var Er=[de,1];if(pt.include!==De&&!Ve[pt.include]){Ve[pt.include]=!0;var zn=fe[pt.include];if(!zn)throw new Error("Cannot include nonexistent state '"+pt.include+"' (in state '"+De+"')");for(var Wa=0;Wa<zn.length;Wa++){var Sr=zn[Wa];Xe.indexOf(Sr)===-1&&Er.push(Sr)}}Xe.splice.apply(Xe,Er),de--}}for(var Cn=Object.create(null),le=0;le<J.length;le++){var De=J[le];Cn[De]=kn(fe[De],!0)}for(var le=0;le<J.length;le++){for(var _i=J[le],kr=Cn[_i],wi=kr.groups,de=0;de<wi.length;de++)sa(wi[de],_i,Cn);for(var Wo=Object.getOwnPropertyNames(kr.fast),de=0;de<Wo.length;de++)sa(kr.fast[Wo[de]],_i,Cn)}return new nt(Cn,z)}function ua(M){for(var z=typeof Map<"u",X=z?new Map:Object.create(null),J=Object.getOwnPropertyNames(M),fe=0;fe<J.length;fe++){var le=J[fe],De=M[le],Xe=Array.isArray(De)?De:[De];Xe.forEach(function(Ve){if(typeof Ve!="string")throw new Error("keyword must be string (in keyword '"+le+"')");z?X.set(Ve,le):X[Ve]=le})}return function(Ve){return z?X.get(Ve):X[Ve]}}var nt=function(M,z){this.startState=z,this.states=M,this.buffer="",this.stack=[],this.reset()};nt.prototype.reset=function(M,z){return this.buffer=M||"",this.index=0,this.line=z?z.line:1,this.col=z?z.col:1,this.queuedToken=z?z.queuedToken:null,this.queuedText=z?z.queuedText:"",this.queuedThrow=z?z.queuedThrow:null,this.setState(z?z.state:this.startState),this.stack=z&&z.stack?z.stack.slice():[],this},nt.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}},nt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var z=this.states[M];this.groups=z.groups,this.error=z.error,this.re=z.regexp,this.fast=z.fast}},nt.prototype.popState=function(){this.setState(this.stack.pop())},nt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Go=y?function(M,z){return M.exec(z)}:function(M,z){var X=M.exec(z);return X[0].length===0?null:X};nt.prototype._getGroup=function(M){for(var z=this.groups.length,X=0;X<z;X++)if(M[X+1]!==void 0)return this.groups[X];throw new Error("Cannot find token type for matched text")};function Uo(){return this.value}if(nt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var z=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",z}var X=this.buffer;if(M!==X.length){var De=this.fast[X.charCodeAt(M)];if(De)return this._token(De,X.charAt(M),M);var J=this.re;J.lastIndex=M;var fe=Go(J,X),le=this.error;if(fe==null)return this._token(le,X.slice(M,X.length),M);var De=this._getGroup(fe),Xe=fe[0];return le.fallback&&fe.index!==M?(this.queuedGroup=De,this.queuedText=Xe,this._token(le,X.slice(M,fe.index),M)):this._token(De,Xe,M)}},nt.prototype._token=function(M,z,X){var J=0;if(M.lineBreaks){var fe=/\n/g,le=1;if(z===`
|
|
10
|
+
`)J=1;else for(;fe.exec(z);)J++,le=fe.lastIndex}var De={type:typeof M.type=="function"&&M.type(z)||M.defaultType,value:typeof M.value=="function"?M.value(z):z,text:z,toString:Uo,offset:X,lineBreaks:J,line:this.line,col:this.col},Xe=z.length;if(this.index+=Xe,this.line+=J,J!==0?this.col=Xe-le+1:this.col+=Xe,M.shouldThrow){var Ve=new Error(this.formatError(De,"invalid syntax"));throw Ve}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),De},typeof Symbol<"u"&&Symbol.iterator){var ca=function(M){this.lexer=M};ca.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},ca.prototype[Symbol.iterator]=function(){return this},nt.prototype[Symbol.iterator]=function(){return new ca(this)}}return nt.prototype.formatError=function(J,z){if(J==null)var X=this.buffer.slice(this.index),J={text:X,offset:this.index,lineBreaks:X.indexOf(`
|
|
11
|
+
`)===-1?0:1,line:this.line,col:this.col};var fe=2,le=Math.max(J.line-fe,1),De=J.line+fe,Xe=String(De).length,Ve=ke(this.buffer,this.line-J.line+fe+1).slice(0,5),de=[];de.push(z+" at line "+J.line+" col "+J.col+":"),de.push("");for(var pt=0;pt<Ve.length;pt++){var Er=Ve[pt],zn=le+pt;de.push(ue(String(zn),Xe)+" "+Er),zn===J.line&&de.push(ue("",Xe+J.col+1)+"^")}return de.join(`
|
|
12
|
+
`)},nt.prototype.clone=function(){return new nt(this.states,this.state)},nt.prototype.has=function(M){return!0},{compile:Ta,states:la,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:ua}})})(ep);var S9=ep.exports;(function(p){var f=Gl&&Gl.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let v=f(S9);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=v.default.states(p.states)})(Jh),Object.defineProperty(bi,"__esModule",{value:!0});var tp=bi.parse=bi.ParseError=void 0;let np=Jh,zo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Ul=p=>p==="plural"||p==="select"||p==="selectordinal";function k9(p,f){let v="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":v+=_.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new Ct(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let C9=["number","date","time","spellout","ordinal","duration"],ap=["zero","one","two","few","many","other"];class Ct extends Error{constructor(f,v){super(np.lexer.formatError(f,v))}}bi.ParseError=Ct;class I9{constructor(f,v){var y,_,E,k;this.lexer=np.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:ap,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:ap,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=v==null?void 0:v.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new Ct(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let _=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new Ct(f,E)}}}parseSelect(f,v,y,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?v=!0:this.strict&&(v=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Ct(I,"Unexpected plural offset for select");if(k.cases.length>0)throw new Ct(I,"Plural offset must be set before cases");k.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),k.cases.push({key:I.value,tokens:this.parseBody(v),ctx:zo(I)});break}case"end":return k;default:throw new Ct(I,`Unexpected lexer token: ${I.type}`)}throw new Ct(null,"Unexpected message end")}parseArgToken(f,v){let y=zo(f),_=this.lexer.next();if(!_)throw new Ct(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!C9.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Ct(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 Ct(null,"Unexpected message end");if(E.type!=="end")throw new Ct(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,Ul(_.value.toLowerCase()))throw new Ct(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(Ul(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Ct(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=k9(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(Ul(_.value))return this.parseSelect(f,v,y,_.value);throw new Ct(_,`Unexpected select type ${_.value}`);default:throw new Ct(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,v){let y=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:zo(E)});else{if(E.type==="end"&&!v)return y;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let I=`Unsupported escape pattern: ${k}`;throw new Ct(E,I)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:zo(E)},y.push(_))}}if(v)return y;throw new Ct(null,"Unexpected message end")}}function D9(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new I9(p,f).parse()}tp=bi.parse=D9;function yi(p){return yi[p]||(yi[p]=new Intl.NumberFormat(p))}function T9(p,f,v){return yi(p).format(f-v)}function N9(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return yi(p).format(_)}function O9(p,f,v,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=v(p,_);return E in y?y[E]:y.other}function M9(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function R9(p,f){for(var v=0;v<p.length;++v)if(!f||f[p[v]]===void 0)throw new Error("Message requires argument '".concat(p[v],"'"))}var A9=Object.freeze({__proto__:null,_nf:yi,number:T9,plural:O9,reqArgs:R9,select:M9,strictNumber:N9});function P9(p,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function L9(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var v=p%60,y=[Math.round(v)===v?v:v.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var Wl={};function Ho(p,f){var v=String(p)+JSON.stringify(f);return Wl[v]||(Wl[v]=new Intl.NumberFormat(p,f)),Wl[v]}function F9(p,f,v,y){var _=v&&v.split(":")||[],E=_[0],k=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return Ho(f,I[E]||{}).format(p)}var j9=function(p,f,v){return Ho(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},V9=function(p,f){return Ho(f,{maximumFractionDigits:0}).format(p)},B9=function(p,f){return Ho(f,{style:"percent"}).format(p)};function z9(p,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var Zl=Object.freeze({__proto__:null,date:P9,duration:L9,numberCurrency:j9,numberFmt:F9,numberInteger:V9,numberPercent:B9,time:z9}),H9={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}},Yl=E9(H9);function q9(p){let f=0;for(let v=0;v<p.length;++v){let y=p.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function Da(p,f){f&&(p+=" "+q9(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return Yl.ES3[v]||Yl.ESnext[v]||/^\d/.test(v)?"_"+v:v}function Kl(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Yl.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var $9=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],G9=new RegExp("^"+$9.join("|^"));function U9(p,f){var v=G9.test(f),y=JSON.stringify(v?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var W9="@messageformat/runtime",Z9="@messageformat/runtime/lib/cardinals",rp="@messageformat/runtime/lib/plurals",Y9="@messageformat/runtime/lib/formatters",K9=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,v,y){var _,E,k=this,I=this.options,N=I.localeCodeFromKey,F=I.requireAllArguments,Q=I.strict,ue=I.strictPluralKeys;if(typeof f=="object"){var ke={};try{for(var W=n(Object.keys(f)),Ue=W.next();!Ue.done;Ue=W.next()){var lt=Ue.value,xt=N?N(lt):lt,zt=y&&xt&&y[xt]||v;ke[lt]=this.compile(f[lt],zt,y)}}catch(nt){_={error:nt}}finally{try{Ue&&!Ue.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return ke}this.plural=v;var kn={cardinal:v.cardinals,ordinal:v.ordinals,strict:Q,strictPluralKeys:ue};this.arguments=[];var Ta=tp(f,kn).map(function(nt){return k.token(nt,null)}),sa=this.arguments.length>0,la=this.concatenate(Ta,!0);if(F&&sa){this.setRuntimeFn("reqArgs");var ua=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(ua,", d); return ").concat(la,"; }")}return"(".concat(sa?"d":"",") => ").concat(la)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(Q){var ue=Q.key,ke=Q.tokens;ue==="other"&&(_=!1);var W=ke.map(function(Ue){return y.token(Ue,v)});return"".concat(Kl(null,ue.replace(/^=/,"")),": ").concat(y.concatenate(W,!1))});if(_){var k=f.type,I=this.plural,N=I.cardinals,F=I.ordinals;if(k==="select"||k==="plural"&&N.includes("other")||k==="selectordinal"&&F.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,k,I;switch("arg"in f?(this.arguments.push(f.arg),k=[Kl("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?U9(String(k[0]),E):String(k[0]);case"select":I="select",v&&this.options.strict&&(v=null),k.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var N=this.options.customFormatters[f.key],F=N&&"module"in N&&typeof N.module=="function";if(!N){if(f.key==="date"){I=this.setDateFormatter(f,k,v);break}else if(f.key==="number"){I=this.setNumberFormatter(f,k,v);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var Q=this.getFormatterArg(f,v);Q&&k.push(Q)}I=F?Da("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!v)return'"#"';k=[JSON.stringify(this.plural.locale),Kl("d",v.arg),v.pluralOffset||0],this.options.strict?(I="strictNumber",k.push(JSON.stringify(v.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(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,v){if(Da(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},p.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,I=_.isDefault,N,F,Q;if(!v&&I&&E){if(y)return;N=function(ue){return E(ue)},F=Z9,Q=function(){return String(E)}}else{if(y&&(!I||y.module===rp))return;N=function(ue,ke){return k(ue,ke)},F=I?rp:k.module||null,Q=function(){return String(k)}}this.runtime[f]=Object.assign(N,{id:f,module:F,toString:Q,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(A9[f],{id:f,module:W9,type:"runtime"}))},p.prototype.getFormatterArg=function(f,v){var y,_,E,k,I=this,N=f.key,F=f.param,Q=this.options.customFormatters[N]||ip(N)&&Zl[N];if(!Q||!F)return null;var ue="arg"in Q&&Q.arg||"string";if(ue==="options"){var ke="";try{for(var W=n(F),Ue=W.next();!Ue.done;Ue=W.next()){var lt=Ue.value;if(lt.type==="content")ke+=lt.value;else throw new SyntaxError("Expected literal options for ".concat(N," formatter"))}}catch(ca){y={error:ca}}finally{try{Ue&&!Ue.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var xt={};try{for(var zt=n(ke.split(",")),kn=zt.next();!kn.done;kn=zt.next()){var Ta=kn.value,sa=Ta.indexOf(":");if(sa===-1)xt[Ta.trim()]=null;else{var la=Ta.substring(0,sa).trim(),ua=Ta.substring(sa+1).trim();if(ua==="true")xt[la]=!0;else if(ua==="false")xt[la]=!1;else if(ua==="null")xt[la]=null;else{var nt=Number(ua);xt[la]=Number.isFinite(nt)?nt:ua}}}}catch(ca){E={error:ca}}finally{try{kn&&!kn.done&&(k=zt.return)&&k.call(zt)}finally{if(E)throw E.error}}return JSON.stringify(xt)}else{var Go=F.map(function(ca){return I.token(ca,v)});if(ue==="raw")return"[".concat(Go.join(", "),"]");var Uo=Go.join(" + ");return Uo?"(".concat(Uo,").trim()"):'""'}},p.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),a(a({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Da(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(ip(f))this.runtime[f]=Object.assign(Zl[f],{type:"formatter"},{id:f,module:Y9});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var N=I.value.trim().substr(2),F=Da("date_".concat(k,"_").concat(N),!0);if(!this.runtimeIncludes(F,"formatter")){var Q=_t(k,N,this.options.timeZone);this.runtime[F]=Object.assign(Q,{id:F,module:null,toString:function(){return st(k,N,_.options.timeZone)},type:"formatter"})}return F}if(v.push(JSON.stringify(k)),E&&E.length>0){y&&this.options.strict&&(y=null);var ue=E.map(function(ke){return _.token(ke,y)});v.push("("+(ue.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(k)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var N=I.match(/^currency:([A-Z]+)$/);if(N)return v.push(JSON.stringify(N[1])),this.setFormatter("numberCurrency"),"numberCurrency";var F=Da("number_".concat(k,"_").concat(I),!0);if(!this.runtimeIncludes(F,"formatter")){var Q=this.options.currency,ue=w9(k,I,Q);this.runtime[F]=Object.assign(ue,{id:null,module:null,toString:function(){return x9(k,I,Q)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var ke=E.map(function(W){return _.token(W,y)});return v.push("("+(ke.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function ip(p){return p in Zl}let V=p=>p==1?"one":"other",na=p=>p==0||p==1?"one":"other",Vn=p=>p>=0&&p<=1?"one":"other",Tt=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Ne=p=>"other",aa=p=>p==1?"one":p==2?"two":"other";var X9=Object.freeze({__proto__:null,af:V,ak:na,am:Vn,an:V,ar:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Vn,asa:V,ast:Tt,az:V,bal:V,be:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":v&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:V,bez:V,bg:V,bho:na,bm:Ne,bn:Vn,bo:Ne,br:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&v&&E==0?"many":"other"},brx:V,bs:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},ca:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},ce:V,ceb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:V,chr:V,ckb:V,cs:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),v=f[0],y=Number(f[0])==p;return p==1||!y&&(v==0||v==1)?"one":"other"},de:Tt,doi:Vn,dsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:V,dz:Ne,ee:V,el:V,en:Tt,eo:V,es:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1?"one":v!=0&&_==0&&y?"many":"other"},et:Tt,eu:V,fa:Vn,ff:p=>p>=0&&p<2?"one":"other",fi:Tt,fil:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:V,fr:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p>=0&&p<2?"one":v!=0&&_==0&&y?"many":"other"},fur:V,fy:Tt,ga:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1?"one":p==2?"two":v&&p>=3&&p<=6?"few":v&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":v&&p>=3&&p<=10||v&&p>=13&&p<=19?"few":"other"},gl:Tt,gsw:V,gu:Vn,guw:na,gv:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:V,haw:V,he:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:Vn,hnj:Ne,hr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:V,hy:p=>p>=0&&p<2?"one":"other",ia:Tt,id:Ne,ig:Ne,ii:Ne,io:Tt,is:p=>{let f=String(p).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=v.slice(-1),k=v.slice(-2);return _&&E==1&&k!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},iu:aa,ja:Ne,jbo:Ne,jgo:V,jmc:V,jv:Ne,jw:Ne,ka:V,kab:p=>p>=0&&p<2?"one":"other",kaj:V,kcg:V,kde:Ne,kea:Ne,kk:V,kkj:V,kl:V,km:Ne,kn:Vn,ko:Ne,ks:V,ksb:V,ksh:p=>p==0?"zero":p==1?"one":"other",ku:V,kw:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2),_=v&&f[0].slice(-3),E=v&&f[0].slice(-5),k=v&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||v&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:V,lag:p=>{let f=String(p).split("."),v=f[0];return p==0?"zero":(v==0||v==1)&&p!=0?"one":"other"},lb:V,lg:V,lij:Tt,lkt:Ne,ln:na,lo:Ne,lt:p=>{let f=String(p).split("."),v=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),I=v.slice(-2),N=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&I>=11&&I<=19?"zero":E==1&&k!=11||y==2&&N==1&&I!=11||y!=2&&N==1?"one":"other"},mas:V,mg:na,mgo:V,mk:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":"other"},ml:V,mn:V,mo:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:V,ms:Ne,mt:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Ne,nah:V,naq:aa,nb:V,nd:V,ne:V,nl:Tt,nn:V,nnh:V,no:V,nqo:Ne,nr:V,nso:na,ny:V,nyn:V,om:V,or:V,os:V,osa:Ne,pa:na,pap:V,pcm:Vn,pl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&v!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),I=v.slice(-2),N=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&I>=11&&I<=19?"zero":E==1&&k!=11||y==2&&N==1&&I!=11||y!=2&&N==1?"one":"other"},ps:V,pt:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return v==0||v==1?"one":v!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},rm:V,ro:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:V,ru:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},rwk:V,sah:Ne,saq:V,sat:aa,sc:Tt,scn:Tt,sd:V,sdh:V,se:aa,seh:V,ses:Ne,sg:Ne,sh:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},shi:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p>=0&&p<=1?"one":v&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"";return p==0||p==1||v==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:aa,smi:aa,smj:aa,smn:aa,sms:aa,sn:V,so:V,sq:V,sr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),I=y.slice(-1),N=y.slice(-2);return _&&E==1&&k!=11||I==1&&N!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||I>=2&&I<=4&&(N<12||N>14)?"few":"other"},ss:V,ssy:V,st:V,su:Ne,sv:Tt,sw:Tt,syr:V,ta:V,te:V,teo:V,th:Ne,ti:na,tig:V,tk:V,tl:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:V,to:Ne,tpi:Ne,tr:V,ts:V,tzm:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==0||p==1||v&&p>=11&&p<=99?"one":"other"},ug:V,uk:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},und:Ne,ur:Tt,uz:V,ve:V,vec:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},vi:Ne,vo:V,vun:V,wa:na,wae:V,wo:Ne,xh:V,xog:V,yi:Tt,yo:Ne,yue:Ne,zh:Ne,zu:Vn});let ra="zero",q="one",Ke="two",ve="few",ye="many",R="other",P={cardinal:[q,R],ordinal:[R]},Ua={cardinal:[q,R],ordinal:[q,R]},Re={cardinal:[R],ordinal:[R]},Bn={cardinal:[q,Ke,R],ordinal:[R]};var op=Object.freeze({__proto__:null,af:P,ak:P,am:P,an:P,ar:{cardinal:[ra,q,Ke,ve,ye,R],ordinal:[R]},ars:{cardinal:[ra,q,Ke,ve,ye,R],ordinal:[R]},as:{cardinal:[q,R],ordinal:[q,Ke,ve,ye,R]},asa:P,ast:P,az:{cardinal:[q,R],ordinal:[q,ve,ye,R]},bal:Ua,be:{cardinal:[q,ve,ye,R],ordinal:[ve,R]},bem:P,bez:P,bg:P,bho:P,bm:Re,bn:{cardinal:[q,R],ordinal:[q,Ke,ve,ye,R]},bo:Re,br:{cardinal:[q,Ke,ve,ye,R],ordinal:[R]},brx:P,bs:{cardinal:[q,ve,R],ordinal:[R]},ca:{cardinal:[q,ye,R],ordinal:[q,Ke,ve,R]},ce:P,ceb:P,cgg:P,chr:P,ckb:P,cs:{cardinal:[q,ve,ye,R],ordinal:[R]},cy:{cardinal:[ra,q,Ke,ve,ye,R],ordinal:[ra,q,Ke,ve,ye,R]},da:P,de:P,doi:P,dsb:{cardinal:[q,Ke,ve,R],ordinal:[R]},dv:P,dz:Re,ee:P,el:P,en:{cardinal:[q,R],ordinal:[q,Ke,ve,R]},eo:P,es:{cardinal:[q,ye,R],ordinal:[R]},et:P,eu:P,fa:P,ff:P,fi:P,fil:Ua,fo:P,fr:{cardinal:[q,ye,R],ordinal:[q,R]},fur:P,fy:P,ga:{cardinal:[q,Ke,ve,ye,R],ordinal:[q,R]},gd:{cardinal:[q,Ke,ve,R],ordinal:[q,Ke,ve,R]},gl:P,gsw:P,gu:{cardinal:[q,R],ordinal:[q,Ke,ve,ye,R]},guw:P,gv:{cardinal:[q,Ke,ve,ye,R],ordinal:[R]},ha:P,haw:P,he:Bn,hi:{cardinal:[q,R],ordinal:[q,Ke,ve,ye,R]},hnj:Re,hr:{cardinal:[q,ve,R],ordinal:[R]},hsb:{cardinal:[q,Ke,ve,R],ordinal:[R]},hu:Ua,hy:Ua,ia:P,id:Re,ig:Re,ii:Re,io:P,is:P,it:{cardinal:[q,ye,R],ordinal:[ye,R]},iu:Bn,ja:Re,jbo:Re,jgo:P,jmc:P,jv:Re,jw:Re,ka:{cardinal:[q,R],ordinal:[q,ye,R]},kab:P,kaj:P,kcg:P,kde:Re,kea:Re,kk:{cardinal:[q,R],ordinal:[ye,R]},kkj:P,kl:P,km:Re,kn:P,ko:Re,ks:P,ksb:P,ksh:{cardinal:[ra,q,R],ordinal:[R]},ku:P,kw:{cardinal:[ra,q,Ke,ve,ye,R],ordinal:[q,ye,R]},ky:P,lag:{cardinal:[ra,q,R],ordinal:[R]},lb:P,lg:P,lij:{cardinal:[q,R],ordinal:[ye,R]},lkt:Re,ln:P,lo:{cardinal:[R],ordinal:[q,R]},lt:{cardinal:[q,ve,ye,R],ordinal:[R]},lv:{cardinal:[ra,q,R],ordinal:[R]},mas:P,mg:P,mgo:P,mk:{cardinal:[q,R],ordinal:[q,Ke,ye,R]},ml:P,mn:P,mo:{cardinal:[q,ve,R],ordinal:[q,R]},mr:{cardinal:[q,R],ordinal:[q,Ke,ve,R]},ms:{cardinal:[R],ordinal:[q,R]},mt:{cardinal:[q,Ke,ve,ye,R],ordinal:[R]},my:Re,nah:P,naq:Bn,nb:P,nd:P,ne:Ua,nl:P,nn:P,nnh:P,no:P,nqo:Re,nr:P,nso:P,ny:P,nyn:P,om:P,or:{cardinal:[q,R],ordinal:[q,Ke,ve,ye,R]},os:P,osa:Re,pa:P,pap:P,pcm:P,pl:{cardinal:[q,ve,ye,R],ordinal:[R]},prg:{cardinal:[ra,q,R],ordinal:[R]},ps:P,pt:{cardinal:[q,ye,R],ordinal:[R]},pt_PT:{cardinal:[q,ye,R],ordinal:[R]},rm:P,ro:{cardinal:[q,ve,R],ordinal:[q,R]},rof:P,ru:{cardinal:[q,ve,ye,R],ordinal:[R]},rwk:P,sah:Re,saq:P,sat:Bn,sc:{cardinal:[q,R],ordinal:[ye,R]},scn:{cardinal:[q,R],ordinal:[ye,R]},sd:P,sdh:P,se:Bn,seh:P,ses:Re,sg:Re,sh:{cardinal:[q,ve,R],ordinal:[R]},shi:{cardinal:[q,ve,R],ordinal:[R]},si:P,sk:{cardinal:[q,ve,ye,R],ordinal:[R]},sl:{cardinal:[q,Ke,ve,R],ordinal:[R]},sma:Bn,smi:Bn,smj:Bn,smn:Bn,sms:Bn,sn:P,so:P,sq:{cardinal:[q,R],ordinal:[q,ye,R]},sr:{cardinal:[q,ve,R],ordinal:[R]},ss:P,ssy:P,st:P,su:Re,sv:Ua,sw:P,syr:P,ta:P,te:P,teo:P,th:Re,ti:P,tig:P,tk:{cardinal:[q,R],ordinal:[ve,R]},tl:Ua,tn:P,to:Re,tpi:Re,tr:P,ts:P,tzm:P,ug:P,uk:{cardinal:[q,ve,ye,R],ordinal:[ve,R]},und:Re,ur:P,uz:P,ve:P,vec:{cardinal:[q,ye,R],ordinal:[ye,R]},vi:{cardinal:[R],ordinal:[q,R]},vo:P,vun:P,wa:P,wae:P,wo:Re,xh:P,xog:P,yi:P,yo:Re,yue:Re,zh:Re,zu:P});let $=(p,f)=>f?"other":p==1?"one":"other",ia=(p,f)=>f?"other":p==0||p==1?"one":"other",xr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",mn=(p,f)=>{let v=String(p).split("."),y=!v[1];return f?"other":p==1&&y?"one":"other"},Ae=(p,f)=>"other",oa=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var qo=Object.freeze({__proto__:null,af:$,ak:ia,am:xr,an:$,ar:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:$,ast:mn,az:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-1),E=y.slice(-2),k=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||k==100||k==200||k==300||k==400||k==500||k==600||k==700||k==800||k==900?"few":y==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:$,bez:$,bg:$,bho:ia,bm:Ae,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:Ae,br:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2),k=y&&v[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&y&&k==0?"many":"other"},brx:$,bs:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},ca:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:$,ceb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:$,chr:$,ckb:$,cs:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let v=String(p).split("."),y=v[0],_=Number(v[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:mn,doi:xr,dsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),I=_.slice(-2);return f?"other":E&&k==1||I==1?"one":E&&k==2||I==2?"two":E&&(k==3||k==4)||I==3||I==4?"few":"other"},dv:$,dz:Ae,ee:$,el:$,en:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&y?"one":"other"},eo:$,es:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:mn,eu:$,fa:xr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:mn,fil:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:$,fr:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:$,fy:mn,ga:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:mn,gsw:$,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:ia,gv:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(k==0||k==20||k==40||k==60||k==80)?"few":_?"other":"many"},ha:$,haw:$,he:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:Ae,hr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},hsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),I=_.slice(-2);return f?"other":E&&k==1||I==1?"one":E&&k==2||I==2?"two":E&&(k==3||k==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:mn,id:Ae,ig:Ae,ii:Ae,io:mn,is:(p,f)=>{let v=String(p).split("."),y=v[0],_=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==p,k=y.slice(-1),I=y.slice(-2);return f?"other":E&&k==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:oa,ja:Ae,jbo:Ae,jgo:$,jmc:$,jv:Ae,jw:Ae,ka:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:$,kcg:$,kde:Ae,kea:Ae,kk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:$,kl:$,km:Ae,kn:xr,ko:Ae,ks:$,ksb:$,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:$,kw:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2),E=y&&v[0].slice(-3),k=y&&v[0].slice(-5),I=y&&v[0].slice(-6);return f?y&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||y&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:$,lag:(p,f)=>{let v=String(p).split("."),y=v[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:$,lg:$,lij:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:Ae,ln:ia,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||I>=11&&I<=19||_==2&&N>=11&&N<=19?"zero":k==1&&I!=11||_==2&&F==1&&N!=11||_!=2&&F==1?"one":"other"},mas:$,mg:ia,mgo:$,mk:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?k==1&&I!=11?"one":k==2&&I!=12?"two":(k==7||k==8)&&I!=17&&I!=18?"many":"other":E&&k==1&&I!=11||N==1&&F!=11?"one":"other"},ml:$,mn:$,mo:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Ae,nah:$,naq:oa,nb:$,nd:$,ne:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:mn,nn:$,nnh:$,no:$,nqo:Ae,nr:$,nso:ia,ny:$,nyn:$,om:$,or:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:$,osa:Ae,pa:ia,pap:$,pcm:xr,pl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||I>=11&&I<=19||_==2&&N>=11&&N<=19?"zero":k==1&&I!=11||_==2&&F==1&&N!=11||_!=2&&F==1?"one":"other"},ps:$,pt:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:$,ro:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:$,ru:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1&&k!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&k>=11&&k<=14?"many":"other"},rwk:$,sah:Ae,saq:$,sat:oa,sc:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:$,sdh:$,se:oa,seh:$,ses:Ae,sg:Ae,sh:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},shi:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:oa,smi:oa,smj:oa,smn:oa,sms:oa,sn:$,so:$,sq:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=y.slice(-2),N=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&I!=11||N==1&&F!=11?"one":E&&k>=2&&k<=4&&(I<12||I>14)||N>=2&&N<=4&&(F<12||F>14)?"few":"other"},ss:$,ssy:$,st:$,su:Ae,sv:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&y?"one":"other"},sw:mn,syr:$,ta:$,te:$,teo:$,th:Ae,ti:ia,tig:$,tk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:$,to:Ae,tpi:Ae,tr:$,ts:$,tzm:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:$,uk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=Number(v[0])==p,k=E&&v[0].slice(-1),I=E&&v[0].slice(-2),N=y.slice(-1),F=y.slice(-2);return f?k==3&&I!=13?"few":"other":_&&N==1&&F!=11?"one":_&&N>=2&&N<=4&&(F<12||F>14)?"few":_&&N==0||_&&N>=5&&N<=9||_&&F>=11&&F<=14?"many":"other"},und:Ae,ur:mn,uz:$,ve:$,vec:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:$,vun:$,wa:ia,wae:$,wo:Ae,xh:$,xog:$,yi:mn,yo:Ae,yue:Ae,zh:Ae,zu:xr});function Xl(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 $o(p){if(typeof p=="function"){var f=Xl(p.name);return{isDefault:!1,id:Da(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=Xl(p),y=Da(v);return e7(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:X9[y],getPlural:qo[y],cardinals:op[y].cardinal,ordinals:op[y].ordinal}:null}function Q9(p){var f=Object.keys(qo).filter(function(v){return v!==p});return f.unshift(p),f.map($o)}function J9(p){var f=Xl(p);return Da(f)in qo}function e7(p){return p in qo}var t7=function(){function p(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=Q9(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map($o).filter(Boolean);else if(f){var y=$o(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=$o(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(J9)},p.prototype.resolvedOptions=function(){return a(a({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new K9(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],I=[];try{for(var N=n(Object.entries(_.runtime)),F=N.next();!F.done;F=N.next()){var Q=r(F.value,2),ue=Q[0],ke=Q[1];k.push(ue),I.push(ke)}}catch(Ue){v={error:Ue}}finally{try{F&&!F.done&&(y=N.return)&&y.call(N)}finally{if(v)throw v.error}}var W=new(Function.bind.apply(Function,i(i([void 0],r(k),!1),[E],!1)));return W.apply(void 0,i([],r(I),!1))},p.defaultLocale="en",p}();return t7})}),cn=ne(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}),m7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,A){for(var O=0;O<A.length;O++){var Y=A[O];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(T,Y.key,Y)}}return function(T,A,O){return A&&S(T.prototype,A),O&&S(T,O),T}}(),a=cn(),n=r(a);function r(S){return S&&S.__esModule?S:{default:S}}function i(S,T){if(!(S instanceof T))throw new TypeError("Cannot call a class as a function")}function o(S,T){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:S}function l(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(S,T):S.__proto__=T)}var c=function(S){l(T,S);function T(A,O){return i(this,T),A=A.toUpperCase(),O.mod43&&(A+=g(x(A))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,A,O))}return t(T,[{key:"encode",value:function(){for(var A=m("*"),O=0;O<this.data.length;O++)A+=m(this.data[O])+"0";return A+=m("*"),{data:A,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(n.default),u=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],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(S){return b(w(S))}function b(S){return d[S].toString(2)}function g(S){return u[S]}function w(S){return u.indexOf(S)}function x(S){for(var T=0,A=0;A<S.length;A++)T+=w(S[A]);return T=T%43,T}e.CODE39=c}),oo=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function a(u,d,m){return d in u?Object.defineProperty(u,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):u[d]=m,u}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,c=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,c,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]}),wl=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=cn(),n=i(a),r=oo();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 c(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){c(m,d);function m(b,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=r.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(r.FNC1);var x=m.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%r.MODULO)+m.getBar(r.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return r.BARS[b]?r.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===r.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===r.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var x=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var T=r.SWAP[S];T!==void 0?x=m.next(b,g+1,T):((w===r.SET_A||w===r.SET_B)&&S===r.SHIFT&&(b[0]=w===r.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),x=m.next(b,g+1,w))}else S=m.correctIndex(b,w),x=m.next(b,g+1,w);var A=m.getBar(S),O=S*g;return{result:A+x.result,checksum:O+x.checksum}}}]),m}(n.default);e.default=u}),f7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=oo(),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,c){var u=c?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+u+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var m=l.match(new RegExp("^"+u+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(c?205:206)+i(l.substring(m.length),!c)}function o(l){var c=r(l),u=c.length;if(u===l.length)return l;l=l.substring(u);var d=a(l)>=n(l);return c+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var c=void 0,u=r(l).length;if(u>=2)c=t.C_START_CHAR+o(l);else{var d=a(l)>n(l);c=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,b){return"Ë"+b})}}),g7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=wl(),a=i(t),n=f7(),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 c(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){c(m,d);function m(b,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,r.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(a.default);e.default=u}),v7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=wl(),n=i(a),r=oo();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 c(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){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),b7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=wl(),n=i(a),r=oo();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 c(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){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),y7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=wl(),n=i(a),r=oo();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 c(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){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),_7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=g7(),a=u(t),n=v7(),r=u(n),i=b7(),o=u(i),l=y7(),c=u(l);function u(d){return d&&d.__esModule?d:{default:d}}e.CODE128=a.default,e.CODE128A=r.default,e.CODE128B=o.default,e.CODE128C=c.default}),so=ne(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"]}),lo=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=so(),a=function(n,r,i){var o=n.split("").map(function(c,u){return t.BINARIES[r[u]]}).map(function(c,u){return c?c[n[u]]:""});if(i){var l=n.length-1;o=o.map(function(c,u){return u<l?c+i:c})}return o.join("")};e.default=a}),Uf=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),a=so(),n=lo(),r=l(n),i=cn(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){d(g,b);function g(w,x){c(this,g);var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,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}),w7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),a=function b(g,w,x){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:b(T,w,x)}else{if("value"in S)return S.value;var A=S.get;return A===void 0?void 0:A.call(x)}},n=so(),r=Uf(),i=o(r);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var d=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,S){return S%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.lastChar=x.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===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}),x7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(b,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,g,w){return g&&m(b.prototype,g),w&&m(b,w),b}}(),a=function m(b,g,w){b===null&&(b=Function.prototype);var x=Object.getOwnPropertyDescriptor(b,g);if(x===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:m(S,g,w)}else{if("value"in x)return x.value;var T=x.get;return T===void 0?void 0:T.call(w)}},n=Uf(),r=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")}function l(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:m}function c(m,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);m.prototype=Object.create(b&&b.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(m,b):m.__proto__=b)}var u=function(m){var b=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-b%10)%10},d=function(m){c(b,m);function b(g,w){return o(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=u(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===u(this.data)}},{key:"leftText",value:function(){return a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(r.default);e.default=d}),E7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var S=0;S<x.length;S++){var T=x[S];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(w,T.key,T)}}return function(w,x,S){return x&&g(w.prototype,x),S&&g(w,S),w}}(),a=so(),n=lo(),r=l(n),i=cn(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function u(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function 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,S,T){return T%2?x+S*9:x+S*3},0);return w%10},b=function(g){d(w,g);function w(x,S){return c(this,w),u(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=a.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,r.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),S7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),a=so(),n=lo(),r=l(n),i=cn(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function c(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function d(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){d(g,b);function g(w,x){return c(this,g),u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=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}),Wf=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}();e.checksum=m;var a=lo(),n=o(a),r=cn(),i=o(r);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function c(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var d=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.displayValue=x.displayValue,x.fontSize>x.width*10?S.fontSize=x.width*10:S.fontSize=x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(i.default);function m(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=d}),k7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,T){for(var A=0;A<T.length;A++){var O=T[A];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}return function(S,T,A){return T&&x(S.prototype,T),A&&x(S,A),S}}(),a=lo(),n=l(a),r=cn(),i=l(r),o=Wf();function l(x){return x&&x.__esModule?x:{default:x}}function c(x,S){if(!(x instanceof S))throw new TypeError("Cannot call a class as a function")}function u(x,S){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:x}function d(x,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);x.prototype=Object.create(S&&S.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(x,S):x.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(S,x);function S(T,A){c(this,S);var O=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,A));if(O.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)O.middleDigits=T,O.upcA=w(T,"0"),O.text=A.text||""+O.upcA[0]+T+O.upcA[O.upcA.length-1],O.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(O.middleDigits=T.substring(1,T.length-1),O.upcA=w(O.middleDigits,T[0]),O.upcA[O.upcA.length-1]===T[T.length-1])O.isValid=!0;else return u(O);else return u(O);return O.displayValue=A.displayValue,A.fontSize>A.width*10?O.fontSize=A.width*10:O.fontSize=A.fontSize,O.guardHeight=A.height+O.fontSize/2+A.textMargin,O}return t(S,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var T="";return T+="101",T+=this.encodeMiddleDigits(),T+="010101",{data:T,text:this.text}}},{key:"guardedEncoding",value:function(){var T=[];return this.displayValue&&T.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),T.push({data:"101",options:{height:this.guardHeight}}),T.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),T.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&T.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),T}},{key:"encodeMiddleDigits",value:function(){var T=this.upcA[0],A=this.upcA[this.upcA.length-1],O=b[parseInt(A)][parseInt(T)];return(0,n.default)(this.middleDigits,O)}}]),S}(i.default);function w(x,S){for(var T=parseInt(x[x.length-1]),A=m[T],O="",Y=0,ie=0;ie<A.length;ie++){var me=A[ie];me==="X"?O+=x[Y++]:O+=me}return O=""+S+O,""+O+(0,o.checksum)(O)}e.default=g}),C7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=w7(),a=g(t),n=x7(),r=g(n),i=E7(),o=g(i),l=S7(),c=g(l),u=Wf(),d=g(u),m=k7(),b=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=c.default,e.UPC=d.default,e.UPCE=b.default}),I7=ne(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"]}),Zf=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=I7(),n=cn(),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 c(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){c(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 b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:a.START_BIN+g+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=a.BINARIES[b[1]];return a.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(r.default);e.default=u}),D7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=Zf(),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 c=function(d){var m=d.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},u=function(d){l(m,d);function m(b,g){return i(this,m),b.search(/^[0-9]{13}$/)!==-1&&(b+=c(b)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),m}(n.default);e.default=u}),T7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Zf(),a=i(t),n=D7(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=a.default,e.ITF14=r.default}),uo=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=cn(),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 c=function(d){l(m,d);function m(b,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=u(x,4-x.length);for(var S=0;S<x.length;S++)b+=x[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function u(d,m){for(var b=0;b<m;b++)d="0"+d;return d}e.default=c}),xl=ne(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}}),N7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uo(),a=r(t),n=xl();function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),b))}return d}(a.default);e.default=c}),O7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uo(),a=r(t),n=xl();function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),b))}return d}(a.default);e.default=c}),M7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uo(),a=r(t),n=xl();function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return d}(a.default);e.default=c}),R7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uo(),a=r(t),n=xl();function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return d}(a.default);e.default=c}),A7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=uo(),a=m(t),n=N7(),r=m(n),i=O7(),o=m(i),l=M7(),c=m(l),u=R7(),d=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=a.default,e.MSI10=r.default,e.MSI11=o.default,e.MSI1010=c.default,e.MSI1110=d.default}),P7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),a=cn(),n=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){i(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b));return g.number=parseInt(m,10),g}return t(d,[{key:"encode",value:function(){for(var m=this.number,b="";!isNaN(m)&&m!=0;)m%2===0?(b="11100"+b,m=(m-2)/2):(b="100"+b,m=(m-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=c}),L7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),a=cn(),n=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){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(),b));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=[],b=this.getEncodings(),g=0;g<this.data.length;g++)m.push(b[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),d}(n.default);e.codabar=c}),F7=ne(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"]}}),Yf=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&d(m.prototype,b),g&&d(m,g),m}}(),a=F7(),n=cn(),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 c(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){c(m,d);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return a.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return m.getEncoding(S)}).join(""),w=m.checksum(b,20),x=m.checksum(b.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return a.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return a.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return a.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,T){var A=T%g+1;return x+m.symbolValue(S)*A},0);return m.getSymbol(w%47)}}]),m}(r.default);e.default=u}),j7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),a=Yf(),n=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=c}),V7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Yf(),a=i(t),n=j7(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=a.default,e.CODE93FullASCII=r.default}),B7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),a=cn(),n=r(a);function r(u){return u&&u.__esModule?u:{default:u}}function i(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function o(u,d){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:u}function l(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(u,d):u.__proto__=d)}var c=function(u){l(d,u);function d(m,b){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,b))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=c}),z7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=m7(),a=_7(),n=C7(),r=T7(),i=A7(),o=P7(),l=L7(),c=V7(),u=B7();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:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:u.GenericBarcode}}),El=ne(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)}}),H7=ne(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}}),q7=ne(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}}),Kf=ne(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}}),Xf=ne(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}),$7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Kf(),a=i(t),n=Xf(),r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var c={};for(var u in r.default)r.default.hasOwnProperty(u)&&(l.hasAttribute("jsbarcode-"+u.toLowerCase())&&(c[u]=l.getAttribute("jsbarcode-"+u.toLowerCase())),l.hasAttribute("data-"+u.toLowerCase())&&(c[u]=l.getAttribute("data-"+u.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,a.default)(c),c}e.default=o}),Qf=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=El(),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,b){if(b.displayValue&&m<d){if(b.textAlign=="center")return Math.floor((d-m)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(d-m)}return 0}function o(d,m,b){for(var g=0;g<d.length;g++){var w=d[g],x=(0,a.default)(m,w.options),S;x.displayValue?S=u(w.text,x,b):S=0;var T=w.data.length*x.width;w.width=Math.ceil(Math.max(S,T)),w.height=r(w,x),w.barcodePadding=i(S,T,x)}}function l(d){for(var m=0,b=0;b<d.length;b++)m+=d[b].width;return m}function c(d){for(var m=0,b=0;b<d.length;b++)d[b].height>m&&(m=d[b].height);return m}function u(d,m,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=r,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),G7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(u,d){for(var m=0;m<d.length;m++){var b=d[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,d,m){return d&&c(u.prototype,d),m&&c(u,m),u}}(),a=El(),n=i(a),r=Qf();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(u,d,m){o(this,c),this.canvas=u,this.encodings=d,this.options=m}return t(c,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var u=0;u<this.encodings.length;u++){var d=(0,n.default)(this.options,this.encodings[u].options);this.drawCanvasBarcode(d,this.encodings[u]),this.drawCanvasText(d,this.encodings[u]),this.moveCanvasDrawing(this.encodings[u])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var u=this.canvas.getContext("2d");u.save(),(0,r.calculateEncodingAttributes)(this.encodings,this.options,u);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,u.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(u.fillStyle=this.options.background,u.fillRect(0,0,this.canvas.width,this.canvas.height)),u.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(u,d){var m=this.canvas.getContext("2d"),b=d.data,g;u.textPosition=="top"?g=u.marginTop+u.fontSize+u.textMargin:g=u.marginTop,m.fillStyle=u.lineColor;for(var w=0;w<b.length;w++){var x=w*u.width+d.barcodePadding;b[w]==="1"?m.fillRect(x,g,u.width,u.height):b[w]&&m.fillRect(x,g,u.width,u.height*b[w])}}},{key:"drawCanvasText",value:function(u,d){var m=this.canvas.getContext("2d"),b=u.fontOptions+" "+u.fontSize+"px "+u.font;if(u.displayValue){var g,w;u.textPosition=="top"?w=u.marginTop+u.fontSize-u.textMargin:w=u.height+u.textMargin+u.marginTop+u.fontSize,m.font=b,u.textAlign=="left"||d.barcodePadding>0?(g=0,m.textAlign="left"):u.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(u){var d=this.canvas.getContext("2d");d.translate(u.width,0)}},{key:"restoreCanvas",value:function(){var u=this.canvas.getContext("2d");u.restore()}}]),c}();e.default=l}),U7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(d,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,b){return m&&u(d.prototype,m),b&&u(d,b),d}}(),a=El(),n=i(a),r=Qf();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function u(d,m,b){o(this,u),this.svg=d,this.encodings=m,this.options=b,this.document=b.xmlDocument||document}return t(u,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var b=this.encodings[m],g=(0,n.default)(this.options,b.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),d+=b.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),b=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,m),this.options.background&&this.drawRect(0,0,b,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(d,m,b){var g=b.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,S=0,T=0;T<g.length;T++)S=T*m.width+b.barcodePadding,g[T]==="1"?x++:x>0&&(this.drawRect(S-m.width*x,w,m.width*x,m.height,d),x=0);x>0&&this.drawRect(S-m.width*(x-1),w,m.width*x,m.height,d)}},{key:"drawSVGText",value:function(d,m,b){var g=this.document.createElementNS(l,"text");if(m.displayValue){var w,x;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?x=m.fontSize-m.textMargin:x=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(b.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,m){var b=this.svg;b.setAttribute("width",d+"px"),b.setAttribute("height",m+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+d+" "+m),b.setAttribute("xmlns",l),b.setAttribute("version","1.1"),b.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(d,m,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+m+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(d,m){d.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(d,m,b,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",m),x.setAttribute("width",b),x.setAttribute("height",g),w.appendChild(x),x}}]),u}();e.default=c}),W7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(i,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}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}),Z7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=G7(),a=l(t),n=U7(),r=l(n),i=W7(),o=l(i);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:a.default,SVGRenderer:r.default,ObjectRenderer:o.default}}),Jf=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function a(l,c){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:l}function n(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(l,c):l.__proto__=c)}var r=function(l){n(c,l);function c(u,d){t(this,c);var m=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return m.name="InvalidInputException",m.symbology=u,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return c}(Error),i=function(l){n(c,l);function c(){t(this,c);var u=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return u.name="InvalidElementException",u.message="Not supported type to render on",u}return c}(Error),o=function(l){n(c,l);function c(){t(this,c);var u=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return u.name="NoElementException",u.message="No element to render on.",u}return c}(Error);e.InvalidInputException=r,e.InvalidElementException=i,e.NoElementException=o}),Y7=ne(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=$7(),n=l(a),r=Z7(),i=l(r),o=Jf();function l(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof m=="string")return u(m);if(Array.isArray(m)){for(var b=[],g=0;g<m.length;g++)b.push(c(m[g]));return b}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 u(m){var b=document.querySelectorAll(m);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(c(b[w]));return g}}function d(m){var b=document.createElement("canvas");return{element:b,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",b.toDataURL())}}}e.default=c}),K7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(i,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,c.key,c)}}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}),X7=ne((e,t)=>{var a=z7(),n=O(a),r=El(),i=O(r),o=H7(),l=O(o),c=q7(),u=O(c),d=Y7(),m=O(d),b=Kf(),g=O(b),w=K7(),x=O(w),S=Jf(),T=Xf(),A=O(T);function O(Z){return Z&&Z.__esModule?Z:{default:Z}}var Y=function(){},ie=function(Z,H,ge){var L=new Y;if(typeof Z>"u")throw Error("No element to render on was provided.");return L._renderProperties=(0,m.default)(Z),L._encodings=[],L._options=A.default,L._errorHandler=new x.default(L),typeof H<"u"&&(ge=ge||{},ge.format||(ge.format=$e()),L.options(ge)[ge.format](H,ge).render()),L};ie.getModule=function(Z){return n.default[Z]};for(me in n.default)n.default.hasOwnProperty(me)&&_t(n.default,me);var me;function _t(Z,H){Y.prototype[H]=Y.prototype[H.toUpperCase()]=Y.prototype[H.toLowerCase()]=function(ge,L){var j=this;return j._errorHandler.wrapBarcodeCall(function(){L.text=typeof L.text>"u"?void 0:""+L.text;var U=(0,i.default)(j._options,L);U=(0,g.default)(U);var Ee=Z[H],He=st(ge,Ee,U);return j._encodings.push(He),j})}}function st(Z,H,ge){Z=""+Z;var L=new H(Z,ge);if(!L.valid())throw new S.InvalidInputException(L.constructor.name,Z);var j=L.encode();j=(0,l.default)(j);for(var U=0;U<j.length;U++)j[U].options=(0,i.default)(ge,j[U].options);return j}function $e(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Y.prototype.options=function(Z){return this._options=(0,i.default)(this._options,Z),this},Y.prototype.blank=function(Z){var H=new Array(Z+1).join("0");return this._encodings.push({data:H}),this},Y.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Z;for(var H in this._renderProperties){Z=this._renderProperties[H];var ge=(0,i.default)(this._options,Z.options);ge.format=="auto"&&(ge.format=$e()),this._errorHandler.wrapBarcodeCall(function(){var L=ge.value,j=n.default[ge.format.toUpperCase()],U=st(L,j,ge);ht(Z,U,ge)})}}},Y.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Z=0;Z<this._renderProperties.length;Z++)ht(this._renderProperties[Z],this._encodings,this._options);else ht(this._renderProperties,this._encodings,this._options);return this},Y.prototype._defaults=A.default;function ht(Z,H,ge){H=(0,l.default)(H);for(var L=0;L<H.length;L++)H[L].options=(0,i.default)(ge,H[L].options),(0,u.default)(H[L].options);(0,u.default)(ge);var j=Z.renderer,U=new j(Z.element,H,ge);U.render(),Z.afterRender&&Z.afterRender()}typeof window<"u"&&(window.JsBarcode=ie),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Z,H){var ge=[];return jQuery(this).each(function(){ge.push(this)}),ie(ge,Z,H)}),t.exports=ie});function sd(e,t){return Object.is(e,t)}var ut=null,bs=!1,ld=1,ur=Symbol("SIGNAL");function we(e){let t=ut;return ut=e,t}function Q7(){return ut}var co={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 ud(e){if(bs)throw new Error("");if(ut===null)return;ut.consumerOnSignalRead(e);let t=ut.nextProducerIndex++;if(kl(ut),t<ut.producerNode.length&&ut.producerNode[t]!==e&&Hi(ut)){let a=ut.producerNode[t];Sl(a,ut.producerIndexOfThis[t])}ut.producerNode[t]!==e&&(ut.producerNode[t]=e,ut.producerIndexOfThis[t]=Hi(ut)?rg(e,ut,t):0),ut.producerLastReadVersion[t]=e.version}function J7(){ld++}function ho(e){if(!(Hi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ld)){if(!e.producerMustRecompute(e)&&!ng(e)){Ps(e);return}e.producerRecomputeValue(e),Ps(e)}}function eg(e){if(e.liveConsumerNode===void 0)return;let t=bs;bs=!0;try{for(let a of e.liveConsumerNode)a.dirty||eH(a)}finally{bs=t}}function tg(){return(ut==null?void 0:ut.consumerAllowSignalWrites)!==!1}function eH(e){var t;e.dirty=!0,eg(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Ps(e){e.dirty=!1,e.lastCleanEpoch=ld}function Ls(e){return e&&(e.nextProducerIndex=0),we(e)}function cd(e,t){if(we(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Hi(e))for(let a=e.nextProducerIndex;a<e.producerNode.length;a++)Sl(e.producerNode[a],e.producerIndexOfThis[a]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ng(e){kl(e);for(let t=0;t<e.producerNode.length;t++){let a=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==a.version||(ho(a),n!==a.version))return!0}return!1}function ag(e){if(kl(e),Hi(e))for(let t=0;t<e.producerNode.length;t++)Sl(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 rg(e,t,a){if(ig(e),e.liveConsumerNode.length===0&&og(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=rg(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(a),e.liveConsumerNode.push(t)-1}function Sl(e,t){if(ig(e),e.liveConsumerNode.length===1&&og(e))for(let n=0;n<e.producerNode.length;n++)Sl(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];kl(r),r.producerIndexOfThis[n]=t}}function Hi(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function kl(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function ig(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function og(e){return e.producerNode!==void 0}function tH(e,t){let a=Object.create(nH);a.computation=e;let n=()=>{if(ho(a),ud(a),a.value===ja)throw a.error;return a.value};return n[ur]=a,n}var ir=Symbol("UNSET"),Vr=Symbol("COMPUTING"),ja=Symbol("ERRORED"),nH=Gt(se({},co),{value:ir,dirty:!0,error:null,equal:sd,kind:"computed",producerMustRecompute(e){return e.value===ir||e.value===Vr},producerRecomputeValue(e){if(e.value===Vr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Vr;let a=Ls(e),n,r=!1;try{n=e.computation(),we(null),r=t!==ir&&t!==ja&&n!==ja&&e.equal(t,n)}catch(i){n=ja,e.error=i}finally{cd(e,a)}if(r){e.value=t;return}e.value=n,e.version++}});function aH(){throw new Error}var sg=aH;function lg(e){sg(e)}function rH(e){sg=e}function dd(e,t){tg()||lg(e),e.equal(e.value,t)||(e.value=t,sH(e))}function iH(e,t){tg()||lg(e),dd(e,t(e.value))}var oH=Gt(se({},co),{equal:sd,value:void 0,kind:"signal"});function sH(e){e.version++,J7(),eg(e)}function hp(e,t,a){let n=Object.create(cH);n.source=e,n.computation=t,a!=null&&(n.equal=a);let r=()=>{if(ho(n),ud(n),n.value===ja)throw n.error;return n.value};return r[ur]=n,r}function lH(e,t){ho(e),dd(e,t),Ps(e)}function uH(e,t){ho(e),iH(e,t),Ps(e)}var cH=Gt(se({},co),{value:ir,dirty:!0,error:null,equal:sd,kind:"linkedSignal",producerMustRecompute(e){return e.value===ir||e.value===Vr},producerRecomputeValue(e){if(e.value===Vr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Vr;let a=Ls(e),n;try{let r=e.source(),i=t===ir||t===ja?void 0:{source:e.sourceValue,value:t};n=e.computation(r,i),e.sourceValue=r}catch(r){n=ja,e.error=r}finally{cd(e,a)}if(t!==ir&&n!==ja&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function dH(e){let t=we(null);try{return e()}finally{we(t)}}var Xu;function ys(){return Xu}function Oa(e){let t=Xu;return Xu=e,t}var ug=Symbol("NotFound");function Ze(e){return typeof e=="function"}function hd(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 Ql=hd(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 Fs(e,t){if(e){let a=e.indexOf(t);0<=a&&e.splice(a,1)}}var sn=class Qu{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(Ze(n))try{n()}catch(i){t=i instanceof Ql?i.errors:[i]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let i of r)try{pp(i)}catch(o){t=t??[],o instanceof Ql?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Ql(t)}}add(t){var a;if(t&&t!==this)if(this.closed)pp(t);else{if(t instanceof Qu){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)&&Fs(a,t)}remove(t){let{_finalizers:a}=this;a&&Fs(a,t),t instanceof Qu&&t._removeParent(this)}};sn.EMPTY=(()=>{let e=new sn;return e.closed=!0,e})();var cg=sn.EMPTY;function dg(e){return e instanceof sn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function pp(e){Ze(e)?e():e.unsubscribe()}var hH={Promise:void 0},pH={setTimeout(e,t,...a){return setTimeout(e,t,...a)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function hg(e){pH.setTimeout(()=>{throw e})}function Ju(){}function _s(e){e()}var pd=class extends sn{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,dg(e)&&e.add(this)):this.destination=gH}static create(e,t,a){return new qi(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()}}},mH=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(a){Zo(a)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(a){Zo(a)}else Zo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Zo(t)}}},qi=class extends pd{constructor(e,t,a){super();let n;Ze(e)||!e?n={next:e??void 0,error:t??void 0,complete:a??void 0}:n=e,this.destination=new mH(n)}};function Zo(e){hg(e)}function fH(e){throw e}var gH={closed:!0,next:Ju,error:fH,complete:Ju},md=typeof Symbol=="function"&&Symbol.observable||"@@observable";function oi(e){return e}function vH(e){return e.length===0?oi:e.length===1?e[0]:function(t){return e.reduce((a,n)=>n(a),t)}}var tt=(()=>{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=yH(a)?a:new qi(a,n,r);return _s(()=>{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=mp(n),new n((r,i)=>{let o=new qi({next:l=>{try{a(l)}catch(c){i(c),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)}[md](){return this}pipe(...a){return vH(a)(this)}toPromise(a){return a=mp(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 mp(e){var t;return(t=e??hH.Promise)!==null&&t!==void 0?t:Promise}function bH(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}function yH(e){return e&&e instanceof pd||bH(e)&&dg(e)}function _H(e){return Ze(e==null?void 0:e.lift)}function Bt(e){return t=>{if(_H(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 Rt(e,t,a,n,r){return new wH(e,t,a,n,r)}var wH=class extends pd{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))}}},xH=hd(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),xe=(()=>{class e extends tt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(a){let n=new fp(this,this);return n.operator=a,n}_throwIfClosed(){if(this.closed)throw new xH}next(a){_s(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(a)}})}error(a){_s(()=>{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(){_s(()=>{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?cg:(this.currentObservers=null,i.push(a),new sn(()=>{this.currentObservers=null,Fs(i,a)}))}_checkFinalizedStatuses(a){let{hasError:n,thrownError:r,isStopped:i}=this;n?a.error(r):i&&a.complete()}asObservable(){let a=new tt;return a.source=this,a}}return e.create=(t,a)=>new fp(t,a),e})(),fp=class extends xe{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:cg}},fd=class extends xe{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)}},gd={now(){return(gd.delegate||Date).now()},delegate:void 0},pg=class extends xe{constructor(e=1/0,t=1/0,a=gd){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)}}},EH=class extends sn{constructor(e,t){super()}schedule(e,t=0){return this}},ec={setInterval(e,t,...a){let{delegate:n}=ec;return n!=null&&n.setInterval?n.setInterval(e,t,...a):setInterval(e,t,...a)},clearInterval(e){return clearInterval(e)},delegate:void 0},SH=class extends EH{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 ec.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&&ec.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,Fs(a,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},tc=class mg{constructor(t,a=mg.now){this.schedulerActionCtor=t,this.now=a}schedule(t,a=0,n){return new this.schedulerActionCtor(this,t).schedule(n,a)}};tc.now=gd.now;var kH=class extends tc{constructor(e,t=tc.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}}},vd=new kH(SH),CH=vd,fg=new tt(e=>e.complete());function gg(e){return e&&Ze(e.schedule)}function bd(e){return e[e.length-1]}function vg(e){return Ze(bd(e))?e.pop():void 0}function po(e){return gg(bd(e))?e.pop():void 0}function IH(e,t){return typeof bd(e)=="number"?e.pop():t}function DH(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{u(n.next(d))}catch(m){o(m)}}function c(d){try{u(n.throw(d))}catch(m){o(m)}}function u(d){d.done?i(d.value):r(d.value).then(l,c)}u((n=n.apply(e,[])).next())})}function gp(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 Br(e){return this instanceof Br?(this.v=e,this):new Br(e)}function TH(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(S,T){i.push([g,x,S,T])>1||c(g,x)})},w&&(r[g]=w(r[g])))}function c(g,w){try{u(n[g](w))}catch(x){b(i[0][3],x)}}function u(g){g.value instanceof Br?Promise.resolve(g.value.v).then(d,m):b(i[0][2],g)}function d(g){c("next",g)}function m(g){c("throw",g)}function b(g,w){g(w),i.shift(),i.length&&c(i[0][0],i[0][1])}}function NH(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 gp=="function"?gp(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,c){o=e[i](o),r(l,c,o.done,o.value)})}}function r(i,o,l,c){Promise.resolve(c).then(function(u){i({value:u,done:l})},o)}}var bg=e=>e&&typeof e.length=="number"&&typeof e!="function";function yg(e){return Ze(e==null?void 0:e.then)}function _g(e){return Ze(e[md])}function wg(e){return Symbol.asyncIterator&&Ze(e==null?void 0:e[Symbol.asyncIterator])}function xg(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 OH(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Eg=OH();function Sg(e){return Ze(e==null?void 0:e[Eg])}function kg(e){return TH(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:a,done:n}=yield Br(t.read());if(n)return yield Br(void 0);yield yield Br(a)}}finally{t.releaseLock()}})}function Cg(e){return Ze(e==null?void 0:e.getReader)}function Kt(e){if(e instanceof tt)return e;if(e!=null){if(_g(e))return MH(e);if(bg(e))return RH(e);if(yg(e))return AH(e);if(wg(e))return Ig(e);if(Sg(e))return PH(e);if(Cg(e))return LH(e)}throw xg(e)}function MH(e){return new tt(t=>{let a=e[md]();if(Ze(a.subscribe))return a.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function RH(e){return new tt(t=>{for(let a=0;a<e.length&&!t.closed;a++)t.next(e[a]);t.complete()})}function AH(e){return new tt(t=>{e.then(a=>{t.closed||(t.next(a),t.complete())},a=>t.error(a)).then(null,hg)})}function PH(e){return new tt(t=>{for(let a of e)if(t.next(a),t.closed)return;t.complete()})}function Ig(e){return new tt(t=>{FH(e,t).catch(a=>t.error(a))})}function LH(e){return Ig(kg(e))}function FH(e,t){var a,n,r,i;return DH(this,void 0,void 0,function*(){try{for(a=NH(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 ba(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 Dg(e,t=0){return Bt((a,n)=>{a.subscribe(Rt(n,r=>ba(n,e,()=>n.next(r),t),()=>ba(n,e,()=>n.complete(),t),r=>ba(n,e,()=>n.error(r),t)))})}function Tg(e,t=0){return Bt((a,n)=>{n.add(e.schedule(()=>a.subscribe(n),t))})}function jH(e,t){return Kt(e).pipe(Tg(t),Dg(t))}function VH(e,t){return Kt(e).pipe(Tg(t),Dg(t))}function BH(e,t){return new tt(a=>{let n=0;return t.schedule(function(){n===e.length?a.complete():(a.next(e[n++]),a.closed||this.schedule())})})}function zH(e,t){return new tt(a=>{let n;return ba(a,t,()=>{n=e[Eg](),ba(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)}),()=>Ze(n==null?void 0:n.return)&&n.return()})}function Ng(e,t){if(!e)throw new Error("Iterable cannot be null");return new tt(a=>{ba(a,t,()=>{let n=e[Symbol.asyncIterator]();ba(a,t,()=>{n.next().then(r=>{r.done?a.complete():a.next(r.value)})},0,!0)})})}function HH(e,t){return Ng(kg(e),t)}function qH(e,t){if(e!=null){if(_g(e))return jH(e,t);if(bg(e))return BH(e,t);if(yg(e))return VH(e,t);if(wg(e))return Ng(e,t);if(Sg(e))return zH(e,t);if(Cg(e))return HH(e,t)}throw xg(e)}function vr(e,t){return t?qH(e,t):Kt(e)}function at(...e){let t=po(e);return vr(e,t)}function Og(e,t){let a=Ze(e)?e:()=>e,n=r=>r.error(a());return new tt(n)}function Li(e){return!!e&&(e instanceof tt||Ze(e.lift)&&Ze(e.subscribe))}var $H=hd(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function GH(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 $H)}})})}function UH(e){return e instanceof Date&&!isNaN(e)}function Nt(e,t){return Bt((a,n)=>{let r=0;a.subscribe(Rt(n,i=>{n.next(e.call(t,i,r++))}))})}var{isArray:WH}=Array;function ZH(e,t){return WH(t)?e(...t):e(t)}function Mg(e){return Nt(t=>ZH(e,t))}var{isArray:YH}=Array,{getPrototypeOf:KH,prototype:XH,keys:QH}=Object;function Rg(e){if(e.length===1){let t=e[0];if(YH(t))return{args:t,keys:null};if(JH(t)){let a=QH(t);return{args:a.map(n=>t[n]),keys:a}}}return{args:e,keys:null}}function JH(e){return e&&typeof e=="object"&&KH(e)===XH}function Ag(e,t){return e.reduce((a,n,r)=>(a[n]=t[r],a),{})}function eq(...e){let t=po(e),a=vg(e),{args:n,keys:r}=Rg(e);if(n.length===0)return vr([],t);let i=new tt(tq(n,t,r?o=>Ag(r,o):oi));return a?i.pipe(Mg(a)):i}function tq(e,t,a=oi){return n=>{vp(t,()=>{let{length:r}=e,i=new Array(r),o=r,l=r;for(let c=0;c<r;c++)vp(t,()=>{let u=vr(e[c],t),d=!1;u.subscribe(Rt(n,m=>{i[c]=m,d||(d=!0,l--),l||n.next(a(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function vp(e,t,a){e?ba(a,e,t):t()}function nq(e,t,a,n,r,i,o,l){let c=[],u=0,d=0,m=!1,b=()=>{m&&!c.length&&!u&&t.complete()},g=x=>u<n?w(x):c.push(x),w=x=>{u++;let S=!1;Kt(a(x,d++)).subscribe(Rt(t,T=>{t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(u--;c.length&&u<n;){let T=c.shift();o?ba(t,o,()=>w(T)):w(T)}b()}catch(T){t.error(T)}}))};return e.subscribe(Rt(t,g,()=>{m=!0,b()})),()=>{}}function $i(e,t,a=1/0){return Ze(t)?$i((n,r)=>Nt((i,o)=>t(n,i,r,o))(Kt(e(n,r))),a):(typeof t=="number"&&(a=t),Bt((n,r)=>nq(n,r,e,a)))}function Pg(e=1/0){return $i(oi,e)}function aq(){return Pg(1)}function Gi(...e){return aq()(vr(e,po(e)))}function js(e){return new tt(t=>{Kt(e()).subscribe(t)})}function Lg(...e){let t=vg(e),{args:a,keys:n}=Rg(e),r=new tt(i=>{let{length:o}=a;if(!o){i.complete();return}let l=new Array(o),c=o,u=o;for(let d=0;d<o;d++){let m=!1;Kt(a[d]).subscribe(Rt(i,b=>{m||(m=!0,u--),l[d]=b},()=>c--,void 0,()=>{(!c||!m)&&(u||i.next(n?Ag(n,l):l),i.complete())}))}});return t?r.pipe(Mg(t)):r}function rq(e=0,t,a=CH){let n=-1;return t!=null&&(gg(t)?a=t:n=t),new tt(r=>{let i=UH(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 yd(...e){let t=po(e),a=IH(e,1/0),n=e;return n.length?n.length===1?Kt(n[0]):Pg(a)(vr(n,t)):fg}function ma(e,t){return Bt((a,n)=>{let r=0;a.subscribe(Rt(n,i=>e.call(t,i,r++)&&n.next(i)))})}function iq(e){return Bt((t,a)=>{let n=!1,r=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let u=r;r=null,a.next(u)}o&&a.complete()},c=()=>{i=null,o&&a.complete()};t.subscribe(Rt(a,u=>{n=!0,r=u,i||Kt(e(u)).subscribe(i=Rt(a,l,c))},()=>{o=!0,(!n||!i||i.closed)&&a.complete()}))})}function Fg(e,t=vd){return iq(()=>rq(e,t))}function _d(e){return Bt((t,a)=>{let n=null,r=!1,i;n=t.subscribe(Rt(a,void 0,void 0,o=>{i=Kt(e(o,_d(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(a)):r=!0})),r&&(n.unsubscribe(),n=null,i.subscribe(a))})}function jg(e,t){return Ze(t)?$i(e,t,1):$i(e,1)}function oq(e,t=vd){return Bt((a,n)=>{let r=null,i=null,o=null,l=()=>{if(r){r.unsubscribe(),r=null;let u=i;i=null,n.next(u)}};function c(){let u=o+e,d=t.now();if(d<u){r=this.schedule(void 0,u-d),n.add(r);return}l()}a.subscribe(Rt(n,u=>{i=u,o=t.now(),r||(r=t.schedule(c,e),n.add(r))},()=>{l(),n.complete()},void 0,()=>{i=r=null}))})}function on(e){return e<=0?()=>fg:Bt((t,a)=>{let n=0;t.subscribe(Rt(a,r=>{++n<=e&&(a.next(r),e<=n&&a.complete())}))})}function sq(e,t=oi){return e=e??lq,Bt((a,n)=>{let r,i=!0;a.subscribe(Rt(n,o=>{let l=t(o);(i||!e(r,l))&&(i=!1,r=l,n.next(o))}))})}function lq(e,t){return e===t}function Vg(e){return Bt((t,a)=>{try{t.subscribe(a)}finally{a.add(e)}})}function Bg(e={}){let{connector:t=()=>new xe,resetOnError:a=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=e;return i=>{let o,l,c,u=0,d=!1,m=!1,b=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{b(),o=c=void 0,d=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Bt((x,S)=>{u++,!m&&!d&&b();let T=c=c??t();S.add(()=>{u--,u===0&&!m&&!d&&(l=Jl(w,r))}),T.subscribe(S),!o&&u>0&&(o=new qi({next:A=>T.next(A),error:A=>{m=!0,b(),l=Jl(g,a,A),T.error(A)},complete:()=>{d=!0,b(),l=Jl(g,n),T.complete()}}),Kt(x).subscribe(o))})(i)}}function Jl(e,t,...a){if(t===!0){e();return}if(t===!1)return;let n=new qi({next:()=>{n.unsubscribe(),e()}});return Kt(t(...a)).subscribe(n)}function bp(e,t,a){let n;return n=e,Bg({connector:()=>new pg(n,t,a),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function zg(e){return ma((t,a)=>e<=a)}function wd(...e){let t=po(e);return Bt((a,n)=>{(t?Gi(e,a,t):Gi(e,a)).subscribe(n)})}function Vs(e,t){return Bt((a,n)=>{let r=null,i=0,o=!1,l=()=>o&&!r&&n.complete();a.subscribe(Rt(n,c=>{r==null||r.unsubscribe();let u=0,d=i++;Kt(e(c,d)).subscribe(r=Rt(n,m=>n.next(t?t(c,m,d,u++):m),()=>{r=null,l()}))},()=>{o=!0,l()}))})}function mo(e){return Bt((t,a)=>{Kt(e).subscribe(Rt(a,()=>a.complete(),Ju)),!a.closed&&t.subscribe(a)})}function eu(e,t,a){let n=Ze(e)||t||a?{next:e,error:t,complete:a}:e;return n?Bt((r,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;r.subscribe(Rt(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;l=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;l=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;l&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):oi}var Hg="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",G=class extends Error{constructor(t,a){super(qg(t,a));s(this,"code");this.code=t}};function uq(e){return`NG0${Math.abs(e)}`}function qg(e,t){return`${uq(e)}${t?": "+t:""}`}var $g=Symbol("InputSignalNode#UNSET"),cq=Gt(se({},oH),{transformFn:void 0,applyValueToInputSignal(e,t){dd(e,t)}});function Gg(e,t){let a=Object.create(cq);a.value=e,a.transformFn=t==null?void 0:t.transform;function n(){if(ud(a),a.value===$g){let r=null;throw new G(-950,r)}return a.value}return n[ur]=a,n}function fo(e){return{toString:e}.toString()}var Yo="__parameters__";function dq(e){return function(...t){}}function Ug(e,t,a){return fo(()=>{let n=dq();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(c,u,d){let m=c.hasOwnProperty(Yo)?c[Yo]:Object.defineProperty(c,Yo,{value:[]})[Yo];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(o),c}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var Rr=globalThis;function Ye(e){for(let t in e)if(e[t]===Ye)return t;throw Error("Could not find renamed property on target object.")}function hq(e,t){for(let a in t)t.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=t[a])}function bn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(bn).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 nc(e,t){return e?t?`${e} ${t}`:e:t||""}var pq=Ye({__forward_ref__:Ye});function Wg(e){return e.__forward_ref__=Wg,e.toString=function(){return bn(this())},e}function Ot(e){return Zg(e)?e():e}function Zg(e){return typeof e=="function"&&e.hasOwnProperty(pq)&&e.__forward_ref__===Wg}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xt(e){return{providers:e.providers||[],imports:e.imports||[]}}function xd(e){return yp(e,Yg)||yp(e,Kg)}function yp(e,t){return e.hasOwnProperty(t)?e[t]:null}function mq(e){return e&&(e[Yg]||e[Kg])||null}function _p(e){return e&&(e.hasOwnProperty(wp)||e.hasOwnProperty(fq))?e[wp]:null}var Yg=Ye({ɵprov:Ye}),wp=Ye({ɵinj:Ye}),Kg=Ye({ngInjectableDef:Ye}),fq=Ye({ngInjectorDef:Ye}),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=B({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xg(e){return e&&!!e.ɵproviders}var gq=Ye({ɵcmp:Ye}),vq=Ye({ɵdir:Ye}),bq=Ye({ɵpipe:Ye}),Bs=Ye({ɵfac:Ye}),Fi=Ye({__NG_ELEMENT_ID__:Ye}),xp=Ye({__NG_ENV_ID__:Ye});function Wr(e){return typeof e=="string"?e:e==null?"":String(e)}function yq(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Wr(e)}function Qg(e,t){throw new G(-200,e)}function Ed(e,t){throw new G(-201,!1)}var Se=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}(Se||{}),ac;function Jg(){return ac}function Wt(e){let t=ac;return ac=e,t}function ev(e,t,a){let n=xd(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(a&Se.Optional)return null;if(t!==void 0)return t;Ed()}var _q={},lr=_q,rc="__NG_DI_FLAG__",tv=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let a=t;return this.injector.get(e,a.optional?ug:lr,a)}},zs="ngTempTokenPath",wq="ngTokenPath",xq=/\n/gm,Eq="ɵ",Ep="__source";function Sq(e,t=Se.Default){if(ys()===void 0)throw new G(-203,!1);if(ys()===null)return ev(e,void 0,t);{let a=ys(),n;return a instanceof tv?n=a.injector:n=a,n.get(e,t&Se.Optional?null:void 0,t)}}function ee(e,t=Se.Default){return(Jg()||Sq)(Ot(e),t)}function C(e,t=Se.Default){return ee(e,Cl(t))}function Cl(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ic(e){let t=[];for(let a=0;a<e.length;a++){let n=Ot(e[a]);if(Array.isArray(n)){if(n.length===0)throw new G(900,!1);let r,i=Se.Default;for(let o=0;o<n.length;o++){let l=n[o],c=kq(l);typeof c=="number"?c===-1?r=l.token:i|=c:r=l}t.push(ee(r,i))}else t.push(ee(n))}return t}function nv(e,t){return e[rc]=t,e.prototype[rc]=t,e}function kq(e){return e[rc]}function Cq(e,t,a,n){let r=e[zs];throw t[Ep]&&r.unshift(t[Ep]),e.message=Iq(`
|
|
16
|
+
`+e.message,r,a,n),e[wq]=r,e[zs]=null,e}function Iq(e,t,a,n=null){e=e&&e.charAt(0)===`
|
|
17
|
+
`&&e.charAt(1)==Eq?e.slice(2):e;let r=bn(t);if(Array.isArray(t))r=t.map(bn).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):bn(l)))}r=`{${i.join(", ")}}`}return`${a}${n?"("+n+")":""}[${r}]: ${e.replace(xq,`
|
|
18
|
+
`)}`}var Dq=nv(Ug("Optional"),8),Tq=nv(Ug("SkipSelf"),4);function cr(e,t){return e.hasOwnProperty(Bs)?e[Bs]:null}function Nq(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 Oq(e){return e.flat(Number.POSITIVE_INFINITY)}function Sd(e,t){e.forEach(a=>Array.isArray(a)?Sd(a,t):t(a))}function av(e,t,a){t>=e.length?e.push(a):e.splice(t,0,a)}function Hs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Mq(e,t){let a=[];for(let n=0;n<e;n++)a.push(t);return a}function Rq(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 kd(e,t,a){let n=go(e,t);return n>=0?e[n|1]=a:(n=~n,Rq(e,n,t,a)),n}function tu(e,t){let a=go(e,t);if(a>=0)return e[a|1]}function go(e,t){return Aq(e,t,1)}function Aq(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 Yn={},Zt=[],qs=new K(""),rv=new K("",-1),iv=new K(""),ov=class{get(e,t=lr){if(t===lr){let a=new Error(`NullInjectorError: No provider for ${bn(e)}!`);throw a.name="NullInjectorError",a}return t}};function Zr(e){return e[gq]||null}function sv(e){return e[vq]||null}function Pq(e){return e[bq]||null}function Cd(e){return{ɵproviders:e}}function Lq(...e){return{ɵproviders:lv(!0,e),ɵfromNgModule:!0}}function lv(e,...t){let a=[],n=new Set,r,i=o=>{a.push(o)};return Sd(t,o=>{let l=o;oc(l,i,[],n)&&(r||(r=[]),r.push(l))}),r!==void 0&&uv(r,i),a}function uv(e,t){for(let a=0;a<e.length;a++){let{ngModule:n,providers:r}=e[a];Id(r,i=>{t(i,n)})}}function oc(e,t,a,n){if(e=Ot(e),!e)return!1;let r=null,i=_p(e),o=!i&&Zr(e);if(!i&&!o){let c=e.ngModule;if(i=_p(c),i)r=c;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 c=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of c)oc(u,t,a,n)}}else if(i){if(i.imports!=null&&!l){n.add(r);let u;try{Sd(i.imports,d=>{oc(d,t,a,n)&&(u||(u=[]),u.push(d))})}finally{}u!==void 0&&uv(u,t)}if(!l){let u=cr(r)||(()=>new r);t({provide:r,useFactory:u,deps:Zt},r),t({provide:iv,useValue:r,multi:!0},r),t({provide:qs,useValue:()=>ee(r),multi:!0},r)}let c=i.providers;if(c!=null&&!l){let u=e;Id(c,d=>{t(d,u)})}}else return!1;return r!==e&&e.providers!==void 0}function Id(e,t){for(let a of e)Xg(a)&&(a=a.ɵproviders),Array.isArray(a)?Id(a,t):t(a)}var Fq=Ye({provide:String,useValue:Ye});function cv(e){return e!==null&&typeof e=="object"&&Fq in e}function jq(e){return!!(e&&e.useExisting)}function Vq(e){return!!(e&&e.useFactory)}function Yr(e){return typeof e=="function"}function Bq(e){return!!e.useClass}var Dd=new K(""),ws={},Sp={},nu;function Il(){return nu===void 0&&(nu=new ov),nu}var Kn=class{},Td=class extends Kn{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,lc(t,o=>this.processProvider(o)),this.records.set(rv,Ar(void 0,this)),r.has("environment")&&this.records.set(Kn,Ar(void 0,this));let i=this.records.get(Dd);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(iv,Zt,Se.Self))}get destroyed(){return this._destroyed}retrieve(t,a){let n=a;return this.get(t,n.optional?ug:lr,n)}destroy(){Ni(this),this._destroyed=!0;let t=we(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(),we(t)}}onDestroy(t){return Ni(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ni(this);let a=Oa(this),n=Wt(void 0);try{return t()}finally{Oa(a),Wt(n)}}get(t,a=lr,n=Se.Default){if(Ni(this),t.hasOwnProperty(xp))return t[xp](this);n=Cl(n);let r=Oa(this),i=Wt(void 0);try{if(!(n&Se.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Gq(t)&&xd(t);c&&this.injectableDefInScope(c)?l=Ar(sc(t),ws):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Se.Self?Il():this.parent;return a=n&Se.Optional&&a===lr?null:a,o.get(t,a)}catch(o){if(o.name==="NullInjectorError"){if((o[zs]=o[zs]||[]).unshift(bn(t)),r)throw o;return Cq(o,t,"R3InjectorError",this.source)}else throw o}finally{Wt(i),Oa(r)}}resolveInjectorInitializers(){let t=we(null),a=Oa(this),n=Wt(void 0);try{let r=this.get(qs,Zt,Se.Self);for(let i of r)i()}finally{Oa(a),Wt(n),we(t)}}toString(){let t=[],a=this.records;for(let n of a.keys())t.push(bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Ot(t);let a=Yr(t)?t:Ot(t&&t.provide),n=Hq(t);if(!Yr(t)&&t.multi===!0){let r=this.records.get(a);r||(r=Ar(void 0,ws,!0),r.factory=()=>ic(r.multi),this.records.set(a,r)),a=t,r.multi.push(t)}this.records.set(a,n)}hydrate(t,a,n){let r=we(null);try{return a.value===Sp?Qg(bn(t)):a.value===ws&&(a.value=Sp,a.value=a.factory(void 0,n)),typeof a.value=="object"&&a.value&&$q(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{we(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let a=Ot(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 sc(e){let t=xd(e),a=t!==null?t.factory:cr(e);if(a!==null)return a;if(e instanceof K)throw new G(204,!1);if(e instanceof Function)return zq(e);throw new G(204,!1)}function zq(e){if(e.length>0)throw new G(204,!1);let t=mq(e);return t!==null?()=>t.factory(e):()=>new e}function Hq(e){if(cv(e))return Ar(void 0,e.useValue);{let t=dv(e);return Ar(t,ws)}}function dv(e,t,a){let n;if(Yr(e)){let r=Ot(e);return cr(r)||sc(r)}else if(cv(e))n=()=>Ot(e.useValue);else if(Vq(e))n=()=>e.useFactory(...ic(e.deps||[]));else if(jq(e))n=(r,i)=>ee(Ot(e.useExisting),i!==void 0&&i&Se.Optional?Se.Optional:void 0);else{let r=Ot(e&&(e.useClass||e.provide));if(qq(e))n=()=>new r(...ic(e.deps));else return cr(r)||sc(r)}return n}function Ni(e){if(e.destroyed)throw new G(205,!1)}function Ar(e,t,a=!1){return{factory:e,value:t,multi:a?[]:void 0}}function qq(e){return!!e.deps}function $q(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Gq(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function lc(e,t){for(let a of e)Array.isArray(a)?lc(a,t):a&&Xg(a)?lc(a.ɵproviders,t):t(a)}function Nd(e,t){let a;e instanceof Td?(Ni(e),a=e):a=new tv(e);let n=Oa(a),r=Wt(void 0);try{return t()}finally{Oa(n),Wt(r)}}function hv(){return Jg()!==void 0||ys()!=null}function Od(e){if(!hv())throw new G(-203,!1)}function Uq(e){return typeof e=="function"}var Ea=0,he=1,ce=2,Vt=3,On=4,Qt=5,Kr=6,zr=7,It=8,Xr=9,xa=10,vt=11,Ui=12,kp=13,si=14,_n=15,dr=16,Pr=17,Mn=18,Dl=19,pv=20,Va=21,au=22,$s=23,yn=24,Ba=25,St=26,mv=1,hr=7,Gs=8,Qr=9,jt=10;function za(e){return Array.isArray(e)&&typeof e[mv]=="object"}function Sa(e){return Array.isArray(e)&&e[mv]===!0}function fv(e){return(e.flags&4)!==0}function li(e){return e.componentOffset>-1}function Md(e){return(e.flags&1)===1}function Xn(e){return!!e.template}function Us(e){return(e[ce]&512)!==0}function ui(e){return(e[ce]&256)===256}var Wq=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 gv(e,t,a,n){t!==null?t.applyValueToInputSignal(t,n):e[a]=n}var vv=(()=>{let e=()=>bv;return e.ngInherit=!0,e})();function bv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Yq),Zq}function Zq(){let e=_v(this),t=e==null?void 0:e.current;if(t){let a=e.previous;if(a===Yn)e.previous=t;else for(let n in t)a[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Yq(e,t,a,n,r){let i=this.declaredInputs[n],o=_v(e)||Kq(e,{previous:Yn,current:null}),l=o.current||(o.current={}),c=o.previous,u=c[i];l[i]=new Wq(u&&u.currentValue,a,c===Yn),gv(e,t,r,a)}var yv="__ngSimpleChanges__";function _v(e){return e[yv]||null}function Kq(e,t){return e[yv]=t}var pr=function(e,t=null,a){},Xq="svg",Qq="math";function Qn(e){for(;Array.isArray(e);)e=e[Ea];return e}function wv(e,t){return Qn(t[e])}function ea(e,t){return Qn(t[e.index])}function Rd(e,t){return e.data[t]}function Ad(e,t){return e[t]}function Pd(e,t,a,n){a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=n}function Jn(e,t){let a=t[e];return za(a)?a:a[Ea]}function Jq(e){return(e[ce]&4)===4}function Ld(e){return(e[ce]&128)===128}function e$(e){return Sa(e[Vt])}function Wi(e,t){return t==null?null:e[t]}function xv(e){e[Pr]=0}function Fd(e){e[ce]&1024||(e[ce]|=1024,Ld(e)&&bo(e))}function t$(e,t){for(;e>0;)t=t[si],e--;return t}function vo(e){var t;return!!(e[ce]&9216||(t=e[yn])!=null&&t.dirty)}function uc(e){var t;(t=e[xa].changeDetectionScheduler)==null||t.notify(8),e[ce]&64&&(e[ce]|=1024),vo(e)&&bo(e)}function bo(e){var a;(a=e[xa].changeDetectionScheduler)==null||a.notify(0);let t=mr(e);for(;t!==null&&!(t[ce]&8192||(t[ce]|=8192,!Ld(t)));)t=mr(t)}function Ev(e,t){if(ui(e))throw new G(911,!1);e[Va]===null&&(e[Va]=[]),e[Va].push(t)}function n$(e,t){if(e[Va]===null)return;let a=e[Va].indexOf(t);a!==-1&&e[Va].splice(a,1)}function mr(e){let t=e[Vt];return Sa(t)?t[Vt]:t}function jd(e){return e[zr]??(e[zr]=[])}function Vd(e){return e.cleanup??(e.cleanup=[])}function a$(e,t,a,n){let r=jd(t);r.push(a),e.firstCreatePass&&Vd(e).push(n,r.length-1)}var be={lFrame:Mv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},cc=!1;function r$(){return be.lFrame.elementDepthCount}function i$(){be.lFrame.elementDepthCount++}function o$(){be.lFrame.elementDepthCount--}function s$(){return be.bindingsEnabled}function Sv(){return be.skipHydrationRootTNode!==null}function l$(e){return be.skipHydrationRootTNode===e}function u$(){be.skipHydrationRootTNode=null}function pe(){return be.lFrame.lView}function yt(){return be.lFrame.tView}function ya(e){return be.lFrame.contextLView=e,e[It]}function _a(e){return be.lFrame.contextLView=null,e}function dn(){let e=kv();for(;e!==null&&e.type===64;)e=e.parent;return e}function kv(){return be.lFrame.currentTNode}function c$(){let e=be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ci(e,t){let a=be.lFrame;a.currentTNode=e,a.isParent=t}function Cv(){return be.lFrame.isParent}function Iv(){be.lFrame.isParent=!1}function d$(){return be.lFrame.contextLView}function Dv(){return cc}function Cp(e){let t=cc;return cc=e,t}function yo(){let e=be.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function h$(){return be.lFrame.bindingIndex}function p$(e){return be.lFrame.bindingIndex=e}function di(){return be.lFrame.bindingIndex++}function Bd(e){let t=be.lFrame,a=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,a}function m$(){return be.lFrame.inI18n}function f$(e,t){let a=be.lFrame;a.bindingIndex=a.bindingRootIndex=e,dc(t)}function g$(){return be.lFrame.currentDirectiveIndex}function dc(e){be.lFrame.currentDirectiveIndex=e}function v$(e){let t=be.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Tv(){return be.lFrame.currentQueryIndex}function zd(e){be.lFrame.currentQueryIndex=e}function b$(e){let t=e[he];return t.type===2?t.declTNode:t.type===1?e[Qt]:null}function Nv(e,t,a){if(a&Se.SkipSelf){let r=t,i=e;for(;(r=r.parent,r===null&&!(a&Se.Host))&&(r=b$(i),!(r===null||(i=i[si],r.type&10))););if(r===null)return!1;t=r,e=i}let n=be.lFrame=Ov();return n.currentTNode=t,n.lView=e,!0}function Hd(e){let t=Ov(),a=e[he];be.lFrame=t,t.currentTNode=a.firstChild,t.lView=e,t.tView=a,t.contextLView=e,t.bindingIndex=a.bindingStartIndex,t.inI18n=!1}function Ov(){let e=be.lFrame,t=e===null?null:e.child;return t===null?Mv(e):t}function Mv(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 Rv(){let e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Av=Rv;function qd(){let e=Rv();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 y$(e){return(be.lFrame.contextLView=t$(e,be.lFrame.contextLView))[It]}function ta(){return be.lFrame.selectedIndex}function fr(e){be.lFrame.selectedIndex=e}function $d(){let e=be.lFrame;return Rd(e.tView,e.selectedIndex)}function _$(){return be.lFrame.currentNamespace}var Pv=!0;function Gd(){return Pv}function Ud(e){Pv=e}function w$(e,t,a){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(n){let o=bv(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 Lv(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:c,ngOnDestroy:u}=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),c&&((e.viewHooks??(e.viewHooks=[])).push(a,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(a,c)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(a,u)}}function xs(e,t,a){Fv(e,t,3,a)}function Es(e,t,a,n){(e[ce]&3)===a&&Fv(e,t,a,n)}function ru(e,t){let a=e[ce];(a&3)===t&&(a&=16383,a+=1,e[ce]=a)}function Fv(e,t,a,n){let r=n!==void 0?e[Pr]&65535:0,i=n??-1,o=t.length-1,l=0;for(let c=r;c<o;c++)if(typeof t[c+1]=="number"){if(l=t[c],n!=null&&l>=n)break}else t[c]<0&&(e[Pr]+=65536),(l<i||i==-1)&&(x$(e,a,t,c),e[Pr]=(e[Pr]&4294901760)+c+2),c++}function Ip(e,t){let a=we(null);try{t.call(e)}finally{we(a)}}function x$(e,t,a,n){let r=a[n]<0,i=a[n+1],o=r?-a[n]:a[n],l=e[o];r?e[ce]>>14<e[Pr]>>16&&(e[ce]&3)===t&&(e[ce]+=16384,Ip(l,i)):Ip(l,i)}var Hr=-1,_o=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 E$(e){return(e.flags&8)!==0}function S$(e){return(e.flags&16)!==0}function k$(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];C$(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function jv(e){return e===3||e===4||e===6}function C$(e){return e.charCodeAt(0)===64}function Zi(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?Dp(e,a,r,null,t[++n]):Dp(e,a,r,null,null))}}return e}function Dp(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 Vv(e){return e!==Hr}function Ws(e){return e&32767}function I$(e){return e>>16}function Zs(e,t){let a=I$(e),n=t;for(;a>0;)n=n[si],a--;return n}var hc=!0;function Ys(e){let t=hc;return hc=e,t}var D$=256,Bv=D$-1,zv=5,T$=0,Wn={};function N$(e,t,a){let n;typeof a=="string"?n=a.charCodeAt(0)||0:a.hasOwnProperty(Fi)&&(n=a[Fi]),n==null&&(n=a[Fi]=T$++);let r=n&Bv,i=1<<r;t.data[e+(r>>zv)]|=i}function Ks(e,t){let a=Hv(e,t);if(a!==-1)return a;let n=t[he];n.firstCreatePass&&(e.injectorIndex=t.length,iu(n.data,e),iu(t,null),iu(n.blueprint,null));let r=Wd(e,t),i=e.injectorIndex;if(Vv(r)){let o=Ws(r),l=Zs(r,t),c=l[he].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|c[o+u]}return t[i+8]=r,i}function iu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hv(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Wd(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=Wv(r),n===null)return Hr;if(a++,r=r[si],n.injectorIndex!==-1)return n.injectorIndex|a<<16}return Hr}function pc(e,t,a){N$(e,t,a)}function O$(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(jv(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 qv(e,t,a){if(a&Se.Optional||e!==void 0)return e;Ed()}function $v(e,t,a,n){if(a&Se.Optional&&n===void 0&&(n=null),(a&(Se.Self|Se.Host))===0){let r=e[Xr],i=Wt(void 0);try{return r?r.get(t,n,a&Se.Optional):ev(t,n,a&Se.Optional)}finally{Wt(i)}}return qv(n,t,a)}function Gv(e,t,a,n=Se.Default,r){if(e!==null){if(t[ce]&2048&&!(n&Se.Self)){let o=P$(e,t,a,n,Wn);if(o!==Wn)return o}let i=Uv(e,t,a,n,Wn);if(i!==Wn)return i}return $v(t,a,n,r)}function Uv(e,t,a,n,r){let i=R$(a);if(typeof i=="function"){if(!Nv(t,e,n))return n&Se.Host?qv(r,a,n):$v(t,a,n,r);try{let o;if(o=i(n),o==null&&!(n&Se.Optional))Ed(a);else return o}finally{Av()}}else if(typeof i=="number"){let o=null,l=Hv(e,t),c=Hr,u=n&Se.Host?t[_n][Qt]:null;for((l===-1||n&Se.SkipSelf)&&(c=l===-1?Wd(e,t):t[l+8],c===Hr||!Np(n,!1)?l=-1:(o=t[he],l=Ws(c),t=Zs(c,t)));l!==-1;){let d=t[he];if(Tp(i,l,d.data)){let m=M$(l,t,a,o,n,u);if(m!==Wn)return m}c=t[l+8],c!==Hr&&Np(n,t[he].data[l+8]===u)&&Tp(i,l,t)?(o=d,l=Ws(c),t=Zs(c,t)):l=-1}}return r}function M$(e,t,a,n,r,i){let o=t[he],l=o.data[e+8],c=n==null?li(l)&&hc:n!=o&&(l.type&3)!==0,u=r&Se.Host&&i===l,d=Ss(l,o,a,c,u);return d!==null?Yi(t,o,d,l,r):Wn}function Ss(e,t,a,n,r){let i=e.providerIndexes,o=t.data,l=i&1048575,c=e.directiveStart,u=e.directiveEnd,d=i>>20,m=n?l:l+d,b=r?l+d:u;for(let g=m;g<b;g++){let w=o[g];if(g<c&&a===w||g>=c&&w.type===a)return g}if(r){let g=o[c];if(g&&Xn(g)&&g.type===a)return c}return null}function Yi(e,t,a,n,r){let i=e[a],o=t.data;if(i instanceof _o){let l=i;l.resolving&&Qg(yq(o[a]));let c=Ys(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?Wt(l.injectImpl):null;Nv(e,n,Se.Default);try{i=e[a]=l.factory(void 0,r,o,e,n),t.firstCreatePass&&a>=n.directiveStart&&w$(a,o[a],t)}finally{u!==null&&Wt(u),Ys(c),l.resolving=!1,Av()}}return i}function R$(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Fi)?e[Fi]:void 0;return typeof t=="number"?t>=0?t&Bv:A$:t}function Tp(e,t,a){let n=1<<e;return!!(a[t+(e>>zv)]&n)}function Np(e,t){return!(e&Se.Self)&&!(e&Se.Host&&t)}var ji=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,a){return Gv(this._tNode,this._lView,e,Cl(a),t)}};function A$(){return new ji(dn(),pe())}function Jt(e){return fo(()=>{let t=e.prototype.constructor,a=t[Bs]||mc(t),n=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==n;){let i=r[Bs]||mc(r);if(i&&i!==a)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function mc(e){return Zg(e)?()=>{let t=mc(Ot(e));return t&&t()}:cr(e)}function P$(e,t,a,n,r){let i=e,o=t;for(;i!==null&&o!==null&&o[ce]&2048&&!Us(o);){let l=Uv(i,o,a,n|Se.Self,Wn);if(l!==Wn)return l;let c=i.parent;if(!c){let u=o[pv];if(u){let d=u.get(a,Wn,n);if(d!==Wn)return d}c=Wv(o),o=o[si]}i=c}return r}function Wv(e){let t=e[he],a=t.type;return a===2?t.declTNode:a===1?e[Qt]:null}function L$(e){return O$(dn(),e)}function Op(e,t=null,a=null,n){let r=F$(e,t,a,n);return r.resolveInjectorInitializers(),r}function F$(e,t=null,a=null,n,r=new Set){let i=[a||Zt,Lq(e)];return n=n||(typeof e=="object"?void 0:bn(e)),new Td(i,t||Il(),n||null,r)}var Hn,rt=(Hn=class{static create(t,a){if(Array.isArray(t))return Op({name:""},a,t,"");{let n=t.name??"";return Op({name:n},t.parent,t.providers,n)}}},s(Hn,"THROW_IF_NOT_FOUND",lr),s(Hn,"NULL",new ov),s(Hn,"ɵprov",B({token:Hn,providedIn:"any",factory:()=>ee(rv)})),s(Hn,"__NG_ELEMENT_ID__",-1),Hn),j$=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>L$(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},V$=new K("");V$.__NG_ELEMENT_ID__=e=>{let t=dn();if(t===null)throw new G(204,!1);if(t.type&2)return t.value;if(e&Se.Optional)return null;throw new G(204,!1)};var Zv=!1,br=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",z$),s(e,"__NG_ENV_ID__",a=>a),e})(),B$=class extends br{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let a=this._lView;return ui(a)?(t(),()=>{}):(Ev(a,t),()=>n$(a,t))}};function z$(){return new B$(pe())}var wo=class{},Yv=new K("",{providedIn:"root",factory:()=>!1}),Kv=new K(""),Xv=new K(""),xo=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new fd(!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",B({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),H$=class extends xe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,hv()&&(this.destroyRef=C(br,{optional:!0})??void 0,this.pendingTasks=C(xo,{optional:!0})??void 0)}emit(t){let a=we(null);try{super.next(t)}finally{we(a)}}subscribe(t,a,n){var c,u,d;let r=t,i=a||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;r=(c=m.next)==null?void 0:c.bind(m),i=(u=m.error)==null?void 0:u.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 sn&&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))}})}}},Ft=H$;function Xs(...e){}function Qv(e){let t,a;function n(){e=Xs;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 Mp(e){return queueMicrotask(()=>e()),()=>{e=Xs}}var Zd="isAngularZone",Qs=Zd+"_ID",q$=0,je=class fc{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft(!1));s(this,"onMicrotaskEmpty",new Ft(!1));s(this,"onStable",new Ft(!1));s(this,"onError",new Ft(!1));let{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=Zv}=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,U$(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Zd)===!0}static assertInAngularZone(){if(!fc.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(fc.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,$$,Xs,Xs);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)}},$$={};function Yd(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 G$(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Qv(()=>{e.callbackScheduled=!1,gc(e),e.isCheckStableRunning=!0,Yd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),gc(e)}function U$(e){let t=()=>{G$(e)},a=q$++;e._inner=e._inner.fork({name:"angular",properties:{[Zd]:!0,[Qs]:a,[Qs+a]:!0},onInvokeTask:(n,r,i,o,l,c)=>{if(Z$(c))return n.invokeTask(i,o,l,c);try{return Rp(e),n.invokeTask(i,o,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ap(e)}},onInvoke:(n,r,i,o,l,c,u)=>{try{return Rp(e),n.invoke(i,o,l,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Y$(c)&&t(),Ap(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,gc(e),Yd(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 gc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Rp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ap(e){e._nesting--,Yd(e)}var W$=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft);s(this,"onMicrotaskEmpty",new Ft);s(this,"onStable",new Ft);s(this,"onError",new Ft)}run(e,t,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 Z$(e){return Jv(e,"__ignore_ng_zone__")}function Y$(e){return Jv(e,"__scheduler_tick__")}function Jv(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 An=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},K$=new K("",{providedIn:"root",factory:()=>{let e=C(je),t=C(An);return a=>e.runOutsideAngular(()=>t.handleError(a))}}),X$=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(An,{optional:!0}));s(this,"destroyRef",C(br));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(qg(953,!1));return}if(this.listeners===null)return;let t=we(null);try{for(let n of this.listeners)try{n(e)}catch(r){(a=this.errorHandler)==null||a.handleError(r)}}finally{we(t)}}};function Pp(e){return new X$}function Lp(e,t){return Gg(e,t)}function Q$(e){return Gg($g,e)}var Qe=(Lp.required=Q$,Lp);function J$(){return hi(dn(),pe())}function hi(e,t){return new At(ea(e,t))}var At=(()=>{class e{constructor(a){s(this,"nativeElement");this.nativeElement=a}}return s(e,"__NG_ELEMENT_ID__",J$),e})();function eG(e){return e instanceof At?e.nativeElement:e}function tG(){let e=this[ur];if(e.readonlyFn===void 0){let t=()=>this();t[ur]=e,e.readonlyFn=t}return e.readonlyFn}function nG(){return this._results[Symbol.iterator]()}var qf,aG=(qf=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,qf,nG);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new xe)}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=Oq(e);(this._changesDetected=!Nq(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 e0(e){return(e.flags&128)===128}var t0=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(t0||{}),n0=new Map,rG=0;function iG(){return rG++}function oG(e){n0.set(e[Dl],e)}function vc(e){n0.delete(e[Dl])}var Fp="__ngContext__";function Eo(e,t){za(t)?(e[Fp]=t[Dl],oG(t)):e[Fp]=t}function a0(e){return i0(e[Ui])}function r0(e){return i0(e[On])}function i0(e){for(;e!==null&&!Sa(e);)e=e[On];return e}var bc;function sG(e){bc=e}function lG(){if(bc!==void 0)return bc;if(typeof document<"u")return document;throw new G(210,!1)}var Kd=new K("",{providedIn:"root",factory:()=>uG}),uG="ng",o0=new K(""),Tl=new K("",{providedIn:"platform",factory:()=>"unknown"}),pi=new K(""),Xd=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=lG().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),s0=!1,cG=new K("",{providedIn:"root",factory:()=>s0}),Qd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Qd||{}),So=new K(""),jp=new Set;function yr(e){var t;jp.has(e)||(jp.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var l0=(()=>{class e{constructor(a,n){s(this,"view");s(this,"node");this.view=a,this.node=n}}return s(e,"__NG_ELEMENT_ID__",dG),e})();function dG(){return new l0(pe(),dn())}var Lr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Lr||{}),u0=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",B({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),hG=[Lr.EarlyRead,Lr.Write,Lr.MixedReadWrite,Lr.Read],pG=(()=>{const t=class t{constructor(){s(this,"ngZone",C(je));s(this,"scheduler",C(wo));s(this,"errorHandler",C(An,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(So,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let r of hG)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[Ba]??(r[Ba]=[])).push(n),bo(r),r[ce]|=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(Qd.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",B({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),mG=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[Ba];e&&(this.view[Ba]=e.filter(n=>n!==this))}};function c0(e,t){!(t!=null&&t.injector)&&Od();let a=(t==null?void 0:t.injector)??C(rt);return yr("NgAfterRender"),d0(e,a,t,!1)}function Jd(e,t){!(t!=null&&t.injector)&&Od();let a=(t==null?void 0:t.injector)??C(rt);return yr("NgAfterNextRender"),d0(e,a,t,!0)}function fG(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 d0(e,t,a,n){let r=t.get(u0);r.impl??(r.impl=t.get(pG));let i=t.get(So,null,{optional:!0}),o=(a==null?void 0:a.phase)??Lr.MixedReadWrite,l=(a==null?void 0:a.manualCleanup)!==!0?t.get(br):null,c=t.get(l0,null,{optional:!0}),u=new mG(r.impl,fG(e,o),c==null?void 0:c.view,n,l,i==null?void 0:i.snapshot(null));return r.impl.register(u),u}var gG=()=>null;function h0(e,t,a=!1){return gG()}function p0(e,t){let a=e.contentQueries;if(a!==null){let n=we(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];zd(i),l.contentQueries(2,t[o],o)}}}finally{we(n)}}}function yc(e,t,a){zd(0);let n=we(null);try{t(e,a)}finally{we(n)}}function m0(e,t,a){if(fv(t)){let n=we(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 c=a[o];l.contentQueries(1,c,o)}}}finally{we(n)}}}var fa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(fa||{}),Ko;function vG(){if(Ko===void 0&&(Ko=null,Rr.trustedTypes))try{Ko=Rr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ko}function Nl(e){var t;return((t=vG())==null?void 0:t.createHTML(e))||e}var _r=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Hg})`}},bG=class extends _r{getTypeName(){return"HTML"}},yG=class extends _r{getTypeName(){return"Style"}},_G=class extends _r{getTypeName(){return"Script"}},wG=class extends _r{getTypeName(){return"URL"}},xG=class extends _r{getTypeName(){return"ResourceURL"}};function Ma(e){return e instanceof _r?e.changingThisBreaksApplicationSecurity:e}function Tr(e,t){let a=EG(e);if(a!=null&&a!==t){if(a==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${a} (see ${Hg})`)}return a===t}function EG(e){return e instanceof _r&&e.getTypeName()||null}function SG(e){return new bG(e)}function kG(e){return new yG(e)}function CG(e){return new _G(e)}function IG(e){return new wG(e)}function DG(e){return new xG(e)}function TG(e){let t=new OG(e);return MG()?new NG(t):t}var NG=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(Nl(e),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(e):((t=a.firstChild)==null||t.remove(),a)}catch{return null}}},OG=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=Nl(e),t}};function MG(){try{return!!new window.DOMParser().parseFromString(Nl(""),"text/html")}catch{return!1}}var RG=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function eh(e){return e=String(e),e.match(RG)?e:"unsafe:"+e}function ka(e){let t={};for(let a of e.split(","))t[a]=!0;return t}function ko(...e){let t={};for(let a of e)for(let n in a)a.hasOwnProperty(n)&&(t[n]=!0);return t}var f0=ka("area,br,col,hr,img,wbr"),g0=ka("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),v0=ka("rp,rt"),AG=ko(v0,g0),PG=ko(g0,ka("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")),LG=ko(v0,ka("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")),Vp=ko(f0,PG,LG,AG),b0=ka("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),FG=ka("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"),jG=ka("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"),VG=ko(b0,FG,jG),BG=ka("script,style,template"),zG=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=$G(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=qG(t);if(r){t=r;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Bp(e).toLowerCase();if(!Vp.hasOwnProperty(t))return this.sanitizedSomething=!0,!BG.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(!VG.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=r.value;b0[o]&&(l=eh(l)),this.buf.push(" ",i,'="',zp(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Bp(e).toLowerCase();Vp.hasOwnProperty(t)&&!f0.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(zp(e))}};function HG(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function qG(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw y0(t);return t}function $G(e){let t=e.firstChild;if(t&&HG(e,t))throw y0(t);return t}function Bp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function y0(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var GG=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,UG=/([^\#-~ |!])/g;function zp(e){return e.replace(/&/g,"&").replace(GG,function(t){let a=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((a-55296)*1024+(n-56320)+65536)+";"}).replace(UG,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Xo;function WG(e,t){let a=null;try{Xo=Xo||TG(e);let n=t?String(t):"";a=Xo.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=Xo.getInertBodyElement(n)}while(n!==i);let o=new zG().sanitizeChildren(Hp(a)||a);return Nl(o)}finally{if(a){let n=Hp(a)||a;for(;n.firstChild;)n.firstChild.remove()}}}function Hp(e){return"content"in e&&ZG(e)?e.content:null}function ZG(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var an=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}(an||{});function YG(e){let t=KG();return t?t.sanitize(an.URL,e)||"":Tr(e,"URL")?Ma(e):eh(Wr(e))}function KG(){let e=pe();return e&&e[xa].sanitizer}function XG(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 _0="ng-template";function QG(e,t,a,n){let r=0;if(n){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&XG(t[r+1].toLowerCase(),a,0)!==-1)return!0}else if(th(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 th(e){return e.type===4&&e.value!==_0}function JG(e,t,a){let n=e.type===4&&!a?_0:e.value;return t===n}function e6(e,t,a){let n=4,r=e.attrs,i=r!==null?a6(r):0,o=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!o&&!In(n)&&!In(c))return!1;if(o&&In(c))continue;o=!1,n=c|n&1;continue}if(!o)if(n&4){if(n=2|n&1,c!==""&&!JG(e,c,a)||c===""&&t.length===1){if(In(n))return!1;o=!0}}else if(n&8){if(r===null||!QG(e,r,c,a)){if(In(n))return!1;o=!0}}else{let u=t[++l],d=t6(c,r,th(e),a);if(d===-1){if(In(n))return!1;o=!0;continue}if(u!==""){let m;if(d>i?m="":m=r[d+1].toLowerCase(),n&2&&u!==m){if(In(n))return!1;o=!0}}}}return In(n)||o}function In(e){return(e&1)===0}function t6(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 r6(t,e)}function w0(e,t,a=!1){for(let n=0;n<t.length;n++)if(e6(e,t[n],a))return!0;return!1}function n6(e){let t=e.attrs;if(t!=null){let a=t.indexOf(5);if(!(a&1))return t[a+1]}return null}function a6(e){for(let t=0;t<e.length;t++){let a=e[t];if(jv(a))return t}return e.length}function r6(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 i6(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 qp(e,t){return e?":not("+t.trim()+")":t}function o6(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!==""&&!In(o)&&(t+=qp(i,r),r=""),n=o,i=i||!In(n);a++}return r!==""&&(t+=qp(i,r)),t}function s6(e){return e.map(o6).join(",")}function l6(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(!In(r))break;r=i}n++}return a.length&&t.push(1,...a),t}var hn={};function u6(e,t){return e.createText(t)}function c6(e,t,a){e.setValue(t,a)}function x0(e,t,a){return e.createElement(t,a)}function Js(e,t,a,n,r){e.insertBefore(t,a,n,r)}function E0(e,t,a){e.appendChild(t,a)}function $p(e,t,a,n,r){n!==null?Js(e,t,a,n,r):E0(e,t,a)}function d6(e,t,a){e.removeChild(null,t,a)}function h6(e,t,a){e.setAttribute(t,"style",a)}function p6(e,t,a){a===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",a)}function S0(e,t,a){let{mergedAttrs:n,classes:r,styles:i}=a;n!==null&&k$(e,t,n),r!==null&&p6(e,t,r),i!==null&&h6(e,t,i)}function nh(e,t,a,n,r,i,o,l,c,u,d){let m=St+n,b=m+r,g=m6(m,b),w=typeof u=="function"?u():u;return g[he]={type:e,blueprint:g,template:a,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:c,consts:w,incompleteFirstPass:!1,ssrId:d}}function m6(e,t){let a=[];for(let n=0;n<t;n++)a.push(n<e?null:hn);return a}function f6(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=nh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ah(e,t,a,n,r,i,o,l,c,u,d){let m=t.blueprint.slice();return m[Ea]=r,m[ce]=n|4|128|8|64|1024,(u!==null||e&&e[ce]&2048)&&(m[ce]|=2048),xv(m),m[Vt]=m[si]=e,m[It]=a,m[xa]=o||e&&e[xa],m[vt]=l||e&&e[vt],m[Xr]=c||e&&e[Xr]||null,m[Qt]=i,m[Dl]=iG(),m[Kr]=d,m[pv]=u,m[_n]=t.type==2?e[_n]:m,m}function g6(e,t,a){let n=ea(t,e),r=f6(a),i=e[xa].rendererFactory,o=rh(e,ah(e,r,null,k0(a),n,t,null,i.createRenderer(n,a),null,null,null));return e[t.index]=o}function k0(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function C0(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 rh(e,t){return e[Ui]?e[kp][On]=t:e[Ui]=t,e[kp]=t,t}function te(e=1){I0(yt(),pe(),ta()+e)}function I0(e,t,a,n){if((t[ce]&3)===3){let r=e.preOrderCheckHooks;r!==null&&xs(t,r,a)}else{let r=e.preOrderHooks;r!==null&&Es(t,r,0,a)}fr(a)}var Ol=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ol||{});function _c(e,t,a,n){let r=we(null);try{let[i,o,l]=e.inputs[a],c=null;o&Ol.SignalBased&&(c=t[i][ur]),c!==null&&c.transformFn!==void 0?n=c.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,c,n,a,i):gv(t,c,i,n)}finally{we(r)}}function D0(e,t,a,n,r){let i=ta(),o=n&2;try{fr(-1),o&&t.length>St&&I0(e,t,St,!1),pr(o?2:0,r),a(n,r)}finally{fr(i)}}function ih(e,t,a){_6(e,t,a),(a.flags&64)===64&&w6(e,t,a)}function T0(e,t,a=ea){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 v6(e,t,a,n){let r=n.get(cG,s0)||a===fa.ShadowDom;return e.selectRootElement(t,r)}function b6(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function N0(e,t,a,n,r,i,o,l){if(!l&&oh(t,e,a,n,r)){li(t)&&y6(a,t.index);return}if(t.type&3){let c=ea(t,a);n=b6(n),r=o!=null?o(r,t.value||"",n):r,i.setProperty(c,n,r)}else t.type&12}function y6(e,t){let a=Jn(t,e);a[ce]&16||(a[ce]|=64)}function _6(e,t,a){let n=a.directiveStart,r=a.directiveEnd;li(a)&&g6(t,a,e.data[n+a.componentOffset]),e.firstCreatePass||Ks(a,t);let i=a.initialInputs;for(let o=n;o<r;o++){let l=e.data[o],c=Yi(t,e,o,a);if(Eo(c,t),i!==null&&k6(t,o-n,c,l,a,i),Xn(l)){let u=Jn(a.index,t);u[It]=Yi(t,e,o,a)}}}function w6(e,t,a){let n=a.directiveStart,r=a.directiveEnd,i=a.index,o=g$();try{fr(i);for(let l=n;l<r;l++){let c=e.data[l],u=t[l];dc(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&x6(c,u)}}finally{fr(-1),dc(o)}}function x6(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function O0(e,t){let a=e.directiveRegistry,n=null;if(a)for(let r=0;r<a.length;r++){let i=a[r];w0(t,i.selectors,!1)&&(n??(n=[]),Xn(i)?n.unshift(i):n.push(i))}return n}function E6(e,t,a,n,r,i){let o=ea(e,t);S6(t[vt],o,i,e.value,a,n,r)}function S6(e,t,a,n,r,i,o){if(i==null)e.removeAttribute(t,r,a);else{let l=o==null?Wr(i):o(i,n||"",r);e.setAttribute(t,r,l,a)}}function k6(e,t,a,n,r,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let c=o[l],u=o[l+1];_c(n,a,c,u)}}function C6(e,t){let a=e[Xr],n=a?a.get(An,null):null;n&&n.handleError(t)}function oh(e,t,a,n,r){var c,u;let i=(c=e.inputs)==null?void 0:c[n],o=(u=e.hostDirectiveInputs)==null?void 0:u[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let m=o[d],b=o[d+1],g=t.data[m];_c(g,a[m],b,r),l=!0}if(i)for(let d of i){let m=a[d],b=t.data[d];_c(b,m,n,r),l=!0}return l}function I6(e,t){let a=Jn(t,e),n=a[he];D6(n,a);let r=a[Ea];r!==null&&a[Kr]===null&&(a[Kr]=h0(r,a[Xr])),sh(n,a,a[It]),pr(19,a[It])}function D6(e,t){for(let a=t.length;a<e.blueprint.length;a++)t.push(e.blueprint[a])}function sh(e,t,a){var n;Hd(t);try{let r=e.viewQuery;r!==null&&yc(1,r,a);let i=e.template;i!==null&&D0(e,t,i,1,a),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Mn])==null||n.finishViewCreation(e),e.staticContentQueries&&p0(e,t),e.staticViewQueries&&yc(2,e.viewQuery,a);let o=e.components;o!==null&&T6(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ce]&=-5,qd()}}function T6(e,t){for(let a=0;a<t.length;a++)I6(e,t[a])}function Co(e,t,a,n){let r=we(null);try{let i=t.tView,o=e[ce]&4096?4096:16,l=ah(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),c=e[t.index];l[dr]=c;let u=e[Mn];return u!==null&&(l[Mn]=u.createEmbeddedView(i)),sh(i,l,a),l}finally{we(r)}}function Jr(e,t){return!t||t.firstChild===null||e0(e)}var N6;function lh(e,t){return N6(e,t)}var Fr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Fr||{});function uh(e){return(e.flags&32)===32}function jr(e,t,a,n,r){if(n!=null){let i,o=!1;Sa(n)?i=n:za(n)&&(o=!0,n=n[Ea]);let l=Qn(n);e===0&&a!==null?r==null?E0(t,a,l):Js(t,a,l,r||null,!0):e===1&&a!==null?Js(t,a,l,r||null,!0):e===2?d6(t,l,o):e===3&&t.destroyNode(l),i!=null&&B6(t,e,i,a,r)}}function O6(e,t){M0(e,t),t[Ea]=null,t[Qt]=null}function M6(e,t,a,n,r,i){n[Ea]=r,n[Qt]=t,Rl(e,n,a,1,r,i)}function M0(e,t){var a;(a=t[xa].changeDetectionScheduler)==null||a.notify(9),Rl(e,t,t[vt],2,null,null)}function R6(e){let t=e[Ui];if(!t)return ou(e[he],e);for(;t;){let a=null;if(za(t))a=t[Ui];else{let n=t[jt];n&&(a=n)}if(!a){for(;t&&!t[On]&&t!==e;)za(t)&&ou(t[he],t),t=t[Vt];t===null&&(t=e),za(t)&&ou(t[he],t),a=t&&t[On]}t=a}}function ch(e,t){let a=e[Qr],n=a.indexOf(t);a.splice(n,1)}function Ml(e,t){if(ui(t))return;let a=t[vt];a.destroyNode&&Rl(e,t,a,3,null,null),R6(t)}function ou(e,t){if(ui(t))return;let a=we(null);try{t[ce]&=-129,t[ce]|=256,t[yn]&&ag(t[yn]),P6(e,t),A6(e,t),t[he].type===1&&t[vt].destroy();let n=t[dr];if(n!==null&&Sa(t[Vt])){n!==t[Vt]&&ch(n,t);let r=t[Mn];r!==null&&r.detachView(e)}vc(t)}finally{we(a)}}function A6(e,t){let a=e.cleanup,n=t[zr];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[zr]=null);let r=t[Va];if(r!==null){t[Va]=null;for(let o=0;o<r.length;o++){let l=r[o];l()}}let i=t[$s];if(i!==null){t[$s]=null;for(let o of i)o.destroy()}}function P6(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 _o)){let i=a[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=r[i[o]],c=i[o+1];try{c.call(l)}finally{}}else try{i.call(r)}finally{}}}}function R0(e,t,a){return L6(e,t.parent,a)}function L6(e,t,a){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return a[Ea];if(li(n)){let{encapsulation:r}=e.data[n.directiveStart+n.componentOffset];if(r===fa.None||r===fa.Emulated)return null}return ea(n,a)}function A0(e,t,a){return j6(e,t,a)}function F6(e,t,a){return e.type&40?ea(e,a):null}var j6=F6;function dh(e,t,a,n){let r=R0(e,n,t),i=t[vt],o=n.parent||t[Qt],l=A0(o,n,t);if(r!=null)if(Array.isArray(a))for(let c=0;c<a.length;c++)$p(i,r,a[c],l,!1);else $p(i,r,a,l,!1)}function Oi(e,t){if(t!==null){let a=t.type;if(a&3)return ea(t,e);if(a&4)return wc(-1,e[t.index]);if(a&8){let n=t.child;if(n!==null)return Oi(e,n);{let r=e[t.index];return Sa(r)?wc(-1,r):Qn(r)}}else{if(a&128)return Oi(e,t.next);if(a&32)return lh(t,e)()||Qn(e[t.index]);{let n=P0(e,t);if(n!==null){if(Array.isArray(n))return n[0];let r=mr(e[_n]);return Oi(r,n)}else return Oi(e,t.next)}}}return null}function P0(e,t){if(t!==null){let a=e[_n][Qt],n=t.projection;return a.projection[n]}return null}function wc(e,t){let a=jt+e+1;if(a<t.length){let n=t[a],r=n[he].firstChild;if(r!==null)return Oi(n,r)}return t[hr]}function hh(e,t,a,n,r,i,o){for(;a!=null;){if(a.type===128){a=a.next;continue}let l=n[a.index],c=a.type;if(o&&t===0&&(l&&Eo(Qn(l),n),a.flags|=2),!uh(a))if(c&8)hh(e,t,a.child,n,r,i,!1),jr(t,e,r,l,i);else if(c&32){let u=lh(a,n),d;for(;d=u();)jr(t,e,r,d,i);jr(t,e,r,l,i)}else c&16?L0(e,t,n,a,r,i):jr(t,e,r,l,i);a=o?a.projectionNext:a.next}}function Rl(e,t,a,n,r,i){hh(a,n,e.firstChild,t,r,i,!1)}function V6(e,t,a){let n=t[vt],r=R0(e,a,t),i=a.parent||t[Qt],o=A0(i,a,t);L0(n,0,t,a,r,o)}function L0(e,t,a,n,r,i){let o=a[_n],l=o[Qt].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];jr(t,e,r,u,i)}else{let c=l,u=o[Vt];e0(n)&&(c.flags|=128),hh(e,t,c,u,r,i,!0)}}function B6(e,t,a,n,r){let i=a[hr],o=Qn(a);i!==o&&jr(t,e,n,i,r);for(let l=jt;l<a.length;l++){let c=a[l];Rl(c[he],c,e,t,n,i)}}function z6(e,t,a,n,r){r?e.addClass(a,n):e.removeClass(a,n)}function el(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(Qn(i)),Sa(i)&&H6(i,n);let o=a.type;if(o&8)el(e,t,a.child,n);else if(o&32){let l=lh(a,t),c;for(;c=l();)n.push(c)}else if(o&16){let l=P0(t,a);if(Array.isArray(l))n.push(...l);else{let c=mr(t[_n]);el(c[he],c,l,n,!0)}}a=r?a.projectionNext:a.next}return n}function H6(e,t){for(let a=jt;a<e.length;a++){let n=e[a],r=n[he].firstChild;r!==null&&el(n[he],n,r,t)}e[hr]!==e[Ea]&&t.push(e[hr])}function F0(e){if(e[Ba]!==null){for(let t of e[Ba])t.impl.addSequence(t);e[Ba].length=0}}var j0=[];function q6(e){return e[yn]??$6(e)}function $6(e){let t=j0.pop()??Object.create(U6);return t.lView=e,t}function G6(e){e.lView[yn]!==e&&(e.lView=null,j0.push(e))}var U6=Gt(se({},co),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{bo(e.lView)},consumerOnSignalRead(){this.lView[yn]=this}});function W6(e){let t=e[yn]??Object.create(Z6);return t.lView=e,t}var Z6=Gt(se({},co),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=mr(e.lView);for(;t&&!V0(t[he]);)t=mr(t);t&&Fd(t)},consumerOnSignalRead(){this.lView[yn]=this}});function V0(e){return e.type!==2}function B0(e){if(e[$s]===null)return;let t=!0;for(;t;){let a=!1;for(let n of e[$s])n.dirty&&(a=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=a&&!!(e[ce]&8192)}}var Y6=100;function z0(e,t=!0,a=0){var r,i;let n=e[xa].rendererFactory;(r=n.begin)==null||r.call(n);try{K6(e,a)}catch(o){throw t&&C6(e,o),o}finally{(i=n.end)==null||i.call(n)}}function K6(e,t){let a=Dv();try{Cp(!0),xc(e,t);let n=0;for(;vo(e);){if(n===Y6)throw new G(103,!1);n++,xc(e,1)}}finally{Cp(a)}}function X6(e,t,a,n){if(ui(t))return;let r=t[ce],i=!1,o=!1;Hd(t);let l=!0,c=null,u=null;V0(e)?(u=q6(t),c=Ls(u)):Q7()===null?(l=!1,u=W6(t),c=Ls(u)):t[yn]&&(ag(t[yn]),t[yn]=null);try{xv(t),p$(e.bindingStartIndex),a!==null&&D0(e,t,a,2,n);let d=(r&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&xs(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Es(t,g,0,null),ru(t,0)}if(o||Q6(t),B0(t),H0(t,0),e.contentQueries!==null&&p0(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&xs(t,g)}else{let g=e.contentHooks;g!==null&&Es(t,g,1),ru(t,1)}eU(e,t);let m=e.components;m!==null&&$0(t,m,0);let b=e.viewQuery;if(b!==null&&yc(2,b,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&xs(t,g)}else{let g=e.viewHooks;g!==null&&Es(t,g,2),ru(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[au]){for(let g of t[au])g();t[au]=null}i||(F0(t),t[ce]&=-73)}catch(d){throw bo(t),d}finally{u!==null&&(cd(u,c),l&&G6(u)),qd()}}function H0(e,t){for(let a=a0(e);a!==null;a=r0(a))for(let n=jt;n<a.length;n++){let r=a[n];q0(r,t)}}function Q6(e){for(let t=a0(e);t!==null;t=r0(t)){if(!(t[ce]&2))continue;let a=t[Qr];for(let n=0;n<a.length;n++){let r=a[n];Fd(r)}}}function J6(e,t,a){let n=Jn(t,e);q0(n,a),pr(19,n[It])}function q0(e,t){Ld(e)&&xc(e,t)}function xc(e,t){let a=e[he],n=e[ce],r=e[yn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(r!=null&&r.dirty&&ng(r))),i||(i=!1),r&&(r.dirty=!1),e[ce]&=-9217,i)X6(a,e,a.template,e[It]);else if(n&8192){B0(e),H0(e,1);let o=a.components;o!==null&&$0(e,o,1),F0(e)}}function $0(e,t,a){for(let n=0;n<t.length;n++)J6(e,t[n],a)}function eU(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)fr(~r);else{let i=r,o=a[++n],l=a[++n];f$(o,i);let c=t[i];pr(24,c),l(2,c),pr(25,c)}}}finally{fr(-1)}}function ph(e,t){var n;let a=Dv()?64:1088;for((n=e[xa].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[ce]|=a;let r=mr(e);if(Us(e)&&!r)return e;e=r}return null}function G0(e,t,a,n){return[e,!0,0,t,null,n,null,a,null,null]}function U0(e,t){let a=jt+t;if(a<e.length)return e[a]}function Io(e,t,a,n=!0){let r=t[he];if(tU(r,t,e,a),n){let o=wc(a,e),l=t[vt],c=l.parentNode(e[hr]);c!==null&&M6(r,e[Qt],l,t,c,o)}let i=t[Kr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function W0(e,t){let a=Ki(e,t);return a!==void 0&&Ml(a[he],a),a}function Ki(e,t){if(e.length<=jt)return;let a=jt+t,n=e[a];if(n){let r=n[dr];r!==null&&r!==e&&ch(r,n),t>0&&(e[a-1][On]=n[On]);let i=Hs(e,jt+t);O6(n[he],n);let o=i[Mn];o!==null&&o.detachView(i[he]),n[Vt]=null,n[On]=null,n[ce]&=-129}return n}function tU(e,t,a,n){let r=jt+n,i=a.length;n>0&&(a[r-1][On]=t),n<i-jt?(t[On]=a[r],av(a,jt+n,t)):(a.push(t),t[On]=null),t[Vt]=a;let o=t[dr];o!==null&&a!==o&&Z0(o,t);let l=t[Mn];l!==null&&l.insertView(e),uc(t),t[ce]|=128}function Z0(e,t){let a=e[Qr],n=t[Vt];if(za(n))e[ce]|=2;else{let r=n[Vt][_n];t[_n]!==r&&(e[ce]|=2)}a===null?e[Qr]=[t]:a.push(t)}var Xi=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[he];return el(t,e,t.firstChild,[])}get context(){return this._lView[It]}set context(e){this._lView[It]=e}get destroyed(){return ui(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Vt];if(Sa(e)){let t=e[Gs],a=t?t.indexOf(this):-1;a>-1&&(Ki(e,a),Hs(t,a))}this._attachedToViewContainer=!1}Ml(this._lView[he],this._lView)}onDestroy(e){Ev(this._lView,e)}markForCheck(){ph(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ce]&=-129}reattach(){uc(this._lView),this._lView[ce]|=128}detectChanges(){this._lView[ce]|=1024,z0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Us(this._lView),t=this._lView[dr];t!==null&&!e&&ch(t,this._lView),M0(this._lView[he],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=e;let t=Us(this._lView),a=this._lView[dr];a!==null&&!t&&Z0(a,this._lView),uc(this._lView)}};function nU(e){return vo(e._lView)||!!(e._lView[ce]&64)}function aU(e){Fd(e._cdRefInjectingView||e._lView)}var ei=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",oU),e})(),rU=ei,iU=class extends rU{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=Co(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:a,dehydratedView:n});return new Xi(r)}};function oU(){return mh(dn(),pe())}function mh(e,t){return e.type&4?new iU(t,e,hi(e,t)):null}function Do(e,t,a,n,r){let i=e.data[t];if(i===null)i=sU(e,t,a,n,r),m$()&&(i.flags|=32);else if(i.type&64){i.type=a,i.value=n,i.attrs=r;let o=c$();i.injectorIndex=o===null?-1:o.injectorIndex}return ci(i,!0),i}function sU(e,t,a,n,r){let i=kv(),o=Cv(),l=o?i:i&&i.parent,c=e.data[t]=uU(e,l,a,t,n,r);return lU(e,c,i,o),c}function lU(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 uU(e,t,a,n,r,i){let o=t?t.injectorIndex:-1,l=0;return Sv()&&(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 cU=()=>null;function ti(e,t){return cU()}var dU=class{},Y0=class{},hU=class{resolveComponentFactory(e){throw Error(`No component factory found for ${bn(e)}.`)}},Yu,To=(Yu=class{},s(Yu,"NULL",new hU),Yu),Pn=class{},mi=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>pU()),e})();function pU(){let e=pe(),t=dn(),a=Jn(t.index,e);return(za(a)?a:e)[vt]}var mU=(()=>{const t=class t{};s(t,"ɵprov",B({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),su={},fU=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,a){a=Cl(a);let n=this.injector.get(e,su,a);return n!==su||t===su?n:this.parentInjector.get(e,t,a)}};function Gp(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=nc(r,l);else if(i==2){let c=l,u=t[++o];n=nc(n,c+": "+u+";")}}a?e.styles=n:e.stylesWithoutHost=n,a?e.classes=r:e.classesWithoutHost=r}function $t(e,t=Se.Default){let a=pe();if(a===null)return ee(e,t);let n=dn();return Gv(n,a,Ot(e),t)}function K0(e,t,a,n,r){let i=n===null?null:{"":-1},o=r(e,a);if(o!==null){let l,c=null,u=null,d=vU(o);d===null?l=o:[l,c,u]=d,_U(e,t,a,l,i,c,u)}i!==null&&n!==null&&gU(a,n,i)}function gU(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 vU(e){let t=null,a=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Xn(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),bU(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 bU(e,t,a,n){let r=t.length;e.findHostDirectiveDefs(e,t,n),a.set(e,[r,t.length-1])}function yU(e,t,a){t.componentOffset=a,(e.components??(e.components=[])).push(t.index)}function _U(e,t,a,n,r,i,o){let l=n.length,c=!1;for(let b=0;b<l;b++){let g=n[b];!c&&Xn(g)&&(c=!0,yU(e,a,b)),pc(Ks(a,t),e,g.type)}CU(a,e.data.length,l);for(let b=0;b<l;b++){let g=n[b];g.providersResolver&&g.providersResolver(g)}let u=!1,d=!1,m=C0(e,t,l,null);l>0&&(a.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(a.mergedAttrs=Zi(a.mergedAttrs,g.hostAttrs),xU(e,a,t,m,g),kU(m,g,r),o!==null&&o.has(g)){let[x,S]=o.get(g);a.directiveToIndex.set(g.type,[m,x+a.directiveStart,S+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;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(a.index),u=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(a.index),d=!0),m++}wU(e,a,i)}function wU(e,t,a){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(a===null||!a.has(r))Up(0,t,r,n),Up(1,t,r,n),Zp(t,n,!1);else{let i=a.get(r);Wp(0,t,i,n),Wp(1,t,i,n),Zp(t,n,!0)}}}function Up(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),X0(t,i)}}function Wp(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),X0(t,o)}}function X0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Zp(e,t,a){let{attrs:n,inputs:r,hostDirectiveInputs:i}=e;if(n===null||!a&&r===null||a&&i===null||th(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let c=n[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!a&&r.hasOwnProperty(c)){let u=r[c];for(let d of u)if(d===t){o??(o=[]),o.push(c,n[l+1]);break}}else if(a&&i.hasOwnProperty(c)){let u=i[c];for(let d=0;d<u.length;d+=2)if(u[d]===t){o??(o=[]),o.push(u[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function xU(e,t,a,n,r){e.data[n]=r;let i=r.factory||(r.factory=cr(r.type)),o=new _o(i,Xn(r),$t);e.blueprint[n]=o,a[n]=o,EU(e,t,n,C0(e,a,r.hostVars,hn),r)}function EU(e,t,a,n,r){let i=r.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;SU(o)!=l&&o.push(l),o.push(a,n,i)}}function SU(e){let t=e.length;for(;t>0;){let a=e[--t];if(typeof a=="number"&&a<0)return a}return 0}function kU(e,t,a){if(a){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)a[t.exportAs[n]]=e;Xn(t)&&(a[""]=e)}}function CU(e,t,a){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+a,e.providerIndexes=t}function Q0(e,t,a,n,r,i,o,l){let c=t.consts,u=Wi(c,o),d=Do(t,e,2,n,u);return K0(t,a,d,Wi(c,l),r),d.mergedAttrs=Zi(d.mergedAttrs,d.attrs),d.attrs!==null&&Gp(d,d.attrs,!1),d.mergedAttrs!==null&&Gp(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function J0(e,t){Lv(e,t),fv(t)&&e.queries.elementEnd(t)}var IU=class extends To{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let a=Zr(t);return new fh(a,this.ngModule)}};function DU(e){return Object.keys(e).map(t=>{let[a,n,r]=e[t],i={propName:a,templateName:t,isSignal:(n&Ol.SignalBased)!==0};return r&&(i.transform=r),i})}function TU(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function NU(e,t,a){let n=t instanceof Kn?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new fU(a,n):a}function OU(e){let t=e.get(Pn,null);if(t===null)throw new G(407,!1);let a=e.get(mU,null),n=e.get(wo,null);return{rendererFactory:t,sanitizer:a,changeDetectionScheduler:n}}function MU(e,t){let a=(e.selectors[0][0]||"div").toLowerCase();return x0(t,a,a==="svg"?Xq:a==="math"?Qq:null)}var fh=class extends Y0{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=s6(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!a}get inputs(){return this.cachedInputs??(this.cachedInputs=DU(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=TU(this.componentDef.outputs)),this.cachedOutputs}create(t,a,n,r){let i=we(null);try{let o=this.componentDef,l=n?["ng-version","19.2.14"]:l6(this.componentDef.selectors[0]),c=nh(0,null,null,1,0,null,null,null,null,[l],null),u=NU(o,r||this.ngModule,t),d=OU(u),m=d.rendererFactory.createRenderer(null,o),b=n?v6(m,n,o.encapsulation,u):MU(o,m),g=ah(null,c,null,512|k0(o),null,null,d,m,u,null,h0(b,u,!0));g[St]=b,Hd(g);let w=null;try{let x=Q0(St,c,g,"#host",()=>[this.componentDef],!0,0);b&&(S0(m,b,x),Eo(b,g)),ih(c,g,x),m0(c,x,g),J0(c,x),a!==void 0&&AU(x,this.ngContentSelectors,a),w=Jn(x.index,g),g[It]=w[It],sh(c,g,null)}catch(x){throw w!==null&&vc(w),vc(g),x}finally{pr(23),qd()}return new RU(this.componentType,g)}finally{we(i)}}},RU=class extends dU{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=Rd(a[he],St),this.location=hi(this._tNode,a),this.instance=Jn(this._tNode.index,a)[It],this.hostView=this.changeDetectorRef=new Xi(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;oh(n,r[he],r,t,a),this.previousInputValues.set(t,a);let i=Jn(n.index,r);ph(i,1)}get injector(){return new ji(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function AU(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 Al=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",PU),e})();function PU(){let e=dn();return tb(e,pe())}var LU=Al,eb=class extends LU{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 hi(this._hostTNode,this._hostLView)}get injector(){return new ji(this._hostTNode,this._hostLView)}get parentInjector(){let t=Wd(this._hostTNode,this._hostLView);if(Vv(t)){let a=Zs(t,this._hostLView),n=Ws(t),r=a[he].data[n+8];return new ji(r,a)}else return new ji(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let a=Yp(this._lContainer);return a!==null&&a[t]||null}get length(){return this._lContainer.length-jt}createEmbeddedView(t,a,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=ti(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(a||{},i,o);return this.insertImpl(l,r,Jr(this._hostTNode,o)),l}createComponent(t,a,n,r,i){let o=t&&!Uq(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 c=o?t:new fh(Zr(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let w=(o?u:this.parentInjector).get(Kn,null);w&&(i=w)}let d=Zr(c.componentType??{}),m=ti(this._lContainer,(d==null?void 0:d.id)??null),b=null,g=c.create(u,r,b,i);return this.insertImpl(g.hostView,l,Jr(this._hostTNode,m)),g}insert(t,a){return this.insertImpl(t,a,!0)}insertImpl(t,a,n){let r=t._lView;if(e$(r)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=r[Vt],u=new eb(c,c[Qt],c[Vt]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(a),o=this._lContainer;return Io(o,r,i,n),t.attachToViewContainerRef(),av(lu(o),i,t),t}move(t,a){return this.insert(t,a)}indexOf(t){let a=Yp(this._lContainer);return a!==null?a.indexOf(t):-1}remove(t){let a=this._adjustIndex(t,-1),n=Ki(this._lContainer,a);n&&(Hs(lu(this._lContainer),a),Ml(n[he],n))}detach(t){let a=this._adjustIndex(t,-1),n=Ki(this._lContainer,a);return n&&Hs(lu(this._lContainer),a)!=null?new Xi(n):null}_adjustIndex(t,a=0){return t??this.length+a}};function Yp(e){return e[Gs]}function lu(e){return e[Gs]||(e[Gs]=[])}function tb(e,t){let a,n=t[e.index];return Sa(n)?a=n:(a=G0(n,t,null,e),t[e.index]=a,rh(t,a)),jU(a,t,e,n),new eb(a,e,t)}function FU(e,t){let a=e[vt],n=a.createComment(""),r=ea(t,e),i=a.parentNode(r);return Js(a,i,n,a.nextSibling(r),!1),n}var jU=VU;function VU(e,t,a,n){if(e[hr])return;let r;a.type&8?r=Qn(n):r=FU(t,a),e[hr]=r}var BU=class nb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new nb(this.queryList)}setDirty(){this.queryList.setDirty()}},zU=class ab{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 ab(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++)gh(t,a).matches!==null&&this.queries[a].setDirty()}},HU=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=QU(e):this.predicate=e}},qU=class rb{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 rb(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)}},$U=class ib{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 ib(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,GU(a,i)),this.matchTNodeWithReadOption(t,a,Ss(a,t,i,!1,!1))}else n===ei?a.type&4&&this.matchTNodeWithReadOption(t,a,-1):this.matchTNodeWithReadOption(t,a,Ss(a,t,n,!1,!1))}matchTNodeWithReadOption(t,a,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===At||r===Al||r===ei&&a.type&4)this.addMatch(a.index,-2);else{let i=Ss(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 GU(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 UU(e,t){return e.type&11?hi(e,t):e.type&4?mh(e,t):null}function WU(e,t,a,n){return a===-1?UU(t,e):a===-2?ZU(e,t,n):Yi(e,e[he],a,t)}function ZU(e,t,a){if(a===At)return hi(t,e);if(a===ei)return mh(t,e);if(a===Al)return tb(t,e)}function ob(e,t,a,n){let r=t[Mn].queries[n];if(r.matches===null){let i=e.data,o=a.matches,l=[];for(let c=0;o!==null&&c<o.length;c+=2){let u=o[c];if(u<0)l.push(null);else{let d=i[u];l.push(WU(t,d,o[c+1],a.metadata.read))}}r.matches=l}return r.matches}function Ec(e,t,a,n){let r=e.queries.getByIndex(a),i=r.matches;if(i!==null){let o=ob(e,t,r,a);for(let l=0;l<i.length;l+=2){let c=i[l];if(c>0)n.push(o[l/2]);else{let u=i[l+1],d=t[-c];for(let m=jt;m<d.length;m++){let b=d[m];b[dr]===b[Vt]&&Ec(b[he],b,u,n)}if(d[Qr]!==null){let m=d[Qr];for(let b=0;b<m.length;b++){let g=m[b];Ec(g[he],g,u,n)}}}}}return n}function YU(e,t){return e[Mn].queries[t].queryList}function KU(e,t,a){let n=new aG((a&4)===4);return a$(e,t,n,n.destroy),(t[Mn]??(t[Mn]=new zU)).queries.push(new BU(n))-1}function XU(e,t,a){let n=yt();return n.firstCreatePass&&(JU(n,new HU(e,t,a),-1),n.staticViewQueries=!0),KU(n,pe(),t)}function QU(e){return e.split(",").map(t=>t.trim())}function JU(e,t,a){e.queries===null&&(e.queries=new qU),e.queries.track(new $U(t,a))}function gh(e,t){return e.queries.getByIndex(t)}function e8(e,t){let a=e[he],n=gh(a,t);return n.crossesNgTemplate?Ec(a,e,t,[]):ob(a,e,n,t)}var Qi=class{},sb=class extends Qi{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new IU(this));s(this,"instance",null);let a=new Td([...t.providers,{provide:Qi,useValue:this},{provide:To,useValue:this.componentFactoryResolver}],t.parent||Il(),t.debugName,new Set(["environment"]));this.injector=a,t.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function t8(e,t,a=null){return new sb({providers:e,parent:t,debugName:a,runEnvironmentInitializers:!0}).injector}var n8=(()=>{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=lv(!1,n.type),i=r.length>0?t8([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",B({token:t,providedIn:"environment",factory:()=>new t(ee(Kn))}));let e=t;return e})();function ot(e){return fo(()=>{let t=lb(e),a=Gt(se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===t0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(n8).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fa.Emulated,styles:e.styles||Zt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&yr("NgStandalone"),ub(a);let n=e.dependencies;return a.directiveDefs=Kp(n,!1),a.pipeDefs=Kp(n,!0),a.id=s8(a),a})}function a8(e){return Zr(e)||sv(e)}function r8(e){return e!==null}function en(e){return fo(()=>({type:e.type,bootstrap:e.bootstrap||Zt,declarations:e.declarations||Zt,imports:e.imports||Zt,exports:e.exports||Zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function i8(e,t){if(e==null)return Yn;let a={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n],i,o,l,c;Array.isArray(r)?(l=r[0],i=r[1],o=r[2]??i,c=r[3]||null):(i=r,o=r,l=Ol.None,c=null),a[i]=[n,l,c],t[i]=o}return a}function o8(e){if(e==null)return Yn;let t={};for(let a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}function Ut(e){return fo(()=>{let t=lb(e);return ub(t),t})}function wr(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 lb(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||Yn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:i8(e.inputs,t),outputs:o8(e.outputs),debugInfo:null}}function ub(e){var t;(t=e.features)==null||t.forEach(a=>a(e))}function Kp(e,t){if(!e)return null;let a=t?Pq:a8;return()=>(typeof e=="function"?e():e).map(n=>a(n)).filter(r8)}function s8(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 l8(e){return Object.getPrototypeOf(e.prototype).constructor}function En(e){let t=l8(e.type),a=!0,n=[e];for(;t;){let r;if(Xn(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=uu(e.inputs),o.declaredInputs=uu(e.declaredInputs),o.outputs=uu(e.outputs);let l=r.hostBindings;l&&p8(e,l);let c=r.viewQuery,u=r.contentQueries;if(c&&d8(e,c),u&&h8(e,u),u8(e,r),hq(e.outputs,r.outputs),Xn(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===En&&(a=!1)}}t=Object.getPrototypeOf(t)}c8(n)}function u8(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 c8(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=Zi(r.hostAttrs,a=Zi(a,r.hostAttrs))}}function uu(e){return e===Yn?{}:e===Zt?[]:e}function d8(e,t){let a=e.viewQuery;a?e.viewQuery=(n,r)=>{t(n,r),a(n,r)}:e.viewQuery=t}function h8(e,t){let a=e.contentQueries;a?e.contentQueries=(n,r,i)=>{t(n,r,i),a(n,r,i)}:e.contentQueries=t}function p8(e,t){let a=e.hostBindings;a?e.hostBindings=(n,r)=>{t(n,r),a(n,r)}:e.hostBindings=t}function m8(e){let t=a=>{let n=Array.isArray(e);a.hostDirectives===null?(a.findHostDirectiveDefs=cb,a.hostDirectives=n?e.map(Sc):[e]):n?a.hostDirectives.unshift(...e.map(Sc)):a.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function cb(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)Xp(Sc(i),t,a)}else Xp(n,t,a)}function Xp(e,t,a){let n=sv(e.directive);f8(n.declaredInputs,e.inputs),cb(n,t,a),a.set(n,e),t.push(n)}function Sc(e){return typeof e=="function"?{directive:Ot(e),inputs:Yn,outputs:Yn}:{directive:Ot(e.directive),inputs:Qp(e.inputs),outputs:Qp(e.outputs)}}function Qp(e){if(e===void 0||e.length===0)return Yn;let t={};for(let a=0;a<e.length;a+=2)t[e[a]]=e[a+1];return t}function f8(e,t){for(let a in t)if(t.hasOwnProperty(a)){let n=t[a],r=e[a];e[n]=r}}function db(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Pl(e,t,a){return e[t]=a}function hb(e,t){return e[t]}function wn(e,t,a){let n=e[t];return Object.is(n,a)?!1:(e[t]=a,!0)}function tl(e,t,a,n){let r=wn(e,t,a);return wn(e,t+1,n)||r}function g8(e,t,a,n,r,i){let o=tl(e,t,a,n);return tl(e,t+2,r,i)||o}function v8(e,t,a,n,r,i,o,l,c){let u=t.consts,d=Do(t,e,4,o||null,l||null);K0(t,a,d,Wi(u,c),O0),d.mergedAttrs=Zi(d.mergedAttrs,d.attrs),Lv(t,d);let m=d.tView=nh(2,d,n,r,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,d),m.queries=t.queries.embeddedTView(d)),d}function pb(e,t,a,n,r,i,o,l,c,u){let d=a+St,m=t.firstCreatePass?v8(d,t,e,n,r,i,o,l,c):t.data[d];ci(m,!1);let b=b8(t,e);Gd()&&dh(t,e,b,m),Eo(b,e);let g=G0(b,e,b,m);return e[d]=g,rh(e,g),Md(m)&&ih(t,e,m),c!=null&&T0(e,m,u),m}function gt(e,t,a,n,r,i,o,l){let c=pe(),u=yt(),d=Wi(u.consts,i);return pb(c,u,e,t,a,n,r,d,o,l),gt}var b8=y8;function y8(e,t,a,n){return Ud(!0),t[vt].createComment("")}var _8=new K(""),w8=(()=>{const t=class t{};s(t,"ɵprov",B({token:t,providedIn:"root",factory:()=>new x8}));let e=t;return e})(),x8=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 vh(e){return!!e&&typeof e.then=="function"}function mb(e){return!!e&&typeof e.subscribe=="function"}var E8=new K(""),fb=(()=>{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",C(E8,{optional:!0})??[]);s(this,"injector",C(rt))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Nd(this.injector,i);if(vh(o))n.push(o);else if(mb(o)){let l=new Promise((c,u)=>{o.subscribe({complete:c,error:u})});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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),S8=new K("");function k8(){rH(()=>{throw new G(600,!1)})}function C8(e){return e.isBoundToModule}var I8=10,Ha=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(K$));s(this,"afterRenderManager",C(u0));s(this,"zonelessEnabled",C(Yv));s(this,"rootEffectScheduler",C(w8));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new xe);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",C(xo).hasPendingTasks.pipe(Nt(n=>!n)));s(this,"_injector",C(Kn));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var r;if(this._runningTick)throw new G(101,!1);let n=we(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,we(n),this.afterTick.next()}});C(So,{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=rt.NULL){let o=n instanceof Y0;if(!this._injector.get(fb).done){let g="";throw new G(405,g)}let l;o?l=n:l=this._injector.get(To).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let c=C8(l)?void 0:this._injector.get(Qi),u=r||l.selector,d=l.create(i,[],u,c),m=d.location.nativeElement,b=d.injector.get(_8,null);return b==null||b.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),ks(this.components,d),b==null||b.unregisterApplication(m)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Qd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Pn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<I8;)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:c,notifyErrorHandler:u}of this.allViews)D8(c,u,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})=>vo(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;ks(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(S8,[]).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),()=>ks(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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ks(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}function D8(e,t,a,n){!a&&!vo(e)||z0(e,t,a&&!n?0:1)}function Ln(e,t,a,n){let r=pe(),i=di();if(wn(r,i,t)){yt();let o=$d();E6(o,r,e,t,a,n)}return Ln}function T8(e,t,a,n){return wn(e,di(),a)?t+Wr(a)+n:hn}function N8(e,t,a,n,r,i){let o=h$(),l=tl(e,o,a,r);return Bd(2),l?t+Wr(a)+n+Wr(r)+i:hn}function Qo(e,t){return e<<17|t<<2}function gr(e){return e>>17&32767}function O8(e){return(e&2)==2}function M8(e,t){return e&131071|t<<17}function kc(e){return e|2}function ni(e){return(e&131068)>>2}function cu(e,t){return e&-131069|t<<2}function R8(e){return(e&1)===1}function Cc(e){return e|1}function A8(e,t,a,n,r,i){let o=t.classBindings,l=gr(o),c=ni(o);e[n]=a;let u=!1,d;if(Array.isArray(a)){let m=a;d=m[1],(d===null||go(m,d)>0)&&(u=!0)}else d=a;if(r)if(c!==0){let m=gr(e[l+1]);e[n+1]=Qo(m,l),m!==0&&(e[m+1]=cu(e[m+1],n)),e[l+1]=M8(e[l+1],n)}else e[n+1]=Qo(l,0),l!==0&&(e[l+1]=cu(e[l+1],n)),l=n;else e[n+1]=Qo(c,0),l===0?l=n:e[c+1]=cu(e[c+1],n),c=n;u&&(e[n+1]=kc(e[n+1])),Jp(e,d,n,!0),Jp(e,d,n,!1),P8(t,d,e,n),o=Qo(l,c),t.classBindings=o}function P8(e,t,a,n,r){let i=e.residualClasses;i!=null&&typeof t=="string"&&go(i,t)>=0&&(a[n+1]=Cc(a[n+1]))}function Jp(e,t,a,n){let r=e[a+1],i=t===null,o=n?gr(r):ni(r),l=!1;for(;o!==0&&(l===!1||i);){let c=e[o],u=e[o+1];L8(c,t)&&(l=!0,e[o+1]=n?Cc(u):kc(u)),o=n?gr(u):ni(u)}l&&(e[a+1]=n?kc(r):Cc(r))}function L8(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?go(e,t)>=0:!1}var Nn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function F8(e){return e.substring(Nn.key,Nn.keyEnd)}function j8(e){return V8(e),gb(e,vb(e,0,Nn.textEnd))}function gb(e,t){let a=Nn.textEnd;return a===t?-1:(t=Nn.keyEnd=B8(e,Nn.key=t,a),vb(e,t,a))}function V8(e){Nn.key=0,Nn.keyEnd=0,Nn.value=0,Nn.valueEnd=0,Nn.textEnd=e.length}function vb(e,t,a){for(;t<a&&e.charCodeAt(t)<=32;)t++;return t}function B8(e,t,a){for(;t<a&&e.charCodeAt(t)>32;)t++;return t}function Yt(e,t,a){let n=pe(),r=di();if(wn(n,r,t)){let i=yt(),o=$d();N0(i,o,n,e,t,n[vt],a,!1)}return Yt}function Ic(e,t,a,n,r){oh(t,e,a,r?"class":"style",n)}function Rn(e,t){return H8(e,t,null,!0),Rn}function Ll(e){q8(Y8,z8,e,!0)}function z8(e,t){for(let a=j8(t);a>=0;a=gb(t,a))kd(e,F8(t),!0)}function H8(e,t,a,n){let r=pe(),i=yt(),o=Bd(2);if(i.firstUpdatePass&&yb(i,e,o,n),t!==hn&&wn(r,o,t)){let l=i.data[ta()];_b(i,l,r,r[vt],e,r[o+1]=X8(t),n,o)}}function q8(e,t,a,n){let r=yt(),i=Bd(2);r.firstUpdatePass&&yb(r,null,i,n);let o=pe();if(a!==hn&&wn(o,i,a)){let l=r.data[ta()];if(wb(l)&&!bb(r,i)){let c=l.classesWithoutHost;c!==null&&(a=nc(c,a||"")),Ic(r,l,o,a,n)}else K8(r,l,o,o[vt],o[i+1],o[i+1]=Z8(e,t,a),n,i)}}function bb(e,t){return t>=e.expandoStartIndex}function yb(e,t,a,n){let r=e.data;if(r[a+1]===null){let i=r[ta()],o=bb(e,a);wb(i)&&t===null&&!o&&(t=!1),t=$8(r,i,t,n),A8(r,i,t,a,o)}}function $8(e,t,a,n){let r=v$(e),i=t.residualClasses;if(r===null)t.classBindings===0&&(a=du(null,e,t,a),a=Ji(a,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==r)if(a=du(r,e,t,a),i===null){let l=G8(e,t);l!==void 0&&Array.isArray(l)&&(l=du(null,e,t,l[1]),l=Ji(l,t.attrs),U8(e,t,n,l))}else i=W8(e,t)}return i!==void 0&&(t.residualClasses=i),a}function G8(e,t,a){let n=t.classBindings;if(ni(n)!==0)return e[gr(n)]}function U8(e,t,a,n){let r=t.classBindings;e[gr(r)]=n}function W8(e,t,a){let n,r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<r;i++){let o=e[i].hostAttrs;n=Ji(n,o)}return Ji(n,t.attrs)}function du(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=Ji(n,i.hostAttrs),i!==e);)l++;return e!==null&&(a.directiveStylingLast=l),n}function Ji(e,t,a){let n=1,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]),kd(e,o,!0))}return e===void 0?null:e}function Z8(e,t,a){if(a==null||a==="")return Zt;let n=[],r=Ma(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 Y8(e,t,a){let n=String(t);n!==""&&!n.includes(" ")&&kd(e,n,a)}function K8(e,t,a,n,r,i,o,l){r===hn&&(r=Zt);let c=0,u=0,d=0<r.length?r[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let b=c<r.length?r[c+1]:void 0,g=u<i.length?i[u+1]:void 0,w=null,x;d===m?(c+=2,u+=2,b!==g&&(w=m,x=g)):m===null||d!==null&&d<m?(c+=2,w=d):(u+=2,w=m,x=g),w!==null&&_b(e,t,a,n,w,x,o,l),d=c<r.length?r[c]:null,m=u<i.length?i[u]:null}}function _b(e,t,a,n,r,i,o,l){if(!(t.type&3))return;let c=e.data,u=c[l+1],d=R8(u)?em(c,t,a,r,ni(u)):void 0;if(!nl(d)){nl(i)||O8(u)&&(i=em(c,null,a,r,l));let m=wv(ta(),a);z6(n,o,m,r,i)}}function em(e,t,a,n,r,i){let o=t===null,l;for(;r>0;){let c=e[r],u=Array.isArray(c),d=u?c[1]:c,m=d===null,b=a[r+1];b===hn&&(b=m?Zt:void 0);let g=m?tu(b,n):d===n?b:void 0;if(u&&!nl(g)&&(g=tu(c,n)),nl(g)&&(l=g,o))return l;let w=e[r+1];r=o?gr(w):ni(w)}if(t!==null){let c=t.residualClasses;c!=null&&(l=tu(c,n))}return l}function nl(e){return e!==void 0}function X8(e,t){return e==null||e===""||typeof e=="object"&&(e=bn(Ma(e))),e}function wb(e,t){return(e.flags&8)!==0}var Q8=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 hu(e,t,a,n,r){return e===a&&Object.is(t,n)?1:Object.is(r(e,t),r(a,n))?-1:0}function J8(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 c=e.at(i),u=t[i],d=hu(i,c,i,u,a);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=hu(o,m,l,b,a);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=a(i,c),x=a(o,m),S=a(i,u);if(Object.is(S,x)){let T=a(l,b);Object.is(T,w)?(e.swap(i,o),e.updateValue(o,b),l--,o--):e.move(o,i),e.updateValue(i,u),i++;continue}if(n??(n=new am),r??(r=nm(e,i,o,a)),Dc(e,n,i,S))e.updateValue(i,u),i++,o++;else if(r.has(S))n.set(w,e.detach(i)),o--;else{let T=e.create(i,t[i]);e.attach(i,T),i++,o++}}for(;i<=l;)tm(e,n,a,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&i<=o;){let u=e.at(i),d=c.value,m=hu(i,u,i,d,a);if(m!==0)m<0&&e.updateValue(i,d),i++,c=l.next();else{n??(n=new am),r??(r=nm(e,i,o,a));let b=a(i,d);if(Dc(e,n,i,b))e.updateValue(i,d),i++,o++,c=l.next();else if(!r.has(b))e.attach(i,e.create(i,d)),i++,o++,c=l.next();else{let g=a(i,u);n.set(g,e.detach(i)),o--}}}for(;!c.done;)tm(e,n,a,e.length,c.value),c=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Dc(e,t,a,n){return t!==void 0&&t.has(n)?(e.attach(a,t.get(n)),t.delete(n),!0):!1}function tm(e,t,a,n,r){if(Dc(e,t,n,a(n,r)))e.updateValue(n,r);else{let i=e.create(n,r);e.attach(n,i)}}function nm(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 am=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 Mt(e,t){yr("NgControlFlow");let a=pe(),n=di(),r=a[n]!==hn?a[n]:-1,i=r!==-1?al(a,St+r):void 0,o=0;if(wn(a,n,e)){let l=we(null);try{if(i!==void 0&&W0(i,o),e!==-1){let c=St+e,u=al(a,c),d=Tc(a[he],c),m=ti(u,d.tView.ssrId),b=Co(a,d,t,{dehydratedView:m});Io(u,b,o,Jr(d,m))}}finally{we(l)}}else if(i!==void 0){let l=U0(i,o);l!==void 0&&(l[It]=t)}}var eW=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-jt}};function tW(e){return e}function nW(e,t){return t}var aW=class{constructor(e,t,a){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=a}};function xb(e,t,a,n,r,i,o,l,c,u,d,m,b){yr("NgControlFlow");let g=pe(),w=yt(),x=c!==void 0,S=pe(),T=o,A=new aW(x,T);S[St+e]=A,pb(g,w,e+1,t,a,n,r,Wi(w.consts,i))}var rW=class extends Q8{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-jt}at(t){return this.getLView(t)[It].$implicit}attach(t,a){let n=a[Kr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Io(this.lContainer,a,t,Jr(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),iW(this.lContainer,t)}create(t,a){var i;let n=ti(this.lContainer,this.templateTNode.tView.ssrId),r=Co(this.hostLView,this.templateTNode,new eW(this.lContainer,a,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),r}destroy(t){var a;Ml(t[he],t),(a=this.operationsCounter)==null||a.recordDestroy()}updateValue(t,a){this.getLView(t)[It].$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)[It].$index=t}getLView(t){return oW(this.lContainer,t)}};function Eb(e){let t=we(null),a=ta();try{let n=pe(),r=n[he],i=n[a],o=a+1,l=al(n,o);if(i.liveCollection===void 0){let u=Tc(r,o);i.liveCollection=new rW(l,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(J8(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=di(),d=c.length===0;if(wn(n,u,d)){let m=a+2,b=al(n,m);if(d){let g=Tc(r,m),w=ti(b,g.tView.ssrId),x=Co(n,g,void 0,{dehydratedView:w});Io(b,x,0,Jr(g,w))}else W0(b,0)}}}finally{we(t)}}function al(e,t){return e[t]}function iW(e,t){return Ki(e,t)}function oW(e,t){return U0(e,t)}function Tc(e,t){return Rd(e,t)}function ae(e,t,a,n){let r=pe(),i=yt(),o=St+e,l=r[vt],c=i.firstCreatePass?Q0(o,i,r,t,O0,s$(),a,n):i.data[o],u=sW(i,r,c,l,t);r[o]=u;let d=Md(c);return ci(c,!0),S0(l,u,c),!uh(c)&&Gd()&&dh(i,r,u,c),(r$()===0||d)&&Eo(u,r),i$(),d&&(ih(i,r,c),m0(i,c,r)),n!==null&&T0(r,c),ae}function re(){let e=dn();Cv()?Iv():(e=e.parent,ci(e,!1));let t=e;l$(t)&&u$(),o$();let a=yt();return a.firstCreatePass&&J0(a,t),t.classesWithoutHost!=null&&E$(t)&&Ic(a,t,pe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&S$(t)&&Ic(a,t,pe(),t.stylesWithoutHost,!1),re}function ln(e,t,a,n){return ae(e,t,a,n),re(),ln}var sW=(e,t,a,n,r,i)=>(Ud(!0),x0(n,r,_$()));function No(){return pe()}function bh(e,t,a){let n=pe(),r=di();if(wn(n,r,t)){let i=yt(),o=$d();N0(i,o,n,e,t,n[vt],a,!0)}return bh}var Za=void 0;function lW(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var uW=["en",[["a","p"],["AM","PM"],Za],[["AM","PM"],Za,Za],[["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"]],Za,[["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"]],Za,[["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}",Za,"{1} 'at' {0}",Za],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",lW],Vi={};function cW(e,t,a){typeof t!="string"&&(a=t,t=e[bt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Vi[t]=e,a&&(Vi[t][bt.ExtraData]=a)}function Fn(e){let t=dW(e),a=rm(t);if(a)return a;let n=t.split("-")[0];if(a=rm(n),a)return a;if(n==="en")return uW;throw new G(701,!1)}function rm(e){return e in Vi||(Vi[e]=Rr.ng&&Rr.ng.common&&Rr.ng.common.locales&&Rr.ng.common.locales[e]),Vi[e]}var bt=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}(bt||{});function dW(e){return e.toLowerCase().replace(/_/g,"-")}var Nc="en-US";function hW(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function im(e,t,a){return function n(r){if(r===Function)return a;let i=li(e)?Jn(e.index,t):t;ph(i,5);let o=t[It],l=om(t,o,a,r),c=n.__ngNextListenerFn__;for(;c;)l=om(t,o,c,r)&&l,c=c.__ngNextListenerFn__;return l}}function om(e,t,a,n){let r=we(null);try{return pr(6,t,a),a(n)!==!1}catch(i){return pW(e,i),!1}finally{we(r)}}function pW(e,t){let a=e[Xr],n=a?a.get(An,null):null;n&&n.handleError(t)}function sm(e,t,a,n,r,i){let o=t[a],l=t[he],c=l.data[a].outputs[n],u=o[c],d=l.firstCreatePass?Vd(l):null,m=jd(t),b=u.subscribe(i),g=m.length;m.push(i,b),d&&d.push(r,e.index,g,-(g+1))}function $a(e,t,a,n){let r=pe(),i=yt(),o=dn();return fW(i,r,r[vt],o,e,t,n),$a}function mW(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[zr],c=r[i+2];return l.length>c?l[c]:null}typeof o=="string"&&(i+=2)}return null}function fW(e,t,a,n,r,i,o){var m,b;let l=Md(n),c=e.firstCreatePass?Vd(e):null,u=jd(t),d=!0;if(n.type&3||o){let g=ea(n,t),w=o?o(g):g,x=u.length,S=o?A=>o(Qn(A[n.index])):n.index,T=null;if(!o&&l&&(T=mW(e,t,r,n.index)),T!==null){let A=T.__ngLastListenerFn__||T;A.__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,d=!1}else{i=im(n,t,i);let A=a.listen(w,r,i);u.push(i,A),c&&c.push(r,S,x,x+1)}}else i=im(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[r],w=(b=n.hostDirectiveOutputs)==null?void 0:b[r];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],T=w[x+1];sm(n,t,S,T,r,i)}if(g&&g.length)for(let x of g)sm(n,t,x,r,r,i)}}function Pe(e=1){return y$(e)}function gW(e,t){let a=null,n=n6(e);for(let r=0;r<t.length;r++){let i=t[r];if(i==="*"){a=r;continue}if(n===null?w0(e,i,!0):i6(n,i))return r}return a}function fi(e){let t=pe()[_n][Qt];if(!t.projection){let a=e?e.length:1,n=t.projection=Mq(a,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?gW(i,e):0;o!==null&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i)}i=i.next}}}function Zn(e,t=0,a,n,r,i){let o=pe(),l=yt(),c=null,u=Do(l,St+e,16,null,null);u.projection===null&&(u.projection=t),Iv();let d=!o[Kr]||Sv();o[_n][Qt].projection[u.projection]===null&&c!==null?vW(o,l,c):d&&!uh(u)&&V6(l,o,u)}function vW(e,t,a){let n=St+a,r=t.data[n],i=e[n],o=ti(i,r.tView.ssrId),l=Co(e,r,void 0,{dehydratedView:o});Io(i,l,0,Jr(r,o))}function Oc(e,t,a){XU(e,t,a)}function Mc(e){let t=pe(),a=yt(),n=Tv();zd(n+1);let r=gh(a,n);if(e.dirty&&Jq(t)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let i=e8(t,n);e.reset(i,eG),e.notifyOnChanges()}return!0}return!1}function Rc(){return YU(pe(),Tv())}function _e(e,t=""){let a=pe(),n=yt(),r=e+St,i=n.firstCreatePass?Do(n,r,1,t,null):n.data[r],o=bW(n,a,i,t);a[r]=o,Gd()&&dh(n,a,o,i),ci(i,!1)}var bW=(e,t,a,n,r)=>(Ud(!0),u6(t[vt],n));function We(e){return un("",e,""),We}function un(e,t,a){let n=pe(),r=T8(n,e,t,a);return r!==hn&&Sb(n,ta(),r),un}function yh(e,t,a,n,r){let i=pe(),o=N8(i,e,t,a,n,r);return o!==hn&&Sb(i,ta(),o),yh}function Sb(e,t,a){let n=wv(t,e);c6(e[vt],n,a)}var kb={};function Cb(e){let t=yt(),a=pe(),n=e+St,r=Do(t,n,128,null,null);return ci(r,!1),Pd(t,a,n,kb),Cb}function lm(e){yr("NgLet");let t=yt(),a=pe(),n=ta();return Pd(t,a,n,e),e}function um(e){let t=d$(),a=Ad(t,St+e);if(a===kb)throw new G(314,!1);return a}function yW(e,t,a){let n=yt();if(n.firstCreatePass){let r=Xn(e);Ac(a,n.data,n.blueprint,r,!0),Ac(t,n.data,n.blueprint,r,!1)}}function Ac(e,t,a,n,r){if(e=Ot(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ac(e[i],t,a,n,r);else{let i=yt(),o=pe(),l=dn(),c=Yr(e)?e:Ot(e.provide),u=dv(e),d=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Yr(e)||!e.multi){let g=new _o(u,r,$t),w=mu(c,t,r?d:d+b,m);w===-1?(pc(Ks(l,o),i,c),pu(i,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(g),o.push(g)):(a[w]=g,o[w]=g)}else{let g=mu(c,t,d+b,m),w=mu(c,t,d,d+b),x=g>=0&&a[g],S=w>=0&&a[w];if(r&&!S||!r&&!x){pc(Ks(l,o),i,c);let T=xW(r?wW:_W,a.length,r,n,u);!r&&S&&(a[w].providerFactory=T),pu(i,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(T),o.push(T)}else{let T=Ib(a[r?w:g],u,!r&&n);pu(i,e,g>-1?g:w,T)}!r&&n&&S&&a[w].componentProviders++}}}function pu(e,t,a,n){let r=Yr(t),i=Bq(t);if(r||i){let o=(i?Ot(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let c=l.indexOf(a);c===-1?l.push(a,[n,o]):l[c+1].push(n,o)}else l.push(a,o)}}}function Ib(e,t,a){return a&&e.componentProviders++,e.multi.push(t)-1}function mu(e,t,a,n){for(let r=a;r<n;r++)if(t[r]===e)return r;return-1}function _W(e,t,a,n,r){return Pc(this.multi,[])}function wW(e,t,a,n,r){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=Yi(n,n[he],this.providerFactory.index,r);o=c.slice(0,l),Pc(i,o);for(let u=l;u<c.length;u++)o.push(c[u])}else o=[],Pc(i,o);return o}function Pc(e,t){for(let a=0;a<e.length;a++){let n=e[a];t.push(n())}return t}function xW(e,t,a,n,r){let i=new _o(e,a,$t);return i.multi=[],i.index=t,i.componentProviders=0,Ib(i,r,n&&!a),i}function EW(e,t=[]){return a=>{a.providersResolver=(n,r)=>yW(n,r?r(e):e,t)}}function SW(e,t,a){let n=yo()+e,r=pe();return r[n]===hn?Pl(r,n,t()):hb(r,n)}function kW(e,t,a,n){return Tb(pe(),yo(),e,t,a,n)}function CW(e,t,a,n,r,i,o,l){let c=yo()+e,u=pe(),d=g8(u,c,a,n,r,i);return wn(u,c+4,o)||d?Pl(u,c+5,t(a,n,r,i,o)):hb(u,c+5)}function Db(e,t){let a=e[t];return a===hn?void 0:a}function Tb(e,t,a,n,r,i){let o=t+a;return wn(e,o,r)?Pl(e,o+1,i?n.call(i,r):n(r)):Db(e,o+1)}function IW(e,t,a,n,r,i,o){let l=t+a;return tl(e,l,r,i)?Pl(e,l+2,o?n.call(o,r,i):n(r,i)):Db(e,l+2)}function Te(e,t){let a=yt(),n,r=e+St;a.firstCreatePass?(n=DW(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=cr(n.type)),o=Wt($t);try{let l=Ys(!1),c=i();return Ys(l),Pd(a,pe(),r,c),c}finally{Wt(o)}}function DW(e,t){if(t)for(let a=t.length-1;a>=0;a--){let n=t[a];if(e===n.name)return n}}function Oe(e,t,a){let n=e+St,r=pe(),i=Ad(r,n);return Ob(r,n)?Tb(r,yo(),t,i.transform,a,i):i.transform(a)}function Nb(e,t,a,n){let r=e+St,i=pe(),o=Ad(i,r);return Ob(i,r)?IW(i,yo(),t,o.transform,a,n,o):o.transform(a,n)}function Ob(e,t){return e[he].data[t].pure}var TW=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(".")}},cm=new TW("19.2.14"),NW=(()=>{const t=class t{constructor(){s(this,"zone",C(je));s(this,"changeDetectionScheduler",C(wo));s(this,"applicationRef",C(Ha));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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function OW({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:a}){return e??(e=()=>new je(Gt(se({},MW()),{scheduleInRootZone:a}))),[{provide:je,useFactory:e},{provide:qs,multi:!0,useFactory:()=>{let n=C(NW,{optional:!0});return()=>n.initialize()}},{provide:qs,multi:!0,useFactory:()=>{let n=C(RW);return()=>{n.initialize()}}},t===!0?{provide:Kv,useValue:!0}:[],{provide:Xv,useValue:a??Zv}]}function MW(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var RW=(()=>{const t=class t{constructor(){s(this,"subscription",new sn);s(this,"initialized",!1);s(this,"zone",C(je));s(this,"pendingTasks",C(xo))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),AW=(()=>{var t;const a=class a{constructor(){s(this,"appRef",C(Ha));s(this,"taskService",C(xo));s(this,"ngZone",C(je));s(this,"zonelessEnabled",C(Yv));s(this,"tracing",C(So,{optional:!0}));s(this,"disableScheduling",C(Kv,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new sn);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Qs):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(Xv,{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 W$||!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?Mp:Qv;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(Qs+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,Mp(()=>{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",B({token:a,factory:a.ɵfac,providedIn:"root"}));let e=a;return e})();function PW(){return typeof $localize<"u"&&$localize.locale||Nc}var Fl=new K("",{providedIn:"root",factory:()=>C(Fl,Se.Optional|Se.SkipSelf)||PW()}),Lc=new K(""),LW=new K("");function xi(e){return!e.moduleRef}function FW(e){let t=xi(e)?e.r3Injector:e.moduleRef.injector,a=t.get(je);return a.run(()=>{xi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(An,null),r;if(a.runOutsideAngular(()=>{r=a.onError.subscribe({next:i=>{n.handleError(i)}})}),xi(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Lc);o.add(i),t.onDestroy(()=>{r.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Lc);o.add(i),e.moduleRef.onDestroy(()=>{ks(e.allPlatformModules,e.moduleRef),r.unsubscribe(),o.delete(i)})}return VW(n,a,()=>{let i=t.get(fb);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Fl,Nc);if(hW(o||Nc),!t.get(LW,!0))return xi(e)?t.get(Ha):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(xi(e)){let l=t.get(Ha);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return jW(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function jW(e,t){let a=e.injector.get(Ha);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 VW(e,t,a){try{let n=a();return vh(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Cs=null;function BW(e=[],t){return rt.create({name:t,providers:[{provide:Dd,useValue:"platform"},{provide:Lc,useValue:new Set([()=>Cs=null])},...e]})}function zW(e=[]){if(Cs)return Cs;let t=BW(e);return Cs=t,k8(),HW(t),t}function HW(e){let t=e.get(o0,null);Nd(e,()=>{t==null||t.forEach(a=>a())})}function qW(){return!1}var Oo=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",$W),e})();function $W(e){return GW(dn(),pe(),(e&16)===16)}function GW(e,t,a){if(li(e)&&!a){let n=Jn(e.index,t);return new Xi(n,n)}else if(e.type&175){let n=t[_n];return new Xi(n,t)}return null}var UW=class{constructor(){}supports(e){return e instanceof Map||db(e)}create(){return new WW}},WW=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||db(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 ZW(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))}},ZW=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 dm(){return new Mb([new UW])}var Mb=(()=>{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||dm()),deps:[[t,new Tq,new Dq]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new G(901,!1)}};s(t,"ɵprov",B({token:t,providedIn:"root",factory:dm}));let e=t;return e})();function YW(e){try{let{rootComponent:t,appProviders:a,platformProviders:n}=e,r=zW(n),i=[OW({}),{provide:wo,useExisting:AW},...a||[]],o=new sb({providers:i,parent:r,debugName:"",runEnvironmentInitializers:!1});return FW({r3Injector:o.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}finally{}}function Mi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Rb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Fc(e){return dH(e)}function rl(e,t){return tH(e)}var KW=e=>e;function XW(e,t){if(typeof e=="function"){let a=hp(e,KW,t==null?void 0:t.equal);return hm(a)}else{let a=hp(e.source,e.computation,e.equal);return hm(a)}}function hm(e){let t=e[ur],a=e;return a.set=n=>lH(t,n),a.update=n=>uH(t,n),a.asReadonly=tG.bind(e),a}function Ab(e,t){let a=Zr(e),n=t.elementInjector||Il();return new fh(a).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var QW={schedule(e,t){let a=setTimeout(e,t);return()=>clearTimeout(a)}};function JW(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function eZ(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var fu;function tZ(e,t){if(!fu){let a=Element.prototype;fu=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?fu.call(e,t):!1}function nZ(e){let t={};return e.forEach(({propName:a,templateName:n,transform:r})=>{t[JW(n)]=[a,r]}),t}function aZ(e,t){return t.get(To).resolveComponentFactory(e).inputs}function rZ(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],c=iZ(l,t,r);c!==-1&&n[c].push(l)}return n}function iZ(e,t,a){let n=a;return eZ(e)&&t.some((r,i)=>r!=="*"&&tZ(e,r)?(n=i,!0):!1),n}var oZ=10,sZ=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(To).resolveComponentFactory(e);for(let a of this.componentFactory.inputs)this.inputMap.set(a.propName,a.templateName)}create(e){return new lZ(this.componentFactory,e,this.inputMap)}},lZ=class{constructor(e,t,a){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new pg(1));s(this,"events",this.eventEmitters.pipe(Vs(e=>yd(...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(je),this.appRef=this.injector.get(Ha),this.cdScheduler=t.get(wo),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=QW.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},oZ))})}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),nU(this.componentRef.hostView)&&(aU(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=rt.create({providers:[],parent:this.injector}),a=rZ(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 tt(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()}},uZ=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function cZ(e,t){let a=aZ(e,t.injector),n=t.strategyFactory||new sZ(e,t.injector),r=nZ(a);class i extends uZ{constructor(c){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=n.create(this.injector||t.injector);a.forEach(({propName:u,transform:d})=>{if(!this.hasOwnProperty(u))return;let m=this[u];delete this[u],c.setInputValue(u,m,d)})}return this._ngElementStrategy}attributeChangedCallback(c,u,d,m){let[b,g]=r[c];this.ngElementStrategy.setInputValue(b,d,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let u=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(u)})}}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(c){this.ngElementStrategy.setInputValue(o,c,l)},configurable:!0,enumerable:!0})}),i}var Le=new K(""),Pb=null;function Bi(){return Pb}function dZ(e){Pb??(Pb=e)}var hZ=class{},Lb=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:()=>C(pZ),providedIn:"platform"}));let e=t;return e})(),pZ=(()=>{const t=class t extends Lb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Bi().getBaseHref(this._doc)}onPopState(r){let i=Bi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=Bi().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",B({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Fb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function pm(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 _h=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:()=>C(fZ),providedIn:"root"}));let e=t;return e})(),mZ=new K(""),fZ=(()=>{const t=class t extends _h{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=C(Le).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 Fb(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 c=this.prepareExternalUrl(o+or(l));this._platformLocation.pushState(r,i,c)}replaceState(r,i,o,l){let c=this.prepareExternalUrl(o+or(l));this._platformLocation.replaceState(r,i,c)}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)(ee(Lb),ee(mZ,8))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),jb=(()=>{const t=class t{constructor(n){s(this,"_subject",new xe);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=bZ(pm(mm(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(vZ(this._basePath,mm(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",Fb),s(t,"stripTrailingSlash",pm),s(t,"ɵfac",function(n){return new(n||t)(ee(_h))}),s(t,"ɵprov",B({token:t,factory:()=>gZ(),providedIn:"root"}));let e=t;return e})();function gZ(){return new jb(ee(_h))}function vZ(e,t){if(!e||!t.startsWith(e))return t;let a=t.substring(e.length);return a===""||["/",";","?","#"].includes(a[0])?a:t}function mm(e){return e.replace(/\/index.html$/,"")}function bZ(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Ht=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Ht||{}),ze=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ze||{}),tn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(tn||{}),jl={MinusSign:5};function yZ(e){return Fn(e)[bt.LocaleId]}function _Z(e,t,a){let n=Fn(e),r=[n[bt.DayPeriodsFormat],n[bt.DayPeriodsStandalone]],i=xn(r,t);return xn(i,a)}function wZ(e,t,a){let n=Fn(e),r=[n[bt.DaysFormat],n[bt.DaysStandalone]],i=xn(r,t);return xn(i,a)}function xZ(e,t,a){let n=Fn(e),r=[n[bt.MonthsFormat],n[bt.MonthsStandalone]],i=xn(r,t);return xn(i,a)}function EZ(e,t){let a=Fn(e)[bt.Eras];return xn(a,t)}function Jo(e,t){let a=Fn(e);return xn(a[bt.DateFormat],t)}function es(e,t){let a=Fn(e);return xn(a[bt.TimeFormat],t)}function ts(e,t){let a=Fn(e)[bt.DateTimeFormat];return xn(a,t)}function Vl(e,t){return Fn(e)[bt.NumberSymbols][t]}function Vb(e){if(!e[bt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[bt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function SZ(e){let t=Fn(e);return Vb(t),(t[bt.ExtraData][2]||[]).map(a=>typeof a=="string"?gu(a):[gu(a[0]),gu(a[1])])}function kZ(e,t,a){let n=Fn(e);Vb(n);let r=[n[bt.ExtraData][0],n[bt.ExtraData][1]],i=xn(r,t)||[];return xn(i,a)||[]}function xn(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 gu(e){let[t,a]=e.split(":");return{hours:+t,minutes:+a}}var CZ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Cr={},IZ=/((?:[^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 DZ(e,t,a,n){let r=FZ(e);t=ha(a,t)||t;let i=[],o;for(;t;)if(o=IZ.exec(t),o){i=i.concat(o.slice(1));let u=i.pop();if(!u)break;t=u}else{i.push(t);break}let l=r.getTimezoneOffset();n&&(l=zb(n,l),r=LZ(r,n));let c="";return i.forEach(u=>{let d=AZ(u);c+=d?d(r,a,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function il(e,t,a){let n=new Date(0);return n.setFullYear(e,t,a),n.setHours(0,0,0),n}function ha(e,t){let a=yZ(e);if(Cr[a]??(Cr[a]={}),Cr[a][t])return Cr[a][t];let n="";switch(t){case"shortDate":n=Jo(e,tn.Short);break;case"mediumDate":n=Jo(e,tn.Medium);break;case"longDate":n=Jo(e,tn.Long);break;case"fullDate":n=Jo(e,tn.Full);break;case"shortTime":n=es(e,tn.Short);break;case"mediumTime":n=es(e,tn.Medium);break;case"longTime":n=es(e,tn.Long);break;case"fullTime":n=es(e,tn.Full);break;case"short":let r=ha(e,"shortTime"),i=ha(e,"shortDate");n=ns(ts(e,tn.Short),[r,i]);break;case"medium":let o=ha(e,"mediumTime"),l=ha(e,"mediumDate");n=ns(ts(e,tn.Medium),[o,l]);break;case"long":let c=ha(e,"longTime"),u=ha(e,"longDate");n=ns(ts(e,tn.Long),[c,u]);break;case"full":let d=ha(e,"fullTime"),m=ha(e,"fullDate");n=ns(ts(e,tn.Full),[d,m]);break}return n&&(Cr[a][t]=n),n}function ns(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(a,n){return t!=null&&n in t?t[n]:a})),e}function Tn(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 TZ(e,t){return Tn(e,3).substring(0,t)}function mt(e,t,a=0,n=!1,r=!1){return function(i,o){let l=NZ(e,i);if((a>0||l>-a)&&(l+=a),e===3)l===0&&a===-12&&(l=12);else if(e===6)return TZ(l,t);let c=Vl(o,jl.MinusSign);return Tn(l,t,c,n,r)}}function NZ(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 qe(e,t,a=Ht.Format,n=!1){return function(r,i){return OZ(r,i,e,t,a,n)}}function OZ(e,t,a,n,r,i){switch(a){case 2:return xZ(t,r,n)[e.getMonth()];case 1:return wZ(t,r,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=SZ(t),d=kZ(t,r,n),m=u.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,x=o>=g.hours&&l>=g.minutes,S=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&S)return!0}else if(x||S)return!0}else if(b.hours===o&&b.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return _Z(t,r,n)[o<12?0:1];case 3:return EZ(t,n)[e.getFullYear()<=0?0:1];default:let c=a;throw new Error(`unexpected translation type ${c}`)}}function as(e){return function(t,a,n){let r=-1*n,i=Vl(a,jl.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+Tn(o,2,i)+Tn(Math.abs(r%60),2,i);case 1:return"GMT"+(r>=0?"+":"")+Tn(o,1,i);case 2:return"GMT"+(r>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(r%60),2,i);case 3:return n===0?"Z":(r>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var MZ=0,Is=4;function RZ(e){let t=il(e,MZ,1).getDay();return il(e,0,1+(t<=Is?Is:Is+7)-t)}function Bb(e){let t=e.getDay(),a=t===0?-3:Is-t;return il(e.getFullYear(),e.getMonth(),e.getDate()+a)}function vu(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=Bb(a),o=RZ(i.getFullYear()),l=i.getTime()-o.getTime();r=1+Math.round(l/6048e5)}return Tn(r,e,Vl(n,jl.MinusSign))}}function rs(e,t=!1){return function(a,n){let r=Bb(a).getFullYear();return Tn(r,e,Vl(n,jl.MinusSign),t)}}var bu={};function AZ(e){if(bu[e])return bu[e];let t;switch(e){case"G":case"GG":case"GGG":t=qe(3,ze.Abbreviated);break;case"GGGG":t=qe(3,ze.Wide);break;case"GGGGG":t=qe(3,ze.Narrow);break;case"y":t=mt(0,1,0,!1,!0);break;case"yy":t=mt(0,2,0,!0,!0);break;case"yyy":t=mt(0,3,0,!1,!0);break;case"yyyy":t=mt(0,4,0,!1,!0);break;case"Y":t=rs(1);break;case"YY":t=rs(2,!0);break;case"YYY":t=rs(3);break;case"YYYY":t=rs(4);break;case"M":case"L":t=mt(1,1,1);break;case"MM":case"LL":t=mt(1,2,1);break;case"MMM":t=qe(2,ze.Abbreviated);break;case"MMMM":t=qe(2,ze.Wide);break;case"MMMMM":t=qe(2,ze.Narrow);break;case"LLL":t=qe(2,ze.Abbreviated,Ht.Standalone);break;case"LLLL":t=qe(2,ze.Wide,Ht.Standalone);break;case"LLLLL":t=qe(2,ze.Narrow,Ht.Standalone);break;case"w":t=vu(1);break;case"ww":t=vu(2);break;case"W":t=vu(1,!0);break;case"d":t=mt(2,1);break;case"dd":t=mt(2,2);break;case"c":case"cc":t=mt(7,1);break;case"ccc":t=qe(1,ze.Abbreviated,Ht.Standalone);break;case"cccc":t=qe(1,ze.Wide,Ht.Standalone);break;case"ccccc":t=qe(1,ze.Narrow,Ht.Standalone);break;case"cccccc":t=qe(1,ze.Short,Ht.Standalone);break;case"E":case"EE":case"EEE":t=qe(1,ze.Abbreviated);break;case"EEEE":t=qe(1,ze.Wide);break;case"EEEEE":t=qe(1,ze.Narrow);break;case"EEEEEE":t=qe(1,ze.Short);break;case"a":case"aa":case"aaa":t=qe(0,ze.Abbreviated);break;case"aaaa":t=qe(0,ze.Wide);break;case"aaaaa":t=qe(0,ze.Narrow);break;case"b":case"bb":case"bbb":t=qe(0,ze.Abbreviated,Ht.Standalone,!0);break;case"bbbb":t=qe(0,ze.Wide,Ht.Standalone,!0);break;case"bbbbb":t=qe(0,ze.Narrow,Ht.Standalone,!0);break;case"B":case"BB":case"BBB":t=qe(0,ze.Abbreviated,Ht.Format,!0);break;case"BBBB":t=qe(0,ze.Wide,Ht.Format,!0);break;case"BBBBB":t=qe(0,ze.Narrow,Ht.Format,!0);break;case"h":t=mt(3,1,-12);break;case"hh":t=mt(3,2,-12);break;case"H":t=mt(3,1);break;case"HH":t=mt(3,2);break;case"m":t=mt(4,1);break;case"mm":t=mt(4,2);break;case"s":t=mt(5,1);break;case"ss":t=mt(5,2);break;case"S":t=mt(6,1);break;case"SS":t=mt(6,2);break;case"SSS":t=mt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=as(0);break;case"ZZZZZ":t=as(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=as(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=as(2);break;default:return null}return bu[e]=t,t}function zb(e,t){e=e.replace(/:/g,"");let a=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(a)?t:a}function PZ(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function LZ(e,t,a){let n=e.getTimezoneOffset(),r=zb(t,n);return PZ(e,-1*(r-n))}function FZ(e){if(fm(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 il(r,i-1,o)}let a=parseFloat(e);if(!isNaN(e-a))return new Date(a);let n;if(n=e.match(CZ))return jZ(n)}let t=new Date(e);if(!fm(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function jZ(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,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,c,u),t}function fm(e){return e instanceof Date&&!isNaN(e.valueOf())}var yu=/\s+/,gm=[],VZ=(()=>{const t=class t{constructor(n,r){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",gm);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(yu):gm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(yu):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(yu).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)($t(At),$t(mi))}),s(t,"ɵdir",Ut({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),BZ=(()=>{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:Fr.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)($t(At),$t(Mb),$t(mi))}),s(t,"ɵdir",Ut({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function Hb(e,t){return new G(2100,!1)}var zZ=class{createSubscription(e,t){return Fc(()=>e.subscribe({next:t,error:a=>{throw a}}))}dispose(e){Fc(()=>e.unsubscribe())}},HZ=class{createSubscription(e,t){return e.then(a=>t==null?void 0:t(a),a=>{throw a}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},qZ=new HZ,$Z=new zZ,GZ=(()=>{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(vh(n))return qZ;if(mb(n))return $Z;throw Hb()}_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)($t(Oo,16))}),s(t,"ɵpipe",wr({name:"async",type:t,pure:!1}));let e=t;return e})(),UZ="mediumDate",WZ=new K(""),ZZ=new K(""),YZ=(()=>{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,c;if(n==null||n===""||n!==n)return null;try{let u=r??((l=this.defaultOptions)==null?void 0:l.dateFormat)??UZ,d=i??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return DZ(n,u,o||this.locale,d)}catch(u){throw Hb(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)($t(Fl,16),$t(WZ,24),$t(ZZ,24))}),s(t,"ɵpipe",wr({name:"date",type:t,pure:!0}));let e=t;return e})(),qb=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({}));let e=t;return e})();function $b(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 Gb="browser",KZ="server";function XZ(e){return e===Gb}function Ub(e){return e===KZ}var Wb=class{};function Bl(e,t,a){return cW(e,t,a)}var jc=new K(""),Zb=(()=>{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)(ee(jc),ee(je))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),Yb=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ds="ng-app-id";function vm(e){for(let t of e)t.remove()}function bm(e,t){let a=t.createElement("style");return a.textContent=e,a}function QZ(e,t,a,n){var i;let r=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ds}="${t}"],link[${Ds}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Ds),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 Vc(e,t){let a=t.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),a}var Kb=(()=>{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=Ub(o),QZ(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,bm);r==null||r.forEach(i=>this.addUsage(i,this.external,Vc))}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&&(vm(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])vm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,bm(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Vc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ds,this.appId),n.appendChild(r)}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(Kd),ee(Xd,8),ee(Tl))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),_u={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"},wh=/%COMP%/g,Xb="%COMP%",JZ=`_nghost-${Xb}`,eY=`_ngcontent-${Xb}`,tY=!0,nY=new K("",{providedIn:"root",factory:()=>tY});function aY(e){return eY.replace(wh,e)}function rY(e){return JZ.replace(wh,e)}function Qb(e,t){return t.map(a=>a.replace(wh,e))}var Bc=(()=>{const t=class t{constructor(n,r,i,o,l,c,u,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=c,this.ngZone=u,this.nonce=d,this.tracingService=m,this.platformIsServer=Ub(c),this.defaultRenderer=new xh(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===fa.ShadowDom&&(r=Gt(se({},r),{encapsulation:fa.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof _m?i.applyToHost(n):i instanceof zc&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let l=this.doc,c=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,b=this.platformIsServer,g=this.tracingService;switch(r.encapsulation){case fa.Emulated:o=new _m(u,d,r,this.appId,m,l,c,b,g);break;case fa.ShadowDom:return new iY(u,d,n,r,l,c,this.nonce,b,g);default:o=new zc(u,d,r,m,l,c,b,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)(ee(Zb),ee(Kb),ee(Kd),ee(nY),ee(Le),ee(Tl),ee(je),ee(Xd),ee(So,8))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),xh=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(_u[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(ym(e)?e.content:e).appendChild(t)}insertBefore(e,t,a){e&&(ym(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=_u[n];r?e.setAttributeNS(r,t,a):e.setAttribute(t,a)}else e.setAttribute(t,a)}removeAttribute(e,t,a){if(a){let n=_u[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&(Fr.DashCase|Fr.Important)?e.style.setProperty(t,a,n&Fr.Important?"important":""):e.style[t]=a}removeStyle(e,t,a){a&Fr.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=Bi().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 ym(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var iY=class extends xh{constructor(t,a,n,r,i,o,l,c,u){var b;super(t,i,o,c,u);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=Qb(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=(b=r.getExternalStyles)==null?void 0:b.call(r);if(m)for(let g of m){let w=Vc(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)}},zc=class extends xh{constructor(t,a,n,r,i,o,l,c,u){var m;super(t,i,o,l,c);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=a,this.removeStylesOnCompDestroy=r;let d=n.styles;this.styles=u?Qb(u,d):d,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},_m=class extends zc{constructor(t,a,n,r,i,o,l,c,u){let d=r+"-"+n.id;super(t,a,n,i,o,l,c,u,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=aY(d),this.hostAttr=rY(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}},oY=class Jb extends hZ{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){dZ(new Jb)}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=sY();return n==null?null:lY(n)}resetBaseElement(){Ri=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return $b(document.cookie,a)}},Ri=null;function sY(){return Ri=Ri||document.head.querySelector("base"),Ri?Ri.getAttribute("href"):null}function lY(e){return new URL(e,document.baseURI).pathname}var uY=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),cY=(()=>{const t=class t extends Yb{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)(ee(Le))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),wm=["alt","control","meta","shift"],dY={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},hY={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},pY=(()=>{const t=class t extends Yb{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let l=t.parseEventName(r),c=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Bi().onAndCancel(n,l.domEventName,c,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="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),l="code."),wm.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 u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,r){let i=dY[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"),wm.forEach(l=>{if(l!==i){let c=hY[l];c(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)(ee(Le))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})();function mY(e){return YW(fY(e))}function fY(e){return{appProviders:[..._Y,...(e==null?void 0:e.providers)??[]],platformProviders:yY}}function gY(){oY.makeCurrent()}function vY(){return new An}function bY(){return sG(document),document}var yY=[{provide:Tl,useValue:Gb},{provide:o0,useValue:gY,multi:!0},{provide:Le,useFactory:bY}],_Y=[{provide:Dd,useValue:"root"},{provide:An,useFactory:vY},{provide:jc,useClass:cY,multi:!0,deps:[Le]},{provide:jc,useClass:pY,multi:!0,deps:[Le]},Bc,Kb,Zb,{provide:Pn,useExisting:Bc},{provide:Wb,useClass:uY},[]],Eh=class{},ey=class{},ai=class Ts{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 Ts?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 Ts;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof Ts?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)))}},wY=class{encodeKey(e){return xm(e)}encodeValue(e){return xm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function xY(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 EY=/%(\d[a-f0-9])/gi,SY={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xm(e){return encodeURIComponent(e).replace(EY,(t,a)=>SY[a]??t)}function is(e){return`${e}`}var qr=class ty{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new wY,t.fromString){if(t.fromObject)throw new G(2805,!1);this.map=xY(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(is):[is(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 ty({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(is(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(is(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)}},kY=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 CY(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Em(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Sm(e){return typeof Blob<"u"&&e instanceof Blob}function km(e){return typeof FormData<"u"&&e instanceof FormData}function IY(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Cm="Content-Type",Im="Accept",ny="X-Request-URL",ay="text/plain",ry="application/json",DY=`${ry}, ${ay}, */*`,wu=class iy{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(CY(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 ai),this.context??(this.context=new kY),!this.params)this.params=new qr,this.urlWithParams=a;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=a;else{let l=a.indexOf("?"),c=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+c+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Em(this.body)||Sm(this.body)||km(this.body)||IY(this.body)?this.body:this.body instanceof qr?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||km(this.body)?null:Sm(this.body)?this.body.type||null:Em(this.body)?null:typeof this.body=="string"?ay:this.body instanceof qr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?ry: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,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,d=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((b,g)=>b.set(g,t.setHeaders[g]),u)),t.setParams&&(d=Object.keys(t.setParams).reduce((b,g)=>b.set(g,t.setParams[g]),d)),new iy(a,n,o,{params:d,headers:u,context:m,reportProgress:c,responseType:r,withCredentials:l,transferCache:i})}},$r=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}($r||{}),Sh=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 ai,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}},TY=class oy extends Sh{constructor(a={}){super(a);s(this,"type",$r.ResponseHeader)}clone(a={}){return new oy({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})}},sy=class ly extends Sh{constructor(a={}){super(a);s(this,"body");s(this,"type",$r.Response);this.body=a.body!==void 0?a.body:null}clone(a={}){return new ly({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})}},Dm=class extends Sh{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}},NY=200,OY=204;function xu(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 gi=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,r,i={}){let o;if(n instanceof wu)o=n;else{let u;i.headers instanceof ai?u=i.headers:u=new ai(i.headers);let d;i.params&&(i.params instanceof qr?d=i.params:d=new qr({fromObject:i.params})),o=new wu(n,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=at(o).pipe(jg(u=>this.handler.handle(u)));if(n instanceof wu||i.observe==="events")return l;let c=l.pipe(ma(u=>u instanceof sy));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(Nt(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new G(2806,!1);return u.body}));case"blob":return c.pipe(Nt(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new G(2807,!1);return u.body}));case"text":return c.pipe(Nt(u=>{if(u.body!==null&&typeof u.body!="string")throw new G(2808,!1);return u.body}));case"json":default:return c.pipe(Nt(u=>u.body))}case"response":return c;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 qr().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,xu(i,r))}post(n,r,i={}){return this.request("POST",n,xu(i,r))}put(n,r,i={}){return this.request("PUT",n,xu(i,r))}};s(t,"ɵfac",function(n){return new(n||t)(ee(Eh))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),MY=new K("");function RY(e,t){return t(e)}function AY(e,t,a){return(n,r)=>Nd(a,()=>t(n,i=>e(i,r)))}var kh=new K(""),PY=new K(""),LY=new K("",{providedIn:"root",factory:()=>!0}),Tm=(()=>{const t=class t extends Eh{constructor(r,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",C(xo));s(this,"contributeToStability",C(LY));this.backend=r,this.injector=i}handle(r){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(kh),...this.injector.get(PY,[])]));this.chain=i.reduceRight((o,l)=>AY(o,l,this.injector),RY)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(Vg(()=>this.pendingTasks.remove(i)))}else return this.chain(r,i=>this.backend.handle(i))}};s(t,"ɵfac",function(r){return new(r||t)(ee(ey),ee(Kn))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),FY=/^\)\]\}',?\n/,jY=RegExp(`^${ny}:`,"m");function VY(e){return"responseURL"in e&&e.responseURL?e.responseURL:jY.test(e.getAllResponseHeaders())?e.getResponseHeader(ny):null}var Nm=(()=>{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?vr(r.ɵloadImpl()):at(null)).pipe(Vs(()=>new tt(i=>{let o=r.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,S)=>o.setRequestHeader(x,S.join(","))),n.headers.has(Im)||o.setRequestHeader(Im,DY),!n.headers.has(Cm)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(Cm,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let x=o.statusText||"OK",S=new ai(o.getAllResponseHeaders()),T=VY(o)||n.url;return c=new TY({headers:S,status:o.status,statusText:x,url:T}),c},d=()=>{let{headers:x,status:S,statusText:T,url:A}=u(),O=null;S!==OY&&(O=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=O?NY:0);let Y=S>=200&&S<300;if(n.responseType==="json"&&typeof O=="string"){let ie=O;O=O.replace(FY,"");try{O=O!==""?JSON.parse(O):null}catch(me){O=ie,Y&&(Y=!1,O={error:me,text:O})}}Y?(i.next(new sy({body:O,headers:x,status:S,statusText:T,url:A||void 0})),i.complete()):i.error(new Dm({error:O,headers:x,status:S,statusText:T,url:A||void 0}))},m=x=>{let{url:S}=u(),T=new Dm({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});i.error(T)},b=!1,g=x=>{b||(i.next(u()),b=!0);let S={type:$r.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),i.next(S)},w=x=>{let S={type:$r.UploadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),i.next(S)};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:$r.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)(ee(Wb))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),uy=new K(""),BY="XSRF-TOKEN",zY=new K("",{providedIn:"root",factory:()=>BY}),HY="X-XSRF-TOKEN",qY=new K("",{providedIn:"root",factory:()=>HY}),cy=class{},$Y=(()=>{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=$b(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(zY))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})();function GY(e,t){let a=e.url.toLowerCase();if(!C(uy)||e.method==="GET"||e.method==="HEAD"||a.startsWith("http://")||a.startsWith("https://"))return t(e);let n=C(cy).getToken(),r=C(qY);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var dy=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}(dy||{});function UY(e,t){return{ɵkind:e,ɵproviders:t}}function WY(...e){let t=[gi,Nm,Tm,{provide:Eh,useExisting:Tm},{provide:ey,useFactory:()=>C(MY,{optional:!0})??C(Nm)},{provide:kh,useValue:GY,multi:!0},{provide:uy,useValue:!0},{provide:cy,useClass:$Y}];for(let a of e)t.push(...a.ɵproviders);return Cd(t)}function ZY(e){return UY(dy.Interceptors,e.map(t=>({provide:kh,useValue:t,multi:!0})))}var hy=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=ee(YY),r},providedIn:"root"}));let e=t;return e})(),YY=(()=>{const t=class t extends hy{constructor(r){super();s(this,"_doc");this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case an.NONE:return i;case an.HTML:return Tr(i,"HTML")?Ma(i):WG(this._doc,String(i)).toString();case an.STYLE:return Tr(i,"Style")?Ma(i):i;case an.SCRIPT:if(Tr(i,"Script"))return Ma(i);throw new G(5200,!1);case an.URL:return Tr(i,"URL")?Ma(i):eh(String(i));case an.RESOURCE_URL:if(Tr(i,"ResourceURL"))return Ma(i);throw new G(5201,!1);default:throw new G(5202,!1)}}bypassSecurityTrustHtml(r){return SG(r)}bypassSecurityTrustStyle(r){return kG(r)}bypassSecurityTrustScript(r){return CG(r)}bypassSecurityTrustUrl(r){return IG(r)}bypassSecurityTrustResourceUrl(r){return DG(r)}};s(t,"ɵfac",function(r){return new(r||t)(ee(Le))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Mo=class{},KY=(()=>{const t=class t extends Mo{getTranslation(n){return at({})}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Jt(t)))(r||t)}})()),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),py=class{},XY=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})();function ol(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(!ol(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!ol(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 Pa(e){return typeof e<"u"&&e!==null}function Ro(e){return Ns(e)&&!Ch(e)&&e!==null}function Ns(e){return typeof e=="object"}function Ch(e){return Array.isArray(e)}function Ih(e){return typeof e=="string"}function QY(e){return typeof e=="function"}function Hc(e,t){let a=Object.assign({},e);return Ns(e)?(Ns(e)&&Ns(t)&&Object.keys(t).forEach(n=>{Ro(t[n])?n in e?a[n]=Hc(e[n],t[n]):Object.assign(a,{[n]:t[n]}):Object.assign(a,{[n]:t[n]})}),a):Hc({},t)}function qc(e,t){let a=t.split(".");t="";do t+=a.shift(),Pa(e)&&Pa(e[t])&&(Ro(e[t])||Ch(e[t])||!a.length)?(e=e[t],t=""):a.length?t+=".":e=void 0;while(a.length);return e}function JY(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]||!Ro(r[o]))&&(r[o]={}),r=r[o])}}var Dh=class{},eK=(()=>{const t=class t extends Dh{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(r,i){if(Ih(r))return this.interpolateString(r,i);if(QY(r))return this.interpolateFunction(r,i)}interpolateFunction(r,i){return r(i)}interpolateString(r,i){return i?r.replace(this.templateMatcher,(o,l)=>{let c=qc(i,l);return Pa(c)?c:o}):r}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=Jt(t)))(i||t)}})()),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),Ao=class{},tK=(()=>{const t=class t extends Ao{compile(n,r){return n}compileTranslations(n,r){return n}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Jt(t)))(r||t)}})()),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),$c=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Ft);s(this,"onLangChange",new Ft);s(this,"onDefaultLangChange",new Ft)}},my=new K("ISOLATE_TRANSLATE_SERVICE"),fy=new K("USE_DEFAULT_LANG"),gy=new K("DEFAULT_LANGUAGE"),vy=new K("USE_EXTEND"),Ei=e=>Li(e)?e:at(e),Ca=(()=>{const t=class t{constructor(n,r,i,o,l,c=!0,u=!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=c,this.extend=d,u&&(this.store=new $c),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(on(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return at(this.translations[n]);this.currentLang||(this.currentLang=n);let r=this.retrieveTranslations(n);return Li(r)?(r.pipe(on(1)).subscribe(()=>{this.changeLang(n)}),r):(this.changeLang(n),at(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(bp(1),on(1));return this.loadingTranslations=r.pipe(Nt(i=>this.compiler.compileTranslations(i,n)),bp(1),on(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?se(se({},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]=Hc(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(qc(n,r),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(qc(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(Ch(n))return n.map(i=>this.runInterpolation(i,r));if(Ro(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 u of r)o[u]=this.getParsedResultForKey(n,u,i),l=l||Li(o[u]);if(!l)return o;let c=r.map(u=>Ei(o[u]));return Lg(c).pipe(Nt(u=>{let d={};return u.forEach((m,b)=>{d[r[b]]=m}),d}))}return this.getParsedResultForKey(n,r,i)}get(n,r){if(!Pa(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(jg(i=>Ei(this.getParsedResult(i,n,r)))):Ei(this.getParsedResult(this.translations[this.currentLang],n,r))}getStreamOnTranslationChange(n,r){if(!Pa(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Gi(js(()=>this.get(n,r)),this.onTranslationChange.pipe(Vs(i=>{let o=this.getParsedResult(i.translations,n,r);return Ei(o)})))}stream(n,r){if(!Pa(n)||!n.length)throw new Error('Parameter "key" required');return Gi(js(()=>this.get(n,r)),this.onLangChange.pipe(Vs(i=>{let o=this.getParsedResult(i.translations,n,r);return Ei(o)})))}instant(n,r){if(!Pa(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 Li(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,r,i=this.currentLang){JY(this.translations[i],n,Ih(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)(ee($c),ee(Mo),ee(Ao),ee(Dh),ee(py),ee(fy),ee(my),ee(vy),ee(gy))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Po=(()=>{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);Li(l)?l.subscribe(o):o(l)}this.translate.get(n,r).subscribe(o)}transform(n,...r){if(!n||!n.length)return n;if(ol(n,this.lastKey)&&ol(r,this.lastParams))return this.value;let i;if(Pa(r[0])&&r.length)if(Ih(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 Ro(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)($t(Ca,16),$t(Oo,16))}),s(t,"ɵpipe",wr({name:"translate",type:t,pure:!1})),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),nK=(e={})=>Cd([e.loader||{provide:Mo,useClass:KY},e.compiler||{provide:Ao,useClass:tK},e.parser||{provide:Dh,useClass:eK},e.missingTranslationHandler||{provide:py,useClass:XY},$c,{provide:my,useValue:e.isolate},{provide:fy,useValue:e.useDefaultLang},{provide:vy,useValue:e.extend},{provide:gy,useValue:e.defaultLanguage},Ca]);function by(e){return e.buttons===0||e.detail===0}function yy(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 Eu;function aK(){if(Eu==null){let e=typeof document<"u"?document.head:null;Eu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Eu}function rK(e){if(aK()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Su(){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 wa(e){return e.composedPath?e.composedPath()[0]:e.target}function La(e,t,a,n,r){let i=parseInt(cm.major),o=parseInt(cm.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 Gc;try{Gc=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Gc=!1}var pn=(()=>{const t=class t{constructor(){s(this,"_platformId",C(Tl));s(this,"isBrowser",this._platformId?XZ(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||Gc)&&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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Si;function iK(){if(Si==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Si=!0}))}finally{Si=Si||!1}return Si}function Th(e){return iK()?e:!!e.capture}function Om(e,t=0){return oK(e)?Number(e):arguments.length===2?t:0}function oK(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Gr(e){return e instanceof At?e.nativeElement:e}var sK=new K("cdk-input-modality-detector-options"),lK={ignoreKeys:[18,17,224,91,16]},_y=650,ku={passive:!0,capture:!0},uK=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new fd(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=wa(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<_y||(this._modality.next(by(n)?"keyboard":"mouse"),this._mostRecentTarget=wa(n))});s(this,"_onTouchstart",n=>{if(yy(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=wa(n)});let n=C(je),r=C(Le),i=C(sK,{optional:!0});if(this._options=se(se({},lK),i),this.modalityDetected=this._modality.pipe(zg(1)),this.modalityChanged=this.modalityDetected.pipe(sq()),this._platform.isBrowser){let o=C(Pn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[La(o,r,"keydown",this._onKeydown,ku),La(o,r,"mousedown",this._onMousedown,ku),La(o,r,"touchstart",this._onTouchstart,ku)])}}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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Os=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Os||{}),cK=new K("cdk-focus-monitor-default-options"),os=Th({passive:!0,capture:!0}),wy=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(je));s(this,"_platform",C(pn));s(this,"_inputModalityDetector",C(uK));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",C(Le,{optional:!0}));s(this,"_stopInputModalityDetector",new xe);s(this,"_rootNodeFocusAndBlurListener",n=>{let r=wa(n);for(let i=r;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=C(cK,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Os.IMMEDIATE}monitor(n,r=!1){let i=Gr(n);if(!this._platform.isBrowser||i.nodeType!==1)return at();let o=rK(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return r&&(l.checkChildren=!0),l.subject;let c={checkChildren:r,subject:new xe,rootNode:o};return this._elementInfo.set(i,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let r=Gr(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=Gr(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([c,u])=>this._originChanged(c,r,u)):(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===Os.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===Os.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?_y:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,r){let i=this._elementInfo.get(r),o=wa(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,os),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,os)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(mo(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,os),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,os),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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ss=new WeakMap,Lo=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",C(rt));s(this,"_environmentInjector",C(Kn))}load(n){let r=this._appRef=this._appRef||this._injector.get(Ha),i=ss.get(r);i||(i={loaders:new Set,refs:[]},ss.set(r,i),r.onDestroy(()=>{var o;(o=ss.get(r))==null||o.refs.forEach(l=>l.destroy()),ss.delete(r)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(Ab(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({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 sl(e){return Array.isArray(e)?e:[e]}var Mm=new Set,Ya,hK=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_nonce",C(Xd,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):mK}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&pK(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function pK(e,t){if(!Mm.has(e))try{Ya||(Ya=document.createElement("style"),t&&Ya.setAttribute("nonce",t),Ya.setAttribute("type","text/css"),document.head.appendChild(Ya)),Ya.sheet&&(Ya.sheet.insertRule(`@media ${e} {body{ }}`,0),Mm.add(e))}catch(a){console.error(a)}}function mK(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var xy=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(hK));s(this,"_zone",C(je));s(this,"_queries",new Map);s(this,"_destroySubject",new xe)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Rm(sl(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let r=Rm(sl(n)).map(o=>this._registerQuery(o).observable),i=eq(r);return i=Gi(i.pipe(on(1)),i.pipe(zg(1),oq(0))),i.pipe(Nt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),i={observable:new tt(o=>{let l=c=>this._zone.run(()=>o.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(wd(r),Nt(({matches:o})=>({query:n,matches:o})),mo(this._destroySubject)),mql:r};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Rm(e){return e.map(t=>t.split(",")).reduce((t,a)=>t.concat(a)).map(t=>t.trim())}var fK=(()=>{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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),gK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({providers:[fK]}));let e=t;return e})(),Ey=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return bK(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=vK(CK(n));if(r&&(Am(r)===-1||!this.isVisible(r)))return!1;let i=n.nodeName.toLowerCase(),o=Am(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!SK(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 kK(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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function vK(e){try{return e.frameElement}catch{return null}}function bK(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function yK(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function _K(e){return xK(e)&&e.type=="hidden"}function wK(e){return EK(e)&&e.hasAttribute("href")}function xK(e){return e.nodeName.toLowerCase()=="input"}function EK(e){return e.nodeName.toLowerCase()=="a"}function Sy(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Am(e){if(!Sy(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function SK(e){let t=e.nodeName.toLowerCase(),a=t==="input"&&e.type;return a==="text"||a==="password"||t==="select"||t==="textarea"}function kK(e){return _K(e)?!1:yK(e)||wK(e)||e.hasAttribute("contenteditable")||Sy(e)}function CK(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var IK=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?Jd(e,{injector:this._injector}):setTimeout(e)}},DK=(()=>{const t=class t{constructor(){s(this,"_checker",C(Ey));s(this,"_ngZone",C(je));s(this,"_document",C(Le));s(this,"_injector",C(rt));C(Lo).load(dK)}create(n,r=!1){return new IK(n,this._checker,this._ngZone,this._document,r,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),TK=new K("liveAnnouncerElement",{providedIn:"root",factory:NK});function NK(){return null}var OK=new K("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),MK=0,RK=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(je));s(this,"_defaultOptions",C(OK,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(Le));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(TK,{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(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var c;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(c=this._currentResolve)==null||c.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-${MK++}`,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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),tr=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}(tr||{}),Pm="cdk-high-contrast-black-on-white",Lm="cdk-high-contrast-white-on-black",Cu="cdk-high-contrast-active",ky=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",C(Le));s(this,"_breakpointSubscription");this._breakpointSubscription=C(xy).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return tr.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 tr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return tr.BLACK_ON_WHITE}return tr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Cu,Pm,Lm),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===tr.BLACK_ON_WHITE?n.add(Cu,Pm):r===tr.WHITE_ON_BLACK&&n.add(Cu,Lm)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),AK=(()=>{const t=class t{constructor(){C(ky)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({imports:[gK]}));let e=t;return e})(),Iu={},Fo=(()=>{const t=class t{constructor(){s(this,"_appId",C(Kd))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Iu.hasOwnProperty(n)||(Iu[n]=0),`${n}${Iu[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Cy(e,...t){return t.length?t.some(a=>e[a]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var PK=new K("cdk-dir-doc",{providedIn:"root",factory:LK});function LK(){return C(Le)}var FK=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function jK(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?FK.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var ll=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Ft);let n=C(PK,{optional:!0});if(n){let r=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=jK(r||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),eo=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({}));let e=t;return e})(),ri=(()=>{const t=class t{constructor(){C(ky)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({imports:[eo,eo]}));let e=t;return e})(),Uc=new K("MAT_DATE_LOCALE",{providedIn:"root",factory:VK});function VK(){return C(Fl)}var Ir="Method not implemented",Iy=class{constructor(){s(this,"locale");s(this,"_localeChanges",new xe);s(this,"localeChanges",this._localeChanges)}setTime(e,t,a,n){throw new Error(Ir)}getHours(e){throw new Error(Ir)}getMinutes(e){throw new Error(Ir)}getSeconds(e){throw new Error(Ir)}parseTime(e,t){throw new Error(Ir)}addSeconds(e,t){throw new Error(Ir)}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}},BK=new K("mat-date-formats"),zK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({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})(),qn=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(qn||{}),ls,Ka;function Dy(){if(Ka==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ka=!1,Ka;if("scrollBehavior"in document.documentElement.style)Ka=!0;else{let e=Element.prototype.scrollTo;e?Ka=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ka=!1}}return Ka}function ki(){if(typeof document!="object"||!document)return qn.NORMAL;if(ls==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),ls=qn.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,ls=e.scrollLeft===0?qn.NEGATED:qn.INVERTED),e.remove()}return ls}function Fm(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ft(e){return e==null?"":typeof e=="string"?e:`${e}px`}var gn=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}(gn||{}),HK=class{constructor(e,t,a,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",gn.HIDDEN);this._renderer=e,this.element=t,this.config=a,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},jm=Th({passive:!0,capture:!0}),qK=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var a;let t=wa(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,jm)})}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,jm)))}},ul={enterDuration:225,exitDuration:150},$K=800,Vm=Th({passive:!0,capture:!0}),Bm=["mousedown","touchstart"],zm=["mouseup","mouseleave","touchend","touchcancel"],GK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({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})(),Fa,UK=(Fa=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=Gr(n)),i&&i.get(Lo).load(GK)}fadeInRipple(t,a,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=se(se({},ul),n.animation);n.centered&&(t=r.left+r.width/2,a=r.top+r.height/2);let o=n.radius||WK(t,a,r),l=t-r.left,c=a-r.top,u=i.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${l-o}px`,d.style.top=`${c-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=`${u}ms`,this._containerElement.appendChild(d);let m=window.getComputedStyle(d),b=m.transitionProperty,g=m.transitionDuration,w=b==="none"||g==="0s"||g==="0s, 0s"||r.width===0&&r.height===0,x=new HK(this,d,n,w);d.style.transform="scale3d(1, 1, 1)",x.state=gn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let S=null;return!w&&(u||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let T=()=>{S&&(S.fallbackTimer=null),clearTimeout(O),this._finishRippleTransition(x)},A=()=>this._destroyRipple(x),O=setTimeout(A,u+100);d.addEventListener("transitionend",T),d.addEventListener("transitioncancel",A),S={onTransitionEnd:T,onTransitionCancel:A,fallbackTimer:O}}),this._activeRipples.set(x,S),(w||!u)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===gn.FADING_OUT||t.state===gn.HIDDEN)return;let a=t.element,n=se(se({},ul),t.config.animation);a.style.transitionDuration=`${n.exitDuration}ms`,a.style.opacity="0",t.state=gn.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=Gr(t);!this._platform.isBrowser||!a||a===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=a,Bm.forEach(n=>{Fa._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(()=>{zm.forEach(a=>{this._triggerElement.addEventListener(a,this,Vm)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===gn.FADING_IN?this._startFadeOutTransition(t):t.state===gn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let a=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=gn.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=gn.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=by(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+$K;!this._target.rippleDisabled&&!a&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!yy(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===gn.VISIBLE||t.config.terminateOnPointerUp&&t.state===gn.FADING_IN;!t.config.persistent&&a&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Bm.forEach(a=>Fa._eventManager.removeHandler(a,t,this)),this._pointerUpEventsRegistered&&(zm.forEach(a=>t.removeEventListener(a,this,Vm)),this._pointerUpEventsRegistered=!1))}},s(Fa,"_eventManager",new qK),Fa);function WK(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 ZK=new K("mat-ripple-global-options"),YK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({imports:[ri,ri]}));let e=t;return e})(),KK={capture:!0},XK=["focus","mousedown","mouseenter","touchstart"],Du="mat-ripple-loader-uninitialized",Tu="mat-ripple-loader-class-name",Hm="mat-ripple-loader-centered",us="mat-ripple-loader-disabled",QK=(()=>{const t=class t{constructor(){s(this,"_document",C(Le));s(this,"_animationMode",C(pi,{optional:!0}));s(this,"_globalRippleOptions",C(ZK,{optional:!0}));s(this,"_platform",C(pn));s(this,"_ngZone",C(je));s(this,"_injector",C(rt));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var i;let r=wa(n);if(r instanceof HTMLElement){let o=r.closest(`[${Du}="${((i=this._globalRippleOptions)==null?void 0:i.namespace)??""}"]`);o&&this._createRipple(o)}});let n=C(Pn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>XK.map(r=>La(n,this._document,r,this._onInteraction,KK)))}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(Du,((i=this._globalRippleOptions)==null?void 0:i.namespace)??""),(r.className||!n.hasAttribute(Tu))&&n.setAttribute(Tu,r.className||""),r.centered&&n.setAttribute(Hm,""),r.disabled&&n.setAttribute(us,"")}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(us,""):n.removeAttribute(us)}_createRipple(n){var b,g,w;if(!this._document||this._hosts.has(n))return;(b=n.querySelector(".mat-ripple"))==null||b.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",n.getAttribute(Tu)),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)??ul.enterDuration,c=i?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??ul.exitDuration,u={rippleDisabled:i||(o==null?void 0:o.disabled)||n.hasAttribute(us),rippleConfig:{centered:n.hasAttribute(Hm),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:c}}},d=new UK(u,this._ngZone,r,this._platform,this._injector),m=!u.rippleDisabled;m&&d.setupTriggerEvents(n),this._hosts.set(n,{target:u,renderer:d,hasSetUpEvents:m}),n.removeAttribute(Du)}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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),JK=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,eX=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Nu(e,t){let a=Array(e);for(let n=0;n<e;n++)a[n]=t(n);return a}var tX=(()=>{const t=class t extends Iy{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",C(Uc,{optional:!0}));let r=C(Uc,{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 Nu(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){let r=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Nu(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 Nu(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,Gt(se({},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(JK.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 c=this.clone(r);return c.setHours(i,o,l,0),c}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 c=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();c.length>0&&(l=this._parseTimeString(c))}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(eX);if(i){let o=parseInt(i[1]),l=parseInt(i[2]),c=i[3]==null?void 0:parseInt(i[3]),u=i[4];if(o===12?o=u==="AM"?0:o:u==="PM"&&(o+=12),Ou(o,0,23)&&Ou(l,0,59)&&(c==null||Ou(c,0,59)))return this.setTime(this.today(),o,l,c||0)}return null}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})();function Ou(e,t,a){return!isNaN(e)&&e>=t&&e<=a}var Nh=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}},to=class extends Nh{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}},Oh=class extends Nh{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()}},nX=class extends Nh{constructor(t){super();s(this,"element");this.element=t instanceof At?t.nativeElement:t}},zl=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 to)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Oh)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof nX)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)}},aX=class extends zl{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(Qi,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||rt.NULL,i=r.get(Kn,n.injector);a=Ab(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]}},no=(()=>{const t=class t extends zl{constructor(){super();s(this,"_moduleRef",C(Qi,{optional:!0}));s(this,"_document",C(Le));s(this,"_viewContainerRef",C(Al));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new Ft);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",Ut({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[En]}));let e=t;return e})(),cl=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({}));let e=t;return e})(),rX=20,Ty=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(je));s(this,"_platform",C(pn));s(this,"_renderer",C(Pn).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new xe);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=rX){return this._platform.isBrowser?new tt(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=n>0?this._scrolled.pipe(Fg(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)}}):at()}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(ma(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=Gr(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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),iX=(()=>{const t=class t{constructor(){s(this,"elementRef",C(At));s(this,"scrollDispatcher",C(Ty));s(this,"ngZone",C(je));s(this,"dir",C(ll,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new xe);s(this,"_renderer",C(mi));s(this,"_cleanupScroll");s(this,"_elementScrolled",new xe)}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&&ki()!=qn.NORMAL?(n.left!=null&&(n.right=r.scrollWidth-r.clientWidth-n.left),ki()==qn.INVERTED?n.left=n.right:ki()==qn.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;Dy()?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&&ki()==qn.INVERTED?n==r?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&ki()==qn.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",Ut({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),oX=20,Ny=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new xe);s(this,"_document",C(Le,{optional:!0}));let n=C(je),r=C(Pn).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,c=-o.left||n.body.scrollLeft||r.scrollX||i.scrollLeft||0;return{top:l,left:c}}change(n=oX){return n>0?this._change.pipe(Fg(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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qm=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({}));let e=t;return e})(),$m=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({imports:[eo,qm,eo,qm]}));let e=t;return e})(),Gm=Dy(),sX=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=ft(-this._previousScrollPosition.left),e.style.top=ft(-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"),Gm&&(a.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Gm&&(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}},lX=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(ma(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}},Oy=class{enable(){}disable(){}attach(){}};function Wc(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 Um(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 uX=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();Wc(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",C(Ty));s(this,"_viewportRuler",C(Ny));s(this,"_ngZone",C(je));s(this,"_document",C(Le));s(this,"noop",()=>new Oy);s(this,"close",n=>new lX(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new sX(this._viewportRuler,this._document));s(this,"reposition",n=>new uX(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Mh=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new Oy);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}},My=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",C(Le));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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hX=(()=>{const t=class t extends My{constructor(){super(...arguments);s(this,"_ngZone",C(je));s(this,"_renderer",C(Pn).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=Jt(t)))(i||t)}})()),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pX=(()=>{const t=class t extends My{constructor(){super(...arguments);s(this,"_platform",C(pn));s(this,"_ngZone",C(je));s(this,"_renderer",C(Pn).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",r=>{this._pointerDownEventTarget=wa(r)});s(this,"_clickListener",r=>{let i=wa(r),o=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(Wm(u.overlayElement,i)||Wm(u.overlayElement,o))break;let d=u._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(()=>[La(this._renderer,i,"pointerdown",this._pointerDownListener,o),La(this._renderer,i,"click",this._clickListener,o),La(this._renderer,i,"auxclick",this._clickListener,o),La(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=Jt(t)))(i||t)}})()),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Wm(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 Ry=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({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})(),Rh=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_containerElement");s(this,"_document",C(Le));s(this,"_styleLoader",C(Lo))}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||Fm()){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),Fm()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(Ry)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),mX=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")})}},Ah=class{constructor(e,t,a,n,r,i,o,l,c,u=!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 xe);s(this,"_attachments",new xe);s(this,"_detachments",new xe);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",sn.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new xe);s(this,"_outsidePointerEvents",new xe);s(this,"_renders",new xe);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=c,this._animationsDisabled=u,this._injector=d,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=Fc(()=>c0(()=>{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=Jd(()=>{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=se(se({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Gt(se({},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=ft(this._config.width),e.height=ft(this._config.height),e.minWidth=ft(this._config.minWidth),e.minHeight=ft(this._config.minHeight),e.maxWidth=ft(this._config.maxWidth),e.maxHeight=ft(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 mX(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=sl(t||[]).filter(r=>!!r);n.length&&(a?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(mo(yd(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)}},Zm="cdk-overlay-connected-position-bounding-box",fX=/([A-Za-z%]+)$/,gX=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 xe);s(this,"_resizeSubscription",sn.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(Zm),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),c=this._getOverlayPoint(l,t,o),u=this._getOverlayFit(c,t,a,o);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(u,c,a)){r.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!i||i.overlayFit.visibleArea<u.visibleArea)&&(i={overlayFit:u,overlayPoint:c,originPoint:l,position:o,overlayRect:t})}if(r.length){let o=null,l=-1;for(let c of r){let u=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);u>l&&(l=u,o=c)}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&&Xa(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Zm),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=Km(t),{x:i,y:o}=e,l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(i+=l),c&&(o+=c);let u=0-i,d=i+r.width-a.width,m=0-o,b=o+r.height-a.height,g=this._subtractOverflows(r.width,u,d),w=this._subtractOverflows(r.height,m,b),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=Ym(this._overlayRef.getConfig().minHeight),o=Ym(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||i!=null&&i<=n,c=e.fitsInViewportHorizontally||o!=null&&o<=r;return l&&c}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=Km(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),c=Math.max(r.left-a.left-e.x,0),u=0,d=0;return n.width<=r.width?u=c||-i:u=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:u,y:d},{x:e.x+u,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||!vX(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 b=Math.min(a.bottom-e.y+a.top,e.y),g=this._lastBoundingBoxSize.height;r=b*2,i=e.y-b,r>g&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,c=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,u,d,m;if(c)m=a.width-e.x+this._viewportMargin*2,u=e.x-this._viewportMargin;else if(l)d=e.x,u=a.right-e.x;else{let b=Math.min(a.right-e.x+a.left,e.x),g=this._lastBoundingBoxSize.width;u=b*2,d=e.x-b,u>g&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-g/2)}return{top:i,left:d,bottom:o,right:m,width:u,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=ft(a.height),n.top=ft(a.top),n.bottom=ft(a.bottom),n.width=ft(a.width),n.left=ft(a.left),n.right=ft(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=ft(r)),i&&(n.maxWidth=ft(i))}this._lastBoundingBoxSize=a,Xa(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Xa(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Xa(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 u=this._viewportRuler.getViewportScrollPosition();Xa(a,this._getExactOverlayY(t,e,u)),Xa(a,this._getExactOverlayX(t,e,u))}else a.position="static";let o="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),c&&(o+=`translateY(${c}px)`),a.transform=o.trim(),i.maxHeight&&(n?a.maxHeight=ft(i.maxHeight):r&&(a.maxHeight="")),i.maxWidth&&(n?a.maxWidth=ft(i.maxWidth):r&&(a.maxWidth="")),Xa(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=ft(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=ft(r.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),a=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Um(e,a),isOriginOutsideView:Wc(e,a),isOverlayClipped:Um(t,a),isOverlayOutsideView:Wc(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&&sl(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 At)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 Xa(e,t){for(let a in t)t.hasOwnProperty(a)&&(e[a]=t[a]);return e}function Ym(e){if(typeof e!="number"&&e!=null){let[t,a]=e.split(fX);return!a||a==="px"?parseFloat(t):null}return e||null}function Km(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 vX(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Xm="cdk-global-overlay-wrapper",bX=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(Xm),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"),c=(r==="100%"||r==="100vh")&&(!o||o==="100%"||o==="100vh"),u=this._xPosition,d=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",b="",g="",w="";l?w="flex-start":u==="center"?(w="center",m?g=d:b=d):m?u==="left"||u==="end"?(w="flex-end",b=d):(u==="right"||u==="start")&&(w="flex-start",g=d):u==="left"||u==="start"?(w="flex-start",b=d):(u==="right"||u==="end")&&(w="flex-end",g=d),e.position=this._cssPosition,e.marginLeft=l?"0":b,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=c?"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(Xm),a.justifyContent=a.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},yX=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",C(Ny));s(this,"_document",C(Le));s(this,"_platform",C(pn));s(this,"_overlayContainer",C(Rh))}global(){return new bX}flexibleConnectedTo(n){return new gX(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ga=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",C(cX));s(this,"_overlayContainer",C(Rh));s(this,"_positionBuilder",C(yX));s(this,"_keyboardDispatcher",C(hX));s(this,"_injector",C(rt));s(this,"_ngZone",C(je));s(this,"_document",C(Le));s(this,"_directionality",C(ll));s(this,"_location",C(jb));s(this,"_outsideClickDispatcher",C(pX));s(this,"_animationsModuleType",C(pi,{optional:!0}));s(this,"_idGenerator",C(Fo));s(this,"_renderer",C(Pn).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",C(Lo))}create(n){this._styleLoader.load(Ry);let r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),l=new Mh(n);return l.direction=l.direction||this._directionality.value,new Ah(o,r,i,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Kn),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(Ha)),new aX(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_X=new K("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(Ga);return()=>e.scrollStrategies.reposition()}});function wX(e){return()=>e.scrollStrategies.reposition()}var xX={provide:_X,deps:[Ga],useFactory:wX},Ay=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({providers:[Ga,xX],imports:[eo,cl,$m,$m]}));let e=t;return e})();function EX(e,t){}var ao=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")}},Py=(()=>{const t=class t extends zl{constructor(){super();s(this,"_elementRef",C(At));s(this,"_focusTrapFactory",C(DK));s(this,"_config");s(this,"_interactivityChecker",C(Ey));s(this,"_ngZone",C(je));s(this,"_overlayRef",C(Ah));s(this,"_focusMonitor",C(wy));s(this,"_renderer",C(mi));s(this,"_changeDetectorRef",C(Oo));s(this,"_injector",C(rt));s(this,"_platform",C(pn));s(this,"_document",C(Le,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new xe);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=C(ao,{optional:!0})||new ao,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(),c(),r.removeAttribute("tabindex")},l=this._renderer.listen(r,"blur",o),c=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||Jd(()=>{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=Su(),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=Su();return r===i||r.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Su()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(r,i){if(r&1&&Oc(no,7),r&2){let o;Mc(o=Rc())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,i){r&2&&Ln("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:[En],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,i){r&1&>(0,EX,0,0,"ng-template",0)},dependencies:[no],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
|
|
24
|
+
`],encapsulation:2}));let e=t;return e})(),Mu=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 xe);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&&!Cy(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}},SX=new K("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=C(Ga);return()=>e.scrollStrategies.block()}}),kX=new K("DialogData"),CX=new K("DefaultDialogConfig"),Ly=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Ga));s(this,"_injector",C(rt));s(this,"_defaultOptions",C(CX,{optional:!0}));s(this,"_parentDialog",C(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",C(Rh));s(this,"_idGenerator",C(Fo));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new xe);s(this,"_afterOpenedAtThisLevel",new xe);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",C(SX));s(this,"afterAllClosed",js(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(wd(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 ao;r=se(se({},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),c=new Mu(l,r),u=this._attachContainer(l,c,r);if(c.containerInstance=u,!this.openDialogs.length){let d=this._overlayContainer.getContainerElement();u._focusTrapped?u._focusTrapped.pipe(on(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(d)}):this._hideNonDialogContentFromAssistiveTechnology(d)}return this._attachDialogContent(n,c,u,r),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){Ru(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){Ru(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),Ru(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let r=new Mh({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:ao,useValue:i},{provide:Mu,useValue:r},{provide:Ah,useValue:n}],c;i.container?typeof i.container=="function"?c=i.container:(c=i.container.type,l.push(...i.container.providers(i))):c=Py;let u=new to(c,i.viewContainerRef,rt.create({parent:o||this._injector,providers:l}));return n.attach(u).instance}_attachDialogContent(n,r,i,o){if(n instanceof ei){let l=this._createInjector(o,r,i,void 0),c={$implicit:o.data,dialogRef:r};o.templateContext&&(c=se(se({},c),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new Oh(n,null,c,l))}else{let l=this._createInjector(o,r,i,this._injector),c=i.attachComponentPortal(new to(n,o.viewContainerRef,l));r.componentRef=c,r.componentInstance=c.instance}}_createInjector(n,r,i,o){var u;let l=n.injector||((u=n.viewContainerRef)==null?void 0:u.injector),c=[{provide:kX,useValue:n.data},{provide:Mu,useValue:r}];return n.providers&&(typeof n.providers=="function"?c.push(...n.providers(r,n,i)):c.push(...n.providers)),n.direction&&(!l||!l.get(ll,null,{optional:!0}))&&c.push({provide:ll,useValue:{value:n.direction,change:at()}}),rt.create({parent:l||o,providers:c})}_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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ru(e,t){let a=e.length;for(;a--;)t(e[a])}var IX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({providers:[Ly],imports:[Ay,cl,AK,cl]}));let e=t;return e})();function DX(e,t){}var Qm=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")}},Au="mdc-dialog--open",Jm="mdc-dialog--opening",ef="mdc-dialog--closing",TX=150,NX=75,OX=(()=>{const t=class t extends Py{constructor(){super(...arguments);s(this,"_animationMode",C(pi,{optional:!0}));s(this,"_animationStateChanged",new Ft);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?nf(this._config.enterAnimationDuration)??TX:0);s(this,"_exitAnimationDuration",this._animationsEnabled?nf(this._config.exitAnimationDuration)??NX: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(tf,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Jm,Au)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Au),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Au),this._animationsEnabled?(this._hostElement.style.setProperty(tf,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ef)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(r){this._actionSectionCount+=r,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Jm,ef)}_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=Jt(t)))(i||t)}})()),s(t,"ɵcmp",ot({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,i){r&2&&(bh("id",i._config.id),Ln("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),Rn("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},features:[En],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&&(ae(0,"div",0)(1,"div",1),gt(2,DX,0,0,"ng-template",2),re()())},dependencies:[no],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})(),tf="--mat-dialog-transition-duration";function nf(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?Om(e.substring(0,e.length-2)):e.endsWith("s")?Om(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var Ms=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(Ms||{}),Ph=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 xe);s(this,"_beforeClosed",new xe);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",Ms.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(ma(n=>n.state==="opened"),on(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),a._animationStateChanged.pipe(ma(n=>n.state==="closed"),on(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),yd(this.backdropClick(),this.keydownEvents().pipe(ma(n=>n.keyCode===27&&!this.disableClose&&!Cy(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Fy(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(ma(t=>t.state==="closing"),on(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=Ms.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=Ms.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Fy(e,t,a){return e._closeInteractionType=t,e.close(a)}var jy=new K("MatMdcDialogData"),Vy=new K("mat-mdc-dialog-default-options"),MX=new K("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(Ga);return()=>e.scrollStrategies.block()}}),Hl=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Ga));s(this,"_defaultOptions",C(Vy,{optional:!0}));s(this,"_scrollStrategy",C(MX));s(this,"_parentDialog",C(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",C(Fo));s(this,"_dialog",C(Ly));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new xe);s(this,"_afterOpenedAtThisLevel",new xe);s(this,"dialogConfigClass",Qm);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",js(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(wd(void 0))));this._dialogRefConstructor=Ph,this._dialogContainerType=OX,this._dialogDataToken=jy}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=se(se({},this._defaultOptions||new Qm),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,Gt(se({},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:ao,useValue:r}]},templateContext:()=>({dialogRef:i}),providers:(l,c,u)=>(i=new this._dialogRefConstructor(l,r,u),i.updatePosition(r==null?void 0:r.position),[{provide:this._dialogContainerType,useValue:u},{provide:this._dialogDataToken,useValue:c.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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),By=(()=>{const t=class t{constructor(){s(this,"dialogRef",C(Ph,{optional:!0}));s(this,"_elementRef",C(At));s(this,"_dialog",C(Hl));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=Gy(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let r=n._matDialogClose||n._matDialogCloseResult;r&&(this.dialogResult=r.currentValue)}_onButtonClick(n){Fy(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ut({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,r){n&1&&$a("click",function(i){return r._onButtonClick(i)}),n&2&&Ln("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:[vv]}));let e=t;return e})(),zy=(()=>{const t=class t{constructor(){s(this,"_dialogRef",C(Ph,{optional:!0}));s(this,"_elementRef",C(At));s(this,"_dialog",C(Hl))}ngOnInit(){this._dialogRef||(this._dialogRef=Gy(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",Ut({type:t}));let e=t;return e})(),Hy=(()=>{const t=class t extends zy{constructor(){super(...arguments);s(this,"id",C(Fo).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=Jt(t)))(i||t)}})()),s(t,"ɵdir",Ut({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,i){r&2&&bh("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[En]}));let e=t;return e})(),qy=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ut({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[m8([iX])]}));let e=t;return e})(),$y=(()=>{const t=class t extends zy{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=Jt(t)))(i||t)}})()),s(t,"ɵdir",Ut({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&&Rn("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:[En]}));let e=t;return e})();function Gy(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 Uy=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({providers:[Hl],imports:[IX,Ay,cl,ri,ri]}));let e=t;return e})(),RX=new K("MAT_BUTTON_CONFIG"),AX=[{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"]}],Wy=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_ngZone",C(je));s(this,"_animationMode",C(pi,{optional:!0}));s(this,"_focusMonitor",C(wy));s(this,"_rippleLoader",C(QK));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;C(Lo).load(zK);let n=C(RX,{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:c}of AX)r.hasAttribute(l)&&i.add(...c)}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",Ut({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Mi],disabled:[2,"disabled","disabled",Mi],ariaDisabled:[2,"aria-disabled","ariaDisabled",Mi],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Mi]}}));let e=t;return e})(),PX=(()=>{const t=class t extends Wy{constructor(){super(...arguments);s(this,"_renderer",C(mi));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=Jt(t)))(i||t)}})()),s(t,"ɵdir",Ut({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",r=>r==null?void 0:Rb(r)]},features:[En]}));let e=t;return e})(),Zy=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Yy=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],LX=`.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
|
+
`,FX=`@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
|
+
`,ql=(()=>{const t=class t extends Wy{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Jt(t)))(r||t)}})()),s(t,"ɵcmp",ot({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&&(Ln("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Ll(r.color?"mat-"+r.color:""),Rn("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:[En],ngContentSelectors:Yy,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&&(fi(Zy),ln(0,"span",0),Zn(1),ae(2,"span",1),Zn(3,1),re(),Zn(4,2),ln(5,"span",2)(6,"span",3)),n&2&&Rn("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})(),jX=(()=>{const t=class t extends PX{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Jt(t)))(r||t)}})()),s(t,"ɵcmp",ot({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&&(Ln("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),Ll(r.color?"mat-"+r.color:""),Rn("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:[En],ngContentSelectors:Yy,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&&(fi(Zy),ln(0,"span",0),Zn(1),ae(2,"span",1),Zn(3,1),re(),Zn(4,2),ln(5,"span",2)(6,"span",3)),n&2&&Rn("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[LX,FX],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ky=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",en({type:t})),s(t,"ɵinj",Xt({imports:[ri,YK,ri]}));let e=t;return e})(),Xy=(()=>{const t=class t{constructor(){s(this,"changes",new xe);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",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ce=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}(Ce||{}),ga="*";function VX(e,t=null){return{type:Ce.Sequence,steps:e,options:t}}function af(e){return{type:Ce.Style,styles:e,offset:null}}var ro=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}},Qy=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}},Lh="!";function rf(e){return new G(3e3,!1)}function BX(){return new G(3100,!1)}function zX(){return new G(3101,!1)}function HX(e){return new G(3001,!1)}function qX(e){return new G(3003,!1)}function $X(e){return new G(3004,!1)}function GX(e,t){return new G(3005,!1)}function UX(){return new G(3006,!1)}function WX(){return new G(3007,!1)}function ZX(e,t){return new G(3008,!1)}function YX(e){return new G(3002,!1)}function KX(e,t,a,n,r){return new G(3010,!1)}function XX(){return new G(3011,!1)}function QX(){return new G(3012,!1)}function JX(){return new G(3200,!1)}function eQ(){return new G(3202,!1)}function tQ(){return new G(3013,!1)}function nQ(e){return new G(3014,!1)}function aQ(e){return new G(3015,!1)}function rQ(e){return new G(3016,!1)}function iQ(e,t){return new G(3404,!1)}function oQ(e){return new G(3502,!1)}function sQ(e){return new G(3503,!1)}function lQ(){return new G(3300,!1)}function uQ(e){return new G(3504,!1)}function cQ(e){return new G(3301,!1)}function dQ(e,t){return new G(3302,!1)}function hQ(e){return new G(3303,!1)}function pQ(e,t){return new G(3400,!1)}function mQ(e){return new G(3401,!1)}function fQ(e){return new G(3402,!1)}function gQ(e,t){return new G(3505,!1)}function Ra(e){switch(e.length){case 0:return new ro;case 1:return e[0];default:return new Qy(e)}}function Jy(e,t,a=new Map,n=new Map){let r=[],i=[],o=-1,l=null;if(t.forEach(c=>{let u=c.get("offset"),d=u==o,m=d&&l||new Map;c.forEach((b,g)=>{let w=g,x=b;if(g!=="offset")switch(w=e.normalizePropertyName(w,r),x){case Lh:x=a.get(g);break;case ga: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=u}),r.length)throw oQ();return i}function Fh(e,t,a,n){switch(t){case"start":e.onStart(()=>n(a&&Pu(a,"start",e)));break;case"done":e.onDone(()=>n(a&&Pu(a,"done",e)));break;case"destroy":e.onDestroy(()=>n(a&&Pu(a,"destroy",e)));break}}function Pu(e,t,a){let n=a.totalTime,r=!!a.disabled,i=jh(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 jh(e,t,a,n,r="",i=0,o){return{element:e,triggerName:t,fromState:a,toState:n,phaseName:r,totalTime:i,disabled:!!o}}function rn(e,t,a){let n=e.get(t);return n||e.set(t,n=a),n}function of(e){let t=e.indexOf(":"),a=e.substring(1,t),n=e.slice(t+1);return[a,n]}var vQ=typeof document>"u"?null:document.documentElement;function Vh(e){let t=e.parentNode||e.host||null;return t===vQ?null:t}function bQ(e){return e.substring(1,6)=="ebkit"}var Qa=null,sf=!1;function yQ(e){Qa||(Qa=_Q()||{},sf=Qa.style?"WebkitAppearance"in Qa.style:!1);let t=!0;return Qa.style&&!bQ(e)&&(t=e in Qa.style,!t&&sf&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Qa.style)),t}function _Q(){return typeof document<"u"?document.body:null}function e1(e,t){for(;t;){if(t===e)return!0;t=Vh(t)}return!1}function t1(e,t,a){if(a)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var wQ=1e3,n1="{{",xQ="}}",a1="ng-enter",Zc="ng-leave",cs="ng-trigger",dl=".ng-trigger",lf="ng-animating",Yc=".ng-animating";function pa(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Kc(parseFloat(t[1]),t[2])}function Kc(e,t){switch(t){case"s":return e*wQ;default:return e}}function hl(e,t,a){return e.hasOwnProperty("duration")?e:EQ(e,t,a)}function EQ(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(rf()),{duration:0,delay:0,easing:""};r=Kc(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(i=Kc(parseFloat(c),l[4]));let u=l[5];u&&(o=u)}else r=e;if(!a){let l=!1,c=t.length;r<0&&(t.push(BX()),l=!0),i<0&&(t.push(zX()),l=!0),l&&t.splice(c,0,rf())}return{duration:r,delay:i,easing:o}}function SQ(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function $n(e,t,a){t.forEach((n,r)=>{let i=Bh(r);a&&!a.has(r)&&a.set(r,e.style[i]),e.style[i]=n})}function sr(e,t){t.forEach((a,n)=>{let r=Bh(n);e.style[r]=""})}function Ci(e){return Array.isArray(e)?e.length==1?e[0]:VX(e):e}function kQ(e,t,a){let n=t.params||{},r=r1(e);r.length&&r.forEach(i=>{n.hasOwnProperty(i)||a.push(HX())})}var Xc=new RegExp(`${n1}\\s*(.+?)\\s*${xQ}`,"g");function r1(e){let t=[];if(typeof e=="string"){let a;for(;a=Xc.exec(e);)t.push(a[1]);Xc.lastIndex=0}return t}function io(e,t,a){let n=`${e}`,r=n.replace(Xc,(i,o)=>{let l=t[o];return l==null&&(a.push(qX()),l=""),l.toString()});return r==n?e:r}var CQ=/-+([a-z0-9])/g;function Bh(e){return e.replace(CQ,(...t)=>t[1].toUpperCase())}function IQ(e,t){return e===0||t===0}function DQ(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,zh(e,l)))}}return t}function nn(e,t,a){switch(t.type){case Ce.Trigger:return e.visitTrigger(t,a);case Ce.State:return e.visitState(t,a);case Ce.Transition:return e.visitTransition(t,a);case Ce.Sequence:return e.visitSequence(t,a);case Ce.Group:return e.visitGroup(t,a);case Ce.Animate:return e.visitAnimate(t,a);case Ce.Keyframes:return e.visitKeyframes(t,a);case Ce.Style:return e.visitStyle(t,a);case Ce.Reference:return e.visitReference(t,a);case Ce.AnimateChild:return e.visitAnimateChild(t,a);case Ce.AnimateRef:return e.visitAnimateRef(t,a);case Ce.Query:return e.visitQuery(t,a);case Ce.Stagger:return e.visitStagger(t,a);default:throw $X(t.type)}}function zh(e,t){return window.getComputedStyle(e)[t]}var TQ=(()=>{const t=class t{validateStyleProperty(n){return yQ(n)}containsElement(n,r){return e1(n,r)}getParentElement(n){return Vh(n)}query(n,r,i){return t1(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,l,c=[],u){return new ro(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})(),Ku,i1=(Ku=class{},s(Ku,"NOOP",new TQ),Ku),Hh=class{},NQ=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"]),OQ=class extends Hh{normalizePropertyName(e,t){return Bh(e)}normalizeStyleValue(e,t,a,n){let r="",i=a.toString().trim();if(NQ.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(GX())}return i+r}},pl="*";function MQ(e,t){let a=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>RQ(n,a,t)):a.push(e),a}function RQ(e,t,a){if(e[0]==":"){let c=AQ(e,a);if(typeof c=="function"){t.push(c);return}e=c}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return a.push(aQ()),t;let r=n[1],i=n[2],o=n[3];t.push(uf(r,o));let l=r==pl&&o==pl;i[0]=="<"&&!l&&t.push(uf(o,r))}function AQ(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(rQ()),"* => *"}}var ds=new Set(["true","1"]),hs=new Set(["false","0"]);function uf(e,t){let a=ds.has(e)||hs.has(e),n=ds.has(t)||hs.has(t);return(r,i)=>{let o=e==pl||e==r,l=t==pl||t==i;return!o&&a&&typeof r=="boolean"&&(o=r?ds.has(e):hs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?ds.has(t):hs.has(t)),o&&l}}var o1=":self",PQ=new RegExp(`s*${o1}s*,?`,"g");function s1(e,t,a,n){return new LQ(e).build(t,a,n)}var cf="",LQ=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,a){let n=new VQ(t);return this._resetContextStyleTimingState(n),nn(this,Ci(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=cf,e.collectedStyles=new Map,e.collectedStyles.set(cf,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(UX()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ce.State){let l=o,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,r.push(this.visitState(l,t))}),l.name=c}else if(o.type==Ce.Transition){let l=this.visitTransition(o,t);a+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(WX())}),{type:Ce.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=>{r1(l).forEach(c=>{i.hasOwnProperty(c)||r.add(c)})})}),r.size&&t.errors.push(ZX(e.name,[...r.values()]))}return{type:Ce.State,name:e.name,style:a,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let a=nn(this,Ci(e.animation),t),n=MQ(e.expr,t.errors);return{type:Ce.Transition,matchers:n,animation:a,queryCount:t.queryCount,depCount:t.depCount,options:Ja(e.options)}}visitSequence(e,t){return{type:Ce.Sequence,steps:e.steps.map(a=>nn(this,a,t)),options:Ja(e.options)}}visitGroup(e,t){let a=t.currentTime,n=0,r=e.steps.map(i=>{t.currentTime=a;let o=nn(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ce.Group,steps:r,options:Ja(e.options)}}visitAnimate(e,t){let a=zQ(e.timings,t.errors);t.currentAnimateTimings=a;let n,r=e.styles?e.styles:af({});if(r.type==Ce.Keyframes)n=this.visitKeyframes(r,t);else{let i=e.styles,o=!1;if(!i){o=!0;let c={};a.easing&&(c.easing=a.easing),i=af(c)}t.currentTime+=a.duration+a.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ce.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===ga?a.push(o):t.errors.push(YX()):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(n1)>=0){r=!0;break}}}),{type:Ce.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 c=t.collectedStyles.get(t.currentQuerySelector),u=c.get(l),d=!0;u&&(r!=n&&r>=u.startTime&&n<=u.endTime&&(t.errors.push(KX(l,u.startTime,u.endTime)),d=!1),r=u.startTime),d&&c.set(l,{startTime:r,endTime:n}),t.options&&kQ(o,t.options,t.errors)})})}visitKeyframes(e,t){let a={type:Ce.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(XX()),a;let n=1,r=0,i=[],o=!1,l=!1,c=0,u=e.steps.map(S=>{let T=this._makeStyleAst(S,t),A=T.offset!=null?T.offset:BQ(T.styles),O=0;return A!=null&&(r++,O=T.offset=A),l=l||O<0||O>1,o=o||O<c,c=O,i.push(O),T});l&&t.errors.push(QX()),o&&t.errors.push(JX());let d=e.steps.length,m=0;r>0&&r<d?t.errors.push(eQ()):r==0&&(m=n/(d-1));let b=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,T)=>{let A=m>0?T==b?1:m*T:i[T],O=A*x;t.currentTime=g+w.delay+O,w.duration=O,this._validateStyleAst(S,t),S.offset=A,a.styles.push(S)}),a}visitReference(e,t){return{type:Ce.Reference,animation:nn(this,Ci(e.animation),t),options:Ja(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ce.AnimateChild,options:Ja(e.options)}}visitAnimateRef(e,t){return{type:Ce.AnimateRef,animation:this.visitReference(e.animation,t),options:Ja(e.options)}}visitQuery(e,t){let a=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,i]=FQ(e.selector);t.currentQuerySelector=a.length?a+" "+r:r,rn(t.collectedStyles,t.currentQuerySelector,new Map);let o=nn(this,Ci(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:Ce.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:Ja(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(tQ());let a=e.timings==="full"?{duration:0,delay:0,easing:"full"}:hl(e.timings,t.errors,!0);return{type:Ce.Stagger,animation:nn(this,Ci(e.animation),t),timings:a,options:null}}};function FQ(e){let t=!!e.split(/\s*,\s*/).find(a=>a==o1);return t&&(e=e.replace(PQ,"")),e=e.replace(/@\*/g,dl).replace(/@\w+/g,a=>dl+"-"+a.slice(1)).replace(/:animating/g,Yc),[e,t]}function jQ(e){return e?se({},e):null}var VQ=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 BQ(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 zQ(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=hl(e,t).duration;return Lu(r,0,"")}let a=e;if(a.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Lu(0,0,"");return r.dynamic=!0,r.strValue=a,r}let n=hl(a,t);return Lu(n.duration,n.delay,n.easing)}function Ja(e){return e?(e=se({},e),e.params&&(e.params=jQ(e.params))):e={},e}function Lu(e,t,a){return{duration:e,delay:t,easing:a}}function qh(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 $h=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()}},HQ=1,qQ=":enter",$Q=new RegExp(qQ,"g"),GQ=":leave",UQ=new RegExp(GQ,"g");function l1(e,t,a,n,r,i=new Map,o=new Map,l,c,u=[]){return new WQ().buildKeyframes(e,t,a,n,r,i,o,l,c,u)}var WQ=class{buildKeyframes(e,t,a,n,r,i,o,l,c,u=[]){c=c||new $h;let d=new ZQ(e,t,c,n,r,u,[]);d.options=l;let m=l.delay?pa(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),nn(this,a,d);let b=d.timelines.filter(g=>g.containsAnimation());if(b.length&&o.size){let g;for(let w=b.length-1;w>=0;w--){let x=b[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[qh(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:pa(io(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?pa(a.duration):null,i=a.delay!=null?pa(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),nn(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==Ce.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ml);let i=pa(r.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>nn(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?pa(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),nn(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?io(a,t.params,t.errors):a;return hl(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==Ce.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?pa(n.delay):0;r&&(t.previousNode.type===Ce.Style||a==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ml);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((c,u)=>{t.currentQueryIndex=u;let d=t.createSubContext(e.options,c);r&&d.delayNextStep(r),c===t.element&&(l=d.currentTimeline),nn(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 c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;nn(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=n.currentTime-u+(n.startTime-a.currentTimeline.startTime)}},ml={},ZQ=class u1{constructor(t,a,n,r,i,o,l,c){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",ml);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=c||new c1(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=pa(n.duration)),n.delay!=null&&(r.delay=pa(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]=io(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 u1(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=ml,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 YQ(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($Q,"."+this._enterClassName),t=t.replace(UQ,"."+this._leaveClassName);let c=n!=1,u=this._driver.query(this.element,t,c);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push(...u)}return!i&&l.length==0&&o.push(nQ()),l}},c1=class d1{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 d1(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+=HQ,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||ga),this._currentKeyframe.set(a,ga);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,a,n,r){a&&this._previousKeyframe.set("easing",a);let i=r&&r.params||{},o=KQ(t,this._globalTimelineStyles);for(let[l,c]of o){let u=io(c,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ga),this._updateStyle(l,u)}}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,c)=>{let u=new Map([...this._backFill,...l]);u.forEach((d,m)=>{d===Lh?t.add(m):d===ga&&a.add(m)}),n||u.set("offset",c/this.duration),r.push(u)});let i=[...t.values()],o=[...a.values()];if(n){let l=r[0],c=new Map(l);l.set("offset",0),c.set("offset",1),r=[l,c]}return qh(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}},YQ=class extends c1{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,c=new Map(t[0]);c.set("offset",0),i.push(c);let u=new Map(t[0]);u.set("offset",df(l)),i.push(u);let d=t.length-1;for(let m=1;m<=d;m++){let b=new Map(t[m]),g=b.get("offset"),w=a+g*n;b.set("offset",df(w/o)),i.push(b)}n=o,a=0,r="",t=i}return qh(this.element,t,this.preStyleProps,this.postStyleProps,n,a,r,!0)}};function df(e,t=3){let a=Math.pow(10,t-1);return Math.round(e*a)/a}function KQ(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,ga)}else for(let[i,o]of r)a.set(i,o)}),a}function hf(e,t,a,n,r,i,o,l,c,u,d,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:a,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:c,preStyleProps:u,postStyleProps:d,totalTime:m,errors:b}}var Fu={},h1=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 XQ(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,c,u){var _t;let d=[],m=this.ast.options&&this.ast.options.params||Fu,b=o&&o.params||Fu,g=this.buildStyles(a,b,d),w=l&&l.params||Fu,x=this.buildStyles(n,w,d),S=new Set,T=new Map,A=new Map,O=n==="void",Y={params:p1(w,m),delay:(_t=this.ast.options)==null?void 0:_t.delay},ie=u?[]:l1(e,t,this.ast.animation,r,i,g,x,Y,c,d),me=0;return ie.forEach(st=>{me=Math.max(st.duration+st.delay,me)}),d.length?hf(t,this._triggerName,a,n,O,g,x,[],[],T,A,me,d):(ie.forEach(st=>{let $e=st.element,ht=rn(T,$e,new Set);st.preStyleProps.forEach(H=>ht.add(H));let Z=rn(A,$e,new Set);st.postStyleProps.forEach(H=>Z.add(H)),$e!==t&&S.add($e)}),hf(t,this._triggerName,a,n,O,g,x,ie,[...S.values()],T,A,me))}};function XQ(e,t,a,n,r){return e.some(i=>i(t,a,n,r))}function p1(e,t){let a=se({},t);return Object.entries(e).forEach(([n,r])=>{r!=null&&(a[n]=r)}),a}var QQ=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=p1(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((i,o)=>{i&&(i=io(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),a.set(o,i)})}),a}};function JQ(e,t,a){return new eJ(e,t,a)}var eJ=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 QQ(n.style,r,a))}),pf(this.states,"true","1"),pf(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new h1(e,n,this.states))}),this.fallbackTransition=tJ(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 tJ(e,t,a){let n=[(o,l)=>!0],r={type:Ce.Sequence,steps:[],options:null},i={type:Ce.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new h1(e,i,t)}function pf(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 nJ=new $h,aJ=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=s1(this._driver,t,a,n);if(a.length)throw sQ();this._animations.set(e,r)}_buildPlayer(e,t,a){let n=e.element,r=Jy(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=l1(this._driver,t,r,a1,Zc,new Map,new Map,a,nJ,n),i.forEach(u=>{let d=rn(o,u.element,new Map);u.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(lQ()),i=[]),n.length)throw uQ();o.forEach((u,d)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(d,b,ga))})});let l=i.map(u=>{let d=o.get(u.element);return this._buildPlayer(u,new Map,d)}),c=Ra(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}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 cQ();return t}listen(e,t,a,n){let r=jh(t,"","","");return Fh(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}}},mf="ng-animate-queued",rJ=".ng-animate-queued",ju="ng-animate-disabled",iJ=".ng-animate-disabled",oJ="ng-star-inserted",sJ=".ng-star-inserted",lJ=[],m1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},uJ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed",Qc=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=pJ(n),a){let r=e,{value:i}=r,o=d7(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])})}}},zi="void",Vu=new Qc(zi),cJ=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,vn(t,this._hostClassName)}listen(e,t,a,n){if(!this._triggers.has(t))throw dQ();if(a==null||a.length==0)throw hQ();if(!mJ(a))throw pQ();let r=rn(this._elementListeners,e,[]),i={name:t,phase:a,callback:n};r.push(i);let o=rn(this._engine.statesByElement,e,new Map);return o.has(t)||(vn(e,cs),vn(e,cs+"-"+t),o.set(t,Vu)),()=>{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 mQ();return t}trigger(e,t,a,n=!0){let r=this._getTrigger(t),i=new Jc(this.id,t,e),o=this._engine.statesByElement.get(e);o||(vn(e,cs),vn(e,cs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),c=new Qc(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),o.set(t,c),l||(l=Vu),c.value!==zi&&l.value===c.value){if(!vJ(l.params,c.params)){let b=[],g=r.matchStyles(l.value,l.params,b),w=r.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{sr(e,g),$n(e,w)})}return}let u=rn(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let d=r.matchTransition(l.value,c.value,e,c.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:c,player:i,isFallbackTransition:m}),m||(vn(e,mf),i.onStart(()=>{Nr(e,mf)})),i.onDone(()=>{let b=this.players.indexOf(i);b>=0&&this.players.splice(b,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),u.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,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,dl,!0);a.forEach(n=>{if(n[Dn])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,c)=>{if(i.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,zi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),a&&Ra(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)||Vu,c=new Qc(zi),u=new Jc(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:c,player:u,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[Dn];(!r||r===m1)&&(a.afterFlush(()=>this.clearElementCache(e)),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}insertNode(e,t){vn(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=jh(r,a.triggerName,a.fromState.value,a.toState.value);l._data=e,Fh(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)}},dJ=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 cJ(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(ps(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,a,n),!0}return!1}insertNode(e,t,a,n){if(!ps(t))return;let r=t[Dn];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),vn(e,ju)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Nr(e,ju))}removeNode(e,t,a){if(ps(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[Dn]={namespaceId:e,setForRemoval:n,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,a,n,r){return ps(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,dl,!0);t.forEach(a=>this.destroyActiveAnimationsForElement(a)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Yc,!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 Ra(this.players).onDone(()=>e());e()})}processLeaveNode(e){var a;let t=e[Dn];if(t&&t.setForRemoval){if(e[Dn]=m1,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(ju)&&this.markElementAsDisabled(e,!1),this.driver.query(e,iJ,!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];vn(n,oJ)}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?Ra(t).onDone(()=>{a.forEach(n=>n())}):a.forEach(n=>n())}}reportError(e){throw fQ()}_flushAnimations(e,t){let a=new $h,n=[],r=new Map,i=[],o=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(L=>{u.add(L);let j=this.driver.query(L,rJ,!0);for(let U=0;U<j.length;U++)u.add(j[U])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=vf(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((L,j)=>{let U=a1+w++;g.set(j,U),L.forEach(Ee=>vn(Ee,U))});let x=[],S=new Set,T=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let j=this.collectedLeaveElements[L],U=j[Dn];U&&U.setForRemoval&&(x.push(j),S.add(j),U.hasAnimation?this.driver.query(j,sJ,!0).forEach(Ee=>S.add(Ee)):T.add(j))}let A=new Map,O=vf(m,Array.from(S));O.forEach((L,j)=>{let U=Zc+w++;A.set(j,U),L.forEach(Ee=>vn(Ee,U))}),e.push(()=>{b.forEach((L,j)=>{let U=g.get(j);L.forEach(Ee=>Nr(Ee,U))}),O.forEach((L,j)=>{let U=A.get(j);L.forEach(Ee=>Nr(Ee,U))}),x.forEach(L=>{this.processLeaveNode(L)})});let Y=[],ie=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(j=>{let U=j.player,Ee=j.element;if(Y.push(U),this.collectedEnterElements.length){let Ge=Ee[Dn];if(Ge&&Ge.setForMove){if(Ge.previousTriggersValues&&Ge.previousTriggersValues.has(j.triggerName)){let Lt=Ge.previousTriggersValues.get(j.triggerName),wt=this.statesByElement.get(j.element);if(wt&&wt.has(j.triggerName)){let jn=wt.get(j.triggerName);jn.value=Lt,wt.set(j.triggerName,jn)}}U.destroy();return}}let He=!d||!this.driver.containsElement(d,Ee),Pt=A.get(Ee),Ie=g.get(Ee),Me=this._buildInstruction(j,a,Ie,Pt,He);if(Me.errors&&Me.errors.length){ie.push(Me);return}if(He){U.onStart(()=>sr(Ee,Me.fromStyles)),U.onDestroy(()=>$n(Ee,Me.toStyles)),n.push(U);return}if(j.isFallbackTransition){U.onStart(()=>sr(Ee,Me.fromStyles)),U.onDestroy(()=>$n(Ee,Me.toStyles)),n.push(U);return}let Je=[];Me.timelines.forEach(Ge=>{Ge.stretchStartingKeyframe=!0,this.disabledNodes.has(Ge.element)||Je.push(Ge)}),Me.timelines=Je,a.append(Ee,Me.timelines);let Sn={instruction:Me,player:U,element:Ee};i.push(Sn),Me.queriedElements.forEach(Ge=>rn(o,Ge,[]).push(U)),Me.preStyleProps.forEach((Ge,Lt)=>{if(Ge.size){let wt=l.get(Lt);wt||l.set(Lt,wt=new Set),Ge.forEach((jn,Ia)=>wt.add(Ia))}}),Me.postStyleProps.forEach((Ge,Lt)=>{let wt=c.get(Lt);wt||c.set(Lt,wt=new Set),Ge.forEach((jn,Ia)=>wt.add(Ia))})});if(ie.length){let L=[];ie.forEach(j=>{L.push(gQ(j.triggerName,j.errors))}),Y.forEach(j=>j.destroy()),this.reportError(L)}let me=new Map,_t=new Map;i.forEach(L=>{let j=L.element;a.has(j)&&(_t.set(j,j),this._beforeAnimationBuild(L.player.namespaceId,L.instruction,me))}),n.forEach(L=>{let j=L.element;this._getPreviousPlayers(j,!1,L.namespaceId,L.triggerName,null).forEach(U=>{rn(me,j,[]).push(U),U.destroy()})});let st=x.filter(L=>bf(L,l,c)),$e=new Map;gf($e,this.driver,T,c,ga).forEach(L=>{bf(L,l,c)&&st.push(L)});let ht=new Map;b.forEach((L,j)=>{gf(ht,this.driver,new Set(L),l,Lh)}),st.forEach(L=>{let j=$e.get(L),U=ht.get(L);$e.set(L,new Map([...(j==null?void 0:j.entries())??[],...(U==null?void 0:U.entries())??[]]))});let Z=[],H=[],ge={};i.forEach(L=>{let{element:j,player:U,instruction:Ee}=L;if(a.has(j)){if(u.has(j)){U.onDestroy(()=>$n(j,Ee.toStyles)),U.disabled=!0,U.overrideTotalTime(Ee.totalTime),n.push(U);return}let He=ge;if(_t.size>1){let Ie=j,Me=[];for(;Ie=Ie.parentNode;){let Je=_t.get(Ie);if(Je){He=Je;break}Me.push(Ie)}Me.forEach(Je=>_t.set(Je,He))}let Pt=this._buildAnimation(U.namespaceId,Ee,me,r,ht,$e);if(U.setRealPlayer(Pt),He===ge)Z.push(U);else{let Ie=this.playersByElement.get(He);Ie&&Ie.length&&(U.parentPlayer=Ra(Ie)),n.push(U)}}else sr(j,Ee.fromStyles),U.onDestroy(()=>$n(j,Ee.toStyles)),H.push(U),u.has(j)&&n.push(U)}),H.forEach(L=>{let j=r.get(L.element);if(j&&j.length){let U=Ra(j);L.setRealPlayer(U)}}),n.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<x.length;L++){let j=x[L],U=j[Dn];if(Nr(j,Zc),U&&U.hasAnimation)continue;let Ee=[];if(o.size){let Pt=o.get(j);Pt&&Pt.length&&Ee.push(...Pt);let Ie=this.driver.query(j,Yc,!0);for(let Me=0;Me<Ie.length;Me++){let Je=o.get(Ie[Me]);Je&&Je.length&&Ee.push(...Je)}}let He=Ee.filter(Pt=>!Pt.destroyed);He.length?fJ(this,j,He):this.processLeaveNode(j)}return x.length=0,Z.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let j=this.players.indexOf(L);this.players.splice(j,1)}),L.play()}),Z}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==zi;o.forEach(c=>{c.queued||!l&&c.triggerName!=n||i.push(c)})}}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 c=l.element,u=c!==r,d=rn(a,c,[]);this._getPreviousPlayers(c,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),d.push(m)})}sr(r,t.fromStyles)}_buildAnimation(e,t,a,n,r,i){let o=t.triggerName,l=t.element,c=[],u=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;u.add(w);let x=w[Dn];if(x&&x.removedBeforeQueried)return new ro(g.duration,g.delay);let S=w!==l,T=gJ((a.get(w)||lJ).map(me=>me.getRealPlayer())).filter(me=>{let _t=me;return _t.element?_t.element===w:!1}),A=r.get(w),O=i.get(w),Y=Jy(this._normalizer,g.keyframes,A,O),ie=this._buildPlayer(g,Y,T);if(g.subTimeline&&n&&d.add(w),S){let me=new Jc(e,o,w);me.setRealPlayer(ie),c.push(me)}return ie});c.forEach(g=>{rn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>hJ(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>vn(g,lf));let b=Ra(m);return b.onDestroy(()=>{u.forEach(g=>Nr(g,lf)),$n(l,t.toStyles)}),d.forEach(g=>{rn(n,g,[]).push(b)}),b}_buildPlayer(e,t,a){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new ro(e.duration,e.delay)}},Jc=class{constructor(e,t,a){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new ro);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=>Fh(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){rn(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 hJ(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 pJ(e){return e??null}function ps(e){return e&&e.nodeType===1}function mJ(e){return e=="start"||e=="done"}function ff(e,t){let a=e.style.display;return e.style.display=t??"none",a}function gf(e,t,a,n,r){let i=[];a.forEach(c=>i.push(ff(c)));let o=[];n.forEach((c,u)=>{let d=new Map;c.forEach(m=>{let b=t.computeStyle(u,m,r);d.set(m,b),(!b||b.length==0)&&(u[Dn]=uJ,o.push(u))}),e.set(u,d)});let l=0;return a.forEach(c=>ff(c,i[l++])),o}function vf(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 c=i.get(l);if(c)return c;let u=l.parentNode;return a.has(u)?c=u:r.has(u)?c=n:c=o(u),i.set(l,c),c}return t.forEach(l=>{let c=o(l);c!==n&&a.get(c).push(l)}),a}function vn(e,t){var a;(a=e.classList)==null||a.add(t)}function Nr(e,t){var a;(a=e.classList)==null||a.remove(t)}function fJ(e,t,a){Ra(a).onDone(()=>e.processLeaveNode(t))}function gJ(e){let t=[];return f1(e,t),t}function f1(e,t){for(let a=0;a<e.length;a++){let n=e[a];n instanceof Qy?f1(n.players,t):t.push(n)}}function vJ(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 bf(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 ed=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 dJ(e.body,t,a),this._timelineEngine=new aJ(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=[],c=[],u=s1(this._driver,r,l,c);if(l.length)throw iQ();o=JQ(n,u,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,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]=of(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]=of(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 bJ(e,t){let a=null,n=null;return Array.isArray(t)&&t.length?(a=Bu(t[0]),t.length>1&&(n=Bu(t[t.length-1]))):t instanceof Map&&(a=Bu(t)),a||n?new yJ(e,a,n):null}var yJ=(()=>{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&&$n(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($n(this._element,this._initialStyles),this._endStyles&&($n(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(sr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sr(this._element,this._endStyles),this._endStyles=null),$n(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Bu(e){let t=null;return e.forEach((a,n)=>{_J(n)&&(t=t||new Map,t.set(n,a))}),t}function _J(e){return e==="display"||e==="position"}var yf=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:zh(this.element,a))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},wJ=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return e1(e,t)}getParentElement(e){return Vh(e)}query(e,t,a){return t1(e,t,a)}computeStyle(e,t,a){return zh(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 c=new Map,u=i.filter(b=>b instanceof yf);IQ(a,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>c.set(w,g))});let d=SQ(t).map(b=>new Map(b));d=DQ(e,d,c);let m=bJ(e,d);return new yf(e,d,l,m)}},Rs="@",g1="@.disabled",v1=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)==Rs&&t==g1?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)}},xJ=class extends v1{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)==Rs?a.charAt(1)=="."&&a==g1?(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)==Rs){let i=EJ(t),o=a.slice(1),l="";return o.charAt(0)!=Rs&&([o,l]=SJ(o)),this.engine.listen(this.namespaceId,i,o,l,c=>{let u=c._data||-1;this.factory.scheduleListenerCallback(u,n,c)})}return this.delegate.listen(t,a,n,r)}};function EJ(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function SJ(e){let t=e.indexOf("."),a=e.substring(0,t),n=e.slice(t+1);return[a,n]}var kJ=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 c=this._rendererCache,u=c.get(n);if(!u){let d=()=>c.delete(n);u=new v1(a,n,this.engine,d),c.set(n,u)}return u}let r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=c=>{Array.isArray(c)?c.forEach(o):this.engine.registerTrigger(r,i,e,c.name,c)};return t.data.animation.forEach(o),new xJ(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)}},CJ=(()=>{const t=class t extends ed{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(i1),ee(Hh))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})();function IJ(){return new OQ}function DJ(e,t,a){return new kJ(e,t,a)}var TJ=[{provide:Hh,useFactory:IJ},{provide:ed,useClass:CJ},{provide:Pn,useFactory:DJ,deps:[Bc,ed,je]}],NJ=[{provide:i1,useFactory:()=>new wJ},{provide:pi,useFactory:()=>"BrowserAnimations"},...TJ];function OJ(){return yr("NgEagerAnimations"),[...NJ]}var MJ=(()=>{const t=class t extends Xy{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,c=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${c} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(ee(Ca))},t.ɵprov=B({token:t,factory:t.ɵfac});let e=t;return e})(),b1=6048e5,RJ=864e5,AJ=6e4,PJ=36e5,LJ=1e3,_f=Symbol.for("constructDateFrom");function Dt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&_f in e?e[_f](t):e instanceof Date?new e.constructor(t):new Date(t)}function kt(e,t){return Dt(t||e,e)}function y1(e,t,a){let n=kt(e,a==null?void 0:a.in);return isNaN(t)?Dt((a==null?void 0:a.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var FJ={};function vi(){return FJ}function qa(e,t){var l,c,u,d;let a=vi(),n=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??a.weekStartsOn??((d=(u=a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,r=kt(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 ii(e,t){return qa(e,Gt(se({},t),{weekStartsOn:1}))}function _1(e,t){let a=kt(e,t==null?void 0:t.in),n=a.getFullYear(),r=Dt(a,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let i=ii(r),o=Dt(a,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=ii(o);return a.getTime()>=i.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function fl(e){let t=kt(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 jJ(e,...t){let a=Dt.bind(null,t.find(n=>typeof n=="object"));return t.map(a)}function wf(e,t){let a=kt(e,t==null?void 0:t.in);return a.setHours(0,0,0,0),a}function VJ(e,t,a){let[n,r]=jJ(a==null?void 0:a.in,e,t),i=wf(n),o=wf(r),l=+i-fl(i),c=+o-fl(o);return Math.round((l-c)/RJ)}function BJ(e,t){let a=_1(e,t),n=Dt(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),ii(n)}function zJ(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function HJ(e){return!(!zJ(e)&&typeof e!="number"||isNaN(+kt(e)))}function qJ(e,t){let a=kt(e,t==null?void 0:t.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}var $J={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"}},GJ=(e,t,a)=>{let n,r=$J[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 zu(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var UJ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},WJ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ZJ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},YJ={date:zu({formats:UJ,defaultWidth:"full"}),time:zu({formats:WJ,defaultWidth:"full"}),dateTime:zu({formats:ZJ,defaultWidth:"full"})},KJ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},XJ=(e,t,a,n)=>KJ[e];function Ii(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 QJ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},JJ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},eee={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"]},tee={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"]},nee={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"}},aee={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"}},ree=(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"},iee={ordinalNumber:ree,era:Ii({values:QJ,defaultWidth:"wide"}),quarter:Ii({values:JJ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ii({values:eee,defaultWidth:"wide"}),day:Ii({values:tee,defaultWidth:"wide"}),dayPeriod:Ii({values:nee,defaultWidth:"wide",formattingValues:aee,defaultFormattingWidth:"wide"})};function Di(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],c=Array.isArray(l)?see(l,m=>m.test(o)):oee(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(c):c,u=a.valueCallback?a.valueCallback(u):u;let d=t.slice(o.length);return{value:u,rest:d}}}function oee(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function see(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function lee(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 uee=/^(\d+)(th|st|nd|rd)?/i,cee=/\d+/i,dee={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},hee={any:[/^b/i,/^(a|c)/i]},pee={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},mee={any:[/1/i,/2/i,/3/i,/4/i]},fee={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},gee={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]},vee={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},bee={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]},yee={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},_ee={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}},wee={ordinalNumber:lee({matchPattern:uee,parsePattern:cee,valueCallback:e=>parseInt(e,10)}),era:Di({matchPatterns:dee,defaultMatchWidth:"wide",parsePatterns:hee,defaultParseWidth:"any"}),quarter:Di({matchPatterns:pee,defaultMatchWidth:"wide",parsePatterns:mee,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Di({matchPatterns:fee,defaultMatchWidth:"wide",parsePatterns:gee,defaultParseWidth:"any"}),day:Di({matchPatterns:vee,defaultMatchWidth:"wide",parsePatterns:bee,defaultParseWidth:"any"}),dayPeriod:Di({matchPatterns:yee,defaultMatchWidth:"any",parsePatterns:_ee,defaultParseWidth:"any"})},w1={code:"en-US",formatDistance:GJ,formatLong:YJ,formatRelative:XJ,localize:iee,match:wee,options:{weekStartsOn:0,firstWeekContainsDate:1}};function xee(e,t){let a=kt(e,t==null?void 0:t.in);return VJ(a,qJ(a))+1}function x1(e,t){let a=kt(e,t==null?void 0:t.in),n=+ii(a)-+BJ(a);return Math.round(n/b1)+1}function Gh(e,t){var d,m,b,g;let a=kt(e,t==null?void 0:t.in),n=a.getFullYear(),r=vi(),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=(b=r.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=Dt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=qa(o,t),c=Dt((t==null?void 0:t.in)||e,0);c.setFullYear(n,0,i),c.setHours(0,0,0,0);let u=qa(c,t);return+a>=+l?n+1:+a>=+u?n:n-1}function Eee(e,t){var o,l,c,u;let a=vi(),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??((u=(c=a.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,r=Gh(e,t),i=Dt((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,n),i.setHours(0,0,0,0),qa(i,t)}function E1(e,t){let a=kt(e,t==null?void 0:t.in),n=+qa(a,t)-+Eee(a,t);return Math.round(n/b1)+1}function Be(e,t){let a=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return a+n}var Na={y(e,t){let a=e.getFullYear(),n=a>0?a:1-a;return Be(t==="yy"?n%100:n,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):Be(a+1,2)},d(e,t){return Be(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 Be(e.getHours()%12||12,t.length)},H(e,t){return Be(e.getHours(),t.length)},m(e,t){return Be(e.getMinutes(),t.length)},s(e,t){return Be(e.getSeconds(),t.length)},S(e,t){let a=t.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,a-3));return Be(r,t.length)}},Dr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},xf={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 Na.y(e,t)},Y:function(e,t,a,n){let r=Gh(e,n),i=r>0?r:1-r;if(t==="YY"){let o=i%100;return Be(o,2)}return t==="Yo"?a.ordinalNumber(i,{unit:"year"}):Be(i,t.length)},R:function(e,t){let a=_1(e);return Be(a,t.length)},u:function(e,t){let a=e.getFullYear();return Be(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 Be(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 Be(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 Na.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 Be(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=E1(e,n);return t==="wo"?a.ordinalNumber(r,{unit:"week"}):Be(r,t.length)},I:function(e,t,a){let n=x1(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):Be(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):Na.d(e,t)},D:function(e,t,a){let n=xee(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):Be(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 Be(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 Be(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 Be(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=Dr.noon:n===0?r=Dr.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=Dr.evening:n>=12?r=Dr.afternoon:n>=4?r=Dr.morning:r=Dr.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 Na.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):Na.H(e,t)},K:function(e,t,a){let n=e.getHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):Be(n,t.length)},k:function(e,t,a){let n=e.getHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):Be(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):Na.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):Na.s(e,t)},S:function(e,t){return Na.S(e,t)},X:function(e,t,a){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Sf(n);case"XXXX":case"XX":return nr(n);case"XXXXX":case"XXX":default:return nr(n,":")}},x:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"x":return Sf(n);case"xxxx":case"xx":return nr(n);case"xxxxx":case"xxx":default:return nr(n,":")}},O:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ef(n,":");case"OOOO":default:return"GMT"+nr(n,":")}},z:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ef(n,":");case"zzzz":default:return"GMT"+nr(n,":")}},t:function(e,t,a){let n=Math.trunc(+e/1e3);return Be(n,t.length)},T:function(e,t,a){return Be(+e,t.length)}};function Ef(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+Be(i,2)}function Sf(e,t){return e%60===0?(e>0?"-":"+")+Be(Math.abs(e)/60,2):nr(e,t)}function nr(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Be(Math.trunc(n/60),2),i=Be(n%60,2);return a+r+t+i}var kf=(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"})}},S1=(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"})}},See=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],n=a[1],r=a[2];if(!r)return kf(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}}",kf(n,t)).replace("{{time}}",S1(r,t))},td={p:S1,P:See},kee=/^D+$/,Cee=/^Y+$/,Iee=["D","DD","YY","YYYY"];function k1(e){return kee.test(e)}function C1(e){return Cee.test(e)}function nd(e,t,a){let n=Dee(e,t,a);if(console.warn(n),Iee.includes(e))throw new RangeError(n)}function Dee(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 Tee=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Nee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Oee=/^'([^]*?)'?$/,Mee=/''/g,Ree=/[a-zA-Z]/;function I1(e,t,a){var d,m,b,g,w,x,S,T;let n=vi(),r=(a==null?void 0:a.locale)??n.locale??w1,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=(b=n.locale)==null?void 0:b.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??((T=(S=n.locale)==null?void 0:S.options)==null?void 0:T.weekStartsOn)??0,l=kt(e,a==null?void 0:a.in);if(!HJ(l))throw new RangeError("Invalid time value");let c=t.match(Nee).map(A=>{let O=A[0];if(O==="p"||O==="P"){let Y=td[O];return Y(A,r.formatLong)}return A}).join("").match(Tee).map(A=>{if(A==="''")return{isToken:!1,value:"'"};let O=A[0];if(O==="'")return{isToken:!1,value:Aee(A)};if(xf[O])return{isToken:!0,value:A};if(O.match(Ree))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:A}});r.localize.preprocessor&&(c=r.localize.preprocessor(l,c));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return c.map(A=>{if(!A.isToken)return A.value;let O=A.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&C1(O)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&k1(O))&&nd(O,t,String(e));let Y=xf[O[0]];return Y(l,O,r.localize,u)}).join("")}function Aee(e){let t=e.match(Oee);return t?t[1].replace(Mee,"'"):e}function D1(){return Object.assign({},vi())}function Pee(e,t){let a=kt(e,t==null?void 0:t.in).getDay();return a===0?7:a}function Lee(e,t){let a=Fee(t)?new t(0):Dt(t,0);return a.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),a.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),a}function Fee(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var jee=10,T1=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},Vee=class extends T1{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)}},Bee=class extends T1{constructor(t,a){super();s(this,"priority",jee);s(this,"subPriority",-1);this.context=t||(n=>Dt(a,n))}set(t,a){return a.timestampIsSet?t:Dt(t,Lee(t,this.context))}},Fe=class{run(e,t,a,n){let r=this.parse(e,t,a,n);return r?{setter:new Vee(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,a){return!0}},zee=class extends Fe{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}},ct={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}/},Gn={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 dt(e,t){return e&&{value:t(e.value),rest:e.rest}}function et(e,t){let a=t.match(e);return a?{value:parseInt(a[0],10),rest:t.slice(a[0].length)}:null}function Un(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*PJ+i*AJ+o*LJ),rest:t.slice(a[0].length)}}function N1(e){return et(ct.anyDigitsSigned,e)}function it(e,t){switch(e){case 1:return et(ct.singleDigit,t);case 2:return et(ct.twoDigits,t);case 3:return et(ct.threeDigits,t);case 4:return et(ct.fourDigits,t);default:return et(new RegExp("^\\d{1,"+e+"}"),t)}}function gl(e,t){switch(e){case 1:return et(ct.singleDigitSigned,t);case 2:return et(ct.twoDigitsSigned,t);case 3:return et(ct.threeDigitsSigned,t);case 4:return et(ct.fourDigitsSigned,t);default:return et(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Uh(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 O1(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 M1(e){return e%400===0||e%4===0&&e%100!==0}var Hee=class extends Fe{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 dt(it(4,t),r);case"yo":return dt(n.ordinalNumber(t,{unit:"year"}),r);default:return dt(it(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=O1(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}},qee=class extends Fe{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 dt(it(4,t),r);case"Yo":return dt(n.ordinalNumber(t,{unit:"year"}),r);default:return dt(it(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n,r){let i=Gh(t,r);if(n.isTwoDigitYear){let l=O1(n.year,i);return t.setFullYear(l,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),qa(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),qa(t,r)}},$ee=class extends Fe{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 gl(a==="R"?4:a.length,t)}set(t,a,n){let r=Dt(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),ii(r)}},Gee=class extends Fe{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 gl(a==="u"?4:a.length,t)}set(t,a,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Uee=class extends Fe{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 it(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}},Wee=class extends Fe{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 it(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}},Zee=class extends Fe{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 dt(et(ct.month,t),r);case"MM":return dt(it(2,t),r);case"Mo":return dt(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}},Yee=class extends Fe{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 dt(et(ct.month,t),r);case"LL":return dt(it(2,t),r);case"Lo":return dt(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 Kee(e,t,a){let n=kt(e,a==null?void 0:a.in),r=E1(n,a)-t;return n.setDate(n.getDate()-r*7),kt(n,a==null?void 0:a.in)}var Xee=class extends Fe{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 et(ct.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n,r){return qa(Kee(t,n,r),r)}};function Qee(e,t,a){let n=kt(e,a==null?void 0:a.in),r=x1(n,a)-t;return n.setDate(n.getDate()-r*7),n}var Jee=class extends Fe{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 et(ct.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n){return ii(Qee(t,n))}},ete=[31,28,31,30,31,30,31,31,30,31,30,31],tte=[31,29,31,30,31,30,31,31,30,31,30,31],nte=class extends Fe{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 et(ct.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return it(a.length,t)}}validate(t,a){let n=t.getFullYear(),r=M1(n),i=t.getMonth();return r?a>=1&&a<=tte[i]:a>=1&&a<=ete[i]}set(t,a,n){return t.setDate(n),t.setHours(0,0,0,0),t}},ate=class extends Fe{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 et(ct.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return it(a.length,t)}}validate(t,a){let n=t.getFullYear();return M1(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 Wh(e,t,a){var d,m,b,g;let n=vi(),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=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,i=kt(e,a==null?void 0:a.in),o=i.getDay(),l=(t%7+7)%7,c=7-r,u=t<0||t>6?t-(o+c)%7:(l+c)%7-(o+c)%7;return y1(i,u,a)}var rte=class extends Fe{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=Wh(t,n,r),t.setHours(0,0,0,0),t}},ite=class extends Fe{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 dt(it(a.length,t),i);case"eo":return dt(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=Wh(t,n,r),t.setHours(0,0,0,0),t}},ote=class extends Fe{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 dt(it(a.length,t),i);case"co":return dt(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=Wh(t,n,r),t.setHours(0,0,0,0),t}};function ste(e,t,a){let n=kt(e,a==null?void 0:a.in),r=Pee(n,a),i=t-r;return y1(n,i,a)}var lte=class extends Fe{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 it(a.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return dt(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 dt(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return dt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return dt(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=ste(t,n),t.setHours(0,0,0,0),t}},ute=class extends Fe{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(Uh(n),0,0,0),t}},cte=class extends Fe{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(Uh(n),0,0,0),t}},dte=class extends Fe{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(Uh(n),0,0,0),t}},hte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,n){switch(a){case"h":return et(ct.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return it(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}},pte=class extends Fe{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 et(ct.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,n){return t.setHours(n,0,0,0),t}},mte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,n){switch(a){case"K":return et(ct.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return it(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}},fte=class extends Fe{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 et(ct.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return it(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}},gte=class extends Fe{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"m":return et(ct.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setMinutes(n,0,0),t}},vte=class extends Fe{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"s":return et(ct.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setSeconds(n,0),t}},bte=class extends Fe{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 dt(it(a.length,t),n)}set(t,a,n){return t.setMilliseconds(n),t}},yte=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return Un(Gn.basicOptionalMinutes,t);case"XX":return Un(Gn.basic,t);case"XXXX":return Un(Gn.basicOptionalSeconds,t);case"XXXXX":return Un(Gn.extendedOptionalSeconds,t);case"XXX":default:return Un(Gn.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Dt(t,t.getTime()-fl(t)-n)}},_te=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return Un(Gn.basicOptionalMinutes,t);case"xx":return Un(Gn.basic,t);case"xxxx":return Un(Gn.basicOptionalSeconds,t);case"xxxxx":return Un(Gn.extendedOptionalSeconds,t);case"xxx":default:return Un(Gn.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Dt(t,t.getTime()-fl(t)-n)}},wte=class extends Fe{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return N1(t)}set(t,a,n){return[Dt(t,n*1e3),{timestampIsSet:!0}]}},xte=class extends Fe{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return N1(t)}set(t,a,n){return[Dt(t,n),{timestampIsSet:!0}]}},Ete={G:new zee,y:new Hee,Y:new qee,R:new $ee,u:new Gee,Q:new Uee,q:new Wee,M:new Zee,L:new Yee,w:new Xee,I:new Jee,d:new nte,D:new ate,E:new rte,e:new ite,c:new ote,i:new lte,a:new ute,b:new cte,B:new dte,h:new hte,H:new pte,K:new mte,k:new fte,m:new gte,s:new vte,S:new bte,X:new yte,x:new _te,t:new wte,T:new xte},Ste=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,kte=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cte=/^'([^]*?)'?$/,Ite=/''/g,Dte=/\S/,Tte=/[a-zA-Z]/;function Nte(e,t,a,n){var S,T,A,O;let r=()=>Dt(a,NaN),i=D1(),o=i.locale??w1,l=i.firstWeekContainsDate??((T=(S=i.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,c=i.weekStartsOn??((O=(A=i.locale)==null?void 0:A.options)==null?void 0:O.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:c,locale:o},d=[new Bee(n==null?void 0:n.in,a)],m=t.match(kte).map(Y=>{let ie=Y[0];if(ie in td){let me=td[ie];return me(Y,o.formatLong)}return Y}).join("").match(Ste),b=[];for(let Y of m){C1(Y)&&nd(Y,t,e),k1(Y)&&nd(Y,t,e);let ie=Y[0],me=Ete[ie];if(me){let{incompatibleTokens:_t}=me;if(Array.isArray(_t)){let $e=b.find(ht=>_t.includes(ht.token)||ht.token===ie);if($e)throw new RangeError(`The format string mustn't contain \`${$e.fullToken}\` and \`${Y}\` at the same time`)}else if(me.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Y}\` and any other token at the same time`);b.push({token:ie,fullToken:Y});let st=me.run(e,Y,o.match,u);if(!st)return r();d.push(st.setter),e=st.rest}else{if(ie.match(Tte))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ie+"`");if(Y==="''"?Y="'":ie==="'"&&(Y=Ote(Y)),e.indexOf(Y)===0)e=e.slice(Y.length);else return r()}}if(e.length>0&&Dte.test(e))return r();let g=d.map(Y=>Y.priority).sort((Y,ie)=>ie-Y).filter((Y,ie,me)=>me.indexOf(Y)===ie).map(Y=>d.filter(ie=>ie.priority===Y).sort((ie,me)=>me.subPriority-ie.subPriority)).map(Y=>Y[0]),w=kt(a,n==null?void 0:n.in);if(isNaN(+w))return r();let x={};for(let Y of g){if(!Y.validate(w,u))return r();let ie=Y.set(w,x,u);Array.isArray(ie)?(w=ie[0],Object.assign(x,ie[1])):w=ie}return w}function Ote(e){return e.match(Cte)[1].replace(Ite,"'")}var D=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}(D||{}),Zh=new K("ngx-mask config"),R1=new K("new ngx-mask config"),A1=new K("initial ngx-mask config"),Mte={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new Ft,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};D.HOURS_MINUTES_SECONDS,D.HOURS_MINUTES,D.MINUTES_SECONDS;D.PERCENT,D.HOURS_HOUR,D.SECONDS,D.MINUTES,D.SEPARATOR,D.DAYS_MONTHS_YEARS,D.DAYS_MONTHS,D.DAYS,D.MONTHS;var Rte=(()=>{const t=class t{constructor(){s(this,"_config",C(Zh));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=[],c="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),c=((g=n.match(w))==null?void 0:g[0])??D.EMPTY_STRING}else l=n.split(i),c=i;let u=l.length>1?`${c}${l[1]}`:D.EMPTY_STRING,d=l[0]??D.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,D.EMPTY_STRING);m&&+m&&(d[0]===D.MINUS?d=`-${d.slice(1,d.length).slice(0,m.length)}`:d=d.slice(0,m.length));let b=/(\d+)(\d{3})/;for(;r&&b.test(d);)d=d.replace(b,"$1"+r+"$2");return typeof o>"u"?d+u:o===0?d:d+u.substring(0,o+1)});s(this,"percentage",n=>{let r=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(D.MINUS)?r.slice(1,n.length):r);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let r=n.split(D.DOT);return r.length>1?Number(r[r.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var r,i,o,l;for(let c=((r=this.suffix)==null?void 0:r.length)-1;c>=0;c--){let u=this.suffix.substring(c,(i=this.suffix)==null?void 0:i.length);if(n.includes(u)&&c!==((o=this.suffix)==null?void 0:o.length)-1&&(c-1<0||!n.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(u,D.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,r,i)=>{var c;let o=n,l=i;if(r<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${r}}.*$`),d=o.match(u),m=(d&&((c=d[0])==null?void 0:c.length))??0;if(m-1>r){let b=m-1-r;o=o.substring(0,o.length-b)}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,c=()=>{}){var st,$e,ht;if(!r||typeof n!="string")return D.EMPTY_STRING;let u=0,d="",m=!1,b=!1,g=1,w=!1,x=n,S=i;x.slice(0,this.prefix.length)===this.prefix&&(x=x.slice(this.prefix.length,x.length)),this.suffix&&x.length>0&&(x=this.checkAndRemoveSuffix(x)),x==="("&&this.prefix&&(x="");let T=x.toString().split(D.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&(d+=x.slice(u,u+1)),r===D.IP){let Z=x.split(D.DOT);this.ipError=this._validIP(Z),r="099.099.099.099"}let A=[];for(let Z=0;Z<x.length;Z++)(st=x[Z])!=null&&st.match("\\d")&&A.push(x[Z]??D.EMPTY_STRING);if(r===D.CPF_CNPJ&&(this.cpfCnpjError=A.length!==11&&A.length!==14,A.length>11?r="00.000.000/0000-00":r="000.000.000-00"),r.startsWith(D.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let ge=this.getPrecision(r);x=this.checkInputPrecision(x,ge,this.decimalMarker)}let Z=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;if(x.indexOf(Z)>0&&!this.percentage(x.substring(0,x.indexOf(Z)))){let ge=x.substring(0,x.indexOf(Z)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&!l&&(ge=x.substring(0,x.indexOf(Z))),x=`${ge}${x.substring(x.indexOf(Z),x.length)}`}let H="";this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS?H=`${D.MINUS}${x.slice(u+1,u+x.length)}`:H=x,this.percentage(H)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(r.startsWith(D.SEPARATOR)){(x.match("[wа-яА-Я]")||x.match("[ЁёА-я]")||x.match("[a-z]|[A-Z]")||x.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||x.match("[^A-Za-z0-9,]"))&&(x=this._stripToDecimal(x));let Z=this.getPrecision(r),H=Array.isArray(this.decimalMarker)?this.thousandSeparator===D.DOT?D.COMMA:D.DOT:this.decimalMarker;if(Z===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===D.MINUS&&x[1]===D.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==D.COMMA&&x[2]!==D.DOT?"-"+x.slice(2,x.length):x[0]===D.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==D.COMMA&&x[1]!==D.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===D.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==D.COMMA&&x[1]!==D.DOT?x.slice(1,x.length):x:(x[0]===H&&x.length>1&&(x=D.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===D.NUMBER_ZERO&&x[1]!==H&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+H+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===D.MINUS&&(x[1]===H||x[1]===D.NUMBER_ZERO)&&(x=x[1]===H&&x.length>2?x.slice(0,1)+D.NUMBER_ZERO+x.slice(1,x.length):x[1]===D.NUMBER_ZERO&&x.length>2&&x[2]!==H?x.slice(0,2)+H+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Ie=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Me=x[S]===D.NUMBER_ZERO||x[S]===H,Je=x[0]===D.NUMBER_ZERO,Sn=x[0]===D.MINUS,Ge=x[0]===this.thousandSeparator,Lt=x[1]===H,wt=x[1]===D.NUMBER_ZERO,jn=x[2]===H;Je&&Lt&&Me&&S<2&&(x=Ie),Sn&&wt&&jn&&Me&&S<3&&(x=D.MINUS+Ie),Ie!==D.MINUS&&(S===0&&(Je||Ge)||this.allowNegativeNumbers&&S===1&&Sn&&!wt)&&(x=Sn?D.MINUS+Ie:Ie)}let ge=this._charToRegExpExpression(this.thousandSeparator),L='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(ge,"");if(Array.isArray(this.decimalMarker))for(let Ie of this.decimalMarker)L=L.replace(this._charToRegExpExpression(Ie),D.EMPTY_STRING);else L=L.replace(this._charToRegExpExpression(this.decimalMarker),"");let j=new RegExp("["+L+"]");x.match(j)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Z,this.decimalMarker);let U=x.replace(new RegExp(ge,"g"),"");d=this._formatWithSeparators(U,this.thousandSeparator,this.decimalMarker,Z);let Ee=d.indexOf(D.COMMA)-x.indexOf(D.COMMA),He=d.length-x.length,Pt=l&&d.length<n.length&&this.separatorLimit;if((d[S-1]===this.thousandSeparator||d[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(He>0&&d[S]!==this.thousandSeparator||Pt){b=!0;let Ie=0;do this._shift.add(S+Ie),Ie++;while(Ie<He)}else d[S-1]===this.thousandSeparator||He===-4||He===-3||d[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Ee!==0&&S>0&&!(d.indexOf(D.COMMA)>=S&&S>3)||!(d.indexOf(D.DOT)>=S&&S>3)&&He<=0?(this._shift.clear(),b=!0,g=He,S+=He,this._shift.add(S)):this._shift.clear()}else for(let Z=0,H=T[0];Z<T.length&&u!==r.length;Z++,H=T[Z]??D.EMPTY_STRING){let ge=D.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)&&r[u+1]===D.SYMBOL_QUESTION)d+=H,u+=2;else if(r[u+1]===D.SYMBOL_STAR&&m&&this._checkSymbolMask(H,r[u+2]??D.EMPTY_STRING))d+=H,u+=3,m=!1;else if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)&&r[u+1]===D.SYMBOL_STAR&&!ge)d+=H,m=!0;else if(r[u+1]===D.SYMBOL_QUESTION&&this._checkSymbolMask(H,r[u+2]??D.EMPTY_STRING))d+=H,u+=3;else if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)){if(r[u]===D.HOURS&&(this.apm?Number(H)>9:Number(H)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}if(r[u]===D.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(H)>2||x.slice(u-1,u).length===1&&Number(x.slice(u-1,u))>2||x.slice(u-1,u)==="1"&&Number(H)>2:d==="2"&&Number(H)>3||(d.slice(u-2,u)==="2"||d.slice(u-3,u)==="2"||d.slice(u-4,u)==="2"||d.slice(u-1,u)==="2")&&Number(H)>3&&u>10)){S=S+1,u+=1,Z--;continue}if((r[u]===D.MINUTE||r[u]===D.SECOND)&&Number(H)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}let L=31,j=x[u],U=x[u+1],Ee=x[u+2],He=x[u-1],Pt=x[u-2],Ie=x.slice(u-3,u-1),Me=x.slice(u-1,u+1),Je=x.slice(u,u+2),Sn=x.slice(u-2,u);if(r[u]===D.DAY){let Ge=r.slice(0,2)===D.MONTHS,Lt=r.slice(0,2)===D.MONTHS&&this.specialCharacters.includes(Pt);if(Number(H)>3&&this.leadZeroDateTime||!Ge&&(Number(Je)>L||Number(Me)>L||this.specialCharacters.includes(U))||(Lt?Number(Me)>L||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(Ee)||this.specialCharacters.includes(j):Number(Je)>L||this.specialCharacters.includes(U)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}}if(r[u]===D.MONTH){let Ge=u===0&&(Number(H)>2||Number(Je)>12||this.specialCharacters.includes(U)&&!l),Lt=r.slice(u+2,u+3),wt=Ie.includes(Lt)&&r.includes("d0")&&(this.specialCharacters.includes(Pt)&&Number(Me)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),jn=Number(Ie)<=L&&!this.specialCharacters.includes(Ie)&&this.specialCharacters.includes(He)&&(Number(Je)>12||this.specialCharacters.includes(U)),Ia=Number(Je)>12&&u===5||this.specialCharacters.includes(U)&&u===5,Vo=Number(Ie)>L&&!this.specialCharacters.includes(Ie)&&!this.specialCharacters.includes(Sn)&&Number(Sn)>12&&r.includes("d0"),Bo=Number(Ie)<=L&&!this.specialCharacters.includes(Ie)&&!this.specialCharacters.includes(He)&&Number(Me)>12;if(Number(H)>1&&this.leadZeroDateTime||Ge||wt||Bo||Vo||jn||Ia&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Z--,this.leadZeroDateTime&&(d+="0");continue}}d+=H,u++}else this.specialCharacters.includes(H)&&r[u]===H?(d+=H,u++):this.specialCharacters.indexOf(r[u]??D.EMPTY_STRING)!==-1?(d+=r[u],u++,this._shiftStep(r,u,T.length),Z--):r[u]===D.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(r,u,T.length):this.patterns[r[u]??D.EMPTY_STRING]&&(($e=this.patterns[r[u]??D.EMPTY_STRING])!=null&&$e.optional)?(T[u]&&r!=="099.099.099.099"&&r!=="000.000.000-00"&&r!=="00.000.000/0000-00"&&!r.match(/^9+\.0+$/)&&!((ht=this.patterns[r[u]??D.EMPTY_STRING])!=null&&ht.optional)&&(d+=T[u]),r.includes(D.NUMBER_NINE+D.SYMBOL_STAR)&&r.includes(D.NUMBER_ZERO+D.SYMBOL_STAR)&&u++,u++,Z--):this.maskExpression[u+1]===D.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[u+2]??D.EMPTY_STRING)&&this._findSpecialChar(H)===this.maskExpression[u+2]&&m||this.maskExpression[u+1]===D.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[u+2]??D.EMPTY_STRING)&&this._findSpecialChar(H)===this.maskExpression[u+2]&&m?(u+=3,d+=H):this.showMaskTyped&&this.specialCharacters.indexOf(H)<0&&H!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===r.length&&this.specialCharacters.indexOf(r[r.length-1]??D.EMPTY_STRING)!==-1&&(d+=r[r.length-1]);let O=S+1;for(;this._shift.has(O);)g++,O++;let Y=o&&!r.startsWith(D.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Y--,c(Y,b),g<0&&this._shift.clear();let ie=!1;l&&(ie=T.every(Z=>this.specialCharacters.includes(Z)));let me=`${this.prefix}${ie?D.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(me=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let _t=x.length===1&&this.specialCharacters.includes(r[0])&&x!==r[0];if(!this._checkSymbolMask(x,r[1])&&_t)return"";if(d.includes(D.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===D.MINUS)return"";me=`${D.MINUS}${this.prefix}${d.split(D.MINUS).join(D.EMPTY_STRING)}${this.suffix}`}return me}_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(D.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===D.MINUS&&i===0&&this.allowNegativeNumbers}).join(D.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===D.EMPTY_STRING||Number(r)>255:r===D.EMPTY_STRING||Number(r.substring(0,3))>255))}_splitPercentZero(n){if(n===D.MINUS&&this.allowNegativeNumbers)return n;let r=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(D.DOT),i=this.allowNegativeNumbers&&n.includes(D.MINUS)?"-":"";if(r===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?D.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,r),10),l=n.substring(r+1),c=isNaN(o)?"":o.toString(),u=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;return c===D.EMPTY_STRING?D.EMPTY_STRING:`${i}${c}${u}${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",B({token:t,factory:t.ɵfac}));let e=t;return e})(),Ate=(()=>{const t=class t extends Rte{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",C(At,{optional:!0}));s(this,"document",C(Le));s(this,"_config",C(Zh));s(this,"_renderer",C(mi,{optional:!0}))}applyMask(r,i,o=0,l=!1,c=!1,u=()=>{}){if(!i)return r!==this.actualValue?this.actualValue:r;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():D.EMPTY_STRING,this.maskExpression===D.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||D.HASH)),this.maskExpression===D.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||D.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]??D.EMPTY_STRING:D.EMPTY_STRING,m="",b=o;if(this.hiddenInput!==null&&!this.writingValue){let S=r&&r.length===1?r.split(D.EMPTY_STRING):this.actualValue.split(D.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):r!==D.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(r.length>S.length?S.splice(this.selStart,0,d):r.length<S.length&&(S.length-r.length===1?c?S.splice(this.selStart-1,1):S.splice(r.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(r)),m=this.actualValue.length&&S.length<=r.length?this.shiftTypedSymbols(S.join(D.EMPTY_STRING)):r}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=r),c&&this.specialCharacters.indexOf(this.maskExpression[b]??D.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&b&&(this.specialCharacters.includes(this.actualValue.slice(b,b+1))?b=b+1:i.slice(b-1,b+1)!==D.MONTHS&&(b=b-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 S=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(S),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,i,b,l,c,u);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===D.DOT&&this.decimalMarker===D.DOT&&(this.decimalMarker=D.COMMA),this.maskExpression.startsWith(D.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(S=>!this._compareOrIncludes(S,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?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(D.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${x.slice(w+S)}`}else if(this.maskExpression===D.IP||this.maskExpression===D.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 u;let c=(u=this._elementRef)==null?void 0:u.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,r,i,o,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(r,i){return r.split(D.EMPTY_STRING).map((o,l)=>{var c,u;return this.patterns&&this.patterns[i[l]??D.EMPTY_STRING]&&((c=this.patterns[i[l]??D.EMPTY_STRING])!=null&&c.symbol)?(u=this.patterns[i[l]??D.EMPTY_STRING])==null?void 0:u.symbol:o}).join(D.EMPTY_STRING)}getActualValue(r){let i=r.split(D.EMPTY_STRING).filter((o,l)=>{let c=this.maskExpression[l]??D.EMPTY_STRING;return this._checkSymbolMask(o,c)||this.specialCharacters.includes(c)&&o===c});return i.join(D.EMPTY_STRING)===r?i.join(D.EMPTY_STRING):r}shiftTypedSymbols(r){let i="";return(r&&r.split(D.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(r[l+1]??D.EMPTY_STRING)&&r[l+1]!==this.maskExpression[l+1])return i=o,r[l+1];if(i.length){let c=i;return i=D.EMPTY_STRING,c}return o})||[]).join(D.EMPTY_STRING)}numberToString(r){return!r&&r!==0||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(D.SEPARATOR)&&this.separatorLimit.length>14&&String(r).length>14?String(r):Number(r).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${D.MINUS}/`,D.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===D.IP)return this._checkForIp(r);if(this.maskExpression===D.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,D.EMPTY_STRING).length&&(this.formElementProperty=["value",D.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(D.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===D.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<r.length;o++){let l=r[o]??D.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===D.HASH)return i;let l=[];for(let c=0;c<r.length;c++){let u=r[c]??D.EMPTY_STRING;u&&u.match("\\d")&&l.push(u)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):l.length===11?"":l.length===12?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===D.EMPTY_STRING||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return r;if(String(r).length>14&&this.maskExpression.startsWith(D.SEPARATOR))return String(r);let i=Number(r);if(this.maskExpression.startsWith(D.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(D.PERCENT)&&r.includes(D.DOT)?r:r&&r.replace(this._regExpForRemove(i),D.EMPTY_STRING)}_removePrefix(r){return this.prefix?r&&r.replace(this.prefix,D.EMPTY_STRING):r}_removeSuffix(r){return this.suffix?r&&r.replace(this.suffix,D.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(D.WHITE_SPACE)&&this.maskExpression.includes(D.SYMBOL_STAR)&&(i=i.filter(o=>o!==D.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),D.DOT)}_checkSymbols(r){let i=r;if(i===D.EMPTY_STRING)return i;this.maskExpression.startsWith(D.PERCENT)&&this.decimalMarker===D.COMMA&&(i=i.replace(D.COMMA,D.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 c=(i=this.patterns[l])==null?void 0:i.pattern.toString(),u=(o=this.patterns[l])==null?void 0:o.pattern;if(c!=null&&c.includes(D.WHITE_SPACE)&&(u!=null&&u.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===D.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(D.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===D.CURLY_BRACKETS_LEFT?l:this._start,o!==D.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let c=Number(r.slice(this._start+1,this._end)),u=new Array(c+1).join(r[this._start-1]);if(r.slice(0,this._start).length>1&&r.includes(D.LETTER_S)){let d=r.slice(0,this._start-1);return d.includes(D.CURLY_BRACKETS_LEFT)?i+u:d+i+u}else return i+u},"")||r}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=Jt(t)))(i||t)}})()),s(t,"ɵprov",B({token:t,factory:t.ɵfac}));let e=t;return e})();function Pte(){let e=C(A1),t=C(R1);return t instanceof Function?se(se({},e),t()):se(se({},e),t)}function Lte(e){return[{provide:R1,useValue:e},{provide:A1,useValue:Mte},{provide:Zh,useFactory:Pte},Ate]}function Fte(e){return Cd(Lte(e))}var Ai=class extends Error{};Ai.prototype.name="InvalidTokenError";function jte(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 Vte(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 jte(t)}catch{return atob(t)}}function Bte(e,t){if(typeof e!="string")throw new Ai("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 Ai(`Invalid token specified: missing part #${a+1}`);let r;try{r=Vte(n)}catch(i){throw new Ai(`Invalid token specified: invalid base64 for part #${a+1} (${i.message})`)}try{return JSON.parse(r)}catch(i){throw new Ai(`Invalid token specified: invalid json for part #${a+1} (${i.message})`)}}function zte(e){var t,a,n,r;return((a=(t=e.userProfile)==null?void 0:t.children)==null?void 0:a.length)>0?e.userProfile.children[0].ssin:((r=(n=e.userProfile)==null?void 0:n.mandators)==null?void 0:r.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var Hte=(()=>{const t=class t{registerAccessToken(n){this.getLocalAccessToken=n}resolveAccessToken(){return vr(this.getLocalAccessToken("nihii-vidis"))}resolveSsin(){return Et(this,null,function*(){if(this._isProfessional===!0)return this._patientSsin;let n=yield this.decodedToken();return zte(n)})}resolvePatientInfo(){return Et(this,null,function*(){return(yield this.decodedToken()).userProfile})}resolveUserInfo(){return Et(this,null,function*(){var d,m,b,g;let n=(yield this.decodedToken()).userProfile,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,c=(b=n==null?void 0:n.organizations)!=null&&b.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,u=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:r,role:l||o,organization:c&&l?c:void 0,professional:u,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Et(this,null,function*(){var n,r;return((r=(n=(yield this.decodedToken()).userProfile)==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}decodedToken(){return Et(this,null,function*(){return Bte(yield this.getLocalAccessToken("nihii-vidis"))})}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}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=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),qte=(()=>{const t=class t{constructor(){this._isProfessional=!1,this._patientSsin=""}resolveAccessToken(){return at("demo token")}resolveSsin(){return Et(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 Et(this,null,function*(){return Promise.resolve(!1)})}registerAccessToken(n){}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}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=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),$te=(()=>{const t=class t{constructor(){this.http=C(gi)}get(n,r){return ms()?this.http.get(n):at(r)}patch(n,r){return ms()?this.http.patch(n,{}):at(r)}post(n,r){return ms()?this.http.post(n,{}):at(r)}delete(n,r){return ms()?this.http.delete(n):at(r)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ms=()=>window.Cypress;function Gte(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var Ute={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function P1(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let a of Ute[t]){let n=e.find(r=>r.lang===a);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Ur=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Ur||{}),va=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(va||{});function Wte(e,t){return Et(this,null,function*(){t.next({status:Ur.LOADING});try{let a=yield e,n={status:Ur.SUCCESS,data:a};return t.next(n),n}catch(a){let n={status:Ur.ERROR,error:Kte(a)};return t.next(n),n}})}var Cf={[va.NO_DATA]:["VIDIS_0140"],[va.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"],[va.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"],[va.OTHER]:[]};function Zte(e){for(let t of Object.keys(Cf))if(Cf[t].includes(e))return t;return va.OTHER}function Yte(e,t,a){let n=e||"UNKNOWN",r=Zte(n);return{code:n,message:a??"An unexpected error occurred",group:r,traceId:t}}function Kte(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 Yte(t,n,a)}var Xte=(()=>{const t=class t{constructor(){this.translate=C(Ca)}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 P1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qte=(()=>{const t=class t{constructor(){this.http=C(gi),this.snackbarService=C(F1)}getLeaflet(n,r){this.http.get(`/v2/leaflet/${n}/${r}`,{responseType:"text"}).pipe(on(1),_d(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),Og(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),vl=(()=>{const t=class t{constructor(){this.config=C(jo),this.injector=C(rt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(qte):this.injector.get(Hte)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Jte={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function ene(e,t){if(e&1){let a=No();ae(0,"div",1)(1,"button",2),$a("click",function(){ya(a);let n=Pe();return _a(n.action())}),_e(2),re()()}if(e&2){let a=Pe();te(2),un(" ",a.data.action," ")}}var tne=["label"];function nne(e,t){}var ane=Math.pow(2,31)-1,ad=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new xe);s(this,"_afterOpened",new xe);s(this,"_onAction",new xe);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,ane))}_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}},L1=new K("MatSnackBarData"),bl=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")}},rne=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ut({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),ine=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ut({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),one=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ut({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),sne=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(ad));s(this,"data",C(L1))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({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&&(ae(0,"div",0),_e(1),re(),gt(2,ene,3,1,"div",1)),n&2&&(te(),un(" ",r.data.message,`
|
|
30
|
+
`),te(),Mt(r.hasAction?2:-1))},dependencies:[ql,rne,ine,one],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
31
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hu="_mat-snack-bar-enter",qu="_mat-snack-bar-exit",lne=(()=>{const t=class t extends zl{constructor(){super();s(this,"_ngZone",C(je));s(this,"_elementRef",C(At));s(this,"_changeDetectorRef",C(Oo));s(this,"_platform",C(pn));s(this,"_rendersRef");s(this,"_animationsDisabled",C(pi,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",C(bl));s(this,"_document",C(Le));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new xe);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new xe);s(this,"_onExit",new xe);s(this,"_onEnter",new xe);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",C(Fo).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=c0(()=>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===qu?this._completeExit():r===Hu&&(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(on(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Hu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Hu)},200)))}exit(){return this._destroyed?at(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(on(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(qu)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(qu),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(c=>r.classList.add(c)):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],c=l.getAttribute("aria-owns");this._trackedModals.add(l),c?c.indexOf(r)===-1&&l.setAttribute("aria-owns",c+" "+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",ot({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,i){if(r&1&&(Oc(no,7),Oc(tne,7)),r&2){let o;Mc(o=Rc())&&(i._portalOutlet=o.first),Mc(o=Rc())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(r,i){r&1&&$a("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),r&2&&Rn("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:[En],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&&(ae(0,"div",1)(1,"div",2,0)(3,"div",3),gt(4,nne,0,0,"ng-template",4),re(),ln(5,"div"),re()()),r&2&&(te(5),Ln("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[no],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 une(){return new bl}var cne=new K("mat-snack-bar-default-options",{providedIn:"root",factory:une}),dne=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Ga));s(this,"_live",C(RK));s(this,"_injector",C(rt));s(this,"_breakpointObserver",C(xy));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(cne));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",sne);s(this,"snackBarContainerComponent",lne);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=se(se({},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=rt.create({parent:i||this._injector,providers:[{provide:bl,useValue:r}]}),l=new to(this.snackBarContainerComponent,r.viewContainerRef,o),c=n.attach(l);return c.instance.snackBarConfig=r,c.instance}_attach(n,r){let i=se(se(se({},new bl),this._defaultConfig),r),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),c=new ad(l,o);if(n instanceof ei){let u=new Oh(n,null,{$implicit:i.data,snackBarRef:c});c.instance=l.attachTemplatePortal(u)}else{let u=this._createInjector(i,c),d=new to(n,void 0,u),m=l.attachComponentPortal(d);c.instance=m.instance}return this._breakpointObserver.observe(Jte.HandsetPortrait).pipe(mo(o.detachments())).subscribe(u=>{o.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(c,i),this._openedSnackBarRef=c,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 Mh;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,c=!l&&n.horizontalPosition!=="center";return l?i.left("0"):c?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 rt.create({parent:i||this._injector,providers:[{provide:ad,useValue:r},{provide:L1,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),F1=(()=>{const t=class t{constructor(){this.snackbar=C(dne),this.translate=C(Ca)}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=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),hne="4.0",rd=hne,Aa=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Aa||{}),pne={demo:{env:Aa.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Aa.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Aa.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Aa.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Aa.PROD}},jo=(()=>{const t=class t{setEnvironment(n){this.configVariables=pne[Aa[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),mne=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Ft);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=rd.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 (${rd})!`),!1):!0}validateInputs(){let n=this,r=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=r.reduce((l,c)=>(n[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),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",ot({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[vv],decls:0,vars:0,template:function(n,r){},encapsulation:2}));let e=t;return e})(),fne=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}fetchBackendData(){return Et(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Et(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 Et(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 Et(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 Et(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 Et(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},gne=()=>{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)},j1=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}(j1||{}),rr=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(rr||{}),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 fs={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},vne=(e,t)=>{let a=C(vl),n=C(jo).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!n)return t(e);let r=e.headers||new ai,i=a.getInstance().isProfessional;return a.getInstance().resolveAccessToken().pipe($i(o=>t(e.clone({url:`${n}${e.url}`,headers:r.set("Authorization",fs.getAuthorizationHeader(o)).set("user-type",fs.getUserType({isProfessional:i})).set("client-type",gne()?fs.clientType.mobileApp:fs.clientType.webApp)}))))};function bne(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var yne=["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",bne];function _ne(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var wne=["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",_ne];function xne(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 Ene=["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",xne];function Sne(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var kne=["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",Sne];Bl(yne,"de");Bl(kne,"nl");Bl(Ene,"fr");Bl(wne,"en");var Cne=class{handleError(e){throw new Error(e)}},Ine=class extends tX{getFirstDayOfWeek(){return 1}format(e){return I1(e,"dd/MM/yyyy")}parse(e){return Nte(e,"dd/MM/yyyy",new Date)}},Dne={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"}}},Tne=[OJ(),WY(ZY([vne])),Fte(),{provide:An,useClass:Cne},{provide:Iy,useClass:Ine,deps:[Uc]},{provide:BK,useValue:Dne},{provide:Xy,useClass:MJ},{provide:Vy,useValue:{panelClass:"mh-dialog-container"}}],Nne=Gf(p7(),1),One=new K("MESSAGE_FORMAT_CONFIG"),Mne={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Rne=(()=>{const t=class t extends Ao{constructor(n){super(),this.mfCache=new Map;let{formatters:r,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:c,throwOnError:u,fallbackPrefix:d}=se(se({},Mne),n);this.messageFormatOptions={customFormatters:r,biDiSupport:i,strict:o,currency:l,strictPluralKeys:c},this.throwOnError=!!u,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=Pne(n,r)}return this.throwOnError||(i=Ane(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 Nne.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(ee(One,8))},t.ɵprov=B({token:t,factory:t.ɵfac});let e=t;return e})();function Ane(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 Pne(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var V1={};oe(V1,{"00001":()=>B1,"00002":()=>z1,"00003":()=>H1,"00004":()=>q1,"00005":()=>$1,"00006":()=>G1,"00007":()=>U1,"00008":()=>W1,"00009":()=>Z1,"00010":()=>Y1,"00011":()=>K1,"00012":()=>X1,"00013":()=>Q1,"00014":()=>J1,"00015":()=>e_,"00016":()=>t_,"00017":()=>n_,"00018":()=>a_,"00019":()=>r_,"00020":()=>i_,"00021":()=>o_,"00022":()=>s_,"00023":()=>l_,"00024":()=>u_,"00025":()=>c_,"00026":()=>d_,"00027":()=>h_,"00028":()=>p_,"00029":()=>m_,"00030":()=>f_,ampoule:()=>z_,bandage:()=>L_,bottle:()=>H_,box:()=>j_,cm:()=>g_,default:()=>Lne,dropsperminute:()=>v_,"effervescent-tablet":()=>A_,gm:()=>b_,internationalunits:()=>y_,iu:()=>M_,liter:()=>V_,"mck/h":()=>__,"mck/kg/minute":()=>w_,measure:()=>x_,meq:()=>N_,mg:()=>D_,"mg/h":()=>E_,"mg/ml":()=>T_,micrograms:()=>P_,miu:()=>O_,"ml/h":()=>S_,mmol:()=>R_,piece:()=>F_,syringe:()=>B_,"syringe-ampoule":()=>q_,tbl:()=>k_,tsp:()=>C_,"unt/h":()=>I_});var B1="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",z1="{count, plural, one{Ampulle} other{Ampullen}}",H1="anwenden",q1="{count, plural, one{Kapsel} other{Kapseln}}",$1="{count, plural, one{Tablette} other{Tabletten}}",G1="Dosis",U1="{count, plural, one{Tropf} other{Tropfen}}",W1="{count, plural, one{Fläsche} other{Fläschchen}}",Z1="{count, plural, one{Implantat} other{Implantate}}",Y1="{count, plural, one{Infusion} other{Infusionen}}",K1="{count, plural, one{Inhalation} other{Inhalationen}}",X1="Einstechen",Q1="Kaugummi",J1="{count, plural, one{Kompresse} other{Kompressen}}",e_="{count, plural, one{Einlauf} other{Einläufe}}",t_="ml",n_="Ov.",a_="{count, plural, one{Perle} other{Perlen}}",r_="{count, plural, one{Pastille} other{Pastillen}}",i_="Pflaster",o_="cart",s_="Pen",l_="{count, plural, one{Puff} other{Puffs}}",u_="{count, plural, one{Schwamm} other{Schwämme}}",c_="{count, plural, one{Stift} other{Stifte}}",d_="Suppo",h_="Tube",p_="{count, plural, one{Docht} other{Dochte}}",m_="Beutel",f_="Beutel",g_="Zentimeter",v_="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",b_="Gramm",y_="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",__="Mikrogramm pro Stunde",w_="Mikrogramm pro Kilogramm pro Minute",x_="Maß",E_="Miligramm pro Stunde",S_="Milliliter pro Stunde",k_="Esslöffel",C_="Kaffeelöffel",I_="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",D_="Milligramm",T_="Milligramm pro Millimeter",N_="meq",O_="miu",M_="iu",R_="mmol",A_="effervescent-tablet",P_="micrograms",L_="{count, plural, one{bandage} other{bandagen}}",F_="{count, plural, one{stück} other{stücke}}",j_="schachteln",V_="liter",B_="{count, plural, one{spritze} other{spritzen}}",z_="{count, plural, one{glühbirn} other{glühbirnen}}",H_="{count, plural, one{Fläsche} other{Fläschchen}}",q_="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",Lne={"00001":B1,"00002":z1,"00003":H1,"00004":q1,"00005":$1,"00006":G1,"00007":U1,"00008":W1,"00009":Z1,"00010":Y1,"00011":K1,"00012":X1,"00013":Q1,"00014":J1,"00015":e_,"00016":t_,"00017":n_,"00018":a_,"00019":r_,"00020":i_,"00021":o_,"00022":s_,"00023":l_,"00024":u_,"00025":c_,"00026":d_,"00027":h_,"00028":p_,"00029":m_,"00030":f_,cm:g_,dropsperminute:v_,gm:b_,internationalunits:y_,"mck/h":__,"mck/kg/minute":w_,measure:x_,"mg/h":E_,"ml/h":S_,tbl:k_,tsp:C_,"unt/h":I_,mg:D_,"mg/ml":T_,meq:N_,miu:O_,iu:M_,mmol:R_,"effervescent-tablet":A_,micrograms:P_,bandage:L_,piece:F_,box:j_,liter:V_,syringe:B_,ampoule:z_,bottle:H_,"syringe-ampoule":q_},$_={};oe($_,{"00001":()=>G_,"00002":()=>U_,"00003":()=>W_,"00004":()=>Z_,"00005":()=>Y_,"00006":()=>K_,"00007":()=>X_,"00008":()=>Q_,"00009":()=>J_,"00010":()=>ew,"00011":()=>tw,"00012":()=>nw,"00013":()=>aw,"00014":()=>rw,"00015":()=>iw,"00016":()=>ow,"00017":()=>sw,"00018":()=>lw,"00019":()=>uw,"00020":()=>cw,"00021":()=>dw,"00022":()=>hw,"00023":()=>pw,"00024":()=>mw,"00025":()=>fw,"00026":()=>gw,"00027":()=>vw,"00028":()=>bw,"00029":()=>yw,"00030":()=>_w,ampoule:()=>Uw,bandage:()=>zw,bottle:()=>Ww,box:()=>qw,cm:()=>ww,default:()=>Fne,dropsperminute:()=>xw,"effervescent-tablet":()=>Vw,gm:()=>Ew,internationalunits:()=>Sw,iu:()=>Fw,liter:()=>$w,"mck/h":()=>kw,"mck/kg/minute":()=>Cw,measure:()=>Iw,meq:()=>Pw,mg:()=>Rw,"mg/h":()=>Dw,"mg/ml":()=>Aw,micrograms:()=>Bw,miu:()=>Lw,"ml/h":()=>Tw,mmol:()=>jw,piece:()=>Hw,syringe:()=>Gw,"syringe-ampoule":()=>Zw,tbl:()=>Nw,tsp:()=>Ow,"unt/h":()=>Mw});var G_="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",U_="{count, plural, one{ampoule} other{ampoules}}",W_="applic.",Z_="{count, plural, one{capsule} other{capsules}}",Y_="{count, plural, one{tablet} other{tablets}}",K_="{count, plural, one{dose} other{doses}}",X_="{count, plural, one{drop} other{drops}}",Q_="{count, plural, one{bottle} other{bottles}}",J_="{count, plural, one{implant} other{implants}}",ew="{count, plural, one{perfusion} other{perfusions}}",tw="{count, plural, one{inhalation} other{inhalations}}",nw="insert",aw="{count, plural, one{chewing gum} other{chewing gums}}",rw="{count, plural, one{compress} other{compresses}}",iw="enema",ow="ml",sw="{count, plural, one{ovule} other{ovules}}",lw="{count, plural, one{pearl} other{pearls}}",uw="{count, plural, one{pastille} other{pastilles}}",cw="{count, plural, one{patch} other{patches}}",dw="{count, plural, one{cartridge} other{cartridges}}",hw="{count, plural, one{pen} other{pens}}",pw="{count, plural, one{puff} other{puffs}}",mw="{count, plural, one{sponge} other{sponges}}",fw="{count, plural, one{stylo} other{stylos}}",gw="{count, plural, one{supository} other{supositories}}",vw="{count, plural, one{tube} other{tubes}}",bw="{count, plural, one{wick} other{wicks}}",yw="{count, plural, one{bag} other{bags}}",_w="{count, plural, one{small bag} other{small bags}}",ww="centimeter",xw="{count, plural, one{drop per minute} other{drops per minute}}",Ew="gram",Sw="international units",kw="microgram per hour",Cw="microgram per kilogram per minute",Iw="{count, plural, one{measure} other{measures}}",Dw="milligram per hour",Tw="milliliter per hour",Nw="{count, plural, one{tablespoon} other{tablespoons}}",Ow="{count, plural, one{teaspoon} other{teaspoons}}",Mw="{count, plural, one{unit per hour} other{units per hour}}",Rw="milligram",Aw="milligram per milliliter",Pw="milli-equivalent",Lw="miu",Fw="international units",jw="millimole",Vw="{count, plural, one{effervescent tablet} other{effervescent tablets}}",Bw="microgram",zw="{count, plural, one{bandage} other{bandages}}",Hw="{count, plural, one{piece} other{pieces}}",qw="{count, plural, one{spray} other{sprays}}",$w="liter",Gw="{count, plural, one{syringe} other{syringes}}",Uw="{count, plural, one{ampoule} other{ampoules}}",Ww="{count, plural, one{bottle} other{bottles}}",Zw="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Fne={"00001":G_,"00002":U_,"00003":W_,"00004":Z_,"00005":Y_,"00006":K_,"00007":X_,"00008":Q_,"00009":J_,"00010":ew,"00011":tw,"00012":nw,"00013":aw,"00014":rw,"00015":iw,"00016":ow,"00017":sw,"00018":lw,"00019":uw,"00020":cw,"00021":dw,"00022":hw,"00023":pw,"00024":mw,"00025":fw,"00026":gw,"00027":vw,"00028":bw,"00029":yw,"00030":_w,cm:ww,dropsperminute:xw,gm:Ew,internationalunits:Sw,"mck/h":kw,"mck/kg/minute":Cw,measure:Iw,"mg/h":Dw,"ml/h":Tw,tbl:Nw,tsp:Ow,"unt/h":Mw,mg:Rw,"mg/ml":Aw,meq:Pw,miu:Lw,iu:Fw,mmol:jw,"effervescent-tablet":Vw,micrograms:Bw,bandage:zw,piece:Hw,box:qw,liter:$w,syringe:Gw,ampoule:Uw,bottle:Ww,"syringe-ampoule":Zw},Yw={};oe(Yw,{"00001":()=>Kw,"00002":()=>Xw,"00003":()=>Qw,"00004":()=>Jw,"00005":()=>ex,"00006":()=>tx,"00007":()=>nx,"00008":()=>ax,"00009":()=>rx,"00010":()=>ix,"00011":()=>ox,"00012":()=>sx,"00013":()=>lx,"00014":()=>ux,"00015":()=>cx,"00016":()=>dx,"00017":()=>hx,"00018":()=>px,"00019":()=>mx,"00020":()=>fx,"00021":()=>gx,"00022":()=>vx,"00023":()=>bx,"00024":()=>yx,"00025":()=>_x,"00026":()=>wx,"00027":()=>xx,"00028":()=>Ex,"00029":()=>Sx,"00030":()=>kx,ampoule:()=>Xx,bandage:()=>Ux,bottle:()=>Qx,box:()=>Zx,cm:()=>Cx,default:()=>jne,dropsperminute:()=>Ix,"effervescent-tablet":()=>$x,gm:()=>Dx,internationalunits:()=>Tx,iu:()=>Hx,liter:()=>Yx,"mck/h":()=>Nx,"mck/kg/minute":()=>Ox,measure:()=>Mx,meq:()=>Bx,mg:()=>jx,"mg/h":()=>Rx,"mg/ml":()=>Vx,micrograms:()=>Gx,miu:()=>zx,"ml/h":()=>Ax,mmol:()=>qx,piece:()=>Wx,syringe:()=>Kx,"syringe-ampoule":()=>Jx,tbl:()=>Px,tsp:()=>Lx,"unt/h":()=>Fx});var Kw="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",Xw="amp.",Qw="applic.",Jw="caps.",ex="compr.",tx="{count, plural, one{dose} other{doses}}",nx="{count, plural, one{goutte} other{gouttes}}",ax="flac.",rx="{count, plural, one{implant} other{implants}}",ix="{count, plural, one{perfusion} other{perfusions}}",ox="{count, plural, one{inhalation} other{inhalations}}",sx="insert",lx="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",ux="{count, plural, one{compres(se)} other{compres(ses)}}",cx="{count, plural, one{lavement} other{lavements}}",dx="ml",hx="ov.",px="{count, plural, one{perle} other{perles}}",mx="{count, plural, one{pastille} other{pastilles}}",fx="{count, plural, one{patch} other{patchs}}",gx="patr.",vx="{count, plural, one{stylo} other{stylos}}",bx="{count, plural, one{puff} other{puffs}}",yx="{count, plural, one{éponge} other{éponges}}",_x="{count, plural, one{stylo} other{stylos}}",wx="suppo",xx="{count, plural, one{tube} other{tubes}}",Ex="{count, plural, one{mèche} other{mèches}}",Sx="{count, plural, one{sac} other{sacs}}",kx="{count, plural, one{sachet} other{sachets}}",Cx="{count, plural, one{centimètre} other{centimètres}}",Ix="{count, plural, one{goute par minute} other{goutes par minute}}",Dx="{count, plural, one{gramme} other{grammes}}",Tx="{count, plural, one{unité internationales} other{unités internationales}}",Nx="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",Ox="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",Mx="{count, plural, one{mesure} other{mesures}}",Rx="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",Ax="{count, plural, one{millilitre par heure} other{millilitres par heure}}",Px="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Lx="{count, plural, one{cuillère à café} other{cuillères à café}}",Fx="{count, plural, one{unité par heure} other{unités par heure}}",jx="{count, plural, one{miligramme} other{miligrammes}}",Vx="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",Bx="milli-équivalent",zx="miu",Hx="{count, plural, one{unité internationales} other{unités internationales}}",qx="millimol",$x="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",Gx="{count, plural, one{microgramme} other{microgrammes}}",Ux="{count, plural, one{bandage} other{bandages}}",Wx="{count, plural, one{pièce} other{pièces}}",Zx="{count, plural, one{vaporisateur} other{vaporisateurs}}",Yx="{count, plural, one{litre} other{litres}}",Kx="{count, plural, one{seringue} other{seringues}}",Xx="{count, plural, one{ampoule} other{ampoules}}",Qx="{count, plural, one{fiole} other{fioles}}",Jx="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",jne={"00001":Kw,"00002":Xw,"00003":Qw,"00004":Jw,"00005":ex,"00006":tx,"00007":nx,"00008":ax,"00009":rx,"00010":ix,"00011":ox,"00012":sx,"00013":lx,"00014":ux,"00015":cx,"00016":dx,"00017":hx,"00018":px,"00019":mx,"00020":fx,"00021":gx,"00022":vx,"00023":bx,"00024":yx,"00025":_x,"00026":wx,"00027":xx,"00028":Ex,"00029":Sx,"00030":kx,cm:Cx,dropsperminute:Ix,gm:Dx,internationalunits:Tx,"mck/h":Nx,"mck/kg/minute":Ox,measure:Mx,"mg/h":Rx,"ml/h":Ax,tbl:Px,tsp:Lx,"unt/h":Fx,mg:jx,"mg/ml":Vx,meq:Bx,miu:zx,iu:Hx,mmol:qx,"effervescent-tablet":$x,micrograms:Gx,bandage:Ux,piece:Wx,box:Zx,liter:Yx,syringe:Kx,ampoule:Xx,bottle:Qx,"syringe-ampoule":Jx},eE={};oe(eE,{"00001":()=>tE,"00002":()=>nE,"00003":()=>aE,"00004":()=>rE,"00005":()=>iE,"00006":()=>oE,"00007":()=>sE,"00008":()=>lE,"00009":()=>uE,"00010":()=>cE,"00011":()=>dE,"00012":()=>hE,"00013":()=>pE,"00014":()=>mE,"00015":()=>fE,"00016":()=>gE,"00017":()=>vE,"00018":()=>bE,"00019":()=>yE,"00020":()=>_E,"00021":()=>wE,"00022":()=>xE,"00023":()=>EE,"00024":()=>SE,"00025":()=>kE,"00026":()=>CE,"00027":()=>IE,"00028":()=>DE,"00029":()=>TE,"00030":()=>NE,ampoule:()=>nS,bandage:()=>XE,bottle:()=>aS,box:()=>JE,cm:()=>OE,default:()=>Vne,dropsperminute:()=>ME,"effervescent-tablet":()=>YE,gm:()=>RE,internationalunits:()=>AE,iu:()=>WE,liter:()=>eS,"mck/h":()=>PE,"mck/kg/minute":()=>LE,measure:()=>FE,meq:()=>GE,mg:()=>qE,"mg/h":()=>jE,"mg/ml":()=>$E,micrograms:()=>KE,miu:()=>UE,"ml/h":()=>VE,mmol:()=>ZE,piece:()=>QE,syringe:()=>tS,"syringe-ampoule":()=>rS,tbl:()=>BE,tsp:()=>zE,"unt/h":()=>HE});var tE="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",nE="{count, plural, one{ampule} other{ampullen}}",aE="aanbrengen",rE="{count, plural, one{capsule} other{capsules}}",iE="{count, plural, one{tablet} other{tabletten}}",oE="{count, plural, one{dose} other{dosissen}}",sE="{count, plural, one{druppel} other{druppels}}",lE="{count, plural, one{flesje} other{flesjes}}",uE="{count, plural, one{implantaat} other{implantaten}}",cE="{count, plural, one{infuus} other{infusen}}",dE="{count, plural, one{inhalatie} other{inhalaties}}",hE="inbrengen",pE="{count, plural, one{kauwgom} other{kauwgommen}}",mE="{count, plural, one{kompres} other{kompressen}}",fE="lavement",gE="ml",vE="{count, plural, one{ovule} other{ovules}}",bE="{count, plural, one{parel} other{parels}}",yE="{count, plural, one{pastille} other{pastilles}}",_E="{count, plural, one{pleister} other{pleisters}}",wE="{count, plural, one{patroon} other{patronen}}",xE="{count, plural, one{pen} other{pennen}}",EE="{count, plural, one{puff} other{puffs}}",SE="{count, plural, one{spons} other{sponsen}}",kE="{count, plural, one{stylo} other{stylos}}",CE="{count, plural, one{zetpil} other{zetpillen}}",IE="{count, plural, one{tube} other{tubes}}",DE="{count, plural, one{wiek} other{wieken}}",TE="{count, plural, one{zak} other{zakken}}",NE="{count, plural, one{zakje} other{zakjes}}",OE="centimeter",ME="{count, plural, one{druppel per minuut} other{druppels per minuut}}",RE="gram",AE="internationale eenheden",PE="microgram per uur",LE="microgram per kilogram per minuut",FE="{count, plural, one{maat} other{maten}}",jE="milligram per uur",VE="milliliter per uur",BE="{count, plural, one{eetlepel} other{eetlepels}}",zE="{count, plural, one{koffielepel} other{koffielepels}}",HE="{count, plural, one{eenheid per uur} other{eenheden per uur}}",qE="miligram",$E="miligram per milimeter",GE="milli-equivalent",UE="miu",WE="internationale eenheden",ZE="millimol",YE="{count, plural, one{bruistablet} other{bruistabletten}}",KE="microgram",XE="{count, plural, one{verband} other{verbanden}}",QE="{count, plural, one{stuk} other{stuks}}",JE="{count, plural, one{verstuiving} other{verstuivingen}}",eS="liter",tS="{count, plural, one{spuit} other{spuiten}}",nS="{count, plural, one{ampul} other{ampullen}}",aS="{count, plural, one{fles} other{flessen}}",rS="{count, plural, one{spuitampul} other{spuitampullen}}",Vne={"00001":tE,"00002":nE,"00003":aE,"00004":rE,"00005":iE,"00006":oE,"00007":sE,"00008":lE,"00009":uE,"00010":cE,"00011":dE,"00012":hE,"00013":pE,"00014":mE,"00015":fE,"00016":gE,"00017":vE,"00018":bE,"00019":yE,"00020":_E,"00021":wE,"00022":xE,"00023":EE,"00024":SE,"00025":kE,"00026":CE,"00027":IE,"00028":DE,"00029":TE,"00030":NE,cm:OE,dropsperminute:ME,gm:RE,internationalunits:AE,"mck/h":PE,"mck/kg/minute":LE,measure:FE,"mg/h":jE,"ml/h":VE,tbl:BE,tsp:zE,"unt/h":HE,mg:qE,"mg/ml":$E,meq:GE,miu:UE,iu:WE,mmol:ZE,"effervescent-tablet":YE,micrograms:KE,bandage:XE,piece:QE,box:JE,liter:eS,syringe:tS,ampoule:nS,bottle:aS,"syringe-ampoule":rS},Bne={nl:eE,fr:Yw,de:V1,en:$_},iS={};oe(iS,{default:()=>zne,friday:()=>cS,monday:()=>oS,saturday:()=>dS,sunday:()=>hS,thursday:()=>uS,tuesday:()=>sS,wednesday:()=>lS});var oS="Montag",sS="Dienstag",lS="Mittwoch",uS="Donnerstag",cS="Freitag",dS="Samstag",hS="Sonntag",zne={monday:oS,tuesday:sS,wednesday:lS,thursday:uS,friday:cS,saturday:dS,sunday:hS},pS={};oe(pS,{default:()=>Hne,friday:()=>bS,monday:()=>mS,saturday:()=>yS,sunday:()=>_S,thursday:()=>vS,tuesday:()=>fS,wednesday:()=>gS});var mS="Monday",fS="Tuesday",gS="Wednesday",vS="Thursday",bS="Friday",yS="Saturday",_S="Sunday",Hne={monday:mS,tuesday:fS,wednesday:gS,thursday:vS,friday:bS,saturday:yS,sunday:_S},wS={};oe(wS,{default:()=>qne,friday:()=>CS,monday:()=>xS,saturday:()=>IS,sunday:()=>DS,thursday:()=>kS,tuesday:()=>ES,wednesday:()=>SS});var xS="Lundi",ES="Mardi",SS="Mercredi",kS="Jeudi",CS="Vendredi",IS="Samedi",DS="Dimanche",qne={monday:xS,tuesday:ES,wednesday:SS,thursday:kS,friday:CS,saturday:IS,sunday:DS},TS={};oe(TS,{default:()=>$ne,friday:()=>AS,monday:()=>NS,saturday:()=>PS,sunday:()=>LS,thursday:()=>RS,tuesday:()=>OS,wednesday:()=>MS});var NS="Maandag",OS="Dinsdag",MS="Woensdag",RS="Donderdag",AS="Vrijdag",PS="Zaterdag",LS="Zondag",$ne={monday:NS,tuesday:OS,wednesday:MS,thursday:RS,friday:AS,saturday:PS,sunday:LS},Gne={nl:TS,fr:wS,de:iS,en:pS},FS={};oe(FS,{VIDIS_0035:()=>jS,VIDIS_0050:()=>VS,VIDIS_0090:()=>BS,VIDIS_0100:()=>gk,VIDIS_0110:()=>bk,VIDIS_0120:()=>vk,VIDIS_0121:()=>zS,VIDIS_0122:()=>HS,VIDIS_0123:()=>qS,VIDIS_0124:()=>$S,VIDIS_0125:()=>GS,VIDIS_0126:()=>US,VIDIS_0131:()=>WS,VIDIS_0132:()=>ZS,VIDIS_0133:()=>YS,VIDIS_0134:()=>KS,VIDIS_0135:()=>XS,VIDIS_0136:()=>QS,VIDIS_0190:()=>JS,VIDIS_0200:()=>yk,VIDIS_0210:()=>ek,VIDIS_0211:()=>tk,VIDIS_0230:()=>nk,VIDIS_0290:()=>ak,VIDIS_0330:()=>rk,VIDIS_0340:()=>_k,VIDIS_0341:()=>wk,VIDIS_0400:()=>mk,VIDIS_04001:()=>xk,VIDIS_0435:()=>ik,VIDIS_0440:()=>ok,VIDIS_3030:()=>fk,VIDIS_3090:()=>ck,VIDIS_3100:()=>hk,VIDIS_3120:()=>pk,VIDIS_3140:()=>dk,VIDIS_3150:()=>uk,VIDIS_5000:()=>sk,VIDIS_7000:()=>lk,"action-not-authorized-close-button":()=>qk,"action-not-authorized-title":()=>Hk,"data-not-available-title":()=>zk,default:()=>Une,general:()=>Sk,"has-hidden-prescriptions":()=>Mk,invalid_date_format:()=>Tk,myHealth:()=>Ck,myHealthUrl:()=>Ik,network_error:()=>Dk,"no-access":()=>kk,prescriptionList:()=>Ek,"report-message-confirm-toast":()=>Bk,"report-message-content":()=>Pk,"report-message-explanation":()=>Ak,"report-message-ignore-button":()=>Vk,"report-message-link":()=>Fk,"report-message-report-button":()=>jk,"report-message-term-use":()=>Lk,"report-message-title":()=>Rk,"status-message-content":()=>Ok,"status-message-title":()=>Nk});var jS="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",VS="Die Patienten-INSS fehlt. (VIDIS_0050)",BS="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",zS="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",HS="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",qS="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",$S="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",GS="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",US="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",WS="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",ZS="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",YS="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",KS="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",XS="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",QS="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",JS="Ungültige INSS-Patientennummer. (VIDIS_0190)",ek="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",tk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",nk="Der Vorgang ist ungültig (VIDIS_0230)",ak='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',rk="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)",ik="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",ok="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",sk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",lk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",uk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",ck="Das Rezept ist abgelaufen.",dk="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.",hk="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",pk="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",mk="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",fk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",gk="Vorgang nicht erlaubt.",vk="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",bk="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",yk="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",_k="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.",wk="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.",xk="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",Ek="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",Sk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Ck="Zurück zum Portal Meine Gesundheit",Ik="https://wwwint.meinegesundheit.belgien.be/#/",Dk="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",Tk="Ungültiges Datumsformat.",Nk="Dienst vorübergehend nicht verfügbar",Ok=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
33
|
+
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,Mk="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",Rk="Technisches Problem",Ak="Bitte versuchen Sie es später noch einmal.",Pk="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",Lk="unsere Nutzungsbedingungen",Fk="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",jk="Problem melden",Vk="Nicht melden",Bk="Das Problem wurde gemeldet",zk="Daten nicht verfügbar",Hk="Aktion nicht erlaubt",qk="Schließen",Une={VIDIS_0035:jS,VIDIS_0050:VS,VIDIS_0090:BS,VIDIS_0121:zS,VIDIS_0122:HS,VIDIS_0123:qS,VIDIS_0124:$S,VIDIS_0125:GS,VIDIS_0126:US,VIDIS_0131:WS,VIDIS_0132:ZS,VIDIS_0133:YS,VIDIS_0134:KS,VIDIS_0135:XS,VIDIS_0136:QS,VIDIS_0190:JS,VIDIS_0210:ek,VIDIS_0211:tk,VIDIS_0230:nk,VIDIS_0290:ak,VIDIS_0330:rk,VIDIS_0435:ik,VIDIS_0440:ok,VIDIS_5000:sk,VIDIS_7000:lk,VIDIS_3150:uk,VIDIS_3090:ck,VIDIS_3140:dk,VIDIS_3100:hk,VIDIS_3120:pk,VIDIS_0400:mk,VIDIS_3030:fk,VIDIS_0100:gk,VIDIS_0120:vk,VIDIS_0110:bk,VIDIS_0200:yk,VIDIS_0340:_k,VIDIS_0341:wk,VIDIS_04001:xk,prescriptionList:Ek,general:Sk,"no-access":kk,myHealth:Ck,myHealthUrl:Ik,network_error:Dk,invalid_date_format:Tk,"status-message-title":Nk,"status-message-content":Ok,"has-hidden-prescriptions":Mk,"report-message-title":Rk,"report-message-explanation":Ak,"report-message-content":Pk,"report-message-term-use":Lk,"report-message-link":Fk,"report-message-report-button":jk,"report-message-ignore-button":Vk,"report-message-confirm-toast":Bk,"data-not-available-title":zk,"action-not-authorized-title":Hk,"action-not-authorized-close-button":qk},$k={};oe($k,{VIDIS_0035:()=>Gk,VIDIS_0050:()=>Uk,VIDIS_0090:()=>Wk,VIDIS_0100:()=>EC,VIDIS_0110:()=>kC,VIDIS_0120:()=>SC,VIDIS_0121:()=>Zk,VIDIS_0122:()=>Yk,VIDIS_0123:()=>Kk,VIDIS_0124:()=>Xk,VIDIS_0125:()=>Qk,VIDIS_0126:()=>Jk,VIDIS_0131:()=>eC,VIDIS_0132:()=>tC,VIDIS_0133:()=>nC,VIDIS_0134:()=>aC,VIDIS_0135:()=>rC,VIDIS_0136:()=>iC,VIDIS_0190:()=>oC,VIDIS_0200:()=>CC,VIDIS_0210:()=>sC,VIDIS_0211:()=>lC,VIDIS_0230:()=>uC,VIDIS_0290:()=>cC,VIDIS_0330:()=>dC,VIDIS_0340:()=>IC,VIDIS_0341:()=>DC,VIDIS_0400:()=>wC,VIDIS_04001:()=>TC,VIDIS_0435:()=>hC,VIDIS_0440:()=>pC,VIDIS_3030:()=>xC,VIDIS_3090:()=>vC,VIDIS_3100:()=>yC,VIDIS_3120:()=>_C,VIDIS_3140:()=>bC,VIDIS_3150:()=>gC,VIDIS_5000:()=>mC,VIDIS_7000:()=>fC,"action-not-authorized-close-button":()=>KC,"action-not-authorized-title":()=>YC,"data-not-available-title":()=>ZC,default:()=>Wne,general:()=>OC,"has-hidden-prescriptions":()=>VC,invalid_date_format:()=>LC,myHealth:()=>RC,myHealthUrl:()=>AC,network_error:()=>PC,"no-access":()=>MC,prescriptionList:()=>NC,"report-message-confirm-toast":()=>WC,"report-message-content":()=>HC,"report-message-explanation":()=>zC,"report-message-ignore-button":()=>UC,"report-message-link":()=>$C,"report-message-report-button":()=>GC,"report-message-term-use":()=>qC,"report-message-title":()=>BC,"status-message-content":()=>jC,"status-message-title":()=>FC});var Gk="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",Uk="The patient's NISS number is missing (VIDIS_0050)",Wk="The personal information provided was not recognised. (VIDIS_0090)",Zk="Consulting data of a Brussels patient is currently not authorised.",Yk="Consulting data of a Walloon patient is currently not authorised.",Kk="Consulting data of a Brussels child by a parent is currently not authorised.",Xk="Consulting data of a Walloon child by a parent is currently not authorised.",Qk="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",Jk="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",eC="Access to the data of a Brussels patient is currently not permitted.",tC="Access to the data of a Walloon patient is currently not permitted.",nC="A parent’s access to the data of a Brussels child is currently not permitted.",aC="A parent’s access to the data of a Walloon child is currently not permitted.",rC="A representative’s access to the data of a Brussels patient is currently not permitted.",iC="A representative’s access to the data of a Walloon patient is currently not permitted.",oC="The patient's NISS number is invalid. (VIDIS_0190)",sC="The login was unsuccessful. Please try again. (VIDIS_0210)",lC="The login was unsuccessful. Please try again. (VIDIS_0211)",uC="The request is invalid. (VIDIS_0230)",cC="User role must be citizen. (VIDIS_0290)",dC="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)",hC="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",pC="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",mC="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",fC="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",gC="No mandate found between patient and mandateholder.",vC="Prescription has expired.",bC="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.",yC="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",_C="The patient in the session is different from the patient in the request.",wC="User is not authorized to make the request.",xC="No mandate found between patient and mandateholder.",EC="Operation is not allowed.",SC="A therapeutic relation between the requester and the patient is not available.",kC="There is no consent to share personal health information.",CC="User is not allowed to perform the operation due to an exclusion between requester and patient.",IC="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",DC="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",TC="Your request is invalid. Please try again later.",NC="Unfortunately the details of the prescription could not be retrieved. Please try again.",OC="An internal technical error has occured. Please try again later.",MC="An internal technical error has occured. Please try again later.",RC="Back to the MyHealth portal.",AC="https://www.myhealth.belgium.be/",PC="A network error unfortunately has occured. Please contact your network manager if the problem persists.",LC="Invalid date format.",FC="Service temporarily unavailable",jC=`We are currently having a problem connecting to the server.
|
|
34
|
+
Please try again later.`,VC="The patient has hidden one or more prescriptions.",BC="Technical problem",zC="Please try again later.",HC="Help us identify and resolve the issue. By reporting it, you accept ",qC="our terms of use",$C="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",GC="Report the problem",UC="Don't report",WC="The problem has been reported",ZC="Data not available",YC="Action not authorized",KC="Close",Wne={VIDIS_0035:Gk,VIDIS_0050:Uk,VIDIS_0090:Wk,VIDIS_0121:Zk,VIDIS_0122:Yk,VIDIS_0123:Kk,VIDIS_0124:Xk,VIDIS_0125:Qk,VIDIS_0126:Jk,VIDIS_0131:eC,VIDIS_0132:tC,VIDIS_0133:nC,VIDIS_0134:aC,VIDIS_0135:rC,VIDIS_0136:iC,VIDIS_0190:oC,VIDIS_0210:sC,VIDIS_0211:lC,VIDIS_0230:uC,VIDIS_0290:cC,VIDIS_0330:dC,VIDIS_0435:hC,VIDIS_0440:pC,VIDIS_5000:mC,VIDIS_7000:fC,VIDIS_3150:gC,VIDIS_3090:vC,VIDIS_3140:bC,VIDIS_3100:yC,VIDIS_3120:_C,VIDIS_0400:wC,VIDIS_3030:xC,VIDIS_0100:EC,VIDIS_0120:SC,VIDIS_0110:kC,VIDIS_0200:CC,VIDIS_0340:IC,VIDIS_0341:DC,VIDIS_04001:TC,prescriptionList:NC,general:OC,"no-access":MC,myHealth:RC,myHealthUrl:AC,network_error:PC,invalid_date_format:LC,"status-message-title":FC,"status-message-content":jC,"has-hidden-prescriptions":VC,"report-message-title":BC,"report-message-explanation":zC,"report-message-content":HC,"report-message-term-use":qC,"report-message-link":$C,"report-message-report-button":GC,"report-message-ignore-button":UC,"report-message-confirm-toast":WC,"data-not-available-title":ZC,"action-not-authorized-title":YC,"action-not-authorized-close-button":KC},XC={};oe(XC,{VIDIS_0035:()=>QC,VIDIS_0050:()=>JC,VIDIS_0090:()=>eI,VIDIS_0100:()=>NI,VIDIS_0110:()=>MI,VIDIS_0120:()=>OI,VIDIS_0121:()=>tI,VIDIS_0122:()=>nI,VIDIS_0123:()=>aI,VIDIS_0124:()=>rI,VIDIS_0125:()=>iI,VIDIS_0126:()=>oI,VIDIS_0131:()=>sI,VIDIS_0132:()=>lI,VIDIS_0133:()=>uI,VIDIS_0134:()=>cI,VIDIS_0135:()=>dI,VIDIS_0136:()=>hI,VIDIS_0190:()=>pI,VIDIS_0200:()=>RI,VIDIS_0210:()=>mI,VIDIS_0211:()=>fI,VIDIS_0230:()=>gI,VIDIS_0290:()=>vI,VIDIS_0330:()=>bI,VIDIS_0340:()=>AI,VIDIS_0341:()=>PI,VIDIS_0400:()=>DI,VIDIS_04001:()=>LI,VIDIS_0435:()=>yI,VIDIS_0440:()=>_I,VIDIS_3030:()=>TI,VIDIS_3090:()=>SI,VIDIS_3100:()=>CI,VIDIS_3120:()=>II,VIDIS_3140:()=>kI,VIDIS_3150:()=>EI,VIDIS_5000:()=>wI,VIDIS_7000:()=>xI,"action-not-authorized-close-button":()=>aD,"action-not-authorized-title":()=>nD,"data-not-available-title":()=>tD,default:()=>Zne,general:()=>jI,"has-hidden-prescriptions":()=>UI,invalid_date_format:()=>qI,myHealth:()=>BI,myHealthUrl:()=>zI,network_error:()=>HI,"no-access":()=>VI,prescriptionList:()=>FI,"report-message-confirm-toast":()=>eD,"report-message-content":()=>YI,"report-message-explanation":()=>ZI,"report-message-ignore-button":()=>JI,"report-message-link":()=>XI,"report-message-report-button":()=>QI,"report-message-term-use":()=>KI,"report-message-title":()=>WI,"status-message-content":()=>GI,"status-message-title":()=>$I});var QC="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",JC="Le NISS du patient est manquant. (VIDIS_0050)",eI="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",tI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",nI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",aI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",rI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",iI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",oI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",sI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",lI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",uI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",cI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",dI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",hI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",pI="Le NISS du patient n’est pas valide. (VIDIS_0190)",mI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",fI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",gI="L’opération n’est pas valide. (VIDIS_0230)",vI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",bI="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)",yI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",_I="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",wI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",xI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",EI="Aucun mandat trouvé entre le patient et le mandataire.",SI="L’ordonnance est expirée.",kI="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.",CI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",II="Le patient dans la session est différent de celui dans la demande.",DI="L’utilisateur n’est pas autorisé à effectuer la requête.",TI="Aucun mandat trouvé entre le patient et le mandataire.",NI="Opération non autorisée.",OI="Aucune relation thérapeutique entre le demandeur et le patient.",MI="Aucun consentement au partage des données de santé.",RI="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",AI="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",PI="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",LI="Votre requête est invalide. Veuillez réessayer plus tard.",FI="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",jI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",VI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",BI="Revenir au portail MaSanté",zI="https://wwwint.masante.belgique.be/#/",HI="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",qI="Le format de date est invalide.",$I="Service temporairement indisponible",GI=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
35
|
+
Veuillez réessayer plus tard.`,UI="Le patient a masqué une ou plusieurs prescriptions.",WI="Problème technique",ZI="Veuillez réessayer plus tard.",YI="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",KI="conditions d'utilisation",XI="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",QI="Signaler le problème",JI="Ignorer",eD="Le problème a été signalé",tD="Données non disponibles",nD="Action non autorisée",aD="Fermer",Zne={VIDIS_0035:QC,VIDIS_0050:JC,VIDIS_0090:eI,VIDIS_0121:tI,VIDIS_0122:nI,VIDIS_0123:aI,VIDIS_0124:rI,VIDIS_0125:iI,VIDIS_0126:oI,VIDIS_0131:sI,VIDIS_0132:lI,VIDIS_0133:uI,VIDIS_0134:cI,VIDIS_0135:dI,VIDIS_0136:hI,VIDIS_0190:pI,VIDIS_0210:mI,VIDIS_0211:fI,VIDIS_0230:gI,VIDIS_0290:vI,VIDIS_0330:bI,VIDIS_0435:yI,VIDIS_0440:_I,VIDIS_5000:wI,VIDIS_7000:xI,VIDIS_3150:EI,VIDIS_3090:SI,VIDIS_3140:kI,VIDIS_3100:CI,VIDIS_3120:II,VIDIS_0400:DI,VIDIS_3030:TI,VIDIS_0100:NI,VIDIS_0120:OI,VIDIS_0110:MI,VIDIS_0200:RI,VIDIS_0340:AI,VIDIS_0341:PI,VIDIS_04001:LI,prescriptionList:FI,general:jI,"no-access":VI,myHealth:BI,myHealthUrl:zI,network_error:HI,invalid_date_format:qI,"status-message-title":$I,"status-message-content":GI,"has-hidden-prescriptions":UI,"report-message-title":WI,"report-message-explanation":ZI,"report-message-content":YI,"report-message-term-use":KI,"report-message-link":XI,"report-message-report-button":QI,"report-message-ignore-button":JI,"report-message-confirm-toast":eD,"data-not-available-title":tD,"action-not-authorized-title":nD,"action-not-authorized-close-button":aD},rD={};oe(rD,{VIDIS_0035:()=>iD,VIDIS_0050:()=>oD,VIDIS_0090:()=>sD,VIDIS_0100:()=>FD,VIDIS_0110:()=>VD,VIDIS_0120:()=>jD,VIDIS_0121:()=>lD,VIDIS_0122:()=>uD,VIDIS_0123:()=>cD,VIDIS_0124:()=>dD,VIDIS_0125:()=>hD,VIDIS_0126:()=>pD,VIDIS_0131:()=>mD,VIDIS_0132:()=>fD,VIDIS_0133:()=>gD,VIDIS_0134:()=>vD,VIDIS_0135:()=>bD,VIDIS_0136:()=>yD,VIDIS_0190:()=>_D,VIDIS_0200:()=>BD,VIDIS_0210:()=>wD,VIDIS_0211:()=>xD,VIDIS_0230:()=>ED,VIDIS_0290:()=>SD,VIDIS_0330:()=>kD,VIDIS_0340:()=>zD,VIDIS_0341:()=>HD,VIDIS_0400:()=>PD,VIDIS_04001:()=>qD,VIDIS_0435:()=>CD,VIDIS_0440:()=>ID,VIDIS_3030:()=>LD,VIDIS_3090:()=>OD,VIDIS_3100:()=>RD,VIDIS_3120:()=>AD,VIDIS_3140:()=>MD,VIDIS_3150:()=>ND,VIDIS_5000:()=>DD,VIDIS_7000:()=>TD,"action-not-authorized-close-button":()=>c2,"action-not-authorized-title":()=>u2,"data-not-available-title":()=>l2,default:()=>Yne,general:()=>GD,"has-hidden-prescriptions":()=>JD,invalid_date_format:()=>KD,myHealth:()=>WD,myHealthUrl:()=>ZD,network_error:()=>YD,"no-access":()=>UD,prescriptionList:()=>$D,"report-message-confirm-toast":()=>s2,"report-message-content":()=>n2,"report-message-explanation":()=>t2,"report-message-ignore-button":()=>o2,"report-message-link":()=>r2,"report-message-report-button":()=>i2,"report-message-term-use":()=>a2,"report-message-title":()=>e2,"status-message-content":()=>QD,"status-message-title":()=>XD});var iD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",oD="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",sD="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",lD="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",uD="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",cD="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",dD="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",hD="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",pD="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",mD="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",fD="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",gD="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",vD="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",bD="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",yD="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",_D="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",wD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",xD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",ED="Het verzoek is ongeldig. (VIDIS_0230)",SD="Gebruikersrol moet burger zijn. (VIDIS_0290)",kD="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)",CD="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",ID="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",DD="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",TD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",ND="Geen mandaat gevonden tussen patiënt en mandataris.",OD="Voorschrift is verlopen.",MD="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.",RD="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",AD="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",PD="De gebruiker is niet gemachtigd om de aanvraag te doen.",LD="Geen mandaat gevonden tussen patiënt en mandataris.",FD="Bewerking is niet toegestaan.",jD="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",VD="Er is geen toestemming om gezondheidsgegevens te delen.",BD="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",zD="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",HD="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",qD="Uw verzoek is ongeldig. Probeer later opnieuw.",$D="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",GD="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",UD="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",WD="Terug naar het MijnGezondheid portaal",ZD="http://wwwint.mijngezondheid.belgie.be/",YD="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",KD="Ongeldig datumformaat.",XD="Service tijdelijk niet beschikbaar",QD=`Er is momenteel een probleem met de verbinding met de server.
|
|
36
|
+
Probeer het later nog eens.`,JD="De patiënt heeft 1 of meerdere voorschriften verborgen.",e2="Technisch probleem",t2="Probeer het later opnieuw.",n2="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",a2="gebruiksvoorwaarden",r2="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",i2="Probleem melden",o2="Niet melden",s2="Het probleem is gemeld",l2="Gegevens niet beschikbaar",u2="Actie niet toegestaan",c2="Sluiten",Yne={VIDIS_0035:iD,VIDIS_0050:oD,VIDIS_0090:sD,VIDIS_0121:lD,VIDIS_0122:uD,VIDIS_0123:cD,VIDIS_0124:dD,VIDIS_0125:hD,VIDIS_0126:pD,VIDIS_0131:mD,VIDIS_0132:fD,VIDIS_0133:gD,VIDIS_0134:vD,VIDIS_0135:bD,VIDIS_0136:yD,VIDIS_0190:_D,VIDIS_0210:wD,VIDIS_0211:xD,VIDIS_0230:ED,VIDIS_0290:SD,VIDIS_0330:kD,VIDIS_0435:CD,VIDIS_0440:ID,VIDIS_5000:DD,VIDIS_7000:TD,VIDIS_3150:ND,VIDIS_3090:OD,VIDIS_3140:MD,VIDIS_3100:RD,VIDIS_3120:AD,VIDIS_0400:PD,VIDIS_3030:LD,VIDIS_0100:FD,VIDIS_0120:jD,VIDIS_0110:VD,VIDIS_0200:BD,VIDIS_0340:zD,VIDIS_0341:HD,VIDIS_04001:qD,prescriptionList:$D,general:GD,"no-access":UD,myHealth:WD,myHealthUrl:ZD,network_error:YD,invalid_date_format:KD,"status-message-title":XD,"status-message-content":QD,"has-hidden-prescriptions":JD,"report-message-title":e2,"report-message-explanation":t2,"report-message-content":n2,"report-message-term-use":a2,"report-message-link":r2,"report-message-report-button":i2,"report-message-ignore-button":o2,"report-message-confirm-toast":s2,"data-not-available-title":l2,"action-not-authorized-title":u2,"action-not-authorized-close-button":c2},Kne={nl:rD,fr:XC,de:FS,en:$k},d2={};oe(d2,{1:()=>h2,10:()=>w2,11:()=>x2,12:()=>E2,13:()=>S2,14:()=>k2,15:()=>C2,16:()=>I2,17:()=>D2,18:()=>T2,19:()=>N2,2:()=>p2,20:()=>O2,21:()=>M2,22:()=>R2,23:()=>A2,24:()=>P2,25:()=>L2,26:()=>F2,27:()=>j2,28:()=>V2,29:()=>B2,3:()=>m2,30:()=>z2,31:()=>H2,32:()=>q2,33:()=>$2,34:()=>G2,4:()=>f2,40:()=>U2,41:()=>W2,5:()=>g2,6:()=>v2,7:()=>b2,71:()=>Z2,8:()=>y2,9:()=>_2,90:()=>Y2,91:()=>K2,92:()=>X2,93:()=>Q2,default:()=>Xne});var h2="Gelatinekapseln",p2="Tabletten",m2="Creme",f2="Gel",g2="Paste",v2="Fette Salbe",b2="Granulat",y2="Zäpfchen für Erwachsene",_2="Zäpfchen für Kinder",w2="Vaginalzäpfchen",x2="Rektiole",E2="nicht gespaltenes Pulver innerliche Anwendung",S2="nicht gespaltenes Pulver äußerliche Anwendung",k2="Inhalation",C2="Pulver Zum Spalten innerliche Anwendung",I2="Pulver Zum Spalten äußerliche Anwendung",D2="Nasentropfen",T2="Nasensalbe",N2="Sirup",O2="Lösung innerliche Anwendung",M2="Lösung äußerliche Anwendung",R2="Tropfen innerliche Anwendung",A2="Tropfen äußerliche Anwendung",P2="Emulsion innerliche Anwendung",L2="Emulsion äußerliche Anwendung",F2="Shampoo",j2="Augentropfen",V2="Augenlotion",B2="Augenbad",z2="Salbe",H2="Augensalbe ",q2="Ohrentropfen",$2="Suspension innerliche Anwendung",G2="Suspension äußerliche Anwendung",U2="Kräutermischung",W2="Tee",Z2="enterische Kapseln",Y2="derartig",K2="Dermatologie (fest) derartig",X2="Pulver derartig",Q2="Lösung derartig",Xne={1:h2,2:p2,3:m2,4:f2,5:g2,6:v2,7:b2,8:y2,9:_2,10:w2,11:x2,12:E2,13:S2,14:k2,15:C2,16:I2,17:D2,18:T2,19:N2,20:O2,21:M2,22:R2,23:A2,24:P2,25:L2,26:F2,27:j2,28:V2,29:B2,30:z2,31:H2,32:q2,33:$2,34:G2,40:U2,41:W2,71:Z2,90:Y2,91:K2,92:X2,93:Q2},J2={};oe(J2,{1:()=>eT,10:()=>uT,11:()=>cT,12:()=>dT,13:()=>hT,14:()=>pT,15:()=>mT,16:()=>fT,17:()=>gT,18:()=>vT,19:()=>bT,2:()=>tT,20:()=>yT,21:()=>_T,22:()=>wT,23:()=>xT,24:()=>ET,25:()=>ST,26:()=>kT,27:()=>CT,28:()=>IT,29:()=>DT,3:()=>nT,30:()=>TT,31:()=>NT,32:()=>OT,33:()=>MT,34:()=>RT,4:()=>aT,40:()=>AT,41:()=>PT,5:()=>rT,6:()=>iT,7:()=>oT,71:()=>LT,8:()=>sT,9:()=>lT,90:()=>FT,91:()=>jT,92:()=>VT,93:()=>BT,default:()=>Qne});var eT="Capsules",tT="Tablets",nT="Cream",aT="Gel",rT="Paste",iT="Fatty ointment",oT="Granulate",sT="Adult suppository",lT="Child suppository",uT="Vaginal ovules",cT="Rectiole",dT="Undivided powder for internal use",hT="Undivided powder for external use",pT="Inhalation",mT="Divided powders for internal use",fT="Divided powders for external use",gT="Nasal drops",vT="Nasal ointment",bT="Syrup",yT="Solution for internal use",_T="Solution for external use",wT="Drops for internal use",xT="Drops for external use",ET="Emulsion for internal use",ST="Emulsion for external use",kT="Shampoo",CT="Eye drops",IT="Eye lotion",DT="Eye bath",TT="Ointment",NT="Eye ointment",OT="Ear drops",MT="Suspension for internal use",RT="Suspension for external use",AT="Herbal mixture",PT="Tea",LT="Enteric-coated capsules",FT="As is",jT="Dermatology (solid) as is",VT="Powder as is",BT="Liquid as is",Qne={1:eT,2:tT,3:nT,4:aT,5:rT,6:iT,7:oT,8:sT,9:lT,10:uT,11:cT,12:dT,13:hT,14:pT,15:mT,16:fT,17:gT,18:vT,19:bT,20:yT,21:_T,22:wT,23:xT,24:ET,25:ST,26:kT,27:CT,28:IT,29:DT,30:TT,31:NT,32:OT,33:MT,34:RT,40:AT,41:PT,71:LT,90:FT,91:jT,92:VT,93:BT},zT={};oe(zT,{1:()=>HT,10:()=>XT,11:()=>QT,12:()=>JT,13:()=>eN,14:()=>tN,15:()=>nN,16:()=>aN,17:()=>rN,18:()=>iN,19:()=>oN,2:()=>qT,20:()=>sN,21:()=>lN,22:()=>uN,23:()=>cN,24:()=>dN,25:()=>hN,26:()=>pN,27:()=>mN,28:()=>fN,29:()=>gN,3:()=>$T,30:()=>vN,31:()=>bN,32:()=>yN,33:()=>_N,34:()=>wN,4:()=>GT,40:()=>xN,41:()=>EN,5:()=>UT,6:()=>WT,7:()=>ZT,71:()=>SN,8:()=>YT,9:()=>KT,90:()=>kN,91:()=>CN,92:()=>IN,93:()=>DN,default:()=>Jne});var HT="Gélules",qT="Cachets / comprimés",$T="Crème",GT="Gel",UT="Pâte",WT="Pommade grasse",ZT="Granulé",YT="Suppo adulte",KT="Suppo enfant",XT="Ovules vaginales",QT="Rectiole",JT="Poudre non-divisée usage interne",eN="Poudre non-divisée usage externe",tN="Inhalation",nN="Poudres à diviser usage interne",aN="Poudres à diviser usage externe",rN="Gouttes nasales",iN="Pommade nasale",oN="Sirop",sN="Solution usage interne",lN="Solution usage externe",uN="Gouttes usage interne",cN="Gouttes usage externe",dN="Emulsion usage interne",hN="Emulsion usage externe",pN="Shampooing",mN="Gouttes ophtalmiques",fN="Lotion ophtalmique",gN="Bain ophtalmique",vN="Pommade",bN="Pommade ophtalmique",yN="Gouttes auriculaires",_N="Suspension usage interne",wN="Suspension usage externe",xN="Mélange de plantes",EN="Thé",SN="Gélules à enrobage entérique / Gélules entériques",kN="en tant que tel/telle",CN="Dermatologie (solide) en tant que telle",IN="Poudre en tant que telle ",DN="Solution en tant que telle ",Jne={1:HT,2:qT,3:$T,4:GT,5:UT,6:WT,7:ZT,8:YT,9:KT,10:XT,11:QT,12:JT,13:eN,14:tN,15:nN,16:aN,17:rN,18:iN,19:oN,20:sN,21:lN,22:uN,23:cN,24:dN,25:hN,26:pN,27:mN,28:fN,29:gN,30:vN,31:bN,32:yN,33:_N,34:wN,40:xN,41:EN,71:SN,90:kN,91:CN,92:IN,93:DN},TN={};oe(TN,{1:()=>NN,10:()=>VN,11:()=>BN,12:()=>zN,13:()=>HN,14:()=>qN,15:()=>$N,16:()=>GN,17:()=>UN,18:()=>WN,19:()=>ZN,2:()=>ON,20:()=>YN,21:()=>KN,22:()=>XN,23:()=>QN,24:()=>JN,25:()=>eO,26:()=>tO,27:()=>nO,28:()=>aO,29:()=>rO,3:()=>MN,30:()=>iO,31:()=>oO,32:()=>sO,33:()=>lO,34:()=>uO,4:()=>RN,40:()=>cO,41:()=>dO,5:()=>AN,6:()=>PN,7:()=>LN,71:()=>hO,8:()=>FN,9:()=>jN,90:()=>pO,91:()=>mO,92:()=>fO,93:()=>gO,default:()=>eae});var NN="Capsules",ON="Tabletten",MN="Creme",RN="Gel",AN="Pasta",PN="Vette zalf",LN="Granulaat",FN="Suppo volwassene",jN="Suppo kind",VN="Vaginale zetpillen / vaginale ovules",BN="Rektiool",zN="Niet-verdeeld poeder inwendig gebruik",HN="Niet-verdeeld poeder uitwendig gebruik",qN="Inhalatie",$N="Te verdelen poeders inwendig gebruik",GN="Te verdelen poeders uitwendig gebruik",UN="Neusdruppels",WN="Neuszalf",ZN="Siroop",YN="Oplossing inwendig gebruik",KN="Oplossing uitwendig gebruik",XN="Druppels inwendig gebruik",QN="Druppels uitwendig gebruik",JN="Emulsie inwendig gebruik",eO="Emulsie uitwendig gebruik",tO="Shampoo",nO="Oogdruppels",aO="Ooglotion",rO="Oogbad",iO="Zalf",oO="Oogzalf",sO="Oordruppels",lO="Suspensie inwendig gebruik",uO="Suspensie uitwendig gebruik",cO="Kruidenmengsel",dO="Thee",hO="enterisch omhulde capsules",pO="Als dusdanig",mO="Als dusdanig dermatologie (vast)",fO="Als dusdanig poeder",gO="Als dusdanig vloeistof",eae={1:NN,2:ON,3:MN,4:RN,5:AN,6:PN,7:LN,8:FN,9:jN,10:VN,11:BN,12:zN,13:HN,14:qN,15:$N,16:GN,17:UN,18:WN,19:ZN,20:YN,21:KN,22:XN,23:QN,24:JN,25:eO,26:tO,27:nO,28:aO,29:rO,30:iO,31:oO,32:sO,33:lO,34:uO,40:cO,41:dO,71:hO,90:pO,91:mO,92:fO,93:gO},tae={nl:TN,fr:zT,de:d2,en:J2},vO={};oe(vO,{close:()=>bO,default:()=>nae,downloadLeaflet:()=>yO,file:()=>_O});var bO="Schließen",yO="Download Packungsbeilage (pdf)",_O="feile",nae={close:bO,downloadLeaflet:yO,file:_O},wO={};oe(wO,{close:()=>xO,default:()=>aae,downloadLeaflet:()=>EO,file:()=>SO});var xO="Close",EO="Download leaflet (pdf)",SO="file",aae={close:xO,downloadLeaflet:EO,file:SO},kO={};oe(kO,{close:()=>CO,default:()=>rae,downloadLeaflet:()=>IO,file:()=>DO});var CO="Fermer",IO="Télécharger la notice (pdf)",DO="fichier",rae={close:CO,downloadLeaflet:IO,file:DO},TO={};oe(TO,{close:()=>NO,default:()=>iae,downloadLeaflet:()=>OO,file:()=>MO});var NO="Sluiten",OO="Download bijsluiter (pdf)",MO="bestand",iae={close:NO,downloadLeaflet:OO,file:MO},oae={nl:TO,fr:kO,de:vO,en:wO},RO={};oe(RO,{afterbreakfast:()=>AO,afterdinner:()=>PO,afterlunch:()=>LO,aftermeal:()=>FO,afternoon:()=>jO,beforebreakfast:()=>VO,beforedinner:()=>BO,beforelunch:()=>zO,betweenbreakfastandlunch:()=>HO,betweendinnerandsleep:()=>qO,betweenlunchanddinner:()=>$O,betweenmeals:()=>GO,breakfast:()=>UO,default:()=>sae,dinner:()=>WO,duringbreakfast:()=>ZO,duringdinner:()=>YO,duringlunch:()=>KO,evening:()=>XO,lunch:()=>QO,morning:()=>JO,night:()=>eM,thehourofsleep:()=>tM});var AO="nach dem Frühstück",PO="nach dem Abendessen",LO="nach dem Mittagessen",FO="nach dem Essen",jO="Nachmittag",VO="vor dem Frühstück",BO="vor dem Abendessen",zO="vor dem Mittagessen",HO="zwischen Frühstück und Mittagessen",qO="zwischen Abendessen und Nachtruhe",$O="zwischen Mittagessen und Abendessen",GO="zwischen den Mahlzeiten",UO="Frühstück",WO="Abendessen",ZO="zum Frühstück",YO="zum Abendessen",KO="zum Mittagessen",XO="Abend",QO="Mittagessen",JO="Vormittag",eM="Nacht",tM="Nachtruhe",sae={afterbreakfast:AO,afterdinner:PO,afterlunch:LO,aftermeal:FO,afternoon:jO,beforebreakfast:VO,beforedinner:BO,beforelunch:zO,betweenbreakfastandlunch:HO,betweendinnerandsleep:qO,betweenlunchanddinner:$O,betweenmeals:GO,breakfast:UO,dinner:WO,duringbreakfast:ZO,duringdinner:YO,duringlunch:KO,evening:XO,lunch:QO,morning:JO,night:eM,thehourofsleep:tM},nM={};oe(nM,{afterbreakfast:()=>aM,afterdinner:()=>rM,afterlunch:()=>iM,aftermeal:()=>oM,afternoon:()=>sM,beforebreakfast:()=>lM,beforedinner:()=>uM,beforelunch:()=>cM,betweenbreakfastandlunch:()=>dM,betweendinnerandsleep:()=>hM,betweenlunchanddinner:()=>pM,betweenmeals:()=>mM,breakfast:()=>fM,default:()=>lae,dinner:()=>gM,duringbreakfast:()=>vM,duringdinner:()=>bM,duringlunch:()=>yM,evening:()=>_M,lunch:()=>wM,morning:()=>xM,night:()=>EM,thehourofsleep:()=>SM});var aM="after breakfast",rM="after dinner",iM="after lunch",oM="after meal",sM="afternoon",lM="before breakfast",uM="before dinner",cM="before lunch",dM="between breakfast and lunch",hM="between dinner and the hour of sleep",pM="between lunch and dinner",mM="between meals",fM="breakfast",gM="dinner",vM="during breakfast",bM="during dinner",yM="during lunch",_M="evening",wM="lunch",xM="morning",EM="night",SM="the hour of sleep",lae={afterbreakfast:aM,afterdinner:rM,afterlunch:iM,aftermeal:oM,afternoon:sM,beforebreakfast:lM,beforedinner:uM,beforelunch:cM,betweenbreakfastandlunch:dM,betweendinnerandsleep:hM,betweenlunchanddinner:pM,betweenmeals:mM,breakfast:fM,dinner:gM,duringbreakfast:vM,duringdinner:bM,duringlunch:yM,evening:_M,lunch:wM,morning:xM,night:EM,thehourofsleep:SM},kM={};oe(kM,{afterbreakfast:()=>CM,afterdinner:()=>IM,afterlunch:()=>DM,aftermeal:()=>TM,afternoon:()=>NM,beforebreakfast:()=>OM,beforedinner:()=>MM,beforelunch:()=>RM,betweenbreakfastandlunch:()=>AM,betweendinnerandsleep:()=>PM,betweenlunchanddinner:()=>LM,betweenmeals:()=>FM,breakfast:()=>jM,default:()=>uae,dinner:()=>VM,duringbreakfast:()=>BM,duringdinner:()=>zM,duringlunch:()=>HM,evening:()=>qM,lunch:()=>$M,morning:()=>GM,night:()=>UM,thehourofsleep:()=>WM});var CM="après le petit-déjeuner",IM="après le repas du soir",DM="après le repas du midi",TM="après le repas",NM="après-midi",OM="avant le petit-déjeuner",MM="avant le repas du soir",RM="avant le repas du midi",AM="entre le petit-déjeuner et le repas du midi",PM="entre le repas du soir et l’heure du coucher",LM="entre le repas du midi et le repas du soir",FM="entre les repas",jM="petit-déjeuner",VM="repas du soir",BM="pendant le petit-déjeuner",zM="pendant le repas du soir",HM="pendant le repas du midi",qM="soir",$M="repas du midi",GM="matin",UM="nuit",WM="heure du coucher",uae={afterbreakfast:CM,afterdinner:IM,afterlunch:DM,aftermeal:TM,afternoon:NM,beforebreakfast:OM,beforedinner:MM,beforelunch:RM,betweenbreakfastandlunch:AM,betweendinnerandsleep:PM,betweenlunchanddinner:LM,betweenmeals:FM,breakfast:jM,dinner:VM,duringbreakfast:BM,duringdinner:zM,duringlunch:HM,evening:qM,lunch:$M,morning:GM,night:UM,thehourofsleep:WM},ZM={};oe(ZM,{afterbreakfast:()=>YM,afterdinner:()=>KM,afterlunch:()=>XM,aftermeal:()=>QM,afternoon:()=>JM,beforebreakfast:()=>eR,beforedinner:()=>tR,beforelunch:()=>nR,betweenbreakfastandlunch:()=>aR,betweendinnerandsleep:()=>rR,betweenlunchanddinner:()=>iR,betweenmeals:()=>oR,breakfast:()=>sR,default:()=>cae,dinner:()=>lR,duringbreakfast:()=>uR,duringdinner:()=>cR,duringlunch:()=>dR,evening:()=>hR,lunch:()=>pR,morning:()=>mR,night:()=>fR,thehourofsleep:()=>gR});var YM="na het ontbijt",KM="na het avondmaal",XM="na het middagmaal",QM="na de maaltijd",JM="namiddag",eR="voor het ontbijt",tR="voor het avondmaal",nR="voor het middagmaal",aR="tussen het ontbijt en het middagmaal",rR="tussen het avondmaal en het slapen gaan",iR="tussen het middagmaal en het avondmaal",oR="tussen de maaltijden",sR="ontbijt",lR="avondmaal",uR="tijdens het ontbijt",cR="tijdens het avondmaal",dR="tijdens het middagmaal",hR="'s avonds",pR="middagmaal",mR="'s ochtends",fR="'s nachts",gR="voor het slapen gaan",cae={afterbreakfast:YM,afterdinner:KM,afterlunch:XM,aftermeal:QM,afternoon:JM,beforebreakfast:eR,beforedinner:tR,beforelunch:nR,betweenbreakfastandlunch:aR,betweendinnerandsleep:rR,betweenlunchanddinner:iR,betweenmeals:oR,breakfast:sR,dinner:lR,duringbreakfast:uR,duringdinner:cR,duringlunch:dR,evening:hR,lunch:pR,morning:mR,night:fR,thehourofsleep:gR},dae={nl:ZM,fr:kM,de:RO,en:nM},vR={};oe(vR,{day:()=>bR,default:()=>hae,during:()=>wR,on:()=>_R,week:()=>yR});var bR="Tag",yR="Woche",_R="am",wR="für",hae={day:bR,week:yR,on:_R,during:wR},xR={};oe(xR,{day:()=>ER,default:()=>pae,during:()=>CR,on:()=>kR,week:()=>SR});var ER="day",SR="week",kR="on",CR="during",pae={day:ER,week:SR,on:kR,during:CR},IR={};oe(IR,{day:()=>DR,default:()=>mae,during:()=>OR,on:()=>NR,week:()=>TR});var DR="jour",TR="semaine",NR="le",OR="durant",mae={day:DR,week:TR,on:NR,during:OR},MR={};oe(MR,{day:()=>RR,default:()=>fae,during:()=>LR,on:()=>PR,week:()=>AR});var RR="dag",AR="week",PR="op",LR="gedurende",fae={day:RR,week:AR,on:PR,during:LR},gae={nl:MR,fr:IR,de:vR,en:xR},FR={};oe(FR,{a:()=>jR,d:()=>zR,default:()=>vae,hr:()=>HR,min:()=>qR,mo:()=>VR,ms:()=>GR,ns:()=>WR,s:()=>$R,us:()=>UR,wk:()=>BR});var jR="{count} {count, plural, one{Jahr} other{Jahre}}",VR="{count} {count, plural, one{Monat} other{Monate}}",BR="{count} {count, plural, one{Woche} other{Wochen}}",zR="{count} {count, plural, one{Tag} other{Tage}}",HR="{count} {count, plural, one{Stunde} other{Stunden}}",qR="{count} {count, plural, one{Minute} other{Minuten}}",$R="{count} {count, plural, one{Sekunde} other{Sekunden}} ",GR="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",UR="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",WR="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",vae={a:jR,mo:VR,wk:BR,d:zR,hr:HR,min:qR,s:$R,ms:GR,us:UR,ns:WR},ZR={};oe(ZR,{a:()=>YR,d:()=>QR,default:()=>bae,hr:()=>JR,min:()=>eA,mo:()=>KR,ms:()=>nA,ns:()=>rA,s:()=>tA,us:()=>aA,wk:()=>XR});var YR="{count} {count, plural, one{year} other{years}}",KR="{count} {count, plural, one{month} other{months}}",XR="{count} {count, plural, one{week} other{weeks}}",QR="{count} {count, plural, one{day} other{days}}",JR="{count} {count, plural, one{hour} other{hours}}",eA="{count} {count, plural, one{minute} other{minutes}}",tA="{count} {count, plural, one{second} other{seconds}}",nA="{count} {count, plural, one{millisecond} other{millisecondes}}",aA="{count} {count, plural, one{microsecond} other{microsecondes}}",rA="{count} {count, plural, one{nanosecond} other{nanosecondes}}",bae={a:YR,mo:KR,wk:XR,d:QR,hr:JR,min:eA,s:tA,ms:nA,us:aA,ns:rA},iA={};oe(iA,{a:()=>oA,d:()=>uA,default:()=>yae,hr:()=>cA,min:()=>dA,mo:()=>sA,ms:()=>pA,ns:()=>fA,s:()=>hA,us:()=>mA,wk:()=>lA});var oA="{count} {count, plural, one{année} other{années}}",sA="{count} {count, plural, one{mois} other{mois}}",lA="{count} {count, plural, one{semaine} other{semaines}}",uA="{count} {count, plural, one{jour} other{jours}}",cA="{count} {count, plural, one{heure} other{heures}}",dA="{count} {count, plural, one{minute} other{minutes}}",hA="{count} {count, plural, one{seconde} other{secondes}}",pA="{count} {count, plural, one{milliseconde} other{millisecondes}}",mA="{count} {count, plural, one{microseconde} other{microsecondes}}",fA="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",yae={a:oA,mo:sA,wk:lA,d:uA,hr:cA,min:dA,s:hA,ms:pA,us:mA,ns:fA},gA={};oe(gA,{a:()=>vA,d:()=>_A,default:()=>_ae,hr:()=>wA,min:()=>xA,mo:()=>bA,ms:()=>SA,ns:()=>CA,s:()=>EA,us:()=>kA,wk:()=>yA});var vA="{count} {count, plural, one{jaar} other{jaren}}",bA="{count} {count, plural, one{maand} other{maanden}}",yA="{count} {count, plural, one{week} other{weken}}",_A="{count} {count, plural, one{dag} other{dagen}}",wA="{count} {count, plural, one{uur} other{uren}}",xA="{count} {count, plural, one{minuut} other{minuten}}",EA="{count} {count, plural, one{seconde} other{seconden}}",SA="{count} {count, plural, one{milliseconde} other{milliseconden}}",kA="{count} {count, plural, one{microseconde} other{microseconden}}",CA="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",_ae={a:vA,mo:bA,wk:yA,d:_A,hr:wA,min:xA,s:EA,ms:SA,us:kA,ns:CA},wae={nl:gA,fr:iA,de:FR,en:ZR},IA={};oe(IA,{"%":()=>DA,"%vv":()=>FP,"%wv":()=>jP,"%ww":()=>VP,"1000/mm3":()=>JA,amp:()=>TA,atptreatment:()=>RL,bag:()=>NA,bitperminute:()=>BP,bol:()=>zP,bot:()=>HP,box:()=>OA,c:()=>yL,can:()=>qP,cap:()=>$P,cc:()=>GP,cm:()=>UP,cmm:()=>eP,cnt:()=>_L,ctg:()=>bP,ctr:()=>WP,daily:()=>bL,day:()=>tP,default:()=>xae,degree:()=>QA,dis:()=>iP,drm:()=>wL,fl:()=>MA,fld:()=>oP,flo:()=>sP,ftc:()=>lP,fts:()=>uP,"g/dl":()=>RA,gal:()=>yP,gm:()=>AA,goutte:()=>vP,gr:()=>ZP,hour:()=>gP,in:()=>YP,inc:()=>KP,jar:()=>XP,kg:()=>PA,"kg/m2":()=>LA,kit:()=>QP,l:()=>FA,lb:()=>jA,lm:()=>xL,loz:()=>gL,mcg:()=>VA,mcl:()=>BA,mcm:()=>_P,mcn:()=>JP,meq:()=>zA,mg:()=>HA,"mg/dl":()=>qA,"mg/l":()=>$A,"mg/m2":()=>GA,"mg/ml":()=>UA,mgper100ml:()=>xP,mic:()=>eL,mil:()=>tL,millisecond:()=>fP,min:()=>nL,minute:()=>cP,mis:()=>EL,ml:()=>WA,"ml/min":()=>ZA,"ml/min/1.73m2":()=>mL,mm:()=>dP,"mm/h":()=>hP,mmhg:()=>pP,mmo:()=>aL,mol:()=>YA,month:()=>rP,nl:()=>rL,nmg:()=>SL,nmo:()=>kL,ns:()=>TP,ondemand:()=>wP,oz:()=>KA,pel:()=>iL,pg:()=>DP,pkg:()=>oL,pnu:()=>CL,ppm:()=>XA,pt:()=>sL,qs:()=>lL,qt:()=>uL,sap:()=>AL,sat:()=>IL,second:()=>mP,shock:()=>fL,spoon:()=>nP,spr:()=>EP,sqc:()=>cL,stp:()=>DL,sup:()=>NP,syr:()=>kP,tab:()=>OP,tbl:()=>MP,tes:()=>RP,ton:()=>LP,tpn:()=>CP,trc:()=>TL,tro:()=>vL,tsp:()=>PP,tub:()=>IP,umg:()=>dL,unt:()=>AP,vil:()=>SP,vpr:()=>NL,waf:()=>OL,week:()=>aP,x:()=>ML,ydl:()=>hL,yds:()=>pL});var DA="%",TA="{count, plural, one{Glühbirn} other{Glühbirnen}}",NA="Beutel",OA="schachteln",MA="fl",RA="g/dl",AA="g",PA="kg",LA="kg/m²",FA="l",jA="lb",VA="µg",BA="µl",zA="meq",HA="mg",qA="mg/dl",$A="mg/l",GA="mg/m²",UA="mg/ml",WA="ml",ZA="ml/min",YA="mol",KA="oz",XA="ppm",QA="°",JA="1000/mm³",eP="mm³",tP="{count, plural, one{Tag} other{Tage}}",nP="Löffel",aP="{count, plural, one{Woche} other{Wochen}}",rP="{count, plural, one{Monat} other{Monate}}",iP="{count, plural, one{Platte} other{Platten}}",oP="fl dr",sP="fl oz",lP="cu ft",uP="sq ft",cP="{count, plural, one{Minute} other{Minuten}}",dP="mm",hP="mm/h",pP="mmHg",mP="{count, plural, one{Sekunde} other{Sekunden}}",fP="{count, plural, one{Millisekunde} other{Millisekunden}}",gP="{count, plural, one{Stunde} other{Stunden}}",vP="{count, plural, one{Tropf} other{Tropfen}}",bP="{count, plural, one{Kartusche} other{Kartuschen}}",yP="gal",_P="mmol",wP="auf Antrag",xP="mg/100mL",EP="{count, plural, one{Sprühe} other{Sprühen}}",SP="{count, plural, one{Phiole} other{Phiolen}}",kP="{count, plural, one{Spritze} other{Spritzen}}",CP="Tampon",IP="{count, plural, one{Rohr} other{Rohre}}",DP="pg",TP="nicht spezifiziert",NP="{count, plural, one{Zäpfch} other{Zäpfchen}}",OP="{count, plural, one{Tablette} other{Tabletten}}",MP="Esslöffel",RP="Test",AP="{count, plural, one{Einheit} other{Einheiten}}",PP="teelöffel",LP="ton",FP="% v/v",jP="% w/v",VP="% w/w",BP="Schläge pro Minute",zP="Bolus",HP="{count, plural, one{Flasche} other{Fläschchen}}",qP="Dose",$P="{count, plural, one{Kapsel} other{Kapseln}}",GP="cm3",UP="cm",WP="Halter",ZP="Körnchen",YP="in",KP="in²",XP="Glas",QP="Kitt",JP="Micron",eL="µCi",tL="mCi",nL="minim",aL="μmol",rL="normal",iL="{count, plural, one{Pille} other{Pillen}}",oL="{count, plural, one{Paket} other{Pakete}}",sL="Pinte",lL="ausreichende Menge",uL="qt",cL="cm²",dL="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",hL="yd",pL="yd²",mL="mL/min/1.73m²",fL="{count, plural, one{Schock} other{Schocks}}",gL="{count, plural, one{Pastille} other{Pastillen}}",vL="{count, plural, one{Pastille} other{Pastillen}}",bL="täglich",yL="homöopathische Verdünnung (Centesimal 1/100)",_L="cnt",wL="Fass",xL="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",EL="verschiedene",SL="ng",kL="nmol",CL="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",IL="gesättigt",DL="Strip",TL="Spur",NL="Therapieschema abhängig",OL="{count, plural, one{Oblate} other{Oblaten}}",ML="homöopathische Verdünnung (dezimal 1/10)",RL="anzahl der antitachykardie-stimulationsbehandlungen",AL="Kumulativer sap wert",xae={"%":DA,amp:TA,bag:NA,box:OA,fl:MA,"g/dl":RA,gm:AA,kg:PA,"kg/m2":LA,l:FA,lb:jA,mcg:VA,mcl:BA,meq:zA,mg:HA,"mg/dl":qA,"mg/l":$A,"mg/m2":GA,"mg/ml":UA,ml:WA,"ml/min":ZA,mol:YA,oz:KA,ppm:XA,degree:QA,"1000/mm3":JA,cmm:eP,day:tP,spoon:nP,week:aP,month:rP,dis:iP,fld:oP,flo:sP,ftc:lP,fts:uP,minute:cP,mm:dP,"mm/h":hP,mmhg:pP,second:mP,millisecond:fP,hour:gP,goutte:vP,ctg:bP,gal:yP,mcm:_P,ondemand:wP,mgper100ml:xP,spr:EP,vil:SP,syr:kP,tpn:CP,tub:IP,pg:DP,ns:TP,sup:NP,tab:OP,tbl:MP,tes:RP,unt:AP,tsp:PP,ton:LP,"%vv":FP,"%wv":jP,"%ww":VP,bitperminute:BP,bol:zP,bot:HP,can:qP,cap:$P,cc:GP,cm:UP,ctr:WP,gr:ZP,in:YP,inc:KP,jar:XP,kit:QP,mcn:JP,mic:eL,mil:tL,min:nL,mmo:aL,nl:rL,pel:iL,pkg:oL,pt:sL,qs:lL,qt:uL,sqc:cL,umg:dL,ydl:hL,yds:pL,"ml/min/1.73m2":mL,shock:fL,loz:gL,tro:vL,daily:bL,c:yL,cnt:_L,drm:wL,lm:xL,mis:EL,nmg:SL,nmo:kL,pnu:CL,sat:IL,stp:DL,trc:TL,vpr:NL,waf:OL,x:ML,atptreatment:RL,sap:AL},PL={};oe(PL,{"%":()=>LL,"%vv":()=>FL,"%wv":()=>jL,"%ww":()=>VL,"1000/mm3":()=>BL,amp:()=>zL,atptreatment:()=>HL,bag:()=>qL,bitperminute:()=>$L,bol:()=>GL,bot:()=>UL,box:()=>WL,c:()=>ZL,can:()=>YL,cap:()=>KL,cc:()=>XL,cm:()=>QL,cmm:()=>JL,cnt:()=>eF,ctg:()=>tF,ctr:()=>nF,daily:()=>aF,day:()=>rF,default:()=>Eae,degree:()=>iF,dis:()=>oF,drm:()=>sF,fl:()=>lF,fld:()=>uF,flo:()=>cF,ftc:()=>dF,fts:()=>hF,"g/dl":()=>pF,gal:()=>mF,gm:()=>fF,goutte:()=>gF,gr:()=>vF,hour:()=>bF,in:()=>yF,inc:()=>_F,jar:()=>wF,kg:()=>xF,"kg/m2":()=>EF,kit:()=>SF,l:()=>kF,lb:()=>CF,lm:()=>IF,loz:()=>DF,mcg:()=>TF,mcl:()=>NF,mcm:()=>OF,mcn:()=>MF,meq:()=>RF,mg:()=>AF,"mg/dl":()=>PF,"mg/l":()=>LF,"mg/m2":()=>FF,"mg/ml":()=>jF,mgper100ml:()=>VF,mic:()=>BF,mil:()=>zF,millisecond:()=>HF,min:()=>qF,minute:()=>$F,mis:()=>GF,ml:()=>UF,"ml/min":()=>WF,"ml/min/1.73m2":()=>ZF,mm:()=>YF,"mm/h":()=>KF,mmhg:()=>XF,mmo:()=>QF,mol:()=>JF,month:()=>ej,nl:()=>tj,nmg:()=>nj,nmo:()=>aj,ns:()=>rj,ondemand:()=>ij,oz:()=>oj,pel:()=>sj,pg:()=>lj,pkg:()=>uj,pnu:()=>cj,ppm:()=>dj,pt:()=>hj,qs:()=>pj,qt:()=>Hj,sap:()=>mj,sat:()=>fj,second:()=>gj,shock:()=>vj,spoon:()=>bj,spr:()=>yj,sqc:()=>_j,stp:()=>wj,sup:()=>xj,syr:()=>Ej,tab:()=>Sj,tbl:()=>kj,tes:()=>Cj,ton:()=>Ij,tpn:()=>Dj,trc:()=>Tj,tro:()=>Nj,tsp:()=>Oj,tub:()=>Mj,umg:()=>Rj,unt:()=>Aj,vil:()=>Pj,vpr:()=>Lj,waf:()=>Fj,week:()=>jj,x:()=>Vj,ydl:()=>Bj,yds:()=>zj});var LL="%",FL="% v/v",jL="% w/v",VL="% w/w",BL="1000/mm³",zL="{count, plural, one{ampule} other{ampules}}",HL="Number of treatments by anti-tachycardia pacing",qL="{count, plural, one{bag} other{bags}}",$L="{count, plural, one{bit per minute} other{bits per minute}}",GL="bolus",UL="{count, plural, one{bottle} other{bottles}}",WL="{count, plural, one{box} other{boxes}}",ZL="homeopathic dilution (centesimal 1/100)",YL="{count, plural, one{can} other{cans}}",KL="{count, plural, one{capsule} other{capsules}}",XL="cm³",QL="cm",JL="mm³",eF="cnt",tF="{count, plural, one{cartridge} other{cartridges}}",nF="{count, plural, one{container} other{containers}}",aF="daily",rF="{count, plural, one{day} other{days}}",iF="°",oF="{count, plural, one{disk} other{disks}}",sF="drum",lF="{count, plural, one{fluid} other{fluids}}",uF="fl dr",cF="{count, plural, one{fluid ounce} other{fluid ounces}}",dF="cu ft",hF="sq ft",pF="g/dl",mF="{count, plural, one{gallon} other{gallons}}",fF="g",gF="{count, plural, one{drop} other{drops}}",vF="{count, plural, one{grain} other{grains}}",bF="{count, plural, one{hour} other{hours}}",yF="{count, plural, one{inch} other{inches}}",_F="in²",wF="{count, plural, one{jar} other{jars}}",xF="kg",EF="kg/m²",SF="kit",kF="{count, plural, one{liter} other{liters}}",CF="{count, plural, one{pound} other{pounds}}",IF="homeopathic dilution (fifty millesimal 1/50,000)",DF="{count, plural, one{lozenge} other{lozenges}}",TF="µg",NF="µl",OF="mmol",MF="micron",RF="milliequivalent",AF="mg",PF="mg/dl",LF="mg/l",FF="mg/m²",jF="mg/ml",VF="mg/100mL",BF="µCi",zF="mCi",HF="{count, plural, one{millisecond} other{milliseconds}}",qF="minim",$F="{count, plural, one{minute} other{minutes}}",GF="miscellaneous",UF="{count, plural, one{milliliter} other{milliliters}}",WF="ml/min",ZF="mL/min/1.73m²",YF="mm",KF="mm/h",XF="mmHg",QF="μmol",JF="mol",ej="{count, plural, one{month} other{months}}",tj="normal",nj="ng",aj="nmol",rj="not stated",ij="on demand",oj="{count, plural, one{ounce} other{ounces}}",sj="{count, plural, one{pellet} other{pellets}}",lj="pg",uj="{count, plural, one{package} other{packages}}",cj="{count, plural, one{protein unit} other{protein unit}}",dj="ppm",hj="{count, plural, one{pint} other{pints}}",pj="quantity sufficient",mj="Cumulative sap value",fj="saturated",gj="{count, plural, one{second} other{seconds}}",vj="shock",bj="{count, plural, one{spoon} other{spoons}}",yj="{count, plural, one{spray} other{sprays}}",_j="cm²",wj="{count, plural, one{strip} other{strips}}",xj="{count, plural, one{suppository} other{suppositories}}",Ej="{count, plural, one{syrynge} other{syrynges}}",Sj="{count, plural, one{tablet} other{tablets}}",kj="{count, plural, one{tablespoon} other{tablespoons}}",Cj="{count, plural, one{test} other{tests}}",Ij="{count, plural, one{ton} other{tons}}",Dj="{count, plural, one{tampon} other{tampons}}",Tj="{count, plural, one{trace} other{traces}}",Nj="{count, plural, one{troche} other{troches}}",Oj="{count, plural, one{teaspoon} other{teaspoons}}",Mj="{count, plural, one{tube} other{tubes}}",Rj="UNITS PER MILLIGRAM",Aj="{count, plural, one{unit} other{units}}",Pj="{count, plural, one{vial} other{vials}}",Lj="varies per regimen",Fj="{count, plural, one{wafer} other{wafers}}",jj="{count, plural, one{week} other{weeks}}",Vj="homeopathic dilution (decimal 1/10)",Bj="yd",zj="yd²",Hj="qt",Eae={"%":LL,"%vv":FL,"%wv":jL,"%ww":VL,"1000/mm3":BL,amp:zL,atptreatment:HL,bag:qL,bitperminute:$L,bol:GL,bot:UL,box:WL,c:ZL,can:YL,cap:KL,cc:XL,cm:QL,cmm:JL,cnt:eF,ctg:tF,ctr:nF,daily:aF,day:rF,degree:iF,dis:oF,drm:sF,fl:lF,fld:uF,flo:cF,ftc:dF,fts:hF,"g/dl":pF,gal:mF,gm:fF,goutte:gF,gr:vF,hour:bF,in:yF,inc:_F,jar:wF,kg:xF,"kg/m2":EF,kit:SF,l:kF,lb:CF,lm:IF,loz:DF,mcg:TF,mcl:NF,mcm:OF,mcn:MF,meq:RF,mg:AF,"mg/dl":PF,"mg/l":LF,"mg/m2":FF,"mg/ml":jF,mgper100ml:VF,mic:BF,mil:zF,millisecond:HF,min:qF,minute:$F,mis:GF,ml:UF,"ml/min":WF,"ml/min/1.73m2":ZF,mm:YF,"mm/h":KF,mmhg:XF,mmo:QF,mol:JF,month:ej,nl:tj,nmg:nj,nmo:aj,ns:rj,ondemand:ij,oz:oj,pel:sj,pg:lj,pkg:uj,pnu:cj,ppm:dj,pt:hj,qs:pj,sap:mj,sat:fj,second:gj,shock:vj,spoon:bj,spr:yj,sqc:_j,stp:wj,sup:xj,syr:Ej,tab:Sj,tbl:kj,tes:Cj,ton:Ij,tpn:Dj,trc:Tj,tro:Nj,tsp:Oj,tub:Mj,umg:Rj,unt:Aj,vil:Pj,vpr:Lj,waf:Fj,week:jj,x:Vj,ydl:Bj,yds:zj,qt:Hj},qj={};oe(qj,{"%":()=>$j,"%vv":()=>J3,"%wv":()=>eV,"%ww":()=>tV,"1000/mm3":()=>f3,amp:()=>Gj,atptreatment:()=>YV,bag:()=>Uj,bitperminute:()=>nV,bol:()=>aV,bot:()=>rV,box:()=>Wj,c:()=>PV,can:()=>iV,cap:()=>oV,cc:()=>sV,cm:()=>lV,cmm:()=>g3,cnt:()=>LV,ctg:()=>A3,ctr:()=>uV,daily:()=>AV,day:()=>v3,default:()=>Sae,degree:()=>m3,dis:()=>w3,drm:()=>FV,fl:()=>Zj,fld:()=>x3,flo:()=>E3,ftc:()=>S3,fts:()=>k3,"g/dl":()=>Yj,gal:()=>P3,gm:()=>Kj,goutte:()=>R3,gr:()=>cV,hour:()=>M3,in:()=>dV,inc:()=>hV,jar:()=>pV,kg:()=>Xj,"kg/m2":()=>Qj,kit:()=>mV,l:()=>Jj,lb:()=>e3,lm:()=>jV,loz:()=>MV,mcg:()=>t3,mcl:()=>n3,mcm:()=>L3,mcn:()=>fV,meq:()=>a3,mg:()=>r3,"mg/dl":()=>i3,"mg/l":()=>o3,"mg/m2":()=>s3,"mg/ml":()=>l3,mgper100ml:()=>j3,mic:()=>gV,mil:()=>vV,millisecond:()=>O3,min:()=>bV,minute:()=>C3,mis:()=>VV,ml:()=>u3,"ml/min":()=>c3,"ml/min/1.73m2":()=>NV,mm:()=>I3,"mm/h":()=>D3,mmhg:()=>T3,mmo:()=>yV,mol:()=>d3,month:()=>_3,nl:()=>_V,nmg:()=>BV,nmo:()=>zV,ns:()=>G3,ondemand:()=>F3,oz:()=>h3,pel:()=>wV,pg:()=>$3,pkg:()=>xV,pnu:()=>HV,ppm:()=>p3,pt:()=>EV,qs:()=>SV,qt:()=>kV,sap:()=>KV,sat:()=>qV,second:()=>N3,shock:()=>OV,spoon:()=>b3,spr:()=>V3,sqc:()=>CV,stp:()=>$V,sup:()=>U3,syr:()=>z3,tab:()=>W3,tbl:()=>Z3,tes:()=>Y3,ton:()=>Q3,tpn:()=>H3,trc:()=>GV,tro:()=>RV,tsp:()=>X3,tub:()=>q3,umg:()=>IV,unt:()=>K3,vil:()=>B3,vpr:()=>UV,waf:()=>WV,week:()=>y3,x:()=>ZV,ydl:()=>DV,yds:()=>TV});var $j="%",Gj="{count, plural, one{ampoule} other{ampoules}}",Uj="{count, plural, one{sac} other{sacs}}",Wj="{count, plural, one{vaporisateur} other{vaporisateurs}}",Zj="fl",Yj="g/dl",Kj="g",Xj="kg",Qj="kg/m²",Jj="l",e3="lb",t3="µg",n3="µl",a3="milli-equivalent",r3="mg",i3="mg/dl",o3="mg/l",s3="mg/m²",l3="mg/ml",u3="ml",c3="ml/min",d3="mol",h3="oz",p3="ppm",m3="°",f3="1000/mm³",g3="mm³",v3="{count, plural, one{jour(s)} other{jours}}",b3="{count, plural, one{cuillère} other{cuillères}}",y3="{count, plural, one{semaine} other{semaines}}",_3="mois",w3="{count, plural, one{disque} other{disques}}",x3="fl dr",E3="fl oz",S3="cu ft",k3="sq ft",C3="{count, plural, one{minute} other{minutes}}",I3="mm",D3="mm/h",T3="mmHg",N3="{count, plural, one{seconde} other{secondes}}",O3="{count, plural, one{milliseconde} other{millisecondes}}",M3="{count, plural, one{heure} other{heures}}",R3="{count, plural, one{goutte} other{gouttes}}",A3="{count, plural, one{cartouche} other{cartouches}}",P3="gal",L3="mmol",F3="sur demande",j3="mg/100mL",V3="spray",B3="{count, plural, one{fiole} other{fioles}}",z3="{count, plural, one{seringue} other{seringues}}",H3="{count, plural, one{tampon} other{tampons}}",q3="{count, plural, one{tube} other{tubes}}",$3="pg",G3="non spécifié",U3="{count, plural, one{suppositoire} other{suppositoires}}",W3="{count, plural, one{tablette} other{tablettes}}",Z3="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Y3="{count, plural, one{test} other{tests}}",K3="{count, plural, one{unité} other{unités}}",X3="{count, plural, one{cuillère à café} other{cuillères à café}}",Q3="{count, plural, one{ton} other{tons}}",J3="% v/v",eV="% w/v",tV="% w/w",nV="{count, plural, one{battement par minute} other{battements par minute}}",aV="{count, plural, one{bolus} other{bolus}}",rV="{count, plural, one{bouteille} other{bouteilles}}",iV="{count, plural, one{canette} other{canettes}}",oV="{count, plural, one{capsule} other{capsules}}",sV="cm3",lV="cm",uV="{count, plural, one{conteneur} other{conteneurs}}",cV="{count, plural, one{granule} other{granules}}",dV="in",hV="in²",pV="pot",mV="{count, plural, one{kit} other{kits}}",fV="micron",gV="µCi",vV="mCi",bV="minim",yV="μmol",_V="normal",wV="{count, plural, one{pilule} other{pilules}}",xV="{count, plural, one{paquet} other{paquets}}",EV="pinte",SV="quantité suffisante",kV="qt",CV="cm²",IV="{count, plural, one{unité / mg} other{unités / mg}}",DV="yd",TV="yd²",NV="mL/min/1.73m²",OV="choc",MV="{count, plural, one{pastille} other{pastilles}}",RV="{count, plural, one{pastille} other{pastilles}}",AV="journalier",PV="dilution homéopathique (centésimal 1/100)",LV="cnt",FV="fût",jV="dilution homéopathique (50 millisimaux au ratio 1:50,000)",VV="divers",BV="ng",zV="nmol",HV="{count, plural, one{unité protéique} other{unités protéiques}}",qV="saturé",$V="strip",GV="trace",UV="dépendant du schéma thérapeutique",WV="{count, plural, one{hostie} other{hosties}}",ZV="dilution homéopathique (décimal 1/10)",YV="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",KV="Valeur sap cumulative",Sae={"%":$j,amp:Gj,bag:Uj,box:Wj,fl:Zj,"g/dl":Yj,gm:Kj,kg:Xj,"kg/m2":Qj,l:Jj,lb:e3,mcg:t3,mcl:n3,meq:a3,mg:r3,"mg/dl":i3,"mg/l":o3,"mg/m2":s3,"mg/ml":l3,ml:u3,"ml/min":c3,mol:d3,oz:h3,ppm:p3,degree:m3,"1000/mm3":f3,cmm:g3,day:v3,spoon:b3,week:y3,month:_3,dis:w3,fld:x3,flo:E3,ftc:S3,fts:k3,minute:C3,mm:I3,"mm/h":D3,mmhg:T3,second:N3,millisecond:O3,hour:M3,goutte:R3,ctg:A3,gal:P3,mcm:L3,ondemand:F3,mgper100ml:j3,spr:V3,vil:B3,syr:z3,tpn:H3,tub:q3,pg:$3,ns:G3,sup:U3,tab:W3,tbl:Z3,tes:Y3,unt:K3,tsp:X3,ton:Q3,"%vv":J3,"%wv":eV,"%ww":tV,bitperminute:nV,bol:aV,bot:rV,can:iV,cap:oV,cc:sV,cm:lV,ctr:uV,gr:cV,in:dV,inc:hV,jar:pV,kit:mV,mcn:fV,mic:gV,mil:vV,min:bV,mmo:yV,nl:_V,pel:wV,pkg:xV,pt:EV,qs:SV,qt:kV,sqc:CV,umg:IV,ydl:DV,yds:TV,"ml/min/1.73m2":NV,shock:OV,loz:MV,tro:RV,daily:AV,c:PV,cnt:LV,drm:FV,lm:jV,mis:VV,nmg:BV,nmo:zV,pnu:HV,sat:qV,stp:$V,trc:GV,vpr:UV,waf:WV,x:ZV,atptreatment:YV,sap:KV},XV={};oe(XV,{"%":()=>QV,"%vv":()=>sz,"%wv":()=>lz,"%ww":()=>uz,"1000/mm3":()=>EB,amp:()=>JV,atptreatment:()=>a5,bag:()=>eB,bitperminute:()=>cz,bol:()=>dz,bot:()=>hz,box:()=>tB,c:()=>qz,can:()=>pz,cap:()=>mz,cc:()=>fz,cm:()=>gz,cmm:()=>SB,cnt:()=>$z,ctg:()=>HB,ctr:()=>vz,daily:()=>Hz,day:()=>kB,default:()=>kae,degree:()=>xB,dis:()=>TB,drm:()=>Gz,fl:()=>nB,fld:()=>NB,flo:()=>OB,ftc:()=>MB,fts:()=>RB,"g/dl":()=>aB,gal:()=>qB,gm:()=>rB,goutte:()=>zB,gr:()=>bz,hour:()=>BB,in:()=>yz,inc:()=>_z,jar:()=>wz,kg:()=>iB,"kg/m2":()=>oB,kit:()=>xz,l:()=>sB,lb:()=>lB,lm:()=>Uz,loz:()=>Bz,mcg:()=>uB,mcl:()=>cB,mcm:()=>$B,mcn:()=>Ez,meq:()=>dB,mg:()=>hB,"mg/dl":()=>pB,"mg/l":()=>mB,"mg/m2":()=>fB,"mg/ml":()=>gB,mgper100ml:()=>UB,mic:()=>Sz,mil:()=>kz,millisecond:()=>VB,min:()=>Cz,minute:()=>AB,mis:()=>Wz,ml:()=>vB,"ml/min":()=>bB,"ml/min/1.73m2":()=>jz,mm:()=>PB,"mm/h":()=>LB,mmhg:()=>FB,mmo:()=>Iz,mol:()=>yB,month:()=>DB,nl:()=>Dz,nmg:()=>Zz,nmo:()=>Yz,ns:()=>JB,ondemand:()=>GB,oz:()=>_B,pel:()=>Tz,pg:()=>QB,pkg:()=>Nz,pnu:()=>Kz,ppm:()=>wB,pt:()=>Oz,qs:()=>Mz,qt:()=>Rz,sap:()=>r5,sat:()=>Xz,second:()=>jB,shock:()=>Vz,spoon:()=>CB,spr:()=>WB,sqc:()=>Az,stp:()=>Qz,sup:()=>ez,syr:()=>YB,tab:()=>tz,tbl:()=>nz,tes:()=>az,ton:()=>oz,tpn:()=>KB,trc:()=>Jz,tro:()=>zz,tsp:()=>iz,tub:()=>XB,umg:()=>Pz,unt:()=>rz,vil:()=>ZB,vpr:()=>e5,waf:()=>t5,week:()=>IB,x:()=>n5,ydl:()=>Lz,yds:()=>Fz});var QV="%",JV="{count, plural, one{ampule} other{ampullen}}",eB="{count, plural, one{zak} other{zakken}}",tB="{count, plural, one{verstuiver} other{verstuivers}}",nB="fl",aB="g/dl",rB="g",iB="kg",oB="kg/m²",sB="l",lB="lb",uB="µg",cB="µl",dB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",hB="mg",pB="mg/dl",mB="mg/l",fB="mg/m²",gB="mg/ml",vB="ml",bB="ml/min",yB="mol",_B="oz",wB="ppm",xB="°",EB="1000/mm³",SB="mm³",kB="{count, plural, one{dag} other{dagen}}",CB="{count, plural, one{lepel} other{lepels}}",IB="{count, plural, one{week} other{weken}}",DB="{count, plural, one{maand} other{maanden}}",TB="{count, plural, one{schijf} other{schijven}}",NB="fl dr",OB="fl oz",MB="cu ft",RB="sq ft",AB="{count, plural, one{minuut} other{minuten}}",PB="mm",LB="mm/h",FB="mmHg",jB="{count, plural, one{seconde} other{seconden}}",VB="{count, plural, one{milliseconde} other{milliseconden}}",BB="{count, plural, one{uur} other{uren}}",zB="{count, plural, one{druppel} other{druppels}}",HB="{count, plural, one{patroon} other{patronen}}",qB="gal",$B="mmol",GB="op aanvraag",UB="mg/100mL",WB="{count, plural, one{spray} other{sprays}}",ZB="{count, plural, one{flesje} other{flesjes}}",YB="{count, plural, one{spuit} other{spuiten}}",KB="{count, plural, one{tampon} other{tampons}}",XB="{count, plural, one{buis} other{buizen}}",QB="pg",JB="niet gespecificeerd",ez="{count, plural, one{zetpil} other{zetpillen}}",tz="{count, plural, one{tablet} other{tabletten}}",nz="{count, plural, one{eetlepel} other{eetlepels}}",az="{count, plural, one{test} other{tests}}",rz="{count, plural, one{eenheid} other{eenheden}}",iz="{count, plural, one{theelepel} other{theelepels}}",oz="{count, plural, one{ton} other{tonnen}}",sz="% v/v",lz="% w/v",uz="% w/w",cz="{count, plural, one{slag per minuut} other{slagen per minuut}}",dz="bolus",hz="{count, plural, one{fles} other{flessen}}",pz="{count, plural, one{blikje} other{blikjes}}",mz="{count, plural, one{capsule} other{capsules}}",fz="cm3",gz="cm",vz="{count, plural, one{houder} other{houders}}",bz="{count, plural, one{korrel} other{korrels}}",yz="in",_z="in²",wz="{count, plural, one{pot} other{potten}}",xz="{count, plural, one{kit} other{kits}}",Ez="micron",Sz="µCi",kz="mCi",Cz="minim",Iz="μmol",Dz="normaal",Tz="{count, plural, one{pil} other{pillen}}",Nz="{count, plural, one{pakket} other{pakketten}}",Oz="{count, plural, one{pint} other{pinten}}",Mz="voldoende hoeveelheid",Rz="qt",Az="cm²",Pz="{count, plural, one{eenheid / mg} other{eenheden / mg}}",Lz="yd",Fz="yd²",jz="mL/min/1.73m²",Vz="{count, plural, one{schok} other{schokken}}",Bz="{count, plural, one{zuigtablet} other{zuigtabletten}}",zz="{count, plural, one{zuigtablet} other{zuigtabletten}}",Hz="dagelijks",qz="homeopathische verdunning (centesimal 1/100)",$z="cnt",Gz="vat",Uz="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",Wz="diverse",Zz="ng",Yz="nmol",Kz="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",Xz="verzadigd",Qz="{count, plural, one{strip} other{strips}}",Jz="{count, plural, one{spoor} other{sporen}}",e5="behandelingsschema-afhankelijk",t5="{count, plural, one{ouwel} other{ouwels}}",n5="homeopathische verdunning (decimaal 1/10)",a5="aantal anti-tachycardie-stimulatiebehandelingen",r5="Cumulatieve sap waarde",kae={"%":QV,amp:JV,bag:eB,box:tB,fl:nB,"g/dl":aB,gm:rB,kg:iB,"kg/m2":oB,l:sB,lb:lB,mcg:uB,mcl:cB,meq:dB,mg:hB,"mg/dl":pB,"mg/l":mB,"mg/m2":fB,"mg/ml":gB,ml:vB,"ml/min":bB,mol:yB,oz:_B,ppm:wB,degree:xB,"1000/mm3":EB,cmm:SB,day:kB,spoon:CB,week:IB,month:DB,dis:TB,fld:NB,flo:OB,ftc:MB,fts:RB,minute:AB,mm:PB,"mm/h":LB,mmhg:FB,second:jB,millisecond:VB,hour:BB,goutte:zB,ctg:HB,gal:qB,mcm:$B,ondemand:GB,mgper100ml:UB,spr:WB,vil:ZB,syr:YB,tpn:KB,tub:XB,pg:QB,ns:JB,sup:ez,tab:tz,tbl:nz,tes:az,unt:rz,tsp:iz,ton:oz,"%vv":sz,"%wv":lz,"%ww":uz,bitperminute:cz,bol:dz,bot:hz,can:pz,cap:mz,cc:fz,cm:gz,ctr:vz,gr:bz,in:yz,inc:_z,jar:wz,kit:xz,mcn:Ez,mic:Sz,mil:kz,min:Cz,mmo:Iz,nl:Dz,pel:Tz,pkg:Nz,pt:Oz,qs:Mz,qt:Rz,sqc:Az,umg:Pz,ydl:Lz,yds:Fz,"ml/min/1.73m2":jz,shock:Vz,loz:Bz,tro:zz,daily:Hz,c:qz,cnt:$z,drm:Gz,lm:Uz,mis:Wz,nmg:Zz,nmo:Yz,pnu:Kz,sat:Xz,stp:Qz,trc:Jz,vpr:e5,waf:t5,x:n5,atptreatment:a5,sap:r5},Cae={nl:XV,fr:qj,de:IA,en:PL},i5={};oe(i5,{default:()=>Iae,header:()=>o5,patient:()=>s5,professional:()=>l5});var o5="Ausgegebene Medikamente?",s5={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."}},l5={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."}},Iae={header:o5,patient:s5,professional:l5},u5={};oe(u5,{default:()=>Dae,header:()=>c5,patient:()=>d5,professional:()=>h5});var c5="How to interpret the list?",d5={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."}},h5={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."}},Dae={header:c5,patient:d5,professional:h5},p5={};oe(p5,{default:()=>Tae,header:()=>m5,patient:()=>f5,professional:()=>g5});var m5="Comment interpréter la liste?",f5={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."}},g5={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)."}},Tae={header:m5,patient:f5,professional:g5},v5={};oe(v5,{default:()=>Nae,header:()=>b5,patient:()=>y5,professional:()=>_5});var b5="Hoe de lijst interpreteren?",y5={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."}},_5={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)."}},Nae={header:b5,patient:y5,professional:_5},Oae={nl:v5,fr:p5,de:i5,en:u5},w5={};oe(w5,{default:()=>Mae,headers:()=>x5,magisterialPreparation:()=>E5,noContent:()=>S5});var x5={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},E5="Verschreibungurarzneimittel",S5="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Mae={headers:x5,magisterialPreparation:E5,noContent:S5},k5={};oe(k5,{default:()=>Rae,headers:()=>C5,magisterialPreparation:()=>I5,noContent:()=>D5});var C5={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},I5="Magistral preparation",D5="There is no delivered medication found for this patient.",Rae={headers:C5,magisterialPreparation:I5,noContent:D5},T5={};oe(T5,{default:()=>Aae,headers:()=>N5,magisterialPreparation:()=>O5,noContent:()=>M5});var N5={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},O5="Préparation magistrale",M5="Aucun médicament délivré n'a été retrouvé pour ce patient.",Aae={headers:N5,magisterialPreparation:O5,noContent:M5},R5={};oe(R5,{default:()=>Pae,headers:()=>A5,magisterialPreparation:()=>P5,noContent:()=>L5});var A5={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},P5="Magistrale bereiding",L5="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Pae={headers:A5,magisterialPreparation:P5,noContent:L5},Lae={nl:R5,fr:T5,de:w5,en:k5},F5={};oe(F5,{composition:()=>j5,default:()=>Fae,"delivered-by":()=>$5,"delivery-date":()=>q5,dguid:()=>B5,"is-prescribed":()=>z5,leaflet:()=>X5,"magisterial-preparation":()=>K5,medication:()=>J5,"no-pharmacy":()=>Z5,noDetails:()=>e4,package:()=>Q5,patient:()=>Y5,posologie:()=>V5,quantity:()=>H5,"return-delivery-date":()=>U5,"returned-by":()=>W5,"returned-quantity":()=>G5});var j5="Zusammensetzung",V5="Dosierung",B5="ID Ausgabe",z5={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},H5="Gelieferte Menge",q5="Lieferdatum",$5="Geliefert von",G5="Zurückgenommene Menge",U5="Rücknahme am",W5="Rücknahme durch",Z5="Apotheke mit LIKIV-Erkennungsnummer",Y5="Patient",K5="Verschreibungurarzneimittel",X5="Packungsbeilage",Q5="{count, plural, one{Verpackung} other{Verpackungen}}",J5="Arzneimittel",e4="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Fae={composition:j5,posologie:V5,dguid:B5,"is-prescribed":z5,quantity:H5,"delivery-date":q5,"delivered-by":$5,"returned-quantity":G5,"return-delivery-date":U5,"returned-by":W5,"no-pharmacy":Z5,patient:Y5,"magisterial-preparation":K5,leaflet:X5,package:Q5,medication:J5,noDetails:e4},t4={};oe(t4,{composition:()=>n4,default:()=>jae,"delivered-by":()=>a4,"delivery-date":()=>r4,dguid:()=>i4,"is-prescribed":()=>o4,leaflet:()=>s4,"magisterial-preparation":()=>l4,medication:()=>u4,"no-pharmacy":()=>c4,noDetails:()=>d4,package:()=>h4,patient:()=>p4,posologie:()=>m4,quantity:()=>f4,"return-delivery-date":()=>b4,"returned-by":()=>y4,"returned-quantity":()=>v4,title:()=>g4});var n4="Composition",a4="Dispensed by",r4="Date dispensed",i4="Dispensing ID",o4={no:"No",title:"Was prescribed",yes:"Yes"},s4="Package leaflet",l4="Compounded preparation",u4="Medication",c4="Pharmacy with NIHDI number",d4="The requested information has been deleted or doesn't exist.",h4="{count, plural, one{package} other{packages}}",p4="Patient",m4="Dosage",f4="Dispensed quality",g4="Detail of the dispensed medication",v4="Returned quantity",b4="Return on",y4="Return by",jae={composition:n4,"delivered-by":a4,"delivery-date":r4,dguid:i4,"is-prescribed":o4,leaflet:s4,"magisterial-preparation":l4,medication:u4,"no-pharmacy":c4,noDetails:d4,package:h4,patient:p4,posologie:m4,quantity:f4,title:g4,"returned-quantity":v4,"return-delivery-date":b4,"returned-by":y4},_4={};oe(_4,{composition:()=>w4,default:()=>Vae,"delivered-by":()=>I4,"delivery-date":()=>C4,dguid:()=>E4,"is-prescribed":()=>S4,leaflet:()=>A4,"magisterial-preparation":()=>R4,medication:()=>L4,"no-pharmacy":()=>O4,noDetails:()=>F4,package:()=>P4,patient:()=>M4,posologie:()=>x4,quantity:()=>k4,"return-delivery-date":()=>T4,"returned-by":()=>N4,"returned-quantity":()=>D4});var w4="Composition",x4="Posologie",E4="ID délivrance",S4={title:"A été prescrit",yes:"Oui",no:"Non"},k4="Quantité délivrée",C4="Date de délivrance",I4="Délivré par",D4="Quantité retournée",T4="Retour le",N4="Retour par",O4="Pharmacie avec numéro INAMI",M4="Patient",R4="Préparation magistrale",A4="Notice d'information",P4="{count, plural, one{emballage} other{emballages}}",L4="Médicament",F4="La prescription demandée a été supprimée ou n'existe pas.",Vae={composition:w4,posologie:x4,dguid:E4,"is-prescribed":S4,quantity:k4,"delivery-date":C4,"delivered-by":I4,"returned-quantity":D4,"return-delivery-date":T4,"returned-by":N4,"no-pharmacy":O4,patient:M4,"magisterial-preparation":R4,leaflet:A4,package:P4,medication:L4,noDetails:F4},j4={};oe(j4,{composition:()=>V4,default:()=>Bae,"delivered-by":()=>G4,"delivery-date":()=>$4,dguid:()=>z4,"is-prescribed":()=>H4,leaflet:()=>Q4,"magisterial-preparation":()=>X4,medication:()=>e9,"no-pharmacy":()=>Y4,noDetails:()=>t9,package:()=>J4,patient:()=>K4,posologie:()=>B4,quantity:()=>q4,"return-delivery-date":()=>W4,"returned-by":()=>Z4,"returned-quantity":()=>U4});var V4="Samenstelling",B4="Posologie",z4="ID aflevering",H4={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},q4="Afgeleverde hoeveelheid",$4="Datum afgeleverd",G4="Afgeleverd door",U4="Teruggenomen hoeveelheid",W4="Terugname op",Z4="Terugname door",Y4="Apotheek met RIZIV-nummer",K4="Patiënt",X4="Magistrale bereiding",Q4="Bijsluiter",J4="{count, plural, one{verpakking} other{verpakkingen}}",e9="Geneesmiddel(en)",t9="Het gevraagde voorschrift is verwijderd of bestaat niet.",Bae={composition:V4,posologie:B4,dguid:z4,"is-prescribed":H4,quantity:q4,"delivery-date":$4,"delivered-by":G4,"returned-quantity":U4,"return-delivery-date":W4,"returned-by":Z4,"no-pharmacy":Y4,patient:K4,"magisterial-preparation":X4,leaflet:Q4,package:J4,medication:e9,noDetails:t9},zae={nl:j4,fr:_4,de:F5,en:t4},Hae=class extends Mo{getTranslation(e){return at({commons:Gt(se({},oae[e]),{units:Cae[e],galenicFormCodes:tae[e],timeUnits:wae[e],administrationUnits:Bne[e],periods:dae[e],days:Gne[e],posology:gae[e],errors:Kne[e]}),deliveredMedicationsList:Lae[e],deliveredMedicationsDisclaimer:Oae[e],deliveredMedicationDetails:zae[e]})}},qae=[Tne,nK({defaultLanguage:"fr",loader:{provide:Mo,useClass:Hae},compiler:{provide:Ao,useClass:Rne}})],n9=(()=>{const t=class t{constructor(){this.http=C(gi)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),$ae={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{identifier:{value:"0589028",type:rr.COMPOUND},name:[{value:"ERYTHROMYCINE SOL. HYDRO-ALC. 4% FTM2"}],quantity:{value:1},instructions:[{lang:h.FR,value:"magistralPreparation - formularyReference"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5d5b8138-4941-8359-de2f-77d560f6f0ef",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstruction:{text:"Posology free text"},isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{quantity:{value:1},ingredients:[{identifier:{value:"1543305",type:rr.CNK},name:[{value:"ATROVENT MONODOSE 0,25MG/2ML VIALS 20"}],prefix:"ad",value:10,unit:"ml"},{identifier:{value:"1484229",type:rr.CNK},name:[{value:"Panadol 1 g comp. 50"}]},{identifier:{value:"0525337",type:rr.CNK},name:[{value:"GLYCEROL"}],value:.2,unit:"gm"}],instructions:[{lang:h.FR,value:"magistralPreparation - compound (all cases)"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5715ad8c-d6ab-27b4-83f5-44ca67d5d00a",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstruction:{text:"Posology free text"},isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:rr.CNK},name:[{lang:h.NL,value:"SINUTAB FORTE 500/60 MG COMP 20"},{lang:h.FR,value:"SINUTAB FORTE 500/60 MG COMP 20"},{value:"SINUTAB FORTE 500/60 MG COMP 20"}],quantity:{value:2},instructions:[{lang:h.FR,value:"productCode"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstruction:{text:"Posology free text"},isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{name:[{value:"unregisteredProduct"}],quantity:{value:1},instructions:[{lang:h.FR,value:"unregisteredProduct"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"28a8545b-7e79-4669-1956-67266e46b225",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstruction:{text:"Posology free text"},isPrescribed:!1}]},a9=(()=>{const t=class t{constructor(){this.demoService=C($te)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",$ae)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),r9=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Gae=(e,t)=>e.getEnvironmentVariable("env")===Aa.DEMO?t.get(a9):t.get(n9),Uae={provide:r9,useFactory:Gae,deps:[jo,rt]},i9=(()=>{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=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),If=(()=>{const t=class t extends fne{constructor(n,r){super(n.getServices(),j1.DELIVERED_MEDICATIONS,r.getInstance().isOfflineAuthenticated,r.getInstance().isOfflineDataStorageEnabled,"deliveredMedications_log"),this.deliveredMedicationsApiService=C(r9),this.authServiceSelector=C(vl),this.deliveredMedicationsStateSubject$=new fd({status:Ur.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return Et(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),r=this.deliveredMedicationsApiService.get(n);return GH(r)})}getDeliveredMedications(n=!0){return Et(this,null,function*(){return Wte(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(ee(i9),ee(vl))},t.ɵprov=B({token:t,factory:t.ɵfac});let e=t;return e})(),gs;function Wae(){if(gs===void 0&&(gs=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(gs=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return gs}function Ti(e){var t;return((t=Wae())==null?void 0:t.createHTML(e))||e}function Df(e){return Error(`Unable to find icon with the name "${e}"`)}function Zae(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Tf(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Nf(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var er=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}},Yae=(()=>{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 er(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){let l=this._sanitizer.sanitize(an.HTML,i);if(!l)throw Nf(i);let c=Ti(l);return this._addSvgIconConfig(n,r,new er("",c,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 er(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){let o=this._sanitizer.sanitize(an.HTML,r);if(!o)throw Nf(r);let l=Ti(o);return this._addSvgIconSetConfig(n,new er("",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(an.RESOURCE_URL,n);if(!r)throw Tf(n);let i=this._cachedIconsByUrl.get(r);return i?at(vs(i)):this._loadSvgIconFromConfig(new er(n,null)).pipe(eu(o=>this._cachedIconsByUrl.set(r,o)),Nt(o=>vs(o)))}getNamedSvgIcon(n,r=""){let i=Of(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):Og(Df(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?at(vs(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Nt(r=>vs(r)))}_getSvgFromIconSetConfigs(n,r){let i=this._extractIconWithNameFromAnySet(n,r);if(i)return at(i);let o=r.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(_d(c=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(an.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(u)),at(null)})));return Lg(o).pipe(Nt(()=>{let l=this._extractIconWithNameFromAnySet(n,r);if(!l)throw Df(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),c=this._extractSvgIconFromSet(l,n,o.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(eu(r=>n.svgText=r),Nt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?at(null):this._fetchIcon(n).pipe(eu(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 c=this._svgElementFromString(Ti("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,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(Ti("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:c}=i[o];l!=="id"&&r.setAttribute(l,c)}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 Zae();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let l=this._sanitizer.sanitize(an.RESOURCE_URL,r);if(!l)throw Tf(r);let c=this._inProgressUrlFetches.get(l);if(c)return c;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Nt(d=>Ti(d)),Vg(()=>this._inProgressUrlFetches.delete(l)),Bg());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(Of(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 Kae(o)?new er(o.url,null,o.options):new er(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(ee(gi,8),ee(hy),ee(Le,8),ee(An))}),s(t,"ɵprov",B({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function vs(e){return e.cloneNode(!0)}function Of(e,t){return e+":"+t}function Kae(e){return!!(e.url&&e.options)}var Xae=["*"],Qae=new K("MAT_ICON_DEFAULT_OPTIONS"),Jae=new K("mat-icon-location",{providedIn:"root",factory:ere});function ere(){let e=C(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var o9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tre=o9.map(e=>`[${e}]`).join(", "),nre=/^url\(['"]?#(.*?)['"]?\)$/,s9=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_iconRegistry",C(Yae));s(this,"_location",C(Jae));s(this,"_errorHandler",C(An));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",sn.EMPTY);let n=C(new j$("aria-hidden"),{optional:!0}),r=C(Qae,{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(tre),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)o9.forEach(l=>{let c=r[o],u=c.getAttribute(l),d=u?u.match(nre):null;if(d){let m=i.get(c);m||(m=[],i.set(c,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(on(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",ot({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(Ln("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),Ll(r.color?"mat-"+r.color:""),Rn("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",Mi],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Xae,decls:1,vars:0,template:function(n,r){n&1&&(fi(),Zn(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})();function l9(e){e||(Od(),e=C(br));let t=new tt(a=>e.onDestroy(a.next.bind(a)));return a=>a.pipe(mo(t))}var u9={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(u9);var are=u9,c9={"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(c9);var rre=c9,fn=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)},Or,Pi,ar,ire=class{constructor(...e){Or.set(this,new Map),Pi.set(this,new Map),ar.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()),fn(this,ar,"f").has(a)||fn(this,ar,"f").set(a,new Set);let r=fn(this,ar,"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&&fn(this,Pi,"f").set(a,o),i=!1,l)continue;let c=fn(this,Or,"f").get(o);if(c&&c!=a&&!t)throw new Error(`"${a} -> ${o}" conflicts with "${c} -> ${o}". Pass \`force=true\` to override this definition.`);fn(this,Or,"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:fn(this,Or,"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&&fn(this,Pi,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:fn(this,ar,"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 fn(this,ar,"f").values())Object.freeze(e);return this}_getTestState(){return{types:fn(this,Or,"f"),extensions:fn(this,Pi,"f")}}};Or=new WeakMap,Pi=new WeakMap,ar=new WeakMap;var ore=ire;new ore(rre,are)._freeze();var sre=(()=>{const t=class t{transform(n){return Gte(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=wr({name:"fullname",type:t,pure:!0});let e=t;return e})(),lre=(()=>{const t=class t{constructor(){this.ingredientLabelService=C(Xte),this.translate=C(Ca),this.destroyRef=C(br),this.cd=C(Oo),this.translate.onLangChange.pipe(l9(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=wr({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),ure=(()=>{const t=class t{constructor(){this.translate=C(Ca)}transform(n){return P1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=wr({name:"translateValue",type:t,pure:!0});let e=t;return e})(),cre=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=wr({name:"absolute",type:t,pure:!0});let e=t;return e})(),dre=e=>({count:e});function hre(e,t){if(e&1){let a=No();ae(0,"span",1),_e(1),Te(2,"translate"),re(),ae(3,"span",2)(4,"a",3),$a("click",function(n){ya(a);let r=Pe(2);return _a(r.onDownloadClick(n))}),ln(5,"mat-icon",4),_e(6),Te(7,"translate"),re()()}e&2&&(te(),We(Oe(2,2,"deliveredMedicationDetails.leaflet")),te(5),un(" ",Oe(7,4,"commons.downloadLeaflet")," "))}function pre(e,t){if(e&1&&(ae(0,"span",1),_e(1),Te(2,"translate"),re(),ae(3,"span",2),_e(4),Te(5,"translateValue"),re(),gt(6,hre,8,6)),e&2){let a=Pe();te(),We(Oe(2,3,"deliveredMedicationDetails.medication")),te(3),We(Oe(5,5,a.item().medication.name)),te(2),Mt(a.displayAllDetails()&&a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?6:-1)}}function mre(e,t){if(e&1&&(_e(0),Te(1,"ingredientLabel")),e&2){let a=t.$implicit;un(" ",Oe(1,1,a)," ")}}function fre(e,t){if(e&1&&(ae(0,"span",1)(1,"strong"),_e(2),Te(3,"translate"),re()(),ae(4,"span",2),xb(5,mre,2,3,null,null,tW),re()),e&2){let a=Pe();te(2),We(Oe(3,1,"deliveredMedicationsList.magisterialPreparation")),te(3),Eb(a.item().medication.ingredients)}}function gre(e,t){if(e&1&&(ae(0,"span",1),_e(1),Te(2,"translate"),re(),ae(3,"span",2),_e(4),Te(5,"date"),re()),e&2){let a=Pe(),n=Pe();te(),We(Oe(2,2,a<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),te(3),We(Nb(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function vre(e,t){if(e&1&&(ae(0,"span",1),_e(1),Te(2,"translate"),re(),ae(3,"span",2),_e(4),Te(5,"absolute"),Te(6,"absolute"),Te(7,"translate"),re(),gt(8,gre,6,7),ae(9,"span",1),_e(10),Te(11,"translate"),re()),e&2){let a=t,n=Pe();te(),We(Oe(2,5,a<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),te(3),yh("",Oe(5,7,a)," ",Nb(7,11,"deliveredMedicationDetails.package",kW(16,dre,Oe(6,9,a))),""),te(4),Mt(n.displayAllDetails()?8:-1),te(2),We(Oe(11,14,a<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function bre(e,t){if(e&1&&(_e(0),Te(1,"translateValue"),ln(2,"br"),_e(3)),e&2){let a=Pe();un(" ",Oe(1,2,t)," "),te(3),un(" ",a.item().pharmacy.nihdi," ")}}function yre(e,t){if(e&1&&(_e(0),Te(1,"translate")),e&2){let a=Pe();yh(" ",Oe(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",a.item().pharmacy.nihdi," ")}}function _re(e,t){if(e&1&&(ae(0,"span",1),_e(1),Te(2,"translate"),re(),ae(3,"span",2),_e(4),Te(5,"fullname"),re()),e&2){let a=Pe();te(),We(Oe(2,2,"deliveredMedicationDetails.patient")),te(3),We(Oe(5,4,a.item().person))}}var wre=(()=>{const t=class t{constructor(){this.translate=C(Ca),this.leafletService=C(Qte),this.item=Qe.required(),this.displayAllDetails=Qe(!1),this.isProfessional=Qe.required(),this.identifierType=rr}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=ot({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:24,vars:18,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,r){if(n&1&&(ae(0,"span",0),gt(1,pre,7,7)(2,fre,7,3),ae(3,"span",1),_e(4),Te(5,"translate"),re(),ae(6,"span",2),_e(7),re(),ae(8,"span",1),_e(9),Te(10,"translate"),re(),ae(11,"span",2),_e(12),Te(13,"translate"),re(),gt(14,vre,12,18),ae(15,"span",2),gt(16,bre,4,4)(17,yre,2,4),re(),gt(18,_re,6,6),ae(19,"span",1),_e(20),Te(21,"translate"),re(),ae(22,"span",2),_e(23),re()()),n&2){let i,o,l;te(),Mt(r.item().medication.name?1:2),te(3),We(Oe(5,10,"deliveredMedicationDetails.posologie")),te(3),We((i=r.item().dosageInstruction)==null?null:i.text),te(2),We(Oe(10,12,"deliveredMedicationDetails.is-prescribed.title")),te(3),We(Oe(13,14,"deliveredMedicationDetails.is-prescribed."+(r.item().isPrescribed?"yes":"no"))),te(2),Mt((o=(o=r.item().medication.quantity)==null?null:o.value)?14:-1,o),te(2),Mt((l=(l=r.item().pharmacy)==null?null:l.name)?16:17,l),te(2),Mt(r.displayAllDetails()&&!r.isProfessional()?18:-1),te(2),We(Oe(21,16,"deliveredMedicationDetails.dguid")),te(3),We(r.item().dguid)}},dependencies:[Po,ure,lre,jX,s9,YZ,sre,cre],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"]});let e=t;return e})();Gf(X7());var xre=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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&&(ae(0,"h2",0),_e(1),Te(2,"translate"),re(),ae(3,"mat-dialog-content")(4,"p")(5,"span"),_e(6),Te(7,"translate"),re()(),ae(8,"p")(9,"span"),_e(10),Te(11,"translate"),re(),ae(12,"a",1),Te(13,"translate"),_e(14),Te(15,"translate"),re(),_e(16,"."),re()(),ae(17,"mat-dialog-actions")(18,"button",2),_e(19),Te(20,"translate"),re(),ae(21,"button",3),_e(22),Te(23,"translate"),re()()),n&2&&(te(),We(Oe(2,9,"commons.errors.report-message-title")),te(5),We(Oe(7,11,"commons.errors.report-message-explanation")),te(4),We(Oe(11,13,"commons.errors.report-message-content")),te(2),Yt("href",Oe(13,15,"commons.errors.report-message-link"),YG),te(2),We(Oe(15,17,"commons.errors.report-message-term-use")),te(4),Yt("mat-dialog-close",!0),te(),un(" ",Oe(20,19,"commons.errors.report-message-report-button")," "),te(2),Yt("mat-dialog-close",!1),te(),un(" ",Oe(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[Uy,By,Hy,$y,qy,Ky,ql,Po],encapsulation:2});let e=t;return e})(),Ere=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(jy)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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&&(ae(0,"h2",0),_e(1),Te(2,"translate"),re(),ae(3,"mat-dialog-content")(4,"p")(5,"span"),_e(6),Te(7,"translate"),re()()(),ae(8,"mat-dialog-actions")(9,"button",1),_e(10),Te(11,"translate"),re()()),n&2&&(te(),We(Oe(2,4,"commons.errors.action-not-authorized-title")),te(5),We(Oe(7,6,"commons.errors."+r.vidisErrorCode)),te(3),Yt("mat-dialog-close",!1),te(),un(" ",Oe(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[Uy,By,Hy,$y,qy,Ky,ql,Po],encapsulation:2});let e=t;return e})();function Mf(e,t,a){let n=D1(),r=Cre(e,a.timeZone,a.locale??n.locale);return"formatToParts"in r?Sre(r,t):kre(r,t)}function Sre(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 kre(e,t){let a=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function Cre(e,t,a){return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Ire(e,t){let a=Mre(t);return"formatToParts"in a?Tre(a,e):Nre(a,e)}var Dre={year:0,month:1,day:2,hour:3,minute:4,second:5};function Tre(e,t){try{let a=e.formatToParts(t),n=[];for(let r=0;r<a.length;r++){let i=Dre[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 Nre(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 $u={},Rf=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")),Ore=Rf==="06/25/2014, 00:00:00"||Rf==="06/25/2014 00:00:00";function Mre(e){return $u[e]||($u[e]=Ore?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"})),$u[e]}function d9(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 Af=36e5,Rre=6e4,Gu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function h9(e,t,a){if(!e)return 0;let n=Gu.timezoneZ.exec(e);if(n)return 0;let r,i;if(n=Gu.timezoneHH.exec(e),n)return r=parseInt(n[1],10),Pf(r)?-(r*Af):NaN;if(n=Gu.timezoneHHMM.exec(e),n){r=parseInt(n[2],10);let o=parseInt(n[3],10);return Pf(r,o)?(i=Math.abs(r)*Af+o*Rre,n[1]==="+"?-i:i):NaN}if(Lre(e)){t=new Date(t||Date.now());let o=a?t:Are(t),l=id(o,e);return-(a?l:Pre(t,l,e))}return NaN}function Are(e){return d9(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function id(e,t){let a=Ire(e,t),n=d9(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 Pre(e,t,a){let n=e.getTime()-t,r=id(new Date(n),a);if(t===r)return t;n-=r-t;let i=id(new Date(n),a);return r===i?r:Math.max(r,i)}function Pf(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Lf={};function Lre(e){if(Lf[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Lf[e]=!0,!0}catch{return!1}}var Fre=60*1e3,jre={X:function(e,t,a){let n=Uu(a.timeZone,e);if(n===0)return"Z";switch(t){case"X":return Ff(n);case"XXXX":case"XX":return Mr(n);case"XXXXX":case"XXX":default:return Mr(n,":")}},x:function(e,t,a){let n=Uu(a.timeZone,e);switch(t){case"x":return Ff(n);case"xxxx":case"xx":return Mr(n);case"xxxxx":case"xxx":default:return Mr(n,":")}},O:function(e,t,a){let n=Uu(a.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Vre(n,":");case"OOOO":default:return"GMT"+Mr(n,":")}},z:function(e,t,a){switch(t){case"z":case"zz":case"zzz":return Mf("short",e,a);case"zzzz":default:return Mf("long",e,a)}}};function Uu(e,t){let a=e?h9(e,t,!0)/Fre:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(a))throw new RangeError("Invalid time zone specified: "+e);return a}function yl(e,t){let a=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return a+n}function Mr(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=yl(Math.floor(n/60),2),i=yl(Math.floor(n%60),2);return a+r+t+i}function Ff(e,t){return e%60===0?(e>0?"-":"+")+yl(Math.abs(e)/60,2):Mr(e,t)}function Vre(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+yl(i,2)}function jf(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 Bre=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Wu=36e5,Vf=6e4,zre=2,qt={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:Bre};function Hre(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?zre: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=qre(e),{year:r,restDateString:i}=$re(n.date,a),o=Gre(i,r);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),c=0,u;if(n.time&&(c=Ure(n.time),c===null||isNaN(c)))return new Date(NaN);if(n.timeZone||t.timeZone){if(u=h9(n.timeZone||t.timeZone,new Date(l+c)),isNaN(u))return new Date(NaN)}else u=jf(new Date(l+c)),u=jf(new Date(l+c+u));return new Date(l+c+u)}else return new Date(NaN)}function qre(e){let t={},a=qt.dateTimePattern.exec(e),n;if(a?(t.date=a[1],n=a[3]):(a=qt.datePattern.exec(e),a?(t.date=a[1],n=a[2]):(t.date=null,n=e)),n){let r=qt.timeZone.exec(n);r?(t.time=n.replace(r[1],""),t.timeZone=r[1].trim()):t.time=n}return t}function $re(e,t){if(e){let a=qt.YYY[t],n=qt.YYYYY[t],r=qt.YYYY.exec(e)||n.exec(e);if(r){let i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=qt.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 Gre(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=qt.MM.exec(e);if(i)return a=new Date(0),n=parseInt(i[1],10)-1,zf(t,n)?(a.setUTCFullYear(t,n),a):new Date(NaN);if(i=qt.DDD.exec(e),i){a=new Date(0);let o=parseInt(i[1],10);return Yre(t,o)?(a.setUTCFullYear(t,0,o),a):new Date(NaN)}if(i=qt.MMDD.exec(e),i){a=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return zf(t,n,o)?(a.setUTCFullYear(t,n,o),a):new Date(NaN)}if(i=qt.Www.exec(e),i)return r=parseInt(i[1],10)-1,Hf(r)?Bf(t,r):new Date(NaN);if(i=qt.WwwD.exec(e),i){r=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return Hf(r,o)?Bf(t,r,o):new Date(NaN)}return null}function Ure(e){let t,a,n=qt.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Zu(t)?t%24*Wu:NaN;if(n=qt.HHMM.exec(e),n)return t=parseInt(n[1],10),a=parseFloat(n[2].replace(",",".")),Zu(t,a)?t%24*Wu+a*Vf:NaN;if(n=qt.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);let r=parseFloat(n[3].replace(",","."));return Zu(t,a,r)?t%24*Wu+a*Vf+r*1e3:NaN}return null}function Bf(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 Wre=[31,28,31,30,31,30,31,31,30,31,30,31],Zre=[31,29,31,30,31,30,31,31,30,31,30,31];function p9(e){return e%400===0||e%4===0&&e%100!==0}function zf(e,t,a){if(t<0||t>11)return!1;if(a!=null){if(a<1)return!1;let n=p9(e);if(n&&a>Zre[t]||!n&&a>Wre[t])return!1}return!0}function Yre(e,t){if(t<1)return!1;let a=p9(e);return!(a&&t>366||!a&&t>365)}function Hf(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Zu(e,t,a){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||a!=null&&(a<0||a>=60))}var Kre=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Xre(e,t,a={}){t=String(t);let n=t.match(Kre);if(n){let r=Hre(a.originalDate||e,a);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),c=i[l-1]==="'",u=i.replace(o,"'"+jre[o[0]](r,o,a)+"'");return c?u.substring(0,l-1)+u.substring(l+1):u},t)}return I1(e,t,a)}var Qre=(()=>{const t=class t{reportError(n){return at({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Jre=(()=>{const t=class t{constructor(){this.http=C(gi)}reportError(n){return this.http.post("/v2/report/error",n)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),eie=(()=>{const t=class t{constructor(){this.config=C(jo),this.injector=C(rt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Qre):this.injector.get(Jre)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=B({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),tie=(()=>{const t=class t extends mne{constructor(){super(...arguments),this.version=rd,this.authServiceSelector=C(vl),this.translateService=C(Ca),this.webComponentConfig=C(jo),this.injector=C(rt),this.servicesStore=C(i9),this.matDialog=C(Hl),this.destroyRef=C(br),this.errorServiceSelector=C(eie),this.snackbarService=C(F1),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Et(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.authServiceSelector.getInstance().registerAccessToken(this.services.getAccessToken),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().isOfflineDataStorageEnabled=this.offlineDataStorageEnabled,this.authServiceSelector.getInstance().isOfflineAuthenticated=this.isOfflineAuthenticated,this.servicesStore.setServices(this.services),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(n=>Et(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)===va.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===va.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(xre,{data:{error:n}}).beforeClosed().pipe(ma(r=>r),l9(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(Ere,{data:n})}formatDateWithZone(){return Xre(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Jt(t)))(r||t)}})(),t.ɵcmp=ot({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[En],decls:0,vars:0,template:function(n,r){},encapsulation:2});let e=t;return e})(),nie=[[["","alert-details",""]]],aie=["[alert-details]"];function rie(e,t){if(e&1&&(ae(0,"h2"),_e(1),re()),e&2){let a=Pe();te(),un(" ",a.alertTitle()," ")}}function iie(e,t){if(e&1){let a=No();ae(0,"button",7),$a("click",function(){ya(a);let n=Pe(2);return _a(n.onActionButtonClicked())}),_e(1),re()}if(e&2){let a=Pe(2);Yt("disabled",a.buttonDisabled()),te(),un(" ",a.buttonLabel()," ")}}function oie(e,t){if(e&1&&(ae(0,"span",5),Zn(1),re(),gt(2,iie,2,2,"button",6)),e&2){let a=Pe();te(2),Mt(a.actionButton()?2:-1)}}function sie(e,t){if(e&1){let a=No();ae(0,"mat-icon",8),$a("click",function(){ya(a);let n=Pe();return _a(n.onCloseButtonClick())})("keydown.enter",function(){ya(a);let n=Pe();return _a(n.onCloseButtonClick())})("keydown.space",function(){ya(a);let n=Pe();return _a(n.onCloseButtonClick())}),re()}if(e&2){let a=Pe();Ln("aria-label",a.closeButtonAriaLabel())}}function lie(e,t){if(e&1){let a=No();ae(0,"mat-icon",9),$a("click",function(){ya(a);let n=Pe();return _a(n.toggleExpanded())})("keydown.enter",function(){ya(a);let n=Pe();return _a(n.toggleExpanded())})("keydown.space",function(){ya(a);let n=Pe();return _a(n.toggleExpanded())}),re()}if(e&2){let a=Pe();Yt("fontIcon",a.expanded()?"remove":"add"),Ln("aria-label",a.currentExpandIconAriaLabel)}}var uie=(()=>{const t=class t{constructor(){s(this,"usage",Qe("info"));s(this,"backgroundColor",Qe("color"));s(this,"alertTitle",Qe());s(this,"actionButton",Qe(!1));s(this,"buttonDisabled",Qe(!1));s(this,"buttonLabel",Qe());s(this,"dismissMode",Qe("pinned"));s(this,"closeButtonAriaLabel",Qe(""));s(this,"startExpanded",Qe(!1));s(this,"expandedButtonAriaLabel",Qe(""));s(this,"collapsedButtonAriaLabel",Qe(""));s(this,"closeButtonClicked",Pp());s(this,"actionButtonClicked",Pp());s(this,"expanded",XW(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",rl(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",rl(()=>({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",ot({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],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:aie,decls:7,vars:8,consts:[["role","alert","aria-live","assertive"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],["type","button","tabindex","0",1,"top-right-icon",3,"fontIcon"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],["type","button","tabindex","0",1,"top-right-icon",3,"click","keydown.enter","keydown.space","fontIcon"]],template:function(n,r){n&1&&(fi(nie),ae(0,"div",0),ln(1,"mat-icon",1),ae(2,"div",2),gt(3,rie,2,1,"h2")(4,oie,3,1),re(),gt(5,sie,1,1,"mat-icon",3)(6,lie,1,2,"mat-icon",4),re()),n&2&&(Ll(r.usage()),Rn("white",r.backgroundColor()==="white"),te(),Yt("fontIcon",r.fontIcon()),te(2),Mt(r.alertTitle()?3:-1),te(),Mt(r.dismissMode()!=="expandable"||r.expanded()?4:-1),te(),Mt(r.dismissMode()==="closable"?5:r.dismissMode()==="expandable"?6:-1))},dependencies:[qb,s9,ql],styles:[".info[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2f7fd}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;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;color:#1d5caf;margin:0}.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;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2fcf8}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;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;color:#1d8657;margin:0}.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;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d8657}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#ffeee0}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;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;color:#662e00;margin:0}.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;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#662e00}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#fff6f5}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;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;color:#c41c0d;margin:0}.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;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f5f5f5}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%] mat-icon.close[_ngcontent-%COMP%]{color:#0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function cie(e,t){if(e&1&&(ae(0,"mh-alert",0),Te(1,"translate"),ae(2,"div",1),_e(3),Te(4,"translate"),re()()),e&2){let a=Pe();Yt("alertTitle",Oe(1,2,"commons.errors.data-not-available-title")),te(3),We(Oe(4,4,"commons.errors."+a.error().code))}}var die=(()=>{const t=class t{constructor(){this.error=Qe.required(),this.vidisErrorGroup=va}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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&>(0,cie,5,6,"mh-alert",0),n&2&&Mt(r.error().group===r.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[Po,uie],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})(),hie=["*"],pie=new K("MAT_CARD_CONFIG"),mie=(()=>{const t=class t{constructor(){s(this,"appearance");let n=C(pie,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,r){n&2&&Rn("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:hie,decls:1,vars:0,template:function(n,r){n&1&&(fi(),Zn(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}
|
|
38
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),fie=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ut({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),gie=["*"],vie=(e,t,a,n,r)=>({"custom-content":e,circle:t,progress:a,"progress-dark":n,pulse:r});function bie(e,t){e&1&&Zn(0)}function yie(e,t){if(e&1&&(ae(0,"div",0),gt(1,bie,1,0),re()),e&2){let a=Pe(),n=um(0),r=um(1);Yt("ngClass",CW(5,vie,n==="custom-content",n==="circle",r==="progress",r==="progress-dark",r==="pulse"))("ngStyle",a.styles()),Ln("aria-label",a.ariaLabel())("aria-valuetext",a.loadingText()),te(),Mt(n==="custom-content"?1:-1)}}var m9=new K("ngx-skeleton-loader.config"),_ie=(()=>{var t;const a=class a{constructor(){up(this,t);var r,i,o,l,c,u;cp(this,t,C(m9,{optional:!0})),this.count=Qe(((r=da(this,t))==null?void 0:r.count)||1,{transform:Rb}),this.loadingText=Qe(((i=da(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Qe(((o=da(this,t))==null?void 0:o.appearance)||"line"),this.animation=Qe(((l=da(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Qe(((c=da(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Qe(((u=da(this,t))==null?void 0:u.theme)||null),this.items=rl(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&qW(),[...Array(d)].map((m,b)=>b)}),this.styles=rl(()=>{var m,b,g;let d=this.theme();return(b=(m=da(this,t))==null?void 0:m.theme)!=null&&b.extendsFromRoot?se(se({},(g=da(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,a.ɵfac=function(r){return new(r||a)},a.ɵcmp=ot({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:gie,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&&(fi(),Cb(0)(1),xb(2,yie,2,11,"div",0,nW)),r&2&&(lm(i.appearance()),te(),lm(i.animation()),te(),Eb(i.items()))},dependencies:[VZ,BZ],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})(),wie=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:m9,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=en({type:t}),t.ɵinj=Xt({imports:[qb]});let e=t;return e})(),xie=()=>({width:"40%",height:"20px"});function Eie(e,t){e&1&&ln(0,"ngx-skeleton-loader",0),e&2&&Yt("theme",SW(1,xie))}function Sie(e,t){if(e&1&&ln(0,"vidis-delivered-medication-details-row",1),e&2){let a=Pe();Yt("item",a.item())("displayAllDetails",!0)("isProfessional",a.isProfessional())}}function kie(e,t){e&1&&(ae(0,"div",2)(1,"h3"),_e(2),Te(3,"translate"),re()()),e&2&&(te(2),We(Oe(3,1,"deliveredMedicationDetails.noDetails")))}var Cie=(()=>{const t=class t{constructor(){this.item=Qe.required(),this.isLoading=Qe.required(),this.isProfessional=Qe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({type:t,selectors:[["vidis-delivered-medication-details-card"]],inputs:{item:[1,"item"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:5,vars:1,consts:[["count","8","appearance","line",3,"theme"],[3,"item","displayAllDetails","isProfessional"],[1,"center"]],template:function(n,r){n&1&&(ae(0,"mat-card")(1,"mat-card-content"),gt(2,Eie,1,2,"ngx-skeleton-loader",0)(3,Sie,1,3,"vidis-delivered-medication-details-row",1)(4,kie,4,3,"div",2),re()()),n&2&&(te(2),Mt(r.isLoading()?2:r.item()?3:4))},dependencies:[mie,fie,Po,wie,_ie,wre],encapsulation:2});let e=t;return e})();function Iie(e,t){e&1&&(ae(0,"div"),_e(1,"Component not properly initialized!"),re())}function Die(e,t){if(e&1&&ln(0,"vidis-status-message",0),e&2){let a=Pe();Yt("error",a.error)}}function Tie(e,t){if(e&1&&ln(0,"vidis-delivered-medication-details-card",1),e&2){let a=Pe(),n=Pe(2);Yt("item",a.data)("isLoading",a.status===n.loadingStatus.LOADING)("isProfessional",n.professional)}}function Nie(e,t){if(e&1&>(0,Die,1,1,"vidis-status-message",0)(1,Tie,1,3,"vidis-delivered-medication-details-card",1),e&2){let a=Pe(2);Mt(t.status===a.loadingStatus.ERROR?0:1)}}function Oie(e,t){if(e&1&&(gt(0,Nie,2,1),Te(1,"async")),e&2){let a,n=Pe();Mt((a=Oe(1,1,n.deliveredMedicationsState$))?0:-1,a)}}var Mie=(()=>{const t=class t extends tie{constructor(){super(...arguments),this.extraRequiredFields=["dguid","professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated"],this.loadingStatus=Ur}fetchData(n){return Et(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(!1)})}injectService(){this.deliveredMedicationsService=this.injector.get(If),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$.pipe(Nt(n=>{var r;return Gt(se({},n),{data:(r=n.data)==null?void 0:r.items.find(i=>i.dguid===this.dguid)})})),this.deliveredMedicationsState$.subscribe(n=>{this.checkError(n.error)})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Jt(t)))(r||t)}})(),t.ɵcmp=ot({type:t,selectors:[["ng-component"]],inputs:{dguid:"dguid"},features:[EW([If,n9,a9,Uae]),En],decls:2,vars:1,consts:[[3,"error"],[3,"item","isLoading","isProfessional"]],template:function(n,r){n&1&>(0,Iie,2,0,"div")(1,Oie,2,3),n&2&&Mt(r.isCorrectlySetup()?1:0)},dependencies:[GZ,Cie,die],encapsulation:2,changeDetection:0});let e=t;return e})();mY({providers:[qae]}).then(e=>{let t=cZ(Mie,{injector:e.injector});customElements.define("vidis-delivered-medication-detail",t)}).catch(e=>console.error(e));
|