@smals-belgium-shared/vidis-medication-scheme-detail 3.4.4-snapshot.6 → 3.4.4-snapshot.9

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.
@@ -1,42 +0,0 @@
1
- var rre=Object.defineProperty;var bm=e=>{throw TypeError(e)};var ore=(e,t,i)=>t in e?rre(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var s=(e,t,i)=>ore(e,typeof t!="symbol"?t+"":t,i),_m=(e,t,i)=>t.has(e)||bm("Cannot "+i);var ji=(e,t,i)=>(_m(e,t,"read from private field"),i?i.call(e):t.get(e)),xm=(e,t,i)=>t.has(e)?bm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),wm=(e,t,i,n)=>(_m(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i);var sre=Object.create,cc=Object.defineProperty,lre=Object.defineProperties,cre=Object.getOwnPropertyDescriptor,ure=Object.getOwnPropertyDescriptors,dre=Object.getOwnPropertyNames,Cl=Object.getOwnPropertySymbols,hre=Object.getPrototypeOf,uh=Object.prototype.hasOwnProperty,l0=Object.prototype.propertyIsEnumerable,Em=(e,t,i)=>t in e?cc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ue=(e,t)=>{for(var i in t||(t={}))uh.call(t,i)&&Em(e,i,t[i]);if(Cl)for(var i of Cl(t))l0.call(t,i)&&Em(e,i,t[i]);return e},yt=(e,t)=>lre(e,ure(t)),c0=(e,t)=>{var i={};for(var n in e)uh.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&Cl)for(var n of Cl(e))t.indexOf(n)<0&&l0.call(e,n)&&(i[n]=e[n]);return i},me=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),K=(e,t)=>{for(var i in t)cc(e,i,{get:t[i],enumerable:!0})},pre=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of dre(t))!uh.call(e,a)&&a!==i&&cc(e,a,{get:()=>t[a],enumerable:!(n=cre(t,a))||n.enumerable});return e},u0=(e,t,i)=>(i=e!=null?sre(hre(e)):{},pre(t||!e||!e.__esModule?cc(i,"default",{value:e,enumerable:!0}):i,e)),Pt=(e,t,i)=>new Promise((n,a)=>{var r=u=>{try{l(i.next(u))}catch(c){a(c)}},o=u=>{try{l(i.throw(u))}catch(c){a(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(r,o);l((i=i.apply(e,t)).next())}),mre=me((e,t)=>{(function(i,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(i=typeof globalThis<"u"?globalThis:i||self,i.MessageFormat=n())})(e,function(){var i=function(){return i=Object.assign||function(p){for(var f,y=1,b=arguments.length;y<b;y++){f=arguments[y];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},i.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,y=f&&p[f],b=0;if(y)return y.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&b>=p.length&&(p=void 0),{value:p&&p[b++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var y=typeof Symbol=="function"&&p[Symbol.iterator];if(!y)return p;var b=y.call(p),_,E=[],k;try{for(;(f===void 0||f-- >0)&&!(_=b.next()).done;)E.push(_.value)}catch(D){k={error:D}}finally{try{_&&!_.done&&(y=b.return)&&y.call(b)}finally{if(k)throw k.error}}return E}function r(p,f,y){if(arguments.length===2)for(var b=0,_=f.length,E;b<_;b++)(E||!(b in f))&&(E||(E=Array.prototype.slice.call(f,0,b)),E[b]=f[b]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,y,b){super(f),this.token=y,this.type=b||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",u=p=>p%2===0?"2-digit":"numeric";function c(p,f){switch(p.char){case"y":return{year:u(p.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${p.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function h(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:y,desc:b,width:_}=p;if(y==="d")return u(_);f(`${b} is not supported`)}function v(p,f){let{char:y,desc:b,width:_}=p;if((y==="c"||y==="e")&&_<3){let E=`Numeric value is not supported for ${b}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=u(p.width),y;switch(p.char){case"h":y="h12";break;case"H":y="h23";break;case"k":y="h24";break;case"K":y="h11";break}return y?{hour:f,hourCycle:y}:{hour:f}}function x(p,f){let{char:y,desc:b,width:_}=p;switch(y){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${b} is not supported with width ${_}`);return;case"X":f(`${b} is not supported`);return}return"short"}function w(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return c(p,f);case"month":return{month:h(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:v(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:u(p.width)};case"sec":return{second:u(p.width)};case"tz":return{timeZoneName:x(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function S(p,f){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},b={timeZone:f},_=[];for(let E of p){let{error:k,field:D,str:P}=E;if(k){let de=new o(k.message,E);de.stack=k.stack,y(de)}if(P){let de=`Ignoring string part: ${P}`;y(new o(de,E,o.WARNING))}D&&(_.indexOf(D)===-1?_.push(D):y(new o(`Duplicate ${D} token`,E)));let B=w(E,(de,xe)=>y(new o(de,E,xe)));B&&Object.assign(b,B)}return b}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"}},L=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function N(p,f){let y=p[f],b=1;for(;p[++f]===y;)++b;let _=T[y];if(!_){let E=`The letter ${y} is not a valid field identifier`;return{char:y,error:new Error(E),width:b}}return{char:y,field:_.field,desc:_.desc,width:b}}function re(p,f){let y=p[++f],b=2;if(y==="'")return{char:"'",str:y,width:b};for(;;){let _=p[++f];if(++b,_===void 0){let E=`Unterminated quoted literal in pattern: ${y||p}`;return{char:"'",error:new Error(E),str:y,width:b}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:y,width:b};++b}y+=_}}function ve(p,f){let y=p[f];if(!y)return null;if(L(y))return N(p,f);if(y==="'")return re(p,f);let b=y,_=1;for(;;){let E=p[++f];if(!E||L(E)||E==="'")return{char:y,str:b,width:_};b+=E,_+=1}}function ke(p){let f=[],y=0;for(;;){let b=ve(p,y);if(!b)return f;f.push(b),y+=b.width}}function Lt(p,f,y,b){typeof f=="string"&&(f=ke(f)),typeof y=="function"&&(b=y,y=void 0);let _=S(f,y,b),E=new Intl.DateTimeFormat(p,_);return k=>E.format(k)}function xt(p,f,y,b){typeof f=="string"&&(f=ke(f)),typeof y=="function"&&(b=y,y=void 0);let _=S(f,y,b);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 Qe extends Error{constructor(f,y){super(y),this.code=f}}class It extends Qe{constructor(f,y){super("BAD_OPTION",`Unknown ${f} option: ${y}`),this.stem=f,this.option=y}}class ie extends Qe{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class J extends Qe{constructor(f,y){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=y}}class Ie extends Qe{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class j extends Qe{constructor(f,y){super("BAD_PATTERN",y),this.char=f}}class H extends Qe{constructor(f,y,b){let _=b>1?`${b} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${y.length})`),this.stem=f,this.options=y}}function te(p,f){let{numberingSystem:y}=f;return Array.isArray(p)||(p=[p]),y?p.map(b=>{let _=b.indexOf("-u-")===-1?"u-nu":"nu";return`${b}-${_}-${y}`}).concat(p):p}function Ne(p,f){let y=+p+f/2;return y-y%+f}function Je(p){let{scale:f,unit:y}=p,b=typeof f=="number"&&f>=0?f:1;return y&&y.style==="percent"&&(b*=.01),b}function Zt(p){let f=Je(p),{precision:y}=p;return y&&y.style==="precision-increment"?b=>Ne(b,y.increment)*f:b=>b*f}function Fe(p){let f=Je(p),{precision:y}=p;if(y&&y.style==="precision-increment"){let b=`+n + ${y.increment/2}`,_=`x - (x % +${y.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${b}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Be(p,f){let{decimal:y,group:b,integerWidth:_,notation:E,precision:k,roundingMode:D,sign:P,unit:B,unitPer:de,unitWidth:xe}=p,Ae=(tt,wt)=>{},ne={};if(B)switch(B.style){case"base-unit":ne.style="decimal";break;case"currency":ne.style="currency",ne.currency=B.currency;break;case"measure-unit":ne.style="unit",ne.unit=B.unit.replace(/.*-/,""),de&&(ne.unit+="-per-"+de.replace(/.*-/,""));break;case"percent":ne.style="percent";break}switch(xe){case"unit-width-full-name":ne.currencyDisplay="name",ne.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":ne.currencyDisplay="code";break;case"unit-width-narrow":ne.currencyDisplay="narrowSymbol",ne.unitDisplay="narrow";break;case"unit-width-short":ne.currencyDisplay="symbol",ne.unitDisplay="short";break}switch(b){case"group-off":ne.useGrouping=!1;break;case"group-auto":ne.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":ne.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:tt,maxFraction:wt,minSignificant:jt,maxSignificant:on,source:qn}=k;typeof tt=="number"&&(ne.minimumFractionDigits=tt,typeof jt=="number"&&Ae()),typeof wt=="number"&&(ne.maximumFractionDigits=wt),typeof jt=="number"&&(ne.minimumSignificantDigits=jt),typeof on=="number"&&(ne.maximumSignificantDigits=on);break}case"precision-integer":ne.maximumFractionDigits=0;break;case"precision-unlimited":ne.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":ne.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":Ae(k.style);break}if(E)switch(E.style){case"compact-short":ne.notation="compact",ne.compactDisplay="short";break;case"compact-long":ne.notation="compact",ne.compactDisplay="long";break;case"notation-simple":ne.notation="standard";break;case"scientific":case"engineering":{let{expDigits:tt,expSign:wt,source:jt,style:on}=E;ne.notation=on;break}}if(_){let{min:tt,max:wt,source:jt}=_;if(tt>0&&(ne.minimumIntegerDigits=tt),Number(wt)>0){let on=ne.notation==="engineering"||ne.notation==="scientific";wt===3&&on?ne.notation="engineering":Ae()}}switch(P){case"sign-auto":ne.signDisplay="auto";break;case"sign-always":ne.signDisplay="always";break;case"sign-except-zero":ne.signDisplay="exceptZero";break;case"sign-never":ne.signDisplay="never";break;case"sign-accounting":ne.currencySign="accounting";break;case"sign-accounting-always":ne.currencySign="accounting",ne.signDisplay="always";break;case"sign-accounting-except-zero":ne.currencySign="accounting",ne.signDisplay="exceptZero";break}return ne}function lt(p,f,y){let b=p[f];switch(b){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:b,currency:"default",width:_};case 2:return{char:b,currency:"iso-code",width:_};case 3:return{char:b,currency:"full-name",width:_};case 5:return{char:b,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return y(new j("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:b,pad:_,width:2};break}case"+":case"-":return{char:b,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:b,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let D=`Unterminated quoted literal in pattern: ${_}`;return y(new j("'",D)),{char:b,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:b,str:_,width:E};++E}_+=k}}}return null}let Wn=p=>p>="0"&&p<="9";function et(p,f){let y=p[f];if(Wn(y)){let b=y;for(;;){let _=p[++f];if(Wn(_))b+=_;else return{char:"0",digits:b,width:b.length}}}switch(y){case"#":{let b=1;for(;p[++f]==="#";)++b;return{char:y,width:b}}case"@":{let b=1;for(;p[++f]==="@";)++b;let _=b;for(f-=1;p[++f]==="#";)++_;return{char:y,min:b,width:_}}case"E":{let b=p[f+1]==="+";b&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(b?2:1)+_;if(_)return{char:y,expDigits:_,plus:b,width:E};break}case".":case",":return{char:y,width:1}}return null}function Kt(p,f,y){let b;(function(B){B[B.Prefix=0]="Prefix",B[B.Number=1]="Number",B[B.Suffix=2]="Suffix"})(b||(b={}));let _=[],E=[],k=[],D=b.Prefix,P="";for(;f<p.length;){let B=p[f];if(B===";"){f+=1;break}switch(D){case b.Prefix:{let de=lt(p,f,y);if(de)P&&(_.push({char:"'",str:P,width:P.length}),P=""),_.push(de),f+=de.width;else{let xe=et(p,f);xe?(P&&(_.push({char:"'",str:P,width:P.length}),P=""),D=b.Number,E.push(xe),f+=xe.width):(P+=B,f+=1)}break}case b.Number:{let de=et(p,f);de?(E.push(de),f+=de.width):D=b.Suffix;break}case b.Suffix:{let de=lt(p,f,y);de?(P&&(k.push({char:"'",str:P,width:P.length}),P=""),k.push(de),f+=de.width):(P+=B,f+=1);break}}}return P&&k.push({char:"'",str:P,width:P.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function Ft(p,f){let{pattern:y,pos:b}=Kt(p,0,f);if(b<p.length){let{pattern:_}=Kt(p,b,f);return{tokens:y,negative:_}}return{tokens:y}}function ci(p,f){let y={},b=!1,_=!1,E=0,k="",D=-1,P="",B=0;for(let xe=0;xe<p.length;++xe){let Ae=p[xe];switch(Ae.char){case"#":{if(D===-1){if(k){let ne="Pattern has # after integer digits";f(new j("#",ne))}E+=Ae.width}else B+=Ae.width;break}case"0":{if(D===-1)k+=Ae.digits;else{if(B){let ne="Pattern has digits after # in fraction";f(new j("0",ne))}P+=Ae.digits}break}case"@":{y.precision&&f(new J("precision",y.precision)),y.precision={style:"precision-fraction",minSignificant:Ae.min,maxSignificant:Ae.width};break}case",":b=!0;break;case".":if(D===1){let ne="Pattern has more than one decimal separator";f(new j(".",ne))}D=xe;break;case"E":{if(_&&f(new J("exponent",y.notation)),b){let ne="Exponential patterns may not contain grouping separators";f(new j("E",ne))}y.notation={style:"scientific"},Ae.expDigits>1&&(y.notation.expDigits=Ae.expDigits),Ae.plus&&(y.notation.expSign="sign-always"),_=!0}}}b?y.group="group-auto":E+k.length>3&&(y.group="group-off");let de=+`${k||"0"}.${P}`;if(de&&(y.precision={style:"precision-increment",increment:de}),!_)k.length>1&&(y.integerWidth={min:k.length}),!y.precision&&(P.length||B)&&(y.precision={style:"precision-fraction",minFraction:P.length,maxFraction:P.length+B});else if((!y.precision||de)&&(y.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),y.precision)de||(y.integerWidth={min:1,max:1});else{let xe=k.length+P.length;D===-1?xe>0&&(y.precision={style:"precision-fraction",maxSignificant:xe}):(y.precision={style:"precision-fraction",maxSignificant:Math.max(1,xe)+B},xe>1&&(y.precision.minSignificant=xe))}return y}function ta(p,f,y,b,_){let E=!1,k="";for(let D of p)switch(D.char){case"%":f.unit={style:D.style},_?E=!0:k="";break;case"¤":if(!y){let P="The ¤ pattern requires a currency";b(new j("¤",P));break}switch(f.unit={style:"currency",currency:y},D.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+=D.str);break}return k}function Os(p,f){let y=!1,b="";for(let _ of p)switch(_.char){case"%":case"¤":f?y=!0:b="";break;case"-":y||(b+="-");break;case"'":y||(b+=_.str);break}return b}function Ps(p,f){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:P=>{throw P},{tokens:b,negative:_}=Ft(p,y),E=ci(b.number,y),k=ta(b.prefix,E,f,y,!0),D=ta(b.suffix,E,f,y,!1);if(_){let P=Os(_.prefix,!0),B=Os(_.suffix,!1);E.affix={pos:[k,D],neg:[P,B]},E.sign="sign-never"}else(k||D)&&(E.affix={pos:[k,D]});return E}function vae(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 sm(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[y]=p.split("-",1);return f.indexOf(y)!==-1}let lm={"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},cm={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function yae(p){return p in lm}function bae(p){return p in cm}function _ae(p,f,y){if(yae(p)){let b=lm[p];if(f.length>b){if(b===0)for(let _ of f)y(new It(p,_));else y(new H(p,f,b));return!1}else if(bae(p)&&f.length<cm[p])return y(new Ie(p)),!1}return!0}function Zc(p,f){let y=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,b=p&&p.match(y);if(b){let _=b[1].length;switch(b[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+b[2].length}}}return null}function xae(p,f,y){let b=Zc(p,"fraction");if(b){f.length>1&&y(new H(p,f,1));let E={style:"precision-fraction",source:p,minFraction:b.min};b.max!=null&&(E.maxFraction=b.max);let k=f[0],D=Zc(k,"significant");return D?(E.source=`${p}/${k}`,E.minSignificant=D.min,D.max!=null&&(E.maxSignificant=D.max)):k&&y(new It(p,k)),E}let _=Zc(p,"significant");if(_){for(let k of f)y(new It(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class wae{constructor(f){this.skeleton={},this.onError=f}badOption(f,y){this.onError(new It(f,y))}assertEmpty(f){let y=this.skeleton[f];y&&this.onError(new J(f,y))}parseToken(f,y){if(!_ae(f,y,this.onError))return;let b=y[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 P of y)switch(P){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=P;break;default:/^\+e+$/.test(P)?E=P.length-1:this.badOption(f,P)}this.assertEmpty("notation");let D=y.join("/");_.notation=E&&k?{style:f,source:D,expDigits:E,expSign:k}:E?{style:f,source:D,expDigits:E}:k?{style:f,source:D,expSign:k}:{style:f,source:D};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(b)?(this.assertEmpty("unit"),_.unit={style:f,currency:b}):this.badOption(f,b);break;case"measure-unit":{sm(b)?(this.assertEmpty("unit"),_.unit={style:f,unit:b}):this.badOption(f,b);break}case"per-measure-unit":{sm(b)?(this.assertEmpty("unitPer"),_.unitPer=b):this.badOption(f,b);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"),b==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let E=Number(b);E>0?(this.assertEmpty("precision"),_.precision={style:f,increment:E}):this.badOption(f,b);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(b))this.assertEmpty("integerWidth"),_.integerWidth={source:b,min:b.length-1};else{let E=b.match(/^#*(0*)$/);E?(this.assertEmpty("integerWidth"),_.integerWidth={source:b,min:E[1].length,max:E[0].length}):this.badOption(f,b)}break}case"scale":{let E=Number(b);E>0?(this.assertEmpty("scale"),_.scale=E):this.badOption(f,b);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":{vae(b)?(this.assertEmpty("numberingSystem"),_.numberingSystem=b):this.badOption(f,b);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=xae(f,y,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new ie(f))}}}}function um(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},y=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";y.push({stem:k,options:E})}let b=new wae(f);for(let{stem:_,options:E}of y)b.parseToken(_,E);return b.skeleton}function Eae(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?um(f.slice(2),b):Ps(f,y,b));let _=te(p,f),E=Be(f),k=Zt(f),D=new Intl.NumberFormat(_,E);if(f.affix){let[P,B]=f.affix.pos,[de,xe]=f.affix.neg||["",""];return Ae=>{let ne=D.format(k(Ae));return Ae<0?`${de}${ne}${xe}`:`${P}${ne}${B}`}}return P=>D.format(k(P))}function Sae(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?um(f.slice(2),b):Ps(f,y,b));let _=te(p,f),E=Be(f),k=Fe(f),D=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],P="nf.format(value)";if(k&&(D.push(`var mod = ${k};`),P="nf.format(mod(value))"),f.affix){let[B,de]=f.affix.pos.map(xe=>JSON.stringify(xe));if(f.affix.neg){let[xe,Ae]=f.affix.neg.map(ne=>JSON.stringify(ne));P=`value < 0 ? ${xe} + ${P} + ${Ae} : ${B} + ${P} + ${de}`}else P=`${B} + ${P} + ${de}`}return D.push(`return function(value) { return ${P}; }`),D.join(`
4
- `)+`
5
- })()`}var Kc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kae(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var po={},dm={},hm={exports:{}};(function(p){(function(f,y){p.exports?p.exports=y():f.moo=y()})(Kc,function(){var f=Object.prototype.hasOwnProperty,y=Object.prototype.toString,b=typeof new RegExp().sticky=="boolean";function _(M){return M&&y.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function k(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function D(M){var $=new RegExp("|"+M);return $.exec("").length-1}function P(M){return"("+M+")"}function B(M){if(!M.length)return"(?!)";var $=M.map(function(ce){return"(?:"+ce+")"}).join("|");return"(?:"+$+")"}function de(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 xe(M,$){return M.length>$?M:Array($-M.length+1).join(" ")+M}function Ae(M,$){for(var ce=M.length,he=0;;){var Ce=M.lastIndexOf(`
6
- `,ce-1);if(Ce===-1||(he++,ce=Ce,he===$)||ce===0)break}var ye=he<$?0:ce+1;return M.substring(ye).split(`
7
- `)}function ne(M){for(var $=Object.getOwnPropertyNames(M),ce=[],he=0;he<$.length;he++){var Ce=$[he],ye=M[Ce],je=[].concat(ye);if(Ce==="include"){for(var ot=0;ot<je.length;ot++)ce.push({include:je[ot]});continue}var Ye=[];je.forEach(function(Ee){E(Ee)?(Ye.length&&ce.push(wt(Ce,Ye)),ce.push(wt(Ce,Ee)),Ye=[]):Ye.push(Ee)}),Ye.length&&ce.push(wt(Ce,Ye))}return ce}function tt(M){for(var $=[],ce=0;ce<M.length;ce++){var he=M[ce];if(he.include){for(var Ce=[].concat(he.include),ye=0;ye<Ce.length;ye++)$.push({include:Ce[ye]});continue}if(!he.type)throw new Error("Rule has no type: "+JSON.stringify(he));$.push(wt(he.type,he))}return $}function wt(M,$){if(E($)||($={match:$}),$.include)throw new Error("Matching rules cannot also include states");var ce={defaultType:M,lineBreaks:!!$.error||!!$.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var he in $)f.call($,he)&&(ce[he]=$[he]);if(typeof ce.type=="string"&&M!==ce.type)throw new Error("Type transform cannot be a string (type '"+ce.type+"' for token '"+M+"')");var Ce=ce.match;return ce.match=Array.isArray(Ce)?Ce:Ce?[Ce]:[],ce.match.sort(function(ye,je){return _(ye)&&_(je)?0:_(je)?-1:_(ye)?1:je.length-ye.length}),ce}function jt(M){return Array.isArray(M)?tt(M):ne(M)}var on=wt("error",{lineBreaks:!0,shouldThrow:!0});function qn(M,$){for(var ce=null,he=Object.create(null),Ce=!0,ye=null,je=[],ot=[],Ye=0;Ye<M.length;Ye++)M[Ye].fallback&&(Ce=!1);for(var Ye=0;Ye<M.length;Ye++){var Ee=M[Ye];if(Ee.include)throw new Error("Inheritance is not allowed in stateless lexers");if(Ee.error||Ee.fallback){if(ce)throw!Ee.fallback==!ce.fallback?new Error("Multiple "+(Ee.fallback?"fallback":"error")+" rules not allowed (for token '"+Ee.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+Ee.defaultType+"')");ce=Ee}var Dt=Ee.match.slice();if(Ce)for(;Dt.length&&typeof Dt[0]=="string"&&Dt[0].length===1;){var dr=Dt.shift();he[dr.charCodeAt(0)]=Ee}if(Ee.pop||Ee.push||Ee.next){if(!$)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+Ee.defaultType+"')");if(Ee.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+Ee.defaultType+"')")}if(Dt.length!==0){Ce=!1,je.push(Ee);for(var hi=0;hi<Dt.length;hi++){var Ia=Dt[hi];if(_(Ia)){if(ye===null)ye=Ia.unicode;else if(ye!==Ia.unicode&&Ee.fallback===!1)throw new Error("If one rule is /u then all must be")}}var hr=B(Dt.map(de)),$n=new RegExp(hr);if($n.test(""))throw new Error("RegExp matches empty string: "+$n);var fo=D(hr);if(fo>0)throw new Error("RegExp has capture groups: "+$n+`
8
- Use (?: … ) instead`);if(!Ee.lineBreaks&&$n.test(`
9
- `))throw new Error("Rule should declare lineBreaks: "+$n);ot.push(P(hr))}}var pr=ce&&ce.fallback,go=b&&!pr?"ym":"gm",js=b||pr?"":"|";ye===!0&&(go+="u");var are=new RegExp(B(ot)+js,go);return{regexp:are,groups:je,fast:he,error:ce||on}}function ia(M){var $=qn(jt(M));return new mt({start:$},"start")}function Ri(M,$,ce){var he=M&&(M.push||M.next);if(he&&!ce[he])throw new Error("Missing state '"+he+"' (in token '"+M.defaultType+"' of state '"+$+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+$+"')")}function Ai(M,$){var ce=M.$all?jt(M.$all):[];delete M.$all;var he=Object.getOwnPropertyNames(M);$||($=he[0]);for(var Ce=Object.create(null),ye=0;ye<he.length;ye++){var je=he[ye];Ce[je]=jt(M[je]).concat(ce)}for(var ye=0;ye<he.length;ye++)for(var je=he[ye],ot=Ce[je],Ye=Object.create(null),Ee=0;Ee<ot.length;Ee++){var Dt=ot[Ee];if(Dt.include){var dr=[Ee,1];if(Dt.include!==je&&!Ye[Dt.include]){Ye[Dt.include]=!0;var hi=Ce[Dt.include];if(!hi)throw new Error("Cannot include nonexistent state '"+Dt.include+"' (in state '"+je+"')");for(var Ia=0;Ia<hi.length;Ia++){var hr=hi[Ia];ot.indexOf(hr)===-1&&dr.push(hr)}}ot.splice.apply(ot,dr),Ee--}}for(var $n=Object.create(null),ye=0;ye<he.length;ye++){var je=he[ye];$n[je]=qn(Ce[je],!0)}for(var ye=0;ye<he.length;ye++){for(var fo=he[ye],pr=$n[fo],go=pr.groups,Ee=0;Ee<go.length;Ee++)Ri(go[Ee],fo,$n);for(var js=Object.getOwnPropertyNames(pr.fast),Ee=0;Ee<js.length;Ee++)Ri(pr.fast[js[Ee]],fo,$n)}return new mt($n,$)}function Li(M){for(var $=typeof Map<"u",ce=$?new Map:Object.create(null),he=Object.getOwnPropertyNames(M),Ce=0;Ce<he.length;Ce++){var ye=he[Ce],je=M[ye],ot=Array.isArray(je)?je:[je];ot.forEach(function(Ye){if(typeof Ye!="string")throw new Error("keyword must be string (in keyword '"+ye+"')");$?ce.set(Ye,ye):ce[Ye]=ye})}return function(Ye){return $?ce.get(Ye):ce[Ye]}}var mt=function(M,$){this.startState=$,this.states=M,this.buffer="",this.stack=[],this.reset()};mt.prototype.reset=function(M,$){return this.buffer=M||"",this.index=0,this.line=$?$.line:1,this.col=$?$.col:1,this.queuedToken=$?$.queuedToken:null,this.queuedText=$?$.queuedText:"",this.queuedThrow=$?$.queuedThrow:null,this.setState($?$.state:this.startState),this.stack=$&&$.stack?$.stack.slice():[],this},mt.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}},mt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var $=this.states[M];this.groups=$.groups,this.error=$.error,this.re=$.regexp,this.fast=$.fast}},mt.prototype.popState=function(){this.setState(this.stack.pop())},mt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Ls=b?function(M,$){return M.exec($)}:function(M,$){var ce=M.exec($);return ce[0].length===0?null:ce};mt.prototype._getGroup=function(M){for(var $=this.groups.length,ce=0;ce<$;ce++)if(M[ce+1]!==void 0)return this.groups[ce];throw new Error("Cannot find token type for matched text")};function Fs(){return this.value}if(mt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var $=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",$}var ce=this.buffer;if(M!==ce.length){var je=this.fast[ce.charCodeAt(M)];if(je)return this._token(je,ce.charAt(M),M);var he=this.re;he.lastIndex=M;var Ce=Ls(he,ce),ye=this.error;if(Ce==null)return this._token(ye,ce.slice(M,ce.length),M);var je=this._getGroup(Ce),ot=Ce[0];return ye.fallback&&Ce.index!==M?(this.queuedGroup=je,this.queuedText=ot,this._token(ye,ce.slice(M,Ce.index),M)):this._token(je,ot,M)}},mt.prototype._token=function(M,$,ce){var he=0;if(M.lineBreaks){var Ce=/\n/g,ye=1;if($===`
10
- `)he=1;else for(;Ce.exec($);)he++,ye=Ce.lastIndex}var je={type:typeof M.type=="function"&&M.type($)||M.defaultType,value:typeof M.value=="function"?M.value($):$,text:$,toString:Fs,offset:ce,lineBreaks:he,line:this.line,col:this.col},ot=$.length;if(this.index+=ot,this.line+=he,he!==0?this.col=ot-ye+1:this.col+=ot,M.shouldThrow){var Ye=new Error(this.formatError(je,"invalid syntax"));throw Ye}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),je},typeof Symbol<"u"&&Symbol.iterator){var Fi=function(M){this.lexer=M};Fi.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Fi.prototype[Symbol.iterator]=function(){return this},mt.prototype[Symbol.iterator]=function(){return new Fi(this)}}return mt.prototype.formatError=function(he,$){if(he==null)var ce=this.buffer.slice(this.index),he={text:ce,offset:this.index,lineBreaks:ce.indexOf(`
11
- `)===-1?0:1,line:this.line,col:this.col};var Ce=2,ye=Math.max(he.line-Ce,1),je=he.line+Ce,ot=String(je).length,Ye=Ae(this.buffer,this.line-he.line+Ce+1).slice(0,5),Ee=[];Ee.push($+" at line "+he.line+" col "+he.col+":"),Ee.push("");for(var Dt=0;Dt<Ye.length;Dt++){var dr=Ye[Dt],hi=ye+Dt;Ee.push(xe(String(hi),ot)+" "+dr),hi===he.line&&Ee.push(xe("",ot+he.col+1)+"^")}return Ee.join(`
12
- `)},mt.prototype.clone=function(){return new mt(this.states,this.state)},mt.prototype.has=function(M){return!0},{compile:ia,states:Ai,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Li}})})(hm);var Cae=hm.exports;(function(p){var f=Kc&&Kc.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let y=f(Cae);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:b=>b.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:b=>b.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:b=>b.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:b=>b.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:b=>b.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:b=>b.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:b=>b.substring(0,b.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=y.default.states(p.states)})(dm),Object.defineProperty(po,"__esModule",{value:!0});var pm=po.parse=po.ParseError=void 0;let mm=dm,Ns=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Jc=p=>p==="plural"||p==="select"||p==="selectordinal";function Iae(p,f){let y="",b="";for(let _ of f){let E=_.ctx.text;switch(b+=E,_.type){case"content":y+=_.value;break;case"argument":case"function":case"octothorpe":y+=E;break;default:throw new Bt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:y.trim(),ctx:Object.assign({},f[0].ctx,{text:b})}]}let Dae=["number","date","time","spellout","ordinal","duration"],fm=["zero","one","two","few","many","other"];class Bt extends Error{constructor(f,y){super(mm.lexer.formatError(f,y))}}po.ParseError=Bt;class Tae{constructor(f,y){var b,_,E,k;this.lexer=mm.lexer.reset(f),this.cardinalKeys=(b=y==null?void 0:y.cardinal)!==null&&b!==void 0?b:fm,this.ordinalKeys=(_=y==null?void 0:y.ordinal)!==null&&_!==void 0?_:fm,this.strict=(E=y==null?void 0:y.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=y==null?void 0:y.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,y,b){if(b[0]==="="){if(y==="select")throw new Bt(f,`The case ${b} is not valid with select`)}else if(y!=="select"){let _=y==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(b)){let E=`The ${y} case ${b} is not valid in this locale`;throw new Bt(f,E)}}}parseSelect(f,y,b,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:b};_==="plural"||_==="selectordinal"?y=!0:this.strict&&(y=!1);for(let D of this.lexer)switch(D.type){case"offset":if(_==="select")throw new Bt(D,"Unexpected plural offset for select");if(k.cases.length>0)throw new Bt(D,"Plural offset must be set before cases");k.pluralOffset=Number(D.value),b.text+=D.text,b.lineBreaks+=D.lineBreaks;break;case"case":{this.checkSelectKey(D,_,D.value),k.cases.push({key:D.value,tokens:this.parseBody(y),ctx:Ns(D)});break}case"end":return k;default:throw new Bt(D,`Unexpected lexer token: ${D.type}`)}throw new Bt(null,"Unexpected message end")}parseArgToken(f,y){let b=Ns(f),_=this.lexer.next();if(!_)throw new Bt(null,"Unexpected message end");if(b.text+=_.text,b.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!Dae.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Bt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:b};case"func-simple":{let E=this.lexer.next();if(!E)throw new Bt(null,"Unexpected message end");if(E.type!=="end")throw new Bt(E,`Unexpected lexer token: ${E.type}`);if(b.text+=E.text,Jc(_.value.toLowerCase()))throw new Bt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:b}}case"func-args":{if(Jc(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Bt(_,k)}let E=this.parseBody(this.strict?!1:y);return this.strict&&E.length>0&&(E=Iae(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:b}}case"select":if(Jc(_.value))return this.parseSelect(f,y,b,_.value);throw new Bt(_,`Unexpected select type ${_.value}`);default:throw new Bt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,y){let b=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),b.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),b.push({type:"octothorpe",ctx:Ns(E)});else{if(E.type==="end"&&!y)return b;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let D=`Unsupported escape pattern: ${k}`;throw new Bt(E,D)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Ns(E)},b.push(_))}}if(y)return b;throw new Bt(null,"Unexpected message end")}}function Oae(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Tae(p,f).parse()}pm=po.parse=Oae;function mo(p){return mo[p]||(mo[p]=new Intl.NumberFormat(p))}function Pae(p,f,y){return mo(p).format(f-y)}function Nae(p,f,y,b){var _=f-y;if(isNaN(_))throw new Error("`"+b+"` or its offset is not a number");return mo(p).format(_)}function Mae(p,f,y,b,_){if({}.hasOwnProperty.call(b,p))return b[p];f&&(p-=f);var E=y(p,_);return E in b?b[E]:b.other}function Rae(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Aae(p,f){for(var y=0;y<p.length;++y)if(!f||f[p[y]]===void 0)throw new Error("Message requires argument '".concat(p[y],"'"))}var Lae=Object.freeze({__proto__:null,_nf:mo,number:Pae,plural:Mae,reqArgs:Aae,select:Rae,strictNumber:Nae});function Fae(p,f,y){var b={day:"numeric",month:"short",year:"numeric"};switch(y){case"full":b.weekday="long";case"long":b.month="long";break;case"short":b.month="numeric"}return new Date(p).toLocaleDateString(f,b)}function jae(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 y=p%60,b=[Math.round(y)===y?y:y.toFixed(3)];p<60?b.unshift(0):(p=Math.round((p-Number(b[0]))/60),b.unshift(p%60),p>=60&&(p=Math.round((p-Number(b[0]))/60),b.unshift(p)));var _=b.shift();return f+_+":"+b.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var Xc={};function Ms(p,f){var y=String(p)+JSON.stringify(f);return Xc[y]||(Xc[y]=new Intl.NumberFormat(p,f)),Xc[y]}function Vae(p,f,y,b){var _=y&&y.split(":")||[],E=_[0],k=_[1],D={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||b,minimumFractionDigits:2,maximumFractionDigits:2}};return Ms(f,D[E]||{}).format(p)}var Bae=function(p,f,y){return Ms(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},zae=function(p,f){return Ms(f,{maximumFractionDigits:0}).format(p)},Hae=function(p,f){return Ms(f,{style:"percent"}).format(p)};function Uae(p,f,y){var b={second:"numeric",minute:"numeric",hour:"numeric"};switch(y){case"full":case"long":b.timeZoneName="short";break;case"short":delete b.second}return new Date(p).toLocaleTimeString(f,b)}var Qc=Object.freeze({__proto__:null,date:Fae,duration:jae,numberCurrency:Bae,numberFmt:Vae,numberInteger:zae,numberPercent:Hae,time:Uae}),Gae={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}},eu=kae(Gae);function Wae(p){let f=0;for(let y=0;y<p.length;++y){let b=p.charCodeAt(y);f=(f<<5)-f+b,f|=0}return f}function na(p,f){f&&(p+=" "+Wae(p).toString(36));let y=p.trim().replace(/\W+/g,"_");return eu.ES3[y]||eu.ESnext[y]||/^\d/.test(y)?"_"+y:y}function tu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!eu.ES3[f])return p?p+"."+f:f;{let y=JSON.stringify(f);return p?p+"["+y+"]":y}}var qae=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],$ae=new RegExp("^"+qae.join("|^"));function Yae(p,f){var y=$ae.test(f),b=JSON.stringify(y?"‏":"‎");return"".concat(b," + ").concat(p," + ").concat(b)}var Zae="@messageformat/runtime",Kae="@messageformat/runtime/lib/cardinals",gm="@messageformat/runtime/lib/plurals",Jae="@messageformat/runtime/lib/formatters",Xae=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,y,b){var _,E,k=this,D=this.options,P=D.localeCodeFromKey,B=D.requireAllArguments,de=D.strict,xe=D.strictPluralKeys;if(typeof f=="object"){var Ae={};try{for(var ne=n(Object.keys(f)),tt=ne.next();!tt.done;tt=ne.next()){var wt=tt.value,jt=P?P(wt):wt,on=b&&jt&&b[jt]||y;Ae[wt]=this.compile(f[wt],on,b)}}catch(mt){_={error:mt}}finally{try{tt&&!tt.done&&(E=ne.return)&&E.call(ne)}finally{if(_)throw _.error}}return Ae}this.plural=y;var qn={cardinal:y.cardinals,ordinal:y.ordinals,strict:de,strictPluralKeys:xe};this.arguments=[];var ia=pm(f,qn).map(function(mt){return k.token(mt,null)}),Ri=this.arguments.length>0,Ai=this.concatenate(ia,!0);if(B&&Ri){this.setRuntimeFn("reqArgs");var Li=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Li,", d); return ").concat(Ai,"; }")}return"(".concat(Ri?"d":"",") => ").concat(Ai)},p.prototype.cases=function(f,y){var b=this,_=!0,E=f.cases.map(function(de){var xe=de.key,Ae=de.tokens;xe==="other"&&(_=!1);var ne=Ae.map(function(tt){return b.token(tt,y)});return"".concat(tu(null,xe.replace(/^=/,"")),": ").concat(b.concatenate(ne,!1))});if(_){var k=f.type,D=this.plural,P=D.cardinals,B=D.ordinals;if(k==="select"||k==="plural"&&P.includes("other")||k==="selectordinal"&&B.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,y){var b=this.options.returnType==="values";return b&&(y||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,y){if(f.type==="content")return JSON.stringify(f.value);var b=this.plural,_=b.id,E=b.lc,k,D;switch("arg"in f?(this.arguments.push(f.arg),k=[tu("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?Yae(String(k[0]),E):String(k[0]);case"select":D="select",y&&this.options.strict&&(y=null),k.push(this.cases(f,y)),this.setRuntimeFn("select");break;case"selectordinal":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":D="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var P=this.options.customFormatters[f.key],B=P&&"module"in P&&typeof P.module=="function";if(!P){if(f.key==="date"){D=this.setDateFormatter(f,k,y);break}else if(f.key==="number"){D=this.setNumberFormatter(f,k,y);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){y&&this.options.strict&&(y=null);var de=this.getFormatterArg(f,y);de&&k.push(de)}D=B?na("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(D,f.key);break}case"octothorpe":if(!y)return'"#"';k=[JSON.stringify(this.plural.locale),tu("d",y.arg),y.pluralOffset||0],this.options.strict?(D="strictNumber",k.push(JSON.stringify(y.arg)),this.setRuntimeFn("strictNumber")):(D="number",this.setRuntimeFn("number"));break}if(!D)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(D,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,y){if(na(f)!==f)throw new SyntaxError("Reserved word used as ".concat(y," identifier: ").concat(f));var b=this.runtime[f];if(!b||b.type===y)return b;throw new TypeError("Cannot override ".concat(b.type," runtime function as ").concat(y,": ").concat(f))},p.prototype.setLocale=function(f,y){var b=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,D=_.isDefault,P,B,de;if(!y&&D&&E){if(b)return;P=function(xe){return E(xe)},B=Kae,de=function(){return String(E)}}else{if(b&&(!D||b.module===gm))return;P=function(xe,Ae){return k(xe,Ae)},B=D?gm:k.module||null,de=function(){return String(k)}}this.runtime[f]=Object.assign(P,{id:f,module:B,toString:de,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(Lae[f],{id:f,module:Zae,type:"runtime"}))},p.prototype.getFormatterArg=function(f,y){var b,_,E,k,D=this,P=f.key,B=f.param,de=this.options.customFormatters[P]||vm(P)&&Qc[P];if(!de||!B)return null;var xe="arg"in de&&de.arg||"string";if(xe==="options"){var Ae="";try{for(var ne=n(B),tt=ne.next();!tt.done;tt=ne.next()){var wt=tt.value;if(wt.type==="content")Ae+=wt.value;else throw new SyntaxError("Expected literal options for ".concat(P," formatter"))}}catch(Fi){b={error:Fi}}finally{try{tt&&!tt.done&&(_=ne.return)&&_.call(ne)}finally{if(b)throw b.error}}var jt={};try{for(var on=n(Ae.split(",")),qn=on.next();!qn.done;qn=on.next()){var ia=qn.value,Ri=ia.indexOf(":");if(Ri===-1)jt[ia.trim()]=null;else{var Ai=ia.substring(0,Ri).trim(),Li=ia.substring(Ri+1).trim();if(Li==="true")jt[Ai]=!0;else if(Li==="false")jt[Ai]=!1;else if(Li==="null")jt[Ai]=null;else{var mt=Number(Li);jt[Ai]=Number.isFinite(mt)?mt:Li}}}}catch(Fi){E={error:Fi}}finally{try{qn&&!qn.done&&(k=on.return)&&k.call(on)}finally{if(E)throw E.error}}return JSON.stringify(jt)}else{var Ls=B.map(function(Fi){return D.token(Fi,y)});if(xe==="raw")return"[".concat(Ls.join(", "),"]");var Fs=Ls.join(" + ");return Fs?"(".concat(Fs,").trim()"):'""'}},p.prototype.setFormatter=function(f,y){if(!this.runtimeIncludes(f,"formatter")){var b=this.options.customFormatters[y||f];if(b){var _=typeof b=="function"?{formatter:b}:b;this.runtime[f]=Object.assign(_.formatter.bind({}),i(i({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in b&&b.module&&b.id?{id:na(b.id),module:typeof b.module=="function"?b.module(this.plural.locale):b.module}:{id:null,module:null})}else if(vm(f))this.runtime[f]=Object.assign(Qc[f],{type:"formatter"},{id:f,module:Jae});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale,D=E&&E.length===1&&E[0];if(D&&D.type==="content"&&/^\s*::/.test(D.value)){var P=D.value.trim().substr(2),B=na("date_".concat(k,"_").concat(P),!0);if(!this.runtimeIncludes(B,"formatter")){var de=Lt(k,P,this.options.timeZone);this.runtime[B]=Object.assign(de,{id:B,module:null,toString:function(){return xt(k,P,_.options.timeZone)},type:"formatter"})}return B}if(y.push(JSON.stringify(k)),E&&E.length>0){b&&this.options.strict&&(b=null);var xe=E.map(function(Ae){return _.token(Ae,b)});y.push("("+(xe.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,y,b){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return y.unshift(JSON.stringify(k)),y.push("0"),this.setRuntimeFn("number"),"number";if(y.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var D=E[0].value.trim();switch(D){case"currency":return y.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 P=D.match(/^currency:([A-Z]+)$/);if(P)return y.push(JSON.stringify(P[1])),this.setFormatter("numberCurrency"),"numberCurrency";var B=na("number_".concat(k,"_").concat(D),!0);if(!this.runtimeIncludes(B,"formatter")){var de=this.options.currency,xe=Eae(k,D,de);this.runtime[B]=Object.assign(xe,{id:null,module:null,toString:function(){return Sae(k,D,de)},type:"formatter"})}return B}b&&this.options.strict&&(b=null);var Ae=E.map(function(ne){return _.token(ne,b)});return y.push("("+(Ae.join(" + ")||'""')+").trim()"),y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function vm(p){return p in Qc}let U=p=>p==1?"one":"other",Ti=p=>p==0||p==1?"one":"other",ui=p=>p>=0&&p<=1?"one":"other",Wt=p=>{let f=String(p).split("."),y=!f[1];return p==1&&y?"one":"other"},Ve=p=>"other",Oi=p=>p==1?"one":p==2?"two":"other";var Qae=Object.freeze({__proto__:null,af:U,ak:Ti,am:ui,an:U,ar:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},ars:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},as:ui,asa:U,ast:Wt,az:U,bal:U,be:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2);return b==1&&_!=11?"one":b>=2&&b<=4&&(_<12||_>14)?"few":y&&b==0||b>=5&&b<=9||_>=11&&_<=14?"many":"other"},bem:U,bez:U,bg:U,bho:Ti,bm:Ve,bn:ui,bo:Ve,br:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2),E=y&&f[0].slice(-6);return b==1&&_!=11&&_!=71&&_!=91?"one":b==2&&_!=12&&_!=72&&_!=92?"two":(b==3||b==4||b==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&y&&E==0?"many":"other"},brx:U,bs:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},ca:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},ce:U,ceb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:U,chr:U,ckb:U,cs:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"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("."),y=f[0],b=Number(f[0])==p;return p==1||!b&&(y==0||y==1)?"one":"other"},de:Wt,doi:ui,dsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:U,dz:Ve,ee:U,el:U,en:Wt,eo:U,es:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1?"one":y!=0&&_==0&&b?"many":"other"},et:Wt,eu:U,fa:ui,ff:p=>p>=0&&p<2?"one":"other",fi:Wt,fil:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:U,fr:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p>=0&&p<2?"one":y!=0&&_==0&&b?"many":"other"},fur:U,fy:Wt,ga:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Wt,gsw:U,gu:ui,guw:Ti,gv:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(E==0||E==20||E==40||E==60||E==80)?"few":b?"other":"many"},ha:U,haw:U,he:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return y==1&&b||y==0&&!b?"one":y==2&&b?"two":"other"},hi:ui,hnj:Ve,hr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-2),k=b.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:U,hy:p=>p>=0&&p<2?"one":"other",ia:Wt,id:Ve,ig:Ve,ii:Ve,io:Wt,is:p=>{let f=String(p).split("."),y=f[0],b=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=y.slice(-1),k=y.slice(-2);return _&&E==1&&k!=11||b%10==1&&b%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},iu:Oi,ja:Ve,jbo:Ve,jgo:U,jmc:U,jv:Ve,jw:Ve,ka:U,kab:p=>p>=0&&p<2?"one":"other",kaj:U,kcg:U,kde:Ve,kea:Ve,kk:U,kkj:U,kl:U,km:Ve,kn:ui,ko:Ve,ks:U,ksb:U,ksh:p=>p==0?"zero":p==1?"one":"other",ku:U,kw:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2),_=y&&f[0].slice(-3),E=y&&f[0].slice(-5),k=y&&f[0].slice(-6);return p==0?"zero":p==1?"one":b==2||b==22||b==42||b==62||b==82||y&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":b==3||b==23||b==43||b==63||b==83?"few":p!=1&&(b==1||b==21||b==41||b==61||b==81)?"many":"other"},ky:U,lag:p=>{let f=String(p).split("."),y=f[0];return p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:U,lg:U,lij:Wt,lkt:Ve,ln:Ti,lo:Ve,lt:p=>{let f=String(p).split("."),y=f[1]||"",b=Number(f[0])==p,_=b&&f[0].slice(-1),E=b&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":y!=0?"many":"other"},lv:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),P=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&P==1&&D!=11||b!=2&&P==1?"one":"other"},mas:U,mg:Ti,mgo:U,mk:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":"other"},ml:U,mn:U,mo:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:U,ms:Ve,mt:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||b>=3&&b<=10?"few":b>=11&&b<=19?"many":"other"},my:Ve,nah:U,naq:Oi,nb:U,nd:U,ne:U,nl:Wt,nn:U,nnh:U,no:U,nqo:Ve,nr:U,nso:Ti,ny:U,nyn:U,om:U,or:U,os:U,osa:Ve,pa:Ti,pap:U,pcm:ui,pl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return p==1&&b?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&y!=1&&(_==0||_==1)||b&&_>=5&&_<=9||b&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),D=y.slice(-2),P=y.slice(-1);return _&&E==0||k>=11&&k<=19||b==2&&D>=11&&D<=19?"zero":E==1&&k!=11||b==2&&P==1&&D!=11||b!=2&&P==1?"one":"other"},ps:U,pt:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return y==0||y==1?"one":y!=0&&_==0&&b?"many":"other"},pt_PT:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},rm:U,ro:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:U,ru:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},rwk:U,sah:Ve,saq:U,sat:Oi,sc:Wt,scn:Wt,sd:U,sdh:U,se:Oi,seh:U,ses:Ve,sg:Ve,sh:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},shi:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"";return p==0||p==1||y==0&&b==1?"one":"other"},sk:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},sl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(_==3||_==4)||!b?"few":"other"},sma:Oi,smi:Oi,smj:Oi,smn:Oi,sms:Oi,sn:U,so:U,sq:U,sr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=y.slice(-2),D=b.slice(-1),P=b.slice(-2);return _&&E==1&&k!=11||D==1&&P!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||D>=2&&D<=4&&(P<12||P>14)?"few":"other"},ss:U,ssy:U,st:U,su:Ve,sv:Wt,sw:Wt,syr:U,ta:U,te:U,teo:U,th:Ve,ti:Ti,tig:U,tk:U,tl:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],E=y.slice(-1),k=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:U,to:Ve,tpi:Ve,tr:U,ts:U,tzm:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:U,uk:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),E=y.slice(-2);return b&&_==1&&E!=11?"one":b&&_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&E>=11&&E<=14?"many":"other"},und:Ve,ur:Wt,uz:U,ve:U,vec:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},vi:Ve,vo:U,vun:U,wa:Ti,wae:U,wo:Ve,xh:U,xog:U,yi:Wt,yo:Ve,yue:Ve,zh:Ve,zu:ui});let Pi="zero",X="one",rt="two",De="few",Te="many",R="other",F={cardinal:[X,R],ordinal:[R]},Ca={cardinal:[X,R],ordinal:[X,R]},Ue={cardinal:[R],ordinal:[R]},di={cardinal:[X,rt,R],ordinal:[R]};var ym=Object.freeze({__proto__:null,af:F,ak:F,am:F,an:F,ar:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[R]},ars:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[R]},as:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},asa:F,ast:F,az:{cardinal:[X,R],ordinal:[X,De,Te,R]},bal:Ca,be:{cardinal:[X,De,Te,R],ordinal:[De,R]},bem:F,bez:F,bg:F,bho:F,bm:Ue,bn:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},bo:Ue,br:{cardinal:[X,rt,De,Te,R],ordinal:[R]},brx:F,bs:{cardinal:[X,De,R],ordinal:[R]},ca:{cardinal:[X,Te,R],ordinal:[X,rt,De,R]},ce:F,ceb:F,cgg:F,chr:F,ckb:F,cs:{cardinal:[X,De,Te,R],ordinal:[R]},cy:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[Pi,X,rt,De,Te,R]},da:F,de:F,doi:F,dsb:{cardinal:[X,rt,De,R],ordinal:[R]},dv:F,dz:Ue,ee:F,el:F,en:{cardinal:[X,R],ordinal:[X,rt,De,R]},eo:F,es:{cardinal:[X,Te,R],ordinal:[R]},et:F,eu:F,fa:F,ff:F,fi:F,fil:Ca,fo:F,fr:{cardinal:[X,Te,R],ordinal:[X,R]},fur:F,fy:F,ga:{cardinal:[X,rt,De,Te,R],ordinal:[X,R]},gd:{cardinal:[X,rt,De,R],ordinal:[X,rt,De,R]},gl:F,gsw:F,gu:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},guw:F,gv:{cardinal:[X,rt,De,Te,R],ordinal:[R]},ha:F,haw:F,he:di,hi:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},hnj:Ue,hr:{cardinal:[X,De,R],ordinal:[R]},hsb:{cardinal:[X,rt,De,R],ordinal:[R]},hu:Ca,hy:Ca,ia:F,id:Ue,ig:Ue,ii:Ue,io:F,is:F,it:{cardinal:[X,Te,R],ordinal:[Te,R]},iu:di,ja:Ue,jbo:Ue,jgo:F,jmc:F,jv:Ue,jw:Ue,ka:{cardinal:[X,R],ordinal:[X,Te,R]},kab:F,kaj:F,kcg:F,kde:Ue,kea:Ue,kk:{cardinal:[X,R],ordinal:[Te,R]},kkj:F,kl:F,km:Ue,kn:F,ko:Ue,ks:F,ksb:F,ksh:{cardinal:[Pi,X,R],ordinal:[R]},ku:F,kw:{cardinal:[Pi,X,rt,De,Te,R],ordinal:[X,Te,R]},ky:F,lag:{cardinal:[Pi,X,R],ordinal:[R]},lb:F,lg:F,lij:{cardinal:[X,R],ordinal:[Te,R]},lkt:Ue,ln:F,lo:{cardinal:[R],ordinal:[X,R]},lt:{cardinal:[X,De,Te,R],ordinal:[R]},lv:{cardinal:[Pi,X,R],ordinal:[R]},mas:F,mg:F,mgo:F,mk:{cardinal:[X,R],ordinal:[X,rt,Te,R]},ml:F,mn:F,mo:{cardinal:[X,De,R],ordinal:[X,R]},mr:{cardinal:[X,R],ordinal:[X,rt,De,R]},ms:{cardinal:[R],ordinal:[X,R]},mt:{cardinal:[X,rt,De,Te,R],ordinal:[R]},my:Ue,nah:F,naq:di,nb:F,nd:F,ne:Ca,nl:F,nn:F,nnh:F,no:F,nqo:Ue,nr:F,nso:F,ny:F,nyn:F,om:F,or:{cardinal:[X,R],ordinal:[X,rt,De,Te,R]},os:F,osa:Ue,pa:F,pap:F,pcm:F,pl:{cardinal:[X,De,Te,R],ordinal:[R]},prg:{cardinal:[Pi,X,R],ordinal:[R]},ps:F,pt:{cardinal:[X,Te,R],ordinal:[R]},pt_PT:{cardinal:[X,Te,R],ordinal:[R]},rm:F,ro:{cardinal:[X,De,R],ordinal:[X,R]},rof:F,ru:{cardinal:[X,De,Te,R],ordinal:[R]},rwk:F,sah:Ue,saq:F,sat:di,sc:{cardinal:[X,R],ordinal:[Te,R]},scn:{cardinal:[X,R],ordinal:[Te,R]},sd:F,sdh:F,se:di,seh:F,ses:Ue,sg:Ue,sh:{cardinal:[X,De,R],ordinal:[R]},shi:{cardinal:[X,De,R],ordinal:[R]},si:F,sk:{cardinal:[X,De,Te,R],ordinal:[R]},sl:{cardinal:[X,rt,De,R],ordinal:[R]},sma:di,smi:di,smj:di,smn:di,sms:di,sn:F,so:F,sq:{cardinal:[X,R],ordinal:[X,Te,R]},sr:{cardinal:[X,De,R],ordinal:[R]},ss:F,ssy:F,st:F,su:Ue,sv:Ca,sw:F,syr:F,ta:F,te:F,teo:F,th:Ue,ti:F,tig:F,tk:{cardinal:[X,R],ordinal:[De,R]},tl:Ca,tn:F,to:Ue,tpi:Ue,tr:F,ts:F,tzm:F,ug:F,uk:{cardinal:[X,De,Te,R],ordinal:[De,R]},und:Ue,ur:F,uz:F,ve:F,vec:{cardinal:[X,Te,R],ordinal:[Te,R]},vi:{cardinal:[R],ordinal:[X,R]},vo:F,vun:F,wa:F,wae:F,wo:Ue,xh:F,xog:F,yi:F,yo:Ue,yue:Ue,zh:Ue,zu:F});let Q=(p,f)=>f?"other":p==1?"one":"other",Ni=(p,f)=>f?"other":p==0||p==1?"one":"other",ur=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",On=(p,f)=>{let y=String(p).split("."),b=!y[1];return f?"other":p==1&&b?"one":"other"},Ge=(p,f)=>"other",Mi=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Rs=Object.freeze({__proto__:null,af:Q,ak:Ni,am:ur,an:Q,ar:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[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 y=String(p).split("."),b=Number(y[0])==p,_=b&&y[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:Q,ast:On,az:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-1),E=b.slice(-2),k=b.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":b==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 y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":b&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:Q,bez:Q,bg:Q,bho:Ni,bm:Ge,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:Ge,br:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2),k=b&&y[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&&b&&k==0?"many":"other"},brx:Q,bs:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},ca:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},ce:Q,ceb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},cgg:Q,chr:Q,ckb:Q,cs:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=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 y=String(p).split("."),b=y[0],_=Number(y[0])==p;return f?"other":p==1||!_&&(b==0||b==1)?"one":"other"},de:On,doi:ur,dsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==4?"few":"other"},dv:Q,dz:Ge,ee:Q,el:Q,en:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&b?"one":"other"},eo:Q,es:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1?"one":b!=0&&E==0&&_?"many":"other"},et:On,eu:Q,fa:ur,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:On,fil:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},fo:Q,fr:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":b!=0&&E==0&&_?"many":"other"},fur:Q,fy:On,ga:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let y=String(p).split("."),b=Number(y[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":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:On,gsw:Q,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:Ni,gv:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.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:Q,haw:Q,he:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":b==1&&_||b==0&&!_?"one":b==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:Ge,hr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},hsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-2),D=_.slice(-2);return f?"other":E&&k==1||D==1?"one":E&&k==2||D==2?"two":E&&(k==3||k==4)||D==3||D==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:On,id:Ge,ig:Ge,ii:Ge,io:On,is:(p,f)=>{let y=String(p).split("."),b=y[0],_=(y[1]||"").replace(/0+$/,""),E=Number(y[0])==p,k=b.slice(-1),D=b.slice(-2);return f?"other":E&&k==1&&D!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},iu:Mi,ja:Ge,jbo:Ge,jgo:Q,jmc:Q,jv:Ge,jw:Ge,ka:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-2);return f?b==1?"one":b==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:Q,kcg:Q,kde:Ge,kea:Ge,kk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||b&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:Q,kl:Q,km:Ge,kn:ur,ko:Ge,ks:Q,ksb:Q,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:Q,kw:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2),E=b&&y[0].slice(-3),k=b&&y[0].slice(-5),D=b&&y[0].slice(-6);return f?b&&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||b&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&D==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:Q,lag:(p,f)=>{let y=String(p).split("."),b=y[0];return f?"other":p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:Q,lg:Q,lij:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&b?"one":"other"},lkt:Ge,ln:Ni,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-2),B=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&B==1&&P!=11||_!=2&&B==1?"one":"other"},mas:Q,mg:Ni,mgo:Q,mk:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?k==1&&D!=11?"one":k==2&&D!=12?"two":(k==7||k==8)&&D!=17&&D!=18?"many":"other":E&&k==1&&D!=11||P==1&&B!=11?"one":"other"},ml:Q,mn:Q,mo:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||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 y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Ge,nah:Q,naq:Mi,nb:Q,nd:Q,ne:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?b&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:On,nn:Q,nnh:Q,no:Q,nqo:Ge,nr:Q,nso:Ni,ny:Q,nyn:Q,om:Q,or:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==5||b&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:Q,osa:Ge,pa:Ni,pap:Q,pcm:ur,pl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&b!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-2),B=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&B==1&&P!=11||_!=2&&B==1?"one":"other"},ps:Q,pt:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":b==0||b==1?"one":b!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},rm:Q,ro:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:Q,ru:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-1),k=b.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:Q,sah:Ge,saq:Q,sat:Mi,sc:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},scn:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},sd:Q,sdh:Q,se:Mi,seh:Q,ses:Ge,sg:Ge,sh:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},shi:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"";return f?"other":p==0||p==1||b==0&&_==1?"one":"other"},sk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Mi,smi:Mi,smj:Mi,smn:Mi,sms:Mi,sn:Q,so:Q,sq:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),E=b&&y[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=b.slice(-2),P=_.slice(-1),B=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&B!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(B<12||B>14)?"few":"other"},ss:Q,ssy:Q,st:Q,su:Ge,sv:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,E=_&&y[0].slice(-1),k=_&&y[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&b?"one":"other"},sw:On,syr:Q,ta:Q,te:Q,teo:Q,th:Ge,ti:Ni,tig:Q,tk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",E=!y[1],k=b.slice(-1),D=_.slice(-1);return f?p==1?"one":"other":E&&(b==1||b==2||b==3)||E&&k!=4&&k!=6&&k!=9||!E&&D!=4&&D!=6&&D!=9?"one":"other"},tn:Q,to:Ge,tpi:Ge,tr:Q,ts:Q,tzm:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:Q,uk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=Number(y[0])==p,k=E&&y[0].slice(-1),D=E&&y[0].slice(-2),P=b.slice(-1),B=b.slice(-2);return f?k==3&&D!=13?"few":"other":_&&P==1&&B!=11?"one":_&&P>=2&&P<=4&&(B<12||B>14)?"few":_&&P==0||_&&P>=5&&P<=9||_&&B>=11&&B<=14?"many":"other"},und:Ge,ur:On,uz:Q,ve:Q,vec:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],E=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:Q,vun:Q,wa:Ni,wae:Q,wo:Ge,xh:Q,xog:Q,yi:On,yo:Ge,yue:Ge,zh:Ge,zu:ur});function nu(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 As(p){if(typeof p=="function"){var f=nu(p.name);return{isDefault:!1,id:na(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var y=nu(p),b=na(y);return nre(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:Qae[b],getPlural:Rs[b],cardinals:ym[b].cardinal,ordinals:ym[b].ordinal}:null}function ere(p){var f=Object.keys(Rs).filter(function(y){return y!==p});return f.unshift(p),f.map(As)}function tre(p){var f=nu(p);return na(f)in Rs}function nre(p){return p in Rs}var ire=function(){function p(f,y){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:y&&y.strictNumberSign||!1,strictPluralKeys:!0},y),f==="*")this.plurals=ere(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(As).filter(Boolean);else if(f){var b=As(f);b&&(this.plurals=[b])}if(this.plurals.length===0){var b=As(p.defaultLocale);this.plurals=[b]}}return p.escape=function(f,y){var b=y?/[#{}]/g:/[{}]/g;return String(f).replace(b,"'$&'")},p.supportedLocalesOf=function(f){var y=Array.isArray(f)?f:[f];return y.filter(tre)},p.prototype.resolvedOptions=function(){return i(i({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var y,b,_=new Xae(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],D=[];try{for(var P=n(Object.entries(_.runtime)),B=P.next();!B.done;B=P.next()){var de=a(B.value,2),xe=de[0],Ae=de[1];k.push(xe),D.push(Ae)}}catch(tt){y={error:tt}}finally{try{B&&!B.done&&(b=P.return)&&b.call(P)}finally{if(y)throw y.error}}var ne=new(Function.bind.apply(Function,r(r([void 0],a(k),!1),[E],!1)));return ne.apply(void 0,r([],a(D),!1))},p.defaultLocale="en",p}();return ire})}),In=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var i=function n(a,r){t(this,n),this.data=a,this.text=r.text||a,this.options=r};e.default=i}),fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,L){for(var N=0;N<L.length;N++){var re=L[N];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(T,re.key,re)}}return function(T,L,N){return L&&S(T.prototype,L),N&&S(T,N),T}}(),i=In(),n=a(i);function a(S){return S&&S.__esModule?S:{default:S}}function r(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 u=function(S){l(T,S);function T(L,N){return r(this,T),L=L.toUpperCase(),N.mod43&&(L+=g(w(L))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,L,N))}return t(T,[{key:"encode",value:function(){for(var L=m("*"),N=0;N<this.data.length;N++)L+=m(this.data[N])+"0";return L+=m("*"),{data:L,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(n.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],h=[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 v(x(S))}function v(S){return h[S].toString(2)}function g(S){return c[S]}function x(S){return c.indexOf(S)}function w(S){for(var T=0,L=0;L<S.length;L++)T+=x(S[L]);return T=T%43,T}e.CODE39=u}),is=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function i(c,h,m){return h in c?Object.defineProperty(c,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[h]=m,c}var n=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},i(t,o,n),i(t,l,a),i(t,u,r),t),e.SWAP={101:n,100:a,99:r},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),uc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){o(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(w){return w.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var w=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+w.result+m.getBar((w.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var w=void 0,S=void 0;if(v[0]>=200){S=v.shift()-105;var T=a.SWAP[S];T!==void 0?w=m.next(v,g+1,T):((x===a.SET_A||x===a.SET_B)&&S===a.SHIFT&&(v[0]=x===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),w=m.next(v,g+1,x))}else S=m.correctIndex(v,x),w=m.next(v,g+1,x);var L=m.getBar(S),N=S*g;return{result:L+w.result,checksum:N+w.checksum}}}]),m}(n.default);e.default=c}),gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=is(),i=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,u){var c=u?t.A_CHARS:t.B_CHARS,h=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(h)return h[1]+"Ì"+o(l.substring(h[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+r(l.substring(m.length),!u)}function o(l){var u=a(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var h=i(l)>=n(l);return u+String.fromCharCode(h?206:205)+r(l,h)}e.default=function(l){var u=void 0,c=a(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var h=i(l)>n(l);u=(h?t.A_START_CHAR:t.B_START_CHAR)+r(l,h)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uc(),i=r(t),n=gre(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(i.default);e.default=c}),yre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),_re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=uc(),n=r(i),a=is();function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),xre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=vre(),i=c(t),n=yre(),a=c(n),r=bre(),o=c(r),l=_re(),u=c(l);function c(h){return h&&h.__esModule?h:{default:h}}e.CODE128=i.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=u.default}),as=me(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"]}),rs=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=as(),i=function(n,a,r){var o=n.split("").map(function(u,c){return t.BINARIES[a[c]]}).map(function(u,c){return u?u[n[c]]:""});if(r){var l=n.length-1;o=o.map(function(u,c){return c<l?u+r:u})}return o.join("")};e.default=i}),d0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){u(this,g);var S=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.fontSize=!w.flat&&w.fontSize>w.width*10?w.width*10:w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,w){return this.text.substr(x,w)}},{key:"leftEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"rightText",value:function(x,w){return this.text.substr(x,w)}},{key:"rightEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},w={height:this.guardHeight};return[{data:i.SIDE_BIN,options:w},{data:this.leftEncode(),text:this.leftText(),options:x},{data:i.MIDDLE_BIN,options:w},{data:this.rightEncode(),text:this.rightText(),options:x},{data:i.SIDE_BIN,options:w}]}},{key:"encodeFlat",value:function(){var x=[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),g}(o.default);e.default=m}),wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=function v(g,x,w){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,x);if(S===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:v(T,x,w)}else{if("value"in S)return S.value;var L=S.get;return L===void 0?void 0:L.call(w)}},n=as(),a=d0(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){var g=v.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,w,S){return S%2?x+w*3:x+w},0);return(10-g%10)%10},m=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=h(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.lastChar=w.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===h(this.data)}},{key:"leftText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),w=n.EAN13_STRUCTURE[this.data[0]];return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,w)}},{key:"rightText",value:function(){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(x.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(x.push({data:"00"}),x.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),x}}]),g}(r.default);e.default=m}),Ere=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var w=g[x];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),i=function m(v,g,x){v===null&&(v=Function.prototype);var w=Object.getOwnPropertyDescriptor(v,g);if(w===void 0){var S=Object.getPrototypeOf(v);return S===null?void 0:m(S,g,x)}else{if("value"in w)return w.value;var T=w.get;return T===void 0?void 0:T.call(x)}},n=d0(),a=r(n);function r(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,x,w){return w%2?g+x:g+x*3},0);return(10-v%10)%10},h=function(m){u(v,m);function v(g,x){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,x))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return i(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=h}),Sre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,w){for(var S=0;S<w.length;S++){var T=w[S];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(x,T.key,T)}}return function(x,w,S){return w&&g(x.prototype,w),S&&g(x,S),x}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,x){if(!(g instanceof x))throw new TypeError("Cannot call a class as a function")}function c(g,x){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:g}function h(g,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);g.prototype=Object.create(x&&x.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(g,x):g.__proto__=x)}var m=function(g){var x=g.split("").map(function(w){return+w}).reduce(function(w,S,T){return T%2?w+S*9:w+S*3},0);return x%10},v=function(g){h(x,g);function x(w,S){return u(this,x),c(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,w,S))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var w=i.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),x}(o.default);e.default=v}),kre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),i=as(),n=rs(),a=l(n),r=In(),o=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function h(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){h(g,v);function g(x,w){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=i.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(o.default);e.default=m}),h0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var S=x[w];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}();e.checksum=m;var i=rs(),n=o(i),a=In(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var h=function(v){c(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return S.displayValue=w.displayValue,w.fontSize>w.width*10?S.fontSize=w.width*10:S.fontSize=w.fontSize,S.guardHeight=w.height+S.fontSize/2+w.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 x="";return x+="101",x+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),x+="101",{data:x,text:this.text}}},{key:"guardedEncoding",value:function(){var x=[];return this.displayValue&&x.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),x.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),x.push({data:"01010",options:{height:this.guardHeight}}),x.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&x.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),x}}]),g}(r.default);function m(v){var g=0,x;for(x=1;x<11;x+=2)g+=parseInt(v[x]);for(x=0;x<11;x+=2)g+=parseInt(v[x])*3;return(10-g%10)%10}e.default=h}),Cre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(S,T){for(var L=0;L<T.length;L++){var N=T[L];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(S,N.key,N)}}return function(S,T,L){return T&&w(S.prototype,T),L&&w(S,L),S}}(),i=rs(),n=l(i),a=In(),r=l(a),o=h0();function l(w){return w&&w.__esModule?w:{default:w}}function u(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function c(w,S){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:w}function h(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(w,S):w.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(w){h(S,w);function S(T,L){u(this,S);var N=c(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,L));if(N.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)N.middleDigits=T,N.upcA=x(T,"0"),N.text=L.text||""+N.upcA[0]+T+N.upcA[N.upcA.length-1],N.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(N.middleDigits=T.substring(1,T.length-1),N.upcA=x(N.middleDigits,T[0]),N.upcA[N.upcA.length-1]===T[T.length-1])N.isValid=!0;else return c(N);else return c(N);return N.displayValue=L.displayValue,L.fontSize>L.width*10?N.fontSize=L.width*10:N.fontSize=L.fontSize,N.guardHeight=L.height+N.fontSize/2+L.textMargin,N}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],L=this.upcA[this.upcA.length-1],N=v[parseInt(L)][parseInt(T)];return(0,n.default)(this.middleDigits,N)}}]),S}(r.default);function x(w,S){for(var T=parseInt(w[w.length-1]),L=m[T],N="",re=0,ve=0;ve<L.length;ve++){var ke=L[ve];ke==="X"?N+=w[re++]:N+=ke}return N=""+S+N,""+N+(0,o.checksum)(N)}e.default=g}),Ire=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=wre(),i=g(t),n=Ere(),a=g(n),r=Sre(),o=g(r),l=kre(),u=g(l),c=h0(),h=g(c),m=Cre(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=i.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=h.default,e.UPCE=v.default}),Dre=me(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"]}),p0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=Dre(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data:i.START_BIN+g+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=i.BINARIES[v[1]];return i.BINARIES[v[0]].split("").map(function(x,w){return(x==="1"?"111":"1")+(g[w]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=c}),Tre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=p0(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){var m=h.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,x){return v+g*(3-x%2*2)},0);return Math.ceil(m/10)*10-m},c=function(h){l(m,h);function m(v,g){return r(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),Ore=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=p0(),i=r(t),n=Tre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.ITF=i.default,e.ITF14=a.default}),os=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=In(),n=a(i);function a(h){return h&&h.__esModule?h:{default:h}}function r(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function o(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function l(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var u=function(h){l(m,h);function m(v,g){return r(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),w=x.toString(2);w=c(w,4-w.length);for(var S=0;S<w.length;S++)v+=w[S]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(h,m){for(var v=0;v<m;v++)h="0"+h;return h}e.default=u}),dc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=i;function t(n){for(var a=0,r=0;r<n.length;r++){var o=parseInt(n[r]);(r+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function i(n){for(var a=0,r=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=r[o%r.length]*l}return(11-a%11)%11}}),Pre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod10)(m),v))}return h}(i.default);e.default=u}),Nre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m+(0,n.mod11)(m),v))}return h}(i.default);e.default=u}),Mre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Rre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=os(),i=a(t),n=dc();function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return h}(i.default);e.default=u}),Are=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=os(),i=m(t),n=Pre(),a=m(n),r=Nre(),o=m(r),l=Mre(),u=m(l),c=Rre(),h=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=i.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=h.default}),Lre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h);var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v));return g.number=parseInt(m,10),g}return t(h,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),h}(n.default);e.pharmacode=u}),Fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){r(this,h),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(h,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),h}(n.default);e.codabar=u}),jre=me(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"]}}),m0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&h(m.prototype,v),g&&h(m,g),m}}(),i=jre(),n=In(),a=r(n);function r(h){return h&&h.__esModule?h:{default:h}}function o(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function l(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var c=function(h){u(m,h);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(S){return i.MULTI_SYMBOLS[S]||S}),g=v.map(function(S){return m.getEncoding(S)}).join(""),x=m.checksum(v,20),w=m.checksum(v.concat(x),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(x)+m.getEncoding(w)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return i.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return i.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return i.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var x=v.slice().reverse().reduce(function(w,S,T){var L=T%g+1;return w+m.symbolValue(S)*L},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=c}),Vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=m0(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),h}(n.default);e.default=u}),Bre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=m0(),i=r(t),n=Vre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=i.default,e.CODE93FullASCII=a.default}),zre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=In(),n=a(i);function a(c){return c&&c.__esModule?c:{default:c}}function r(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function o(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function l(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var u=function(c){l(h,c);function h(m,v){return r(this,h),o(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,m,v))}return t(h,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),h}(n.default);e.GenericBarcode=u}),Hre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=fre(),i=xre(),n=Ire(),a=Ore(),r=Are(),o=Lre(),l=Fre(),u=Bre(),c=zre();e.default={CODE39:t.CODE39,CODE128:i.CODE128,CODE128A:i.CODE128A,CODE128B:i.CODE128B,CODE128C:i.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),hc=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r])}return i};e.default=function(i,n){return t({},i,n)}}),Ure=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=[];function a(r){if(Array.isArray(r))for(var o=0;o<r.length;o++)a(r[o]);else r.text=r.text||"",r.data=r.data||"",n.push(r)}return a(i),n}}),Gre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){return i.marginTop=i.marginTop||i.margin,i.marginBottom=i.marginBottom||i.margin,i.marginRight=i.marginRight||i.margin,i.marginLeft=i.marginLeft||i.margin,i}}),f0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof i[a]=="string"&&(i[a]=parseInt(i[a],10)));return typeof i.displayValue=="string"&&(i.displayValue=i.displayValue!="false"),i}}),g0=me(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}),Wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=f0(),i=r(t),n=g0(),a=r(n);function r(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in a.default)a.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,i.default)(u),u}e.default=o}),v0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=hc(),i=n(t);function n(h){return h&&h.__esModule?h:{default:h}}function a(h,m){return m.height+(m.displayValue&&h.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(h,m,v){if(v.displayValue&&m<h){if(v.textAlign=="center")return Math.floor((h-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(h-m)}return 0}function o(h,m,v){for(var g=0;g<h.length;g++){var x=h[g],w=(0,i.default)(m,x.options),S;w.displayValue?S=c(x.text,w,v):S=0;var T=x.data.length*w.width;x.width=Math.ceil(Math.max(S,T)),x.height=a(x,w),x.barcodePadding=r(S,T,w)}}function l(h){for(var m=0,v=0;v<h.length;v++)m+=h[v].width;return m}function u(h){for(var m=0,v=0;v<h.length;v++)h[v].height>m&&(m=h[v].height);return m}function c(h,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var x=g.measureText(h);if(!x)return 0;var w=x.width;return w}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),qre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,h){for(var m=0;m<h.length;m++){var v=h[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,h,m){return h&&u(c.prototype,h),m&&u(c,m),c}}(),i=hc(),n=r(i),a=v0();function r(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l=function(){function u(c,h,m){o(this,u),this.canvas=c,this.encodings=h,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var h=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(h,this.encodings[c]),this.drawCanvasText(h,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,c);var h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=h+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,h){var m=this.canvas.getContext("2d"),v=h.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var x=0;x<v.length;x++){var w=x*c.width+h.barcodePadding;v[x]==="1"?m.fillRect(w,g,c.width,c.height):v[x]&&m.fillRect(w,g,c.width,c.height*v[x])}}},{key:"drawCanvasText",value:function(c,h){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,x;c.textPosition=="top"?x=c.marginTop+c.fontSize-c.textMargin:x=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||h.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=h.width-1,m.textAlign="right"):(g=h.width/2,m.textAlign="center"),m.fillText(h.text,g,x)}}},{key:"moveCanvasDrawing",value:function(c){var h=this.canvas.getContext("2d");h.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),$re=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(h,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,m,v){return m&&c(h.prototype,m),v&&c(h,v),h}}(),i=hc(),n=r(i),a=v0();function r(c){return c&&c.__esModule?c:{default:c}}function o(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(h,m,v){o(this,c),this.svg=h,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var h=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),x=this.createGroup(h,g.marginTop,this.svg);this.setGroupOptions(x,g),this.drawSvgBarcode(x,g,v),this.drawSVGText(x,g,v),h+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var h=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=h+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(h,m,v){var g=v.data,x;m.textPosition=="top"?x=m.fontSize+m.textMargin:x=0;for(var w=0,S=0,T=0;T<g.length;T++)S=T*m.width+v.barcodePadding,g[T]==="1"?w++:w>0&&(this.drawRect(S-m.width*w,x,m.width*w,m.height,h),w=0);w>0&&this.drawRect(S-m.width*(w-1),x,m.width*w,m.height,h)}},{key:"drawSVGText",value:function(h,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,w;g.setAttribute("font-family",m.font),g.setAttribute("font-size",m.fontSize),m.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),m.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),m.textPosition=="top"?w=m.fontSize-m.textMargin:w=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",w),g.appendChild(this.document.createTextNode(v.text)),h.appendChild(g)}}},{key:"setSvgAttributes",value:function(h,m){var v=this.svg;v.setAttribute("width",h+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+h+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1")}},{key:"createGroup",value:function(h,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+h+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(h,m){h.setAttribute("fill",m.lineColor)}},{key:"drawRect",value:function(h,m,v,g,x){var w=this.document.createElementNS(l,"rect");return w.setAttribute("x",h),w.setAttribute("y",m),w.setAttribute("width",v),w.setAttribute("height",g),x.appendChild(w),w}}]),c}();e.default=u}),Yre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r,o,l){i(this,a),this.object=r,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),Zre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=qre(),i=l(t),n=$re(),a=l(n),r=Yre(),o=l(r);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:i.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),y0=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function i(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var a=function(l){n(u,l);function u(c,h){t(this,u);var m=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=h,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),r=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=o}),Kre=me(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},i=Wre(),n=l(i),a=Zre(),r=l(a),o=y0();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return h(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],x=0;x<v.length;x++)g.push(u(v[x]));return g}}function h(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),Jre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(r,u.key,u)}}return function(r,o,l){return o&&a(r.prototype,o),l&&a(r,l),r}}();function i(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(r){i(this,a),this.api=r}return t(a,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var o=r.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),Xre=me((e,t)=>{var i=Hre(),n=N(i),a=hc(),r=N(a),o=Ure(),l=N(o),u=Gre(),c=N(u),h=Kre(),m=N(h),v=f0(),g=N(v),x=Jre(),w=N(x),S=y0(),T=g0(),L=N(T);function N(ie){return ie&&ie.__esModule?ie:{default:ie}}var re=function(){},ve=function(ie,J,Ie){var j=new re;if(typeof ie>"u")throw Error("No element to render on was provided.");return j._renderProperties=(0,m.default)(ie),j._encodings=[],j._options=L.default,j._errorHandler=new w.default(j),typeof J<"u"&&(Ie=Ie||{},Ie.format||(Ie.format=Qe()),j.options(Ie)[Ie.format](J,Ie).render()),j};ve.getModule=function(ie){return n.default[ie]};for(ke in n.default)n.default.hasOwnProperty(ke)&&Lt(n.default,ke);var ke;function Lt(ie,J){re.prototype[J]=re.prototype[J.toUpperCase()]=re.prototype[J.toLowerCase()]=function(Ie,j){var H=this;return H._errorHandler.wrapBarcodeCall(function(){j.text=typeof j.text>"u"?void 0:""+j.text;var te=(0,r.default)(H._options,j);te=(0,g.default)(te);var Ne=ie[J],Je=xt(Ie,Ne,te);return H._encodings.push(Je),H})}}function xt(ie,J,Ie){ie=""+ie;var j=new J(ie,Ie);if(!j.valid())throw new S.InvalidInputException(j.constructor.name,ie);var H=j.encode();H=(0,l.default)(H);for(var te=0;te<H.length;te++)H[te].options=(0,r.default)(Ie,H[te].options);return H}function Qe(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}re.prototype.options=function(ie){return this._options=(0,r.default)(this._options,ie),this},re.prototype.blank=function(ie){var J=new Array(ie+1).join("0");return this._encodings.push({data:J}),this},re.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ie;for(var J in this._renderProperties){ie=this._renderProperties[J];var Ie=(0,r.default)(this._options,ie.options);Ie.format=="auto"&&(Ie.format=Qe()),this._errorHandler.wrapBarcodeCall(function(){var j=Ie.value,H=n.default[Ie.format.toUpperCase()],te=xt(j,H,Ie);It(ie,te,Ie)})}}},re.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var ie=0;ie<this._renderProperties.length;ie++)It(this._renderProperties[ie],this._encodings,this._options);else It(this._renderProperties,this._encodings,this._options);return this},re.prototype._defaults=L.default;function It(ie,J,Ie){J=(0,l.default)(J);for(var j=0;j<J.length;j++)J[j].options=(0,r.default)(Ie,J[j].options),(0,c.default)(J[j].options);(0,c.default)(Ie);var H=ie.renderer,te=new H(ie.element,J,Ie);te.render(),ie.afterRender&&ie.afterRender()}typeof window<"u"&&(window.JsBarcode=ve),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ie,J){var Ie=[];return jQuery(this).each(function(){Ie.push(this)}),ve(Ie,ie,J)}),t.exports=ve});function dh(e,t){return Object.is(e,t)}var Et=null,cl=!1,hh=1,Sn=Symbol("SIGNAL");function Oe(e){let t=Et;return Et=e,t}function Qre(){return Et}var $r={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 pc(e){if(cl)throw new Error("");if(Et===null)return;Et.consumerOnSignalRead(e);let t=Et.nextProducerIndex++;if(vc(Et),t<Et.producerNode.length&&Et.producerNode[t]!==e&&Fo(Et)){let i=Et.producerNode[t];gc(i,Et.producerIndexOfThis[t])}Et.producerNode[t]!==e&&(Et.producerNode[t]=e,Et.producerIndexOfThis[t]=Fo(Et)?x0(e,Et,t):0),Et.producerLastReadVersion[t]=e.version}function eoe(){hh++}function ss(e){if(!(Fo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===hh)){if(!e.producerMustRecompute(e)&&!ph(e)){Il(e);return}e.producerRecomputeValue(e),Il(e)}}function b0(e){if(e.liveConsumerNode===void 0)return;let t=cl;cl=!0;try{for(let i of e.liveConsumerNode)i.dirty||toe(i)}finally{cl=t}}function _0(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function toe(e){var t;e.dirty=!0,b0(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Il(e){e.dirty=!1,e.lastCleanEpoch=hh}function Lo(e){return e&&(e.nextProducerIndex=0),Oe(e)}function mc(e,t){if(Oe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Fo(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)gc(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ph(e){vc(e);for(let t=0;t<e.producerNode.length;t++){let i=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==i.version||(ss(i),n!==i.version))return!0}return!1}function fc(e){if(vc(e),Fo(e))for(let t=0;t<e.producerNode.length;t++)gc(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 x0(e,t,i){if(w0(e),e.liveConsumerNode.length===0&&E0(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=x0(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function gc(e,t){if(w0(e),e.liveConsumerNode.length===1&&E0(e))for(let n=0;n<e.producerNode.length;n++)gc(e.producerNode[n],e.producerIndexOfThis[n]);let i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];vc(a),a.producerIndexOfThis[n]=t}}function Fo(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function vc(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function w0(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function E0(e){return e.producerNode!==void 0}function noe(e,t){let i=Object.create(ioe);i.computation=e,t!==void 0&&(i.equal=t);let n=()=>{if(ss(i),pc(i),i.value===ma)throw i.error;return i.value};return n[Sn]=i,n}var Va=Symbol("UNSET"),Ir=Symbol("COMPUTING"),ma=Symbol("ERRORED"),ioe=yt(ue({},$r),{value:Va,dirty:!0,error:null,equal:dh,kind:"computed",producerMustRecompute(e){return e.value===Va||e.value===Ir},producerRecomputeValue(e){if(e.value===Ir)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ir;let i=Lo(e),n,a=!1;try{n=e.computation(),Oe(null),a=t!==Va&&t!==ma&&n!==ma&&e.equal(t,n)}catch(r){n=ma,e.error=r}finally{mc(e,i)}if(a){e.value=t;return}e.value=n,e.version++}});function aoe(){throw new Error}var S0=aoe;function k0(e){S0(e)}function roe(e){S0=e}function ooe(e,t){let i=Object.create(I0);i.value=e,t!==void 0&&(i.equal=t);let n=()=>(pc(i),i.value);return n[Sn]=i,n}function yc(e,t){_0()||k0(e),e.equal(e.value,t)||(e.value=t,soe(e))}function C0(e,t){_0()||k0(e),yc(e,t(e.value))}var I0=yt(ue({},$r),{equal:dh,value:void 0,kind:"signal"});function soe(e){e.version++,eoe(),b0(e)}function Sm(e,t,i){let n=Object.create(uoe);n.source=e,n.computation=t,i!=null&&(n.equal=i);let a=()=>{if(ss(n),pc(n),n.value===ma)throw n.error;return n.value};return a[Sn]=n,a}function loe(e,t){ss(e),yc(e,t),Il(e)}function coe(e,t){ss(e),C0(e,t),Il(e)}var uoe=yt(ue({},$r),{value:Va,dirty:!0,error:null,equal:dh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Va||e.value===Ir},producerRecomputeValue(e){if(e.value===Ir)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ir;let i=Lo(e),n;try{let a=e.source(),r=t===Va||t===ma?void 0:{source:e.sourceValue,value:t};n=e.computation(a,r),e.sourceValue=a}catch(a){n=ma,e.error=a}finally{mc(e,i)}if(t!==Va&&n!==ma&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function doe(e){let t=Oe(null);try{return e()}finally{Oe(t)}}var id;function ul(){return id}function oa(e){let t=id;return id=e,t}var D0=Symbol("NotFound");function it(e){return typeof e=="function"}function mh(e){let t=e(i=>{Error.call(i),i.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var iu=mh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
- ${t.map((i,n)=>`${n+1}) ${i.toString()}`).join(`
14
- `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Dl(e,t){if(e){let i=e.indexOf(t);0<=i&&e.splice(i,1)}}var pn=class ad{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:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let r of i)r.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(it(n))try{n()}catch(r){t=r instanceof iu?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{km(r)}catch(o){t=t??[],o instanceof iu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new iu(t)}}add(t){var i;if(t&&t!==this)if(this.closed)km(t);else{if(t instanceof ad){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}}_hasParent(t){let{_parentage:i}=this;return i===t||Array.isArray(i)&&i.includes(t)}_addParent(t){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t}_removeParent(t){let{_parentage:i}=this;i===t?this._parentage=null:Array.isArray(i)&&Dl(i,t)}remove(t){let{_finalizers:i}=this;i&&Dl(i,t),t instanceof ad&&t._removeParent(this)}};pn.EMPTY=(()=>{let e=new pn;return e.closed=!0,e})();var T0=pn.EMPTY;function O0(e){return e instanceof pn||e&&"closed"in e&&it(e.remove)&&it(e.add)&&it(e.unsubscribe)}function km(e){it(e)?e():e.unsubscribe()}var hoe={Promise:void 0},poe={setTimeout(e,t,...i){return setTimeout(e,t,...i)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function P0(e){poe.setTimeout(()=>{throw e})}function rd(){}function dl(e){e()}var fh=class extends pn{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,O0(e)&&e.add(this)):this.destination=goe}static create(e,t,i){return new jo(e,t,i)}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()}}},moe=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){Vs(i)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){Vs(i)}else Vs(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Vs(t)}}},jo=class extends fh{constructor(e,t,i){super();let n;it(e)||!e?n={next:e??void 0,error:t??void 0,complete:i??void 0}:n=e,this.destination=new moe(n)}};function Vs(e){P0(e)}function foe(e){throw e}var goe={closed:!0,next:rd,error:foe,complete:rd},gh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Yr(e){return e}function voe(e){return e.length===0?Yr:e.length===1?e[0]:function(t){return e.reduce((i,n)=>n(i),t)}}var ht=(()=>{class e{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new e;return n.source=this,n.operator=i,n}subscribe(i,n,a){let r=boe(i)?i:new jo(i,n,a);return dl(()=>{let{operator:o,source:l}=this;r.add(o?o.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=Cm(n),new n((a,r)=>{let o=new jo({next:l=>{try{i(l)}catch(u){r(u),o.unsubscribe()}},error:r,complete:a});this.subscribe(o)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[gh](){return this}pipe(...i){return voe(i)(this)}toPromise(i){return i=Cm(i),new i((n,a)=>{let r;this.subscribe(o=>r=o,o=>a(o),()=>n(r))})}}return e.create=t=>new e(t),e})();function Cm(e){var t;return(t=e??hoe.Promise)!==null&&t!==void 0?t:Promise}function yoe(e){return e&&it(e.next)&&it(e.error)&&it(e.complete)}function boe(e){return e&&e instanceof fh||yoe(e)&&O0(e)}function _oe(e){return it(e==null?void 0:e.lift)}function tn(e){return t=>{if(_oe(t))return t.lift(function(i){try{return e(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function $t(e,t,i,n,a){return new xoe(e,t,i,n,a)}var xoe=class extends fh{constructor(e,t,i,n,a,r){super(e),this.onFinalize=a,this.shouldUnsubscribe=r,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}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))}}},woe=mh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),be=(()=>{class e extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new Im(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new woe}next(i){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:a,observers:r}=this;return n||a?T0:(this.currentObservers=null,r.push(i),new pn(()=>{this.currentObservers=null,Dl(r,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:a,isStopped:r}=this;n?i.error(a):r&&i.complete()}asObservable(){let i=new ht;return i.source=this,i}}return e.create=(t,i)=>new Im(t,i),e})(),Im=class extends be{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.next)===null||i===void 0||i.call(t,e)}error(e){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.error)===null||i===void 0||i.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,i;return(i=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&i!==void 0?i:T0}},vh=class extends be{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}},yh={now(){return(yh.delegate||Date).now()},delegate:void 0},N0=class extends be{constructor(e=1/0,t=1/0,i=yh){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=i,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:i,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:r}=this;t||(i.push(e),!n&&i.push(a.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:n}=this,a=n.slice();for(let r=0;r<a.length&&!e.closed;r+=i?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<i.length&&i.splice(0,i.length-a),!n){let r=t.now(),o=0;for(let l=1;l<i.length&&i[l]<=r;l+=2)o=l;o&&i.splice(0,o+1)}}},Eoe=class extends pn{constructor(e,t){super()}schedule(e,t=0){return this}},od={setInterval(e,t,...i){let{delegate:n}=od;return n!=null&&n.setInterval?n.setInterval(e,t,...i):setInterval(e,t,...i)},clearInterval(e){return clearInterval(e)},delegate:void 0},Soe=class extends Eoe{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var i;if(this.closed)return this;this.state=e;let n=this.id,a=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(a,n,t)),this.pending=!0,this.delay=t,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,i=0){return od.setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return t;t!=null&&od.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(e,t);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i=!1,n;try{this.work(e)}catch(a){i=!0,n=a||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Dl(i,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},sd=class M0{constructor(t,i=M0.now){this.schedulerActionCtor=t,this.now=i}schedule(t,i=0,n){return new this.schedulerActionCtor(this,t).schedule(n,i)}};sd.now=yh.now;var koe=class extends sd{constructor(e,t=sd.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}},bh=new koe(Soe),Coe=bh,R0=new ht(e=>e.complete());function A0(e){return e&&it(e.schedule)}function _h(e){return e[e.length-1]}function L0(e){return it(_h(e))?e.pop():void 0}function ls(e){return A0(_h(e))?e.pop():void 0}function Ioe(e,t){return typeof _h(e)=="number"?e.pop():t}function Doe(e,t,i,n){function a(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function l(h){try{c(n.next(h))}catch(m){o(m)}}function u(h){try{c(n.throw(h))}catch(m){o(m)}}function c(h){h.done?r(h.value):a(h.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Dm(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.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 Dr(e){return this instanceof Dr?(this.v=e,this):new Dr(e)}function Toe(e,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(e,t||[]),a,r=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(g){return function(x){return Promise.resolve(x).then(g,m)}}function l(g,x){n[g]&&(a[g]=function(w){return new Promise(function(S,T){r.push([g,w,S,T])>1||u(g,w)})},x&&(a[g]=x(a[g])))}function u(g,x){try{c(n[g](x))}catch(w){v(r[0][3],w)}}function c(g){g.value instanceof Dr?Promise.resolve(g.value.v).then(h,m):v(r[0][2],g)}function h(g){u("next",g)}function m(g){u("throw",g)}function v(g,x){g(x),r.shift(),r.length&&u(r[0][0],r[0][1])}}function Ooe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof Dm=="function"?Dm(e):e[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(r){i[r]=e[r]&&function(o){return new Promise(function(l,u){o=e[r](o),a(l,u,o.done,o.value)})}}function a(r,o,l,u){Promise.resolve(u).then(function(c){r({value:c,done:l})},o)}}var F0=e=>e&&typeof e.length=="number"&&typeof e!="function";function j0(e){return it(e==null?void 0:e.then)}function V0(e){return it(e[gh])}function B0(e){return Symbol.asyncIterator&&it(e==null?void 0:e[Symbol.asyncIterator])}function z0(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 Poe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var H0=Poe();function U0(e){return it(e==null?void 0:e[H0])}function G0(e){return Toe(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:i,done:n}=yield Dr(t.read());if(n)return yield Dr(void 0);yield yield Dr(i)}}finally{t.releaseLock()}})}function W0(e){return it(e==null?void 0:e.getReader)}function gn(e){if(e instanceof ht)return e;if(e!=null){if(V0(e))return Noe(e);if(F0(e))return Moe(e);if(j0(e))return Roe(e);if(B0(e))return q0(e);if(U0(e))return Aoe(e);if(W0(e))return Loe(e)}throw z0(e)}function Noe(e){return new ht(t=>{let i=e[gh]();if(it(i.subscribe))return i.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Moe(e){return new ht(t=>{for(let i=0;i<e.length&&!t.closed;i++)t.next(e[i]);t.complete()})}function Roe(e){return new ht(t=>{e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,P0)})}function Aoe(e){return new ht(t=>{for(let i of e)if(t.next(i),t.closed)return;t.complete()})}function q0(e){return new ht(t=>{Foe(e,t).catch(i=>t.error(i))})}function Loe(e){return q0(G0(e))}function Foe(e,t){var i,n,a,r;return Doe(this,void 0,void 0,function*(){try{for(i=Ooe(e);n=yield i.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(r=i.return)&&(yield r.call(i))}finally{if(a)throw a.error}}t.complete()})}function $i(e,t,i,n=0,a=!1){let r=t.schedule(function(){i(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(r),!a)return r}function $0(e,t=0){return tn((i,n)=>{i.subscribe($t(n,a=>$i(n,e,()=>n.next(a),t),()=>$i(n,e,()=>n.complete(),t),a=>$i(n,e,()=>n.error(a),t)))})}function Y0(e,t=0){return tn((i,n)=>{n.add(e.schedule(()=>i.subscribe(n),t))})}function joe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Voe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Boe(e,t){return new ht(i=>{let n=0;return t.schedule(function(){n===e.length?i.complete():(i.next(e[n++]),i.closed||this.schedule())})})}function zoe(e,t){return new ht(i=>{let n;return $i(i,t,()=>{n=e[H0](),$i(i,t,()=>{let a,r;try{({value:a,done:r}=n.next())}catch(o){i.error(o);return}r?i.complete():i.next(a)},0,!0)}),()=>it(n==null?void 0:n.return)&&n.return()})}function Z0(e,t){if(!e)throw new Error("Iterable cannot be null");return new ht(i=>{$i(i,t,()=>{let n=e[Symbol.asyncIterator]();$i(i,t,()=>{n.next().then(a=>{a.done?i.complete():i.next(a.value)})},0,!0)})})}function Hoe(e,t){return Z0(G0(e),t)}function Uoe(e,t){if(e!=null){if(V0(e))return joe(e,t);if(F0(e))return Boe(e,t);if(j0(e))return Voe(e,t);if(B0(e))return Z0(e,t);if(U0(e))return zoe(e,t);if(W0(e))return Hoe(e,t)}throw z0(e)}function nr(e,t){return t?Uoe(e,t):gn(e)}function vt(...e){let t=ls(e);return nr(e,t)}function Goe(e,t){let i=it(e)?e:()=>e,n=a=>a.error(i());return new ht(n)}function Oo(e){return!!e&&(e instanceof ht||it(e.lift)&&it(e.subscribe))}var Woe=mh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function qoe(e,t){return new Promise((i,n)=>{let a=!1,r;e.subscribe({next:o=>{r=o,a=!0},error:n,complete:()=>{a?i(r):n(new Woe)}})})}function $oe(e){return e instanceof Date&&!isNaN(e)}function zt(e,t){return tn((i,n)=>{let a=0;i.subscribe($t(n,r=>{n.next(e.call(t,r,a++))}))})}var{isArray:Yoe}=Array;function Zoe(e,t){return Yoe(t)?e(...t):e(t)}function K0(e){return zt(t=>Zoe(e,t))}var{isArray:Koe}=Array,{getPrototypeOf:Joe,prototype:Xoe,keys:Qoe}=Object;function J0(e){if(e.length===1){let t=e[0];if(Koe(t))return{args:t,keys:null};if(ese(t)){let i=Qoe(t);return{args:i.map(n=>t[n]),keys:i}}}return{args:e,keys:null}}function ese(e){return e&&typeof e=="object"&&Joe(e)===Xoe}function X0(e,t){return e.reduce((i,n,a)=>(i[n]=t[a],i),{})}function tse(...e){let t=ls(e),i=L0(e),{args:n,keys:a}=J0(e);if(n.length===0)return nr([],t);let r=new ht(nse(n,t,a?o=>X0(a,o):Yr));return i?r.pipe(K0(i)):r}function nse(e,t,i=Yr){return n=>{Tm(t,()=>{let{length:a}=e,r=new Array(a),o=a,l=a;for(let u=0;u<a;u++)Tm(t,()=>{let c=nr(e[u],t),h=!1;c.subscribe($t(n,m=>{r[u]=m,h||(h=!0,l--),l||n.next(i(r.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Tm(e,t,i){e?$i(i,e,t):t()}function ise(e,t,i,n,a,r,o,l){let u=[],c=0,h=0,m=!1,v=()=>{m&&!u.length&&!c&&t.complete()},g=w=>c<n?x(w):u.push(w),x=w=>{c++;let S=!1;gn(i(w,h++)).subscribe($t(t,T=>{t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(c--;u.length&&c<n;){let T=u.shift();o?$i(t,o,()=>x(T)):x(T)}v()}catch(T){t.error(T)}}))};return e.subscribe($t(t,g,()=>{m=!0,v()})),()=>{}}function Vo(e,t,i=1/0){return it(t)?Vo((n,a)=>zt((r,o)=>t(n,r,a,o))(gn(e(n,a))),i):(typeof t=="number"&&(i=t),tn((n,a)=>ise(n,a,e,i)))}function Q0(e=1/0){return Vo(Yr,e)}function ase(){return Q0(1)}function Bo(...e){return ase()(nr(e,ls(e)))}function Tl(e){return new ht(t=>{gn(e()).subscribe(t)})}function ev(...e){let t=L0(e),{args:i,keys:n}=J0(e),a=new ht(r=>{let{length:o}=i;if(!o){r.complete();return}let l=new Array(o),u=o,c=o;for(let h=0;h<o;h++){let m=!1;gn(i[h]).subscribe($t(r,v=>{m||(m=!0,c--),l[h]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||r.next(n?X0(n,l):l),r.complete())}))}});return t?a.pipe(K0(t)):a}function rse(e=0,t,i=Coe){let n=-1;return t!=null&&(A0(t)?i=t:n=t),new ht(a=>{let r=$oe(e)?+e-i.now():e;r<0&&(r=0);let o=0;return i.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},r)})}function cs(...e){let t=ls(e),i=Ioe(e,1/0),n=e;return n.length?n.length===1?gn(n[0]):Q0(i)(nr(n,t)):R0}function bi(e,t){return tn((i,n)=>{let a=0;i.subscribe($t(n,r=>e.call(t,r,a++)&&n.next(r)))})}function ose(e){return tn((t,i)=>{let n=!1,a=null,r=null,o=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,n){n=!1;let c=a;a=null,i.next(c)}o&&i.complete()},u=()=>{r=null,o&&i.complete()};t.subscribe($t(i,c=>{n=!0,a=c,r||gn(e(c)).subscribe(r=$t(i,l,u))},()=>{o=!0,(!n||!r||r.closed)&&i.complete()}))})}function tv(e,t=bh){return ose(()=>rse(e,t))}function nv(e){return tn((t,i)=>{let n=null,a=!1,r;n=t.subscribe($t(i,void 0,void 0,o=>{r=gn(e(o,nv(e)(t))),n?(n.unsubscribe(),n=null,r.subscribe(i)):a=!0})),a&&(n.unsubscribe(),n=null,r.subscribe(i))})}function iv(e,t){return it(t)?Vo(e,t,1):Vo(e,1)}function av(e,t=bh){return tn((i,n)=>{let a=null,r=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let c=r;r=null,n.next(c)}};function u(){let c=o+e,h=t.now();if(h<c){a=this.schedule(void 0,c-h),n.add(a);return}l()}i.subscribe($t(n,c=>{r=c,o=t.now(),a||(a=t.schedule(u,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{r=a=null}))})}function Vn(e){return e<=0?()=>R0:tn((t,i)=>{let n=0;t.subscribe($t(i,a=>{++n<=e&&(i.next(a),e<=n&&i.complete())}))})}function sse(e,t=Yr){return e=e??lse,tn((i,n)=>{let a,r=!0;i.subscribe($t(n,o=>{let l=t(o);(r||!e(a,l))&&(r=!1,a=l,n.next(o))}))})}function lse(e,t){return e===t}function rv(e){return tn((t,i)=>{try{t.subscribe(i)}finally{i.add(e)}})}function ov(e={}){let{connector:t=()=>new be,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return r=>{let o,l,u,c=0,h=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=u=void 0,h=m=!1},x=()=>{let w=o;g(),w==null||w.unsubscribe()};return tn((w,S)=>{c++,!m&&!h&&v();let T=u=u??t();S.add(()=>{c--,c===0&&!m&&!h&&(l=au(x,a))}),T.subscribe(S),!o&&c>0&&(o=new jo({next:L=>T.next(L),error:L=>{m=!0,v(),l=au(g,i,L),T.error(L)},complete:()=>{h=!0,v(),l=au(g,n),T.complete()}}),gn(w).subscribe(o))})(r)}}function au(e,t,...i){if(t===!0){e();return}if(t===!1)return;let n=new jo({next:()=>{n.unsubscribe(),e()}});return gn(t(...i)).subscribe(n)}function Om(e,t,i){let n;return n=e,ov({connector:()=>new N0(n,t,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function sv(e){return bi((t,i)=>e<=i)}function Tr(...e){let t=ls(e);return tn((i,n)=>{(t?Bo(e,i,t):Bo(e,i)).subscribe(n)})}function zo(e,t){return tn((i,n)=>{let a=null,r=0,o=!1,l=()=>o&&!a&&n.complete();i.subscribe($t(n,u=>{a==null||a.unsubscribe();let c=0,h=r++;gn(e(u,h)).subscribe(a=$t(n,m=>n.next(t?t(u,m,h,c++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function zi(e){return tn((t,i)=>{gn(e).subscribe($t(i,()=>i.complete(),rd)),!i.closed&&t.subscribe(i)})}function hl(e,t,i){let n=it(e)||t||i?{next:e,error:t,complete:i}:e;return n?tn((a,r)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe($t(r,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),r.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),r.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),r.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Yr}var lv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Z=class extends Error{constructor(t,i){super(cv(t,i));s(this,"code");this.code=t}};function cse(e){return`NG0${Math.abs(e)}`}function cv(e,t){return`${cse(e)}${t?": "+t:""}`}var uv=Symbol("InputSignalNode#UNSET"),use=yt(ue({},I0),{transformFn:void 0,applyValueToInputSignal(e,t){yc(e,t)}});function dv(e,t){let i=Object.create(use);i.value=e,i.transformFn=t==null?void 0:t.transform;function n(){if(pc(i),i.value===uv){let a=null;throw new Z(-950,a)}return i.value}return n[Sn]=i,n}function us(e){return{toString:e}.toString()}var Bs="__parameters__";function dse(e){return function(...t){}}function hv(e,t,i){return us(()=>{let n=dse();function a(...r){if(this instanceof a)return n.apply(this,r),this;let o=new a(...r);return l.annotation=o,l;function l(u,c,h){let m=u.hasOwnProperty(Bs)?u[Bs]:Object.defineProperty(u,Bs,{value:[]})[Bs];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(o),u}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var wr=globalThis;function at(e){for(let t in e)if(e[t]===at)return t;throw Error("Could not find renamed property on target object.")}function hse(e,t){for(let i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}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 i=e.toString();if(i==null)return""+i;let n=i.indexOf(`
15
- `);return n>=0?i.slice(0,n):i}function ld(e,t){return e?t?`${e} ${t}`:e:t||""}var pse=at({__forward_ref__:at});function pv(e){return e.__forward_ref__=pv,e.toString=function(){return Bn(this())},e}function qt(e){return mv(e)?e():e}function mv(e){return typeof e=="function"&&e.hasOwnProperty(pse)&&e.__forward_ref__===pv}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nn(e){return{providers:e.providers||[],imports:e.imports||[]}}function xh(e){return Pm(e,fv)||Pm(e,gv)}function Pm(e,t){return e.hasOwnProperty(t)?e[t]:null}function mse(e){return e&&(e[fv]||e[gv])||null}function Nm(e){return e&&(e.hasOwnProperty(Mm)||e.hasOwnProperty(fse))?e[Mm]:null}var fv=at({ɵprov:at}),Mm=at({ɵinj:at}),gv=at({ngInjectableDef:at}),fse=at({ngInjectorDef:at}),se=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=W({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vv(e){return e&&!!e.ɵproviders}var gse=at({ɵcmp:at}),vse=at({ɵdir:at}),yse=at({ɵpipe:at}),Ol=at({ɵfac:at}),Po=at({__NG_ELEMENT_ID__:at}),Rm=at({__NG_ENV_ID__:at});function bc(e){return typeof e=="string"?e:e==null?"":String(e)}function bse(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():bc(e)}function yv(e,t){throw new Z(-200,e)}function wh(e,t){throw new Z(-201,!1)}var Me=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}(Me||{}),cd;function bv(){return cd}function dn(e){let t=cd;return cd=e,t}function _v(e,t,i){let n=xh(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&Me.Optional)return null;if(t!==void 0)return t;wh()}var _se={},Wa=_se,ud="__NG_DI_FLAG__",xv=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let i=t;return this.injector.get(e,i.optional?D0:Wa,i)}},Pl="ngTempTokenPath",xse="ngTokenPath",wse=/\n/gm,Ese="ɵ",Am="__source";function Sse(e,t=Me.Default){if(ul()===void 0)throw new Z(-203,!1);if(ul()===null)return _v(e,void 0,t);{let i=ul(),n;return i instanceof xv?n=i.injector:n=i,n.get(e,t&Me.Optional?null:void 0,t)}}function pe(e,t=Me.Default){return(bv()||Sse)(qt(e),t)}function C(e,t=Me.Default){return pe(e,_c(t))}function _c(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function dd(e){let t=[];for(let i=0;i<e.length;i++){let n=qt(e[i]);if(Array.isArray(n)){if(n.length===0)throw new Z(900,!1);let a,r=Me.Default;for(let o=0;o<n.length;o++){let l=n[o],u=kse(l);typeof u=="number"?u===-1?a=l.token:r|=u:a=l}t.push(pe(a,r))}else t.push(pe(n))}return t}function wv(e,t){return e[ud]=t,e.prototype[ud]=t,e}function kse(e){return e[ud]}function Cse(e,t,i,n){let a=e[Pl];throw t[Am]&&a.unshift(t[Am]),e.message=Ise(`
16
- `+e.message,a,i,n),e[xse]=a,e[Pl]=null,e}function Ise(e,t,i,n=null){e=e&&e.charAt(0)===`
17
- `&&e.charAt(1)==Ese?e.slice(2):e;let a=Bn(t);if(Array.isArray(t))a=t.map(Bn).join(" -> ");else if(typeof t=="object"){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];r.push(o+":"+(typeof l=="string"?JSON.stringify(l):Bn(l)))}a=`{${r.join(", ")}}`}return`${i}${n?"("+n+")":""}[${a}]: ${e.replace(wse,`
18
- `)}`}var Dse=wv(hv("Optional"),8),Tse=wv(hv("SkipSelf"),4);function qa(e,t){return e.hasOwnProperty(Ol)?e[Ol]:null}function Ose(e,t,i){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],r=t[n];if(i&&(a=i(a),r=i(r)),r!==a)return!1}return!0}function Pse(e){return e.flat(Number.POSITIVE_INFINITY)}function Eh(e,t){e.forEach(i=>Array.isArray(i)?Eh(i,t):t(i))}function Ev(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Nl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nse(e,t){let i=[];for(let n=0;n<e;n++)i.push(t);return i}function Mse(e,t,i,n){let a=e.length;if(a==t)e.push(i,n);else if(a===1)e.push(n,e[0]),e[0]=i;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=i,e[t+1]=n}}function Sh(e,t,i){let n=ds(e,t);return n>=0?e[n|1]=i:(n=~n,Mse(e,n,t,i)),n}function ru(e,t){let i=ds(e,t);if(i>=0)return e[i|1]}function ds(e,t){return Rse(e,t,1)}function Rse(e,t,i){let n=0,a=e.length>>i;for(;a!==n;){let r=n+(a-n>>1),o=e[r<<i];if(t===o)return r<<i;o>t?a=r:n=r+1}return~(a<<i)}var xi={},hn=[],Ml=new se(""),Sv=new se("",-1),kv=new se(""),Cv=class{get(e,t=Wa){if(t===Wa){let i=new Error(`NullInjectorError: No provider for ${Bn(e)}!`);throw i.name="NullInjectorError",i}return t}};function Lr(e){return e[gse]||null}function Iv(e){return e[vse]||null}function Ase(e){return e[yse]||null}function kh(e){return{ɵproviders:e}}function Lse(...e){return{ɵproviders:Dv(!0,e),ɵfromNgModule:!0}}function Dv(e,...t){let i=[],n=new Set,a,r=o=>{i.push(o)};return Eh(t,o=>{let l=o;hd(l,r,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Tv(a,r),i}function Tv(e,t){for(let i=0;i<e.length;i++){let{ngModule:n,providers:a}=e[i];Ch(a,r=>{t(r,n)})}}function hd(e,t,i,n){if(e=qt(e),!e)return!1;let a=null,r=Nm(e),o=!r&&Lr(e);if(!r&&!o){let u=e.ngModule;if(r=Nm(u),r)a=u;else return!1}else{if(o&&!o.standalone)return!1;a=e}let l=n.has(a);if(o){if(l)return!1;if(n.add(a),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)hd(c,t,i,n)}}else if(r){if(r.imports!=null&&!l){n.add(a);let c;try{Eh(r.imports,h=>{hd(h,t,i,n)&&(c||(c=[]),c.push(h))})}finally{}c!==void 0&&Tv(c,t)}if(!l){let c=qa(a)||(()=>new a);t({provide:a,useFactory:c,deps:hn},a),t({provide:kv,useValue:a,multi:!0},a),t({provide:Ml,useValue:()=>pe(a),multi:!0},a)}let u=r.providers;if(u!=null&&!l){let c=e;Ch(u,h=>{t(h,c)})}}else return!1;return a!==e&&e.providers!==void 0}function Ch(e,t){for(let i of e)vv(i)&&(i=i.ɵproviders),Array.isArray(i)?Ch(i,t):t(i)}var Fse=at({provide:String,useValue:at});function Ov(e){return e!==null&&typeof e=="object"&&Fse in e}function jse(e){return!!(e&&e.useExisting)}function Vse(e){return!!(e&&e.useFactory)}function Fr(e){return typeof e=="function"}function Bse(e){return!!e.useClass}var Ih=new se(""),pl={},Lm={},ou;function xc(){return ou===void 0&&(ou=new Cv),ou}var wi=class{},Dh=class extends wi{constructor(t,i,n,a){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=i,this.source=n,this.scopes=a,md(t,o=>this.processProvider(o)),this.records.set(Sv,Er(void 0,this)),a.has("environment")&&this.records.set(wi,Er(void 0,this));let r=this.records.get(Ih);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(kv,hn,Me.Self))}get destroyed(){return this._destroyed}retrieve(t,i){let n=i;return this.get(t,n.optional?D0:Wa,n)}destroy(){ko(this),this._destroyed=!0;let t=Oe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Oe(t)}}onDestroy(t){return ko(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ko(this);let i=oa(this),n=dn(void 0);try{return t()}finally{oa(i),dn(n)}}get(t,i=Wa,n=Me.Default){if(ko(this),t.hasOwnProperty(Rm))return t[Rm](this);n=_c(n);let a=oa(this),r=dn(void 0);try{if(!(n&Me.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=Wse(t)&&xh(t);u&&this.injectableDefInScope(u)?l=Er(pd(t),pl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Me.Self?xc():this.parent;return i=n&Me.Optional&&i===Wa?null:i,o.get(t,i)}catch(o){if(o.name==="NullInjectorError"){if((o[Pl]=o[Pl]||[]).unshift(Bn(t)),a)throw o;return Cse(o,t,"R3InjectorError",this.source)}else throw o}finally{dn(r),oa(a)}}resolveInjectorInitializers(){let t=Oe(null),i=oa(this),n=dn(void 0);try{let a=this.get(Ml,hn,Me.Self);for(let r of a)r()}finally{oa(i),dn(n),Oe(t)}}toString(){let t=[],i=this.records;for(let n of i.keys())t.push(Bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qt(t);let i=Fr(t)?t:qt(t&&t.provide),n=Hse(t);if(!Fr(t)&&t.multi===!0){let a=this.records.get(i);a||(a=Er(void 0,pl,!0),a.factory=()=>dd(a.multi),this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,n)}hydrate(t,i,n){let a=Oe(null);try{return i.value===Lm?yv(Bn(t)):i.value===pl&&(i.value=Lm,i.value=i.factory(void 0,n)),typeof i.value=="object"&&i.value&&Gse(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Oe(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let i=qt(t.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){let i=this._onDestroyHooks.indexOf(t);i!==-1&&this._onDestroyHooks.splice(i,1)}};function pd(e){let t=xh(e),i=t!==null?t.factory:qa(e);if(i!==null)return i;if(e instanceof se)throw new Z(204,!1);if(e instanceof Function)return zse(e);throw new Z(204,!1)}function zse(e){if(e.length>0)throw new Z(204,!1);let t=mse(e);return t!==null?()=>t.factory(e):()=>new e}function Hse(e){if(Ov(e))return Er(void 0,e.useValue);{let t=Pv(e);return Er(t,pl)}}function Pv(e,t,i){let n;if(Fr(e)){let a=qt(e);return qa(a)||pd(a)}else if(Ov(e))n=()=>qt(e.useValue);else if(Vse(e))n=()=>e.useFactory(...dd(e.deps||[]));else if(jse(e))n=(a,r)=>pe(qt(e.useExisting),r!==void 0&&r&Me.Optional?Me.Optional:void 0);else{let a=qt(e&&(e.useClass||e.provide));if(Use(e))n=()=>new a(...dd(e.deps));else return qa(a)||pd(a)}return n}function ko(e){if(e.destroyed)throw new Z(205,!1)}function Er(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Use(e){return!!e.deps}function Gse(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Wse(e){return typeof e=="function"||typeof e=="object"&&e instanceof se}function md(e,t){for(let i of e)Array.isArray(i)?md(i,t):i&&vv(i)?md(i.ɵproviders,t):t(i)}function wc(e,t){let i;e instanceof Dh?(ko(e),i=e):i=new xv(e);let n=oa(i),a=dn(void 0);try{return t()}finally{oa(n),dn(a)}}function Nv(){return bv()!==void 0||ul()!=null}function hs(e){if(!Nv())throw new Z(-203,!1)}function qse(e){return typeof e=="function"}var Ji=0,Se=1,_e=2,en=3,ti=4,vn=5,jr=6,Or=7,Ut=8,Vr=9,Zi=10,Ct=11,Ho=12,Fm=13,Zr=14,Hn=15,$a=16,Sr=17,ni=18,Ec=19,Mv=20,fa=21,su=22,Hi=23,zn=24,ga=25,bt=26,Rv=1,Ya=7,Rl=8,Br=9,Xt=10;function va(e){return Array.isArray(e)&&typeof e[Rv]=="object"}function Xi(e){return Array.isArray(e)&&e[Rv]===!0}function Th(e){return(e.flags&4)!==0}function Kr(e){return e.componentOffset>-1}function Sc(e){return(e.flags&1)===1}function Ei(e){return!!e.template}function Al(e){return(e[_e]&512)!==0}function Jr(e){return(e[_e]&256)===256}var $se=class{constructor(e,t,i){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}};function Av(e,t,i,n){t!==null?t.applyValueToInputSignal(t,n):e[i]=n}var Oh=(()=>{let e=()=>Lv;return e.ngInherit=!0,e})();function Lv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Zse),Yse}function Yse(){let e=jv(this),t=e==null?void 0:e.current;if(t){let i=e.previous;if(i===xi)e.previous=t;else for(let n in t)i[n]=t[n];e.current=null,this.ngOnChanges(t)}}function Zse(e,t,i,n,a){let r=this.declaredInputs[n],o=jv(e)||Kse(e,{previous:xi,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new $se(c&&c.currentValue,i,u===xi),Av(e,t,a,i)}var Fv="__ngSimpleChanges__";function jv(e){return e[Fv]||null}function Kse(e,t){return e[Fv]=t}var Za=function(e,t=null,i){},Jse="svg",Xse="math";function Si(e){for(;Array.isArray(e);)e=e[Ji];return e}function Vv(e,t){return Si(t[e])}function Ii(e,t){return Si(t[e.index])}function Ph(e,t){return e.data[t]}function ps(e,t){return e[t]}function Nh(e,t,i,n){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}function ki(e,t){let i=t[e];return va(i)?i:i[Ji]}function Qse(e){return(e[_e]&4)===4}function Mh(e){return(e[_e]&128)===128}function ele(e){return Xi(e[en])}function Ka(e,t){return t==null?null:e[t]}function Bv(e){e[Sr]=0}function Rh(e){e[_e]&1024||(e[_e]|=1024,Mh(e)&&Xr(e))}function tle(e,t){for(;e>0;)t=t[Zr],e--;return t}function ms(e){var t;return!!(e[_e]&9216||(t=e[zn])!=null&&t.dirty)}function fd(e){var t;(t=e[Zi].changeDetectionScheduler)==null||t.notify(8),e[_e]&64&&(e[_e]|=1024),ms(e)&&Xr(e)}function Xr(e){var i;(i=e[Zi].changeDetectionScheduler)==null||i.notify(0);let t=Ja(e);for(;t!==null&&!(t[_e]&8192||(t[_e]|=8192,!Mh(t)));)t=Ja(t)}function zv(e,t){if(Jr(e))throw new Z(911,!1);e[fa]===null&&(e[fa]=[]),e[fa].push(t)}function nle(e,t){if(e[fa]===null)return;let i=e[fa].indexOf(t);i!==-1&&e[fa].splice(i,1)}function Ja(e){let t=e[en];return Xi(t)?t[en]:t}function Ah(e){return e[Or]??(e[Or]=[])}function Lh(e){return e.cleanup??(e.cleanup=[])}function ile(e,t,i,n){let a=Ah(t);a.push(i),e.firstCreatePass&&Lh(e).push(n,a.length-1)}var Pe={lFrame:Kv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},gd=!1;function ale(){return Pe.lFrame.elementDepthCount}function rle(){Pe.lFrame.elementDepthCount++}function ole(){Pe.lFrame.elementDepthCount--}function sle(){return Pe.bindingsEnabled}function Hv(){return Pe.skipHydrationRootTNode!==null}function lle(e){return Pe.skipHydrationRootTNode===e}function cle(){Pe.skipHydrationRootTNode=null}function we(){return Pe.lFrame.lView}function pt(){return Pe.lFrame.tView}function ya(e){return Pe.lFrame.contextLView=e,e[Ut]}function ba(e){return Pe.lFrame.contextLView=null,e}function cn(){let e=Uv();for(;e!==null&&e.type===64;)e=e.parent;return e}function Uv(){return Pe.lFrame.currentTNode}function ule(){let e=Pe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ea(e,t){let i=Pe.lFrame;i.currentTNode=e,i.isParent=t}function Fh(){return Pe.lFrame.isParent}function jh(){Pe.lFrame.isParent=!1}function Gv(){return Pe.lFrame.contextLView}function Wv(){return gd}function Ll(e){let t=gd;return gd=e,t}function Qr(){let e=Pe.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function dle(e){return Pe.lFrame.bindingIndex=e}function eo(){return Pe.lFrame.bindingIndex++}function qv(e){let t=Pe.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function hle(){return Pe.lFrame.inI18n}function ple(e,t){let i=Pe.lFrame;i.bindingIndex=i.bindingRootIndex=e,vd(t)}function mle(){return Pe.lFrame.currentDirectiveIndex}function vd(e){Pe.lFrame.currentDirectiveIndex=e}function fle(e){let t=Pe.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $v(){return Pe.lFrame.currentQueryIndex}function Vh(e){Pe.lFrame.currentQueryIndex=e}function gle(e){let t=e[Se];return t.type===2?t.declTNode:t.type===1?e[vn]:null}function Yv(e,t,i){if(i&Me.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(i&Me.Host))&&(a=gle(r),!(a===null||(r=r[Zr],a.type&10))););if(a===null)return!1;t=a,e=r}let n=Pe.lFrame=Zv();return n.currentTNode=t,n.lView=e,!0}function Bh(e){let t=Zv(),i=e[Se];Pe.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Zv(){let e=Pe.lFrame,t=e===null?null:e.child;return t===null?Kv(e):t}function Kv(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 Jv(){let e=Pe.lFrame;return Pe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xv=Jv;function zh(){let e=Jv();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 vle(e){return(Pe.lFrame.contextLView=tle(e,Pe.lFrame.contextLView))[Ut]}function Qi(){return Pe.lFrame.selectedIndex}function Xa(e){Pe.lFrame.selectedIndex=e}function Hh(){let e=Pe.lFrame;return Ph(e.tView,e.selectedIndex)}function yle(){return Pe.lFrame.currentNamespace}var Qv=!0;function kc(){return Qv}function Cc(e){Qv=e}function ble(e,t,i){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(n){let o=Lv(t);(i.preOrderHooks??(i.preOrderHooks=[])).push(e,o),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,o)}a&&(i.preOrderHooks??(i.preOrderHooks=[])).push(0-e,a),r&&((i.preOrderHooks??(i.preOrderHooks=[])).push(e,r),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(e,r))}function Uh(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i<n;i++){let a=e.data[i].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-i,r),o&&((e.contentHooks??(e.contentHooks=[])).push(i,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(i,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-i,l),u&&((e.viewHooks??(e.viewHooks=[])).push(i,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(i,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(i,c)}}function ml(e,t,i){ey(e,t,3,i)}function fl(e,t,i,n){(e[_e]&3)===i&&ey(e,t,i,n)}function lu(e,t){let i=e[_e];(i&3)===t&&(i&=16383,i+=1,e[_e]=i)}function ey(e,t,i,n){let a=n!==void 0?e[Sr]&65535:0,r=n??-1,o=t.length-1,l=0;for(let u=a;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[Sr]+=65536),(l<r||r==-1)&&(_le(e,i,t,u),e[Sr]=(e[Sr]&4294901760)+u+2),u++}function jm(e,t){let i=Oe(null);try{t.call(e)}finally{Oe(i)}}function _le(e,t,i,n){let a=i[n]<0,r=i[n+1],o=a?-i[n]:i[n],l=e[o];a?e[_e]>>14<e[Sr]>>16&&(e[_e]&3)===t&&(e[_e]+=16384,jm(l,r)):jm(l,r)}var Pr=-1,fs=class{constructor(e,t,i){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=i}};function xle(e){return(e.flags&8)!==0}function wle(e){return(e.flags&16)!==0}function Ele(e,t,i){let n=0;for(;n<i.length;){let a=i[n];if(typeof a=="number"){if(a!==0)break;n++;let r=i[n++],o=i[n++],l=i[n++];e.setAttribute(t,o,l,r)}else{let r=a,o=i[++n];Sle(r)?e.setProperty(t,r,o):e.setAttribute(t,r,o),n++}}return n}function ty(e){return e===3||e===4||e===6}function Sle(e){return e.charCodeAt(0)===64}function zr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let i=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?i=a:i===0||(i===-1||i===2?Vm(e,i,a,null,t[++n]):Vm(e,i,a,null,null))}}return e}function Vm(e,t,i,n,a){let r=0,o=e.length;if(t===-1)o=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===i){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}o!==-1&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,i),a!==null&&e.splice(r++,0,a)}function ny(e){return e!==Pr}function Fl(e){return e&32767}function kle(e){return e>>16}function jl(e,t){let i=kle(e),n=t;for(;i>0;)n=n[Zr],i--;return n}var yd=!0;function Vl(e){let t=yd;return yd=e,t}var Cle=256,iy=Cle-1,ay=5,Ile=0,_i={};function Dle(e,t,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Po)&&(n=i[Po]),n==null&&(n=i[Po]=Ile++);let a=n&iy,r=1<<a;t.data[e+(a>>ay)]|=r}function Bl(e,t){let i=ry(e,t);if(i!==-1)return i;let n=t[Se];n.firstCreatePass&&(e.injectorIndex=t.length,cu(n.data,e),cu(t,null),cu(n.blueprint,null));let a=Gh(e,t),r=e.injectorIndex;if(ny(a)){let o=Fl(a),l=jl(a,t),u=l[Se].data;for(let c=0;c<8;c++)t[r+c]=l[o+c]|u[o+c]}return t[r+8]=a,r}function cu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ry(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Gh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let i=0,n=null,a=t;for(;a!==null;){if(n=uy(a),n===null)return Pr;if(i++,a=a[Zr],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Pr}function bd(e,t,i){Dle(e,t,i)}function Tle(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let i=e.attrs;if(i){let n=i.length,a=0;for(;a<n;){let r=i[a];if(ty(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<n&&typeof i[a]=="string";)a++;else{if(r===t)return i[a+1];a=a+2}}}return null}function oy(e,t,i){if(i&Me.Optional||e!==void 0)return e;wh()}function sy(e,t,i,n){if(i&Me.Optional&&n===void 0&&(n=null),(i&(Me.Self|Me.Host))===0){let a=e[Vr],r=dn(void 0);try{return a?a.get(t,n,i&Me.Optional):_v(t,n,i&Me.Optional)}finally{dn(r)}}return oy(n,t,i)}function ly(e,t,i,n=Me.Default,a){if(e!==null){if(t[_e]&2048&&!(n&Me.Self)){let o=Mle(e,t,i,n,_i);if(o!==_i)return o}let r=cy(e,t,i,n,_i);if(r!==_i)return r}return sy(t,i,n,a)}function cy(e,t,i,n,a){let r=Ple(i);if(typeof r=="function"){if(!Yv(t,e,n))return n&Me.Host?oy(a,i,n):sy(t,i,n,a);try{let o;if(o=r(n),o==null&&!(n&Me.Optional))wh(i);else return o}finally{Xv()}}else if(typeof r=="number"){let o=null,l=ry(e,t),u=Pr,c=n&Me.Host?t[Hn][vn]:null;for((l===-1||n&Me.SkipSelf)&&(u=l===-1?Gh(e,t):t[l+8],u===Pr||!zm(n,!1)?l=-1:(o=t[Se],l=Fl(u),t=jl(u,t)));l!==-1;){let h=t[Se];if(Bm(r,l,h.data)){let m=Ole(l,t,i,o,n,c);if(m!==_i)return m}u=t[l+8],u!==Pr&&zm(n,t[Se].data[l+8]===c)&&Bm(r,l,t)?(o=h,l=Fl(u),t=jl(u,t)):l=-1}}return a}function Ole(e,t,i,n,a,r){let o=t[Se],l=o.data[e+8],u=n==null?Kr(l)&&yd:n!=o&&(l.type&3)!==0,c=a&Me.Host&&r===l,h=gl(l,o,i,u,c);return h!==null?Uo(t,o,h,l,a):_i}function gl(e,t,i,n,a){let r=e.providerIndexes,o=t.data,l=r&1048575,u=e.directiveStart,c=e.directiveEnd,h=r>>20,m=n?l:l+h,v=a?l+h:c;for(let g=m;g<v;g++){let x=o[g];if(g<u&&i===x||g>=u&&x.type===i)return g}if(a){let g=o[u];if(g&&Ei(g)&&g.type===i)return u}return null}function Uo(e,t,i,n,a){let r=e[i],o=t.data;if(r instanceof fs){let l=r;l.resolving&&yv(bse(o[i]));let u=Vl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?dn(l.injectImpl):null;Yv(e,n,Me.Default);try{r=e[i]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&i>=n.directiveStart&&ble(i,o[i],t)}finally{c!==null&&dn(c),Vl(u),l.resolving=!1,Xv()}}return r}function Ple(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Po)?e[Po]:void 0;return typeof t=="number"?t>=0?t&iy:Nle:t}function Bm(e,t,i){let n=1<<e;return!!(i[t+(e>>ay)]&n)}function zm(e,t){return!(e&Me.Self)&&!(e&Me.Host&&t)}var No=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,i){return ly(this._tNode,this._lView,e,_c(i),t)}};function Nle(){return new No(cn(),we())}function Gt(e){return us(()=>{let t=e.prototype.constructor,i=t[Ol]||_d(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let r=a[Ol]||_d(a);if(r&&r!==i)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function _d(e){return mv(e)?()=>{let t=_d(qt(e));return t&&t()}:qa(e)}function Mle(e,t,i,n,a){let r=e,o=t;for(;r!==null&&o!==null&&o[_e]&2048&&!Al(o);){let l=cy(r,o,i,n|Me.Self,_i);if(l!==_i)return l;let u=r.parent;if(!u){let c=o[Mv];if(c){let h=c.get(i,_i,n);if(h!==_i)return h}u=uy(o),o=o[Zr]}r=u}return a}function uy(e){let t=e[Se],i=t.type;return i===2?t.declTNode:i===1?e[vn]:null}function Rle(e){return Tle(cn(),e)}function Hm(e,t=null,i=null,n){let a=Ale(e,t,i,n);return a.resolveInjectorInitializers(),a}function Ale(e,t=null,i=null,n,a=new Set){let r=[i||hn,Lse(e)];return n=n||(typeof e=="object"?void 0:Bn(e)),new Dh(r,t||xc(),n||null,a)}var pi,st=(pi=class{static create(t,i){if(Array.isArray(t))return Hm({name:""},i,t,"");{let n=t.name??"";return Hm({name:n},t.parent,t.providers,n)}}},s(pi,"THROW_IF_NOT_FOUND",Wa),s(pi,"NULL",new Cv),s(pi,"ɵprov",W({token:pi,providedIn:"any",factory:()=>pe(Sv)})),s(pi,"__NG_ELEMENT_ID__",-1),pi),Lle=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>Rle(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},Fle=new se("");Fle.__NG_ELEMENT_ID__=e=>{let t=cn();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Me.Optional)return null;throw new Z(204,!1)};var dy=!1,ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",jle),s(e,"__NG_ENV_ID__",i=>i),e})(),hy=class extends ii{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let i=this._lView;return Jr(i)?(t(),()=>{}):(zv(i,t),()=>nle(i,t))}};function jle(){return new hy(we())}var to=class{},py=new se("",{providedIn:"root",factory:()=>!1}),my=new se(""),fy=new se(""),gs=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new vh(!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",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),Vle=class extends be{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Nv()&&(this.destroyRef=C(ii,{optional:!0})??void 0,this.pendingTasks=C(gs,{optional:!0})??void 0)}emit(t){let i=Oe(null);try{super.next(t)}finally{Oe(i)}}subscribe(t,i,n){var u,c,h;let a=t,r=i||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(u=m.next)==null?void 0:u.bind(m),r=(c=m.error)==null?void 0:c.bind(m),o=(h=m.complete)==null?void 0:h.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:r,complete:o});return t instanceof pn&&t.add(l),l}wrapInTimeout(t){return i=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(i)}finally{n!==void 0&&((r=this.pendingTasks)==null||r.remove(n))}})}}},Ht=Vle;function Go(...e){}function gy(e){let t,i;function n(){e=Go;try{i!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(i),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(i=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Um(e){return queueMicrotask(()=>e()),()=>{e=Go}}var Wh="isAngularZone",zl=Wh+"_ID",Ble=0,We=class xd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht(!1));s(this,"onMicrotaskEmpty",new Ht(!1));s(this,"onStable",new Ht(!1));s(this,"onError",new Ht(!1));let{enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=dy}=t;if(typeof Zone>"u")throw new Z(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)),i&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=r,Ule(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wh)===!0}static assertInAngularZone(){if(!xd.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(xd.isInAngularZone())throw new Z(909,!1)}run(t,i,n){return this._inner.run(t,i,n)}runTask(t,i,n,a){let r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+a,t,zle,Go,Go);try{return r.runTask(o,i,n)}finally{r.cancelTask(o)}}runGuarded(t,i,n){return this._inner.runGuarded(t,i,n)}runOutsideAngular(t){return this._outer.run(t)}},zle={};function qh(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 Hle(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){gy(()=>{e.callbackScheduled=!1,wd(e),e.isCheckStableRunning=!0,qh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wd(e)}function Ule(e){let t=()=>{Hle(e)},i=Ble++;e._inner=e._inner.fork({name:"angular",properties:{[Wh]:!0,[zl]:i,[zl+i]:!0},onInvokeTask:(n,a,r,o,l,u)=>{if(Wle(u))return n.invokeTask(r,o,l,u);try{return Gm(e),n.invokeTask(r,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Wm(e)}},onInvoke:(n,a,r,o,l,u,c)=>{try{return Gm(e),n.invoke(r,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!qle(u)&&t(),Wm(e)}},onHasTask:(n,a,r,o)=>{n.hasTask(r,o),a===r&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,wd(e),qh(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function wd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Gm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wm(e){e._nesting--,qh(e)}var Gle=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ht);s(this,"onMicrotaskEmpty",new Ht);s(this,"onStable",new Ht);s(this,"onError",new Ht)}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}};function Wle(e){return vy(e,"__ignore_ng_zone__")}function qle(e){return vy(e,"__scheduler_tick__")}function vy(e,t){var i,n;return!Array.isArray(e)||e.length!==1?!1:((n=(i=e[0])==null?void 0:i.data)==null?void 0:n[t])===!0}var ai=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},$le=new se("",{providedIn:"root",factory:()=>{let e=C(We),t=C(ai);return i=>e.runOutsideAngular(()=>t.handleError(i))}}),Yle=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(ai,{optional:!0}));s(this,"destroyRef",C(ii));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var i,n;let t=(i=this.listeners)==null?void 0:i.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var i;if(this.destroyed){console.warn(cv(953,!1));return}if(this.listeners===null)return;let t=Oe(null);try{for(let n of this.listeners)try{n(e)}catch(a){(i=this.errorHandler)==null||i.handleError(a)}}finally{Oe(t)}}};function qm(e){return new Yle}function $m(e,t){return dv(e,t)}function Zle(e){return dv(uv,e)}var fe=($m.required=Zle,$m);function Kle(){return no(cn(),we())}function no(e,t){return new At(Ii(e,t))}var At=(()=>{class e{constructor(i){s(this,"nativeElement");this.nativeElement=i}}return s(e,"__NG_ELEMENT_ID__",Kle),e})();function Jle(e){return e instanceof At?e.nativeElement:e}function Ym(e){return typeof e=="function"&&e[Sn]!==void 0}function Ed(e,t){let i=ooe(e,t==null?void 0:t.equal),n=i[Sn];return i.set=a=>yc(n,a),i.update=a=>C0(n,a),i.asReadonly=yy.bind(i),i}function yy(){let e=this[Sn];if(e.readonlyFn===void 0){let t=()=>this();t[Sn]=e,e.readonlyFn=t}return e.readonlyFn}function Xle(){return this._results[Symbol.iterator]()}var o0,Hl=(o0=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,o0,Xle);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new be)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let i=Pse(e);(this._changesDetected=!Ose(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[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 by(e){return(e.flags&128)===128}var _y=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(_y||{}),xy=new Map,Qle=0;function ece(){return Qle++}function tce(e){xy.set(e[Ec],e)}function Sd(e){xy.delete(e[Ec])}var Zm="__ngContext__";function io(e,t){va(t)?(e[Zm]=t[Ec],tce(t)):e[Zm]=t}function wy(e){return Sy(e[Ho])}function Ey(e){return Sy(e[ti])}function Sy(e){for(;e!==null&&!Xi(e);)e=e[ti];return e}var kd;function nce(e){kd=e}function ice(){if(kd!==void 0)return kd;if(typeof document<"u")return document;throw new Z(210,!1)}var $h=new se("",{providedIn:"root",factory:()=>ace}),ace="ng",ky=new se(""),Ic=new se("",{providedIn:"platform",factory:()=>"unknown"}),ir=new se(""),Yh=new se("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=ice().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Cy=!1,rce=new se("",{providedIn:"root",factory:()=>Cy}),Zh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Zh||{}),vs=new se(""),Km=new Set;function ar(e){var t;Km.has(e)||(Km.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Kh=(()=>{class e{constructor(i,n){s(this,"view");s(this,"node");this.view=i,this.node=n}}return s(e,"__NG_ELEMENT_ID__",oce),e})();function oce(){return new Kh(we(),cn())}var kr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(kr||{}),Iy=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),sce=[kr.EarlyRead,kr.Write,kr.MixedReadWrite,kr.Read],lce=(()=>{const t=class t{constructor(){s(this,"ngZone",C(We));s(this,"scheduler",C(to));s(this,"errorHandler",C(ai,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(vs,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of sce)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[a];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:a}=n;a!==void 0?((a[ga]??(a[ga]=[])).push(n),Xr(a),a[_e]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,a){return a?a.run(Zh.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),cce=class{constructor(e,t,i,n,a,r=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=i,this.once=n,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,i;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(i=this.view)==null?void 0:i[ga];e&&(this.view[ga]=e.filter(n=>n!==this))}};function Dy(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return ar("NgAfterRender"),Ty(e,i,t,!1)}function Jh(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st);return ar("NgAfterNextRender"),Ty(e,i,t,!0)}function uce(e,t){if(e instanceof Function){let i=[void 0,void 0,void 0,void 0];return i[t]=e,i}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ty(e,t,i,n){let a=t.get(Iy);a.impl??(a.impl=t.get(lce));let r=t.get(vs,null,{optional:!0}),o=(i==null?void 0:i.phase)??kr.MixedReadWrite,l=(i==null?void 0:i.manualCleanup)!==!0?t.get(ii):null,u=t.get(Kh,null,{optional:!0}),c=new cce(a.impl,uce(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return a.impl.register(c),c}var dce=()=>null;function Oy(e,t,i=!1){return dce()}function Py(e,t){let i=e.contentQueries;if(i!==null){let n=Oe(null);try{for(let a=0;a<i.length;a+=2){let r=i[a],o=i[a+1];if(o!==-1){let l=e.data[o];Vh(r),l.contentQueries(2,t[o],o)}}}finally{Oe(n)}}}function Cd(e,t,i){Vh(0);let n=Oe(null);try{t(e,i)}finally{Oe(n)}}function Xh(e,t,i){if(Th(t)){let n=Oe(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let o=a;o<r;o++){let l=e.data[o];if(l.contentQueries){let u=i[o];l.contentQueries(1,u,o)}}}finally{Oe(n)}}}var Ui=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ui||{}),zs;function hce(){if(zs===void 0&&(zs=null,wr.trustedTypes))try{zs=wr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zs}function Dc(e){var t;return((t=hce())==null?void 0:t.createHTML(e))||e}var rr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lv})`}},pce=class extends rr{getTypeName(){return"HTML"}},mce=class extends rr{getTypeName(){return"Style"}},fce=class extends rr{getTypeName(){return"Script"}},gce=class extends rr{getTypeName(){return"URL"}},vce=class extends rr{getTypeName(){return"ResourceURL"}};function sa(e){return e instanceof rr?e.changingThisBreaksApplicationSecurity:e}function yr(e,t){let i=yce(e);if(i!=null&&i!==t){if(i==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${lv})`)}return i===t}function yce(e){return e instanceof rr&&e.getTypeName()||null}function bce(e){return new pce(e)}function _ce(e){return new mce(e)}function xce(e){return new fce(e)}function wce(e){return new gce(e)}function Ece(e){return new vce(e)}function Sce(e){let t=new Cce(e);return Ice()?new kce(t):t}var kce=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(Dc(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):((t=i.firstChild)==null||t.remove(),i)}catch{return null}}},Cce=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=Dc(e),t}};function Ice(){try{return!!new window.DOMParser().parseFromString(Dc(""),"text/html")}catch{return!1}}var Dce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qh(e){return e=String(e),e.match(Dce)?e:"unsafe:"+e}function ea(e){let t={};for(let i of e.split(","))t[i]=!0;return t}function ys(...e){let t={};for(let i of e)for(let n in i)i.hasOwnProperty(n)&&(t[n]=!0);return t}var Ny=ea("area,br,col,hr,img,wbr"),My=ea("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ry=ea("rp,rt"),Tce=ys(Ry,My),Oce=ys(My,ea("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")),Pce=ys(Ry,ea("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")),Jm=ys(Ny,Oce,Pce,Tce),Ay=ea("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nce=ea("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"),Mce=ea("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"),Rce=ys(Ay,Nce,Mce),Ace=ea("script,style,template"),Lce=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,i=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild){n.push(t),t=Vce(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=jce(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Xm(e).toLowerCase();if(!Jm.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ace.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let i=e.attributes;for(let n=0;n<i.length;n++){let a=i.item(n),r=a.name,o=r.toLowerCase();if(!Rce.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Ay[o]&&(l=Qh(l)),this.buf.push(" ",r,'="',Qm(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Xm(e).toLowerCase();Jm.hasOwnProperty(t)&&!Ny.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Qm(e))}};function Fce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function jce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ly(t);return t}function Vce(e){let t=e.firstChild;if(t&&Fce(e,t))throw Ly(t);return t}function Xm(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ly(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Bce=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zce=/([^\#-~ |!])/g;function Qm(e){return e.replace(/&/g,"&amp;").replace(Bce,function(t){let i=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(zce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hs;function Hce(e,t){let i=null;try{Hs=Hs||Sce(e);let n=t?String(t):"";i=Hs.getInertBodyElement(n);let a=5,r=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=r,r=i.innerHTML,i=Hs.getInertBodyElement(n)}while(n!==r);let o=new Lce().sanitizeChildren(ef(i)||i);return Dc(o)}finally{if(i){let n=ef(i)||i;for(;n.firstChild;)n.firstChild.remove()}}}function ef(e){return"content"in e&&Uce(e)?e.content:null}function Uce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Gce=/^>|^->|<!--|-->|--!>|<!-$/g,Wce=/(<|>)/g,qce="​$1​";function $ce(e){return e.replace(Gce,t=>t.replace(Wce,qce))}function Yce(e,t){return e.createText(t)}function Zce(e,t,i){e.setValue(t,i)}function Kce(e,t){return e.createComment($ce(t))}function Fy(e,t,i){return e.createElement(t,i)}function Ul(e,t,i,n,a){e.insertBefore(t,i,n,a)}function jy(e,t,i){e.appendChild(t,i)}function tf(e,t,i,n,a){n!==null?Ul(e,t,i,n,a):jy(e,t,i)}function Jce(e,t,i){e.removeChild(null,t,i)}function Xce(e,t,i){e.setAttribute(t,"style",i)}function Qce(e,t,i){i===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Vy(e,t,i){let{mergedAttrs:n,classes:a,styles:r}=i;n!==null&&Ele(e,t,n),a!==null&&Qce(e,t,a),r!==null&&Xce(e,t,r)}var wn=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}(wn||{});function By(e){let t=eue();return t?t.sanitize(wn.URL,e)||"":yr(e,"URL")?sa(e):Qh(bc(e))}function eue(){let e=we();return e&&e[Zi].sanitizer}function tue(e,t,i){let n=e.length;for(;;){let a=e.indexOf(t,i);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===n||e.charCodeAt(a+r)<=32)return a}i=a+1}}var zy="ng-template";function nue(e,t,i,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&tue(t[a+1].toLowerCase(),i,0)!==-1)return!0}else if(ep(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===i)return!0}return!1}function ep(e){return e.type===4&&e.value!==zy}function iue(e,t,i){let n=e.type===4&&!i?zy:e.value;return t===n}function aue(e,t,i){let n=4,a=e.attrs,r=a!==null?sue(a):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Yn(n)&&!Yn(u))return!1;if(o&&Yn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!iue(e,u,i)||u===""&&t.length===1){if(Yn(n))return!1;o=!0}}else if(n&8){if(a===null||!nue(e,a,u,i)){if(Yn(n))return!1;o=!0}}else{let c=t[++l],h=rue(u,a,ep(e),i);if(h===-1){if(Yn(n))return!1;o=!0;continue}if(c!==""){let m;if(h>r?m="":m=a[h+1].toLowerCase(),n&2&&c!==m){if(Yn(n))return!1;o=!0}}}}return Yn(n)||o}function Yn(e){return(e&1)===0}function rue(e,t,i,n){if(t===null)return-1;let a=0;if(n||!i){let r=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)r=!0;else if(o===1||o===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=r?1:2}return-1}else return lue(t,e)}function Hy(e,t,i=!1){for(let n=0;n<t.length;n++)if(aue(e,t[n],i))return!0;return!1}function oue(e){let t=e.attrs;if(t!=null){let i=t.indexOf(5);if(!(i&1))return t[i+1]}return null}function sue(e){for(let t=0;t<e.length;t++){let i=e[t];if(ty(i))return t}return e.length}function lue(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){let n=e[i];if(typeof n=="number")return-1;if(n===t)return i;i++}return-1}function cue(e,t){e:for(let i=0;i<t.length;i++){let n=t[i];if(e.length===n.length){for(let a=0;a<e.length;a++)if(e[a]!==n[a])continue e;return!0}}return!1}function nf(e,t){return e?":not("+t.trim()+")":t}function uue(e){let t=e[0],i=1,n=2,a="",r=!1;for(;i<e.length;){let o=e[i];if(typeof o=="string")if(n&2){let l=e[++i];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!Yn(o)&&(t+=nf(r,a),a=""),n=o,r=r||!Yn(n);i++}return a!==""&&(t+=nf(r,a)),t}function due(e){return e.map(uue).join(",")}function hue(e){let t=[],i=[],n=1,a=2;for(;n<e.length;){let r=e[n];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++n]):a===8&&i.push(r);else{if(!Yn(a))break;a=r}n++}return i.length&&t.push(1,...i),t}var ri={};function tp(e,t,i,n,a,r,o,l,u,c,h){let m=bt+n,v=m+a,g=pue(m,v),x=typeof c=="function"?c():c;return g[Se]={type:e,blueprint:g,template:i,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:x,incompleteFirstPass:!1,ssrId:h}}function pue(e,t){let i=[];for(let n=0;n<t;n++)i.push(n<e?null:ri);return i}function mue(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=tp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function np(e,t,i,n,a,r,o,l,u,c,h){let m=t.blueprint.slice();return m[Ji]=a,m[_e]=n|4|128|8|64|1024,(c!==null||e&&e[_e]&2048)&&(m[_e]|=2048),Bv(m),m[en]=m[Zr]=e,m[Ut]=i,m[Zi]=o||e&&e[Zi],m[Ct]=l||e&&e[Ct],m[Vr]=u||e&&e[Vr]||null,m[vn]=r,m[Ec]=ece(),m[jr]=h,m[Mv]=c,m[Hn]=t.type==2?e[Hn]:m,m}function fue(e,t,i){let n=Ii(t,e),a=mue(i),r=e[Zi].rendererFactory,o=ip(e,np(e,a,null,Uy(i),n,t,null,r.createRenderer(n,i),null,null,null));return e[t.index]=o}function Uy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Gy(e,t,i,n){if(i===0)return-1;let a=t.length;for(let r=0;r<i;r++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function ip(e,t){return e[Ho]?e[Fm][ti]=t:e[Ho]=t,e[Fm]=t,t}function O(e=1){Wy(pt(),we(),Qi()+e)}function Wy(e,t,i,n){if((t[_e]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ml(t,a,i)}else{let a=e.preOrderHooks;a!==null&&fl(t,a,0,i)}Xa(i)}var Tc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Tc||{});function Id(e,t,i,n){let a=Oe(null);try{let[r,o,l]=e.inputs[i],u=null;o&Tc.SignalBased&&(u=t[r][Sn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,i,r):Av(t,u,r,n)}finally{Oe(a)}}function qy(e,t,i,n,a){let r=Qi(),o=n&2;try{Xa(-1),o&&t.length>bt&&Wy(e,t,bt,!1),Za(o?2:0,a),i(n,a)}finally{Xa(r)}}function Oc(e,t,i){bue(e,t,i),(i.flags&64)===64&&_ue(e,t,i)}function ap(e,t,i=Ii){let n=t.localNames;if(n!==null){let a=t.index+1;for(let r=0;r<n.length;r+=2){let o=n[r+1],l=o===-1?i(t,e):e[o];e[a++]=l}}}function gue(e,t,i,n){let a=n.get(rce,Cy)||i===Ui.ShadowDom;return e.selectRootElement(t,a)}function vue(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function $y(e,t,i,n,a,r,o,l){if(!l&&op(t,e,i,n,a)){Kr(t)&&yue(i,t.index);return}if(t.type&3){let u=Ii(t,i);n=vue(n),a=o!=null?o(a,t.value||"",n):a,r.setProperty(u,n,a)}else t.type&12}function yue(e,t){let i=ki(t,e);i[_e]&16||(i[_e]|=64)}function bue(e,t,i){let n=i.directiveStart,a=i.directiveEnd;Kr(i)&&fue(t,i,e.data[n+i.componentOffset]),e.firstCreatePass||Bl(i,t);let r=i.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],u=Uo(t,e,o,i);if(io(u,t),r!==null&&Sue(t,o-n,u,l,i,r),Ei(l)){let c=ki(i.index,t);c[Ut]=Uo(t,e,o,i)}}}function _ue(e,t,i){let n=i.directiveStart,a=i.directiveEnd,r=i.index,o=mle();try{Xa(r);for(let l=n;l<a;l++){let u=e.data[l],c=t[l];vd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&xue(u,c)}}finally{Xa(-1),vd(o)}}function xue(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function rp(e,t){let i=e.directiveRegistry,n=null;if(i)for(let a=0;a<i.length;a++){let r=i[a];Hy(t,r.selectors,!1)&&(n??(n=[]),Ei(r)?n.unshift(r):n.push(r))}return n}function wue(e,t,i,n,a,r){let o=Ii(e,t);Eue(t[Ct],o,r,e.value,i,n,a)}function Eue(e,t,i,n,a,r,o){if(r==null)e.removeAttribute(t,a,i);else{let l=o==null?bc(r):o(r,n||"",a);e.setAttribute(t,a,l,i)}}function Sue(e,t,i,n,a,r){let o=r[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];Id(n,i,u,c)}}function kue(e,t){let i=e[Vr],n=i?i.get(ai,null):null;n&&n.handleError(t)}function op(e,t,i,n,a){var u,c;let r=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let h=0;h<o.length;h+=2){let m=o[h],v=o[h+1],g=t.data[m];Id(g,i[m],v,a),l=!0}if(r)for(let h of r){let m=i[h],v=t.data[h];Id(v,m,n,a),l=!0}return l}function Cue(e,t){let i=ki(t,e),n=i[Se];Iue(n,i);let a=i[Ji];a!==null&&i[jr]===null&&(i[jr]=Oy(a,i[Vr])),sp(n,i,i[Ut]),Za(19,i[Ut])}function Iue(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}function sp(e,t,i){var n;Bh(t);try{let a=e.viewQuery;a!==null&&Cd(1,a,i);let r=e.template;r!==null&&qy(e,t,r,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[ni])==null||n.finishViewCreation(e),e.staticContentQueries&&Py(e,t),e.staticViewQueries&&Cd(2,e.viewQuery,i);let o=e.components;o!==null&&Due(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,zh()}}function Due(e,t){for(let i=0;i<t.length;i++)Cue(e,t[i])}function bs(e,t,i,n){let a=Oe(null);try{let r=t.tView,o=e[_e]&4096?4096:16,l=np(e,r,i,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[$a]=u;let c=e[ni];return c!==null&&(l[ni]=c.createEmbeddedView(r)),sp(r,l,i),l}finally{Oe(a)}}function Hr(e,t){return!t||t.firstChild===null||by(e)}var Tue;function lp(e,t){return Tue(e,t)}var ua=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ua||{});function cp(e){return(e.flags&32)===32}function Cr(e,t,i,n,a){if(n!=null){let r,o=!1;Xi(n)?r=n:va(n)&&(o=!0,n=n[Ji]);let l=Si(n);e===0&&i!==null?a==null?jy(t,i,l):Ul(t,i,l,a||null,!0):e===1&&i!==null?Ul(t,i,l,a||null,!0):e===2?Jce(t,l,o):e===3&&t.destroyNode(l),r!=null&&Vue(t,e,r,i,a)}}function Oue(e,t){Yy(e,t),t[Ji]=null,t[vn]=null}function Pue(e,t,i,n,a,r){n[Ji]=a,n[vn]=t,Mc(e,n,i,1,a,r)}function Yy(e,t){var i;(i=t[Zi].changeDetectionScheduler)==null||i.notify(9),Mc(e,t,t[Ct],2,null,null)}function Nue(e){let t=e[Ho];if(!t)return uu(e[Se],e);for(;t;){let i=null;if(va(t))i=t[Ho];else{let n=t[Xt];n&&(i=n)}if(!i){for(;t&&!t[ti]&&t!==e;)va(t)&&uu(t[Se],t),t=t[en];t===null&&(t=e),va(t)&&uu(t[Se],t),i=t&&t[ti]}t=i}}function up(e,t){let i=e[Br],n=i.indexOf(t);i.splice(n,1)}function Pc(e,t){if(Jr(t))return;let i=t[Ct];i.destroyNode&&Mc(e,t,i,3,null,null),Nue(t)}function uu(e,t){if(Jr(t))return;let i=Oe(null);try{t[_e]&=-129,t[_e]|=256,t[zn]&&fc(t[zn]),Rue(e,t),Mue(e,t),t[Se].type===1&&t[Ct].destroy();let n=t[$a];if(n!==null&&Xi(t[en])){n!==t[en]&&up(n,t);let a=t[ni];a!==null&&a.detachView(e)}Sd(t)}finally{Oe(i)}}function Mue(e,t){let i=e.cleanup,n=t[Or];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let l=i[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[i[o+1]];i[o].call(l)}n!==null&&(t[Or]=null);let a=t[fa];if(a!==null){t[fa]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let r=t[Hi];if(r!==null){t[Hi]=null;for(let o of r)o.destroy()}}function Rue(e,t){let i;if(e!=null&&(i=e.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let a=t[i[n]];if(!(a instanceof fs)){let r=i[n+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){let l=a[r[o]],u=r[o+1];try{u.call(l)}finally{}}else try{r.call(a)}finally{}}}}function Zy(e,t,i){return Aue(e,t.parent,i)}function Aue(e,t,i){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return i[Ji];if(Kr(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===Ui.None||a===Ui.Emulated)return null}return Ii(n,i)}function Ky(e,t,i){return Fue(e,t,i)}function Lue(e,t,i){return e.type&40?Ii(e,i):null}var Fue=Lue;function Nc(e,t,i,n){let a=Zy(e,n,t),r=t[Ct],o=n.parent||t[vn],l=Ky(o,n,t);if(a!=null)if(Array.isArray(i))for(let u=0;u<i.length;u++)tf(r,a,i[u],l,!1);else tf(r,a,i,l,!1)}function Co(e,t){if(t!==null){let i=t.type;if(i&3)return Ii(t,e);if(i&4)return Dd(-1,e[t.index]);if(i&8){let n=t.child;if(n!==null)return Co(e,n);{let a=e[t.index];return Xi(a)?Dd(-1,a):Si(a)}}else{if(i&128)return Co(e,t.next);if(i&32)return lp(t,e)()||Si(e[t.index]);{let n=Jy(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Ja(e[Hn]);return Co(a,n)}else return Co(e,t.next)}}}return null}function Jy(e,t){if(t!==null){let i=e[Hn][vn],n=t.projection;return i.projection[n]}return null}function Dd(e,t){let i=Xt+e+1;if(i<t.length){let n=t[i],a=n[Se].firstChild;if(a!==null)return Co(n,a)}return t[Ya]}function dp(e,t,i,n,a,r,o){for(;i!=null;){if(i.type===128){i=i.next;continue}let l=n[i.index],u=i.type;if(o&&t===0&&(l&&io(Si(l),n),i.flags|=2),!cp(i))if(u&8)dp(e,t,i.child,n,a,r,!1),Cr(t,e,a,l,r);else if(u&32){let c=lp(i,n),h;for(;h=c();)Cr(t,e,a,h,r);Cr(t,e,a,l,r)}else u&16?Xy(e,t,n,i,a,r):Cr(t,e,a,l,r);i=o?i.projectionNext:i.next}}function Mc(e,t,i,n,a,r){dp(i,n,e.firstChild,t,a,r,!1)}function jue(e,t,i){let n=t[Ct],a=Zy(e,i,t),r=i.parent||t[vn],o=Ky(r,i,t);Xy(n,0,t,i,a,o)}function Xy(e,t,i,n,a,r){let o=i[Hn],l=o[vn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];Cr(t,e,a,c,r)}else{let u=l,c=o[en];by(n)&&(u.flags|=128),dp(e,t,u,c,a,r,!0)}}function Vue(e,t,i,n,a){let r=i[Ya],o=Si(i);r!==o&&Cr(t,e,n,r,a);for(let l=Xt;l<i.length;l++){let u=i[l];Mc(u[Se],u,e,t,n,r)}}function Bue(e,t,i,n,a){if(t)a?e.addClass(i,n):e.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:ua.DashCase;a==null?e.removeStyle(i,n,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=ua.Important),e.setStyle(i,n,a,r))}}function Gl(e,t,i,n,a=!1){for(;i!==null;){if(i.type===128){i=a?i.projectionNext:i.next;continue}let r=t[i.index];r!==null&&n.push(Si(r)),Xi(r)&&zue(r,n);let o=i.type;if(o&8)Gl(e,t,i.child,n);else if(o&32){let l=lp(i,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=Jy(t,i);if(Array.isArray(l))n.push(...l);else{let u=Ja(t[Hn]);Gl(u[Se],u,l,n,!0)}}i=a?i.projectionNext:i.next}return n}function zue(e,t){for(let i=Xt;i<e.length;i++){let n=e[i],a=n[Se].firstChild;a!==null&&Gl(n[Se],n,a,t)}e[Ya]!==e[Ji]&&t.push(e[Ya])}function Qy(e){if(e[ga]!==null){for(let t of e[ga])t.impl.addSequence(t);e[ga].length=0}}var eb=[];function Hue(e){return e[zn]??Uue(e)}function Uue(e){let t=eb.pop()??Object.create(Wue);return t.lView=e,t}function Gue(e){e.lView[zn]!==e&&(e.lView=null,eb.push(e))}var Wue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Xr(e.lView)},consumerOnSignalRead(){this.lView[zn]=this}});function que(e){let t=e[zn]??Object.create($ue);return t.lView=e,t}var $ue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ja(e.lView);for(;t&&!tb(t[Se]);)t=Ja(t);t&&Rh(t)},consumerOnSignalRead(){this.lView[zn]=this}});function tb(e){return e.type!==2}function nb(e){if(e[Hi]===null)return;let t=!0;for(;t;){let i=!1;for(let n of e[Hi])n.dirty&&(i=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=i&&!!(e[_e]&8192)}}var Yue=100;function ib(e,t=!0,i=0){var a,r;let n=e[Zi].rendererFactory;(a=n.begin)==null||a.call(n);try{Zue(e,i)}catch(o){throw t&&kue(e,o),o}finally{(r=n.end)==null||r.call(n)}}function Zue(e,t){let i=Wv();try{Ll(!0),Td(e,t);let n=0;for(;ms(e);){if(n===Yue)throw new Z(103,!1);n++,Td(e,1)}}finally{Ll(i)}}function Kue(e,t,i,n){if(Jr(t))return;let a=t[_e],r=!1,o=!1;Bh(t);let l=!0,u=null,c=null;tb(e)?(c=Hue(t),u=Lo(c)):Qre()===null?(l=!1,c=que(t),u=Lo(c)):t[zn]&&(fc(t[zn]),t[zn]=null);try{Bv(t),dle(e.bindingStartIndex),i!==null&&qy(e,t,i,2,n);let h=(a&3)===3;if(!r)if(h){let g=e.preOrderCheckHooks;g!==null&&ml(t,g,null)}else{let g=e.preOrderHooks;g!==null&&fl(t,g,0,null),lu(t,0)}if(o||Jue(t),nb(t),ab(t,0),e.contentQueries!==null&&Py(e,t),!r)if(h){let g=e.contentCheckHooks;g!==null&&ml(t,g)}else{let g=e.contentHooks;g!==null&&fl(t,g,1),lu(t,1)}Que(e,t);let m=e.components;m!==null&&ob(t,m,0);let v=e.viewQuery;if(v!==null&&Cd(2,v,n),!r)if(h){let g=e.viewCheckHooks;g!==null&&ml(t,g)}else{let g=e.viewHooks;g!==null&&fl(t,g,2),lu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[su]){for(let g of t[su])g();t[su]=null}r||(Qy(t),t[_e]&=-73)}catch(h){throw Xr(t),h}finally{c!==null&&(mc(c,u),l&&Gue(c)),zh()}}function ab(e,t){for(let i=wy(e);i!==null;i=Ey(i))for(let n=Xt;n<i.length;n++){let a=i[n];rb(a,t)}}function Jue(e){for(let t=wy(e);t!==null;t=Ey(t)){if(!(t[_e]&2))continue;let i=t[Br];for(let n=0;n<i.length;n++){let a=i[n];Rh(a)}}}function Xue(e,t,i){let n=ki(t,e);rb(n,i),Za(19,n[Ut])}function rb(e,t){Mh(e)&&Td(e,t)}function Td(e,t){let i=e[Se],n=e[_e],a=e[zn],r=!!(t===0&&n&16);if(r||(r=!!(n&64&&t===0)),r||(r=!!(n&1024)),r||(r=!!(a!=null&&a.dirty&&ph(a))),r||(r=!1),a&&(a.dirty=!1),e[_e]&=-9217,r)Kue(i,e,i.template,e[Ut]);else if(n&8192){nb(e),ab(e,1);let o=i.components;o!==null&&ob(e,o,1),Qy(e)}}function ob(e,t,i){for(let n=0;n<t.length;n++)Xue(e,t[n],i)}function Que(e,t){let i=e.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let a=i[n];if(a<0)Xa(~a);else{let r=a,o=i[++n],l=i[++n];ple(o,r);let u=t[r];Za(24,u),l(2,u),Za(25,u)}}}finally{Xa(-1)}}function hp(e,t){var n;let i=Wv()?64:1088;for((n=e[Zi].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[_e]|=i;let a=Ja(e);if(Al(e)&&!a)return e;e=a}return null}function sb(e,t,i,n){return[e,!0,0,t,null,n,null,i,null,null]}function lb(e,t){let i=Xt+t;if(i<e.length)return e[i]}function _s(e,t,i,n=!0){let a=t[Se];if(ede(a,t,e,i),n){let o=Dd(i,e),l=t[Ct],u=l.parentNode(e[Ya]);u!==null&&Pue(a,e[vn],l,t,u,o)}let r=t[jr];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function cb(e,t){let i=Wo(e,t);return i!==void 0&&Pc(i[Se],i),i}function Wo(e,t){if(e.length<=Xt)return;let i=Xt+t,n=e[i];if(n){let a=n[$a];a!==null&&a!==e&&up(a,n),t>0&&(e[i-1][ti]=n[ti]);let r=Nl(e,Xt+t);Oue(n[Se],n);let o=r[ni];o!==null&&o.detachView(r[Se]),n[en]=null,n[ti]=null,n[_e]&=-129}return n}function ede(e,t,i,n){let a=Xt+n,r=i.length;n>0&&(i[a-1][ti]=t),n<r-Xt?(t[ti]=i[a],Ev(i,Xt+n,t)):(i.push(t),t[ti]=null),t[en]=i;let o=t[$a];o!==null&&i!==o&&ub(o,t);let l=t[ni];l!==null&&l.insertView(e),fd(t),t[_e]|=128}function ub(e,t){let i=e[Br],n=t[en];if(va(n))e[_e]|=2;else{let a=n[en][Hn];t[Hn]!==a&&(e[_e]|=2)}i===null?e[Br]=[t]:i.push(t)}var qo=class{constructor(e,t,i=!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=i}get rootNodes(){let e=this._lView,t=e[Se];return Gl(t,e,t.firstChild,[])}get context(){return this._lView[Ut]}set context(e){this._lView[Ut]=e}get destroyed(){return Jr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[en];if(Xi(e)){let t=e[Rl],i=t?t.indexOf(this):-1;i>-1&&(Wo(e,i),Nl(t,i))}this._attachedToViewContainer=!1}Pc(this._lView[Se],this._lView)}onDestroy(e){zv(this._lView,e)}markForCheck(){hp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_e]&=-129}reattach(){fd(this._lView),this._lView[_e]|=128}detectChanges(){this._lView[_e]|=1024,ib(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Al(this._lView),t=this._lView[$a];t!==null&&!e&&up(t,this._lView),Yy(this._lView[Se],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=Al(this._lView),i=this._lView[$a];i!==null&&!t&&ub(i,this._lView),fd(this._lView)}};function tde(e){return ms(e._lView)||!!(e._lView[_e]&64)}function nde(e){Rh(e._cdRefInjectingView||e._lView)}var Ur=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",rde),e})(),ide=Ur,ade=class extends ide{constructor(t,i,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=i,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,n){let a=bs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:n});return new qo(a)}};function rde(){return Rc(cn(),we())}function Rc(e,t){return e.type&4?new ade(t,e,no(e,t)):null}function ao(e,t,i,n,a){let r=e.data[t];if(r===null)r=ode(e,t,i,n,a),hle()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=a;let o=ule();r.injectorIndex=o===null?-1:o.injectorIndex}return Ea(r,!0),r}function ode(e,t,i,n,a){let r=Uv(),o=Fh(),l=o?r:r&&r.parent,u=e.data[t]=lde(e,l,i,t,n,a);return sde(e,u,r,o),u}function sde(e,t,i,n){e.firstChild===null&&(e.firstChild=t),i!==null&&(n?i.child==null&&t.parent!==null&&(i.child=t):i.next===null&&(i.next=t,t.prev=i))}function lde(e,t,i,n,a,r){let o=t?t.injectorIndex:-1,l=0;return Hv()&&(l|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var cde=()=>null;function Gr(e,t){return cde()}var ude=class{},db=class{},dde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Bn(e)}.`)}},td,xs=(td=class{},s(td,"NULL",new dde),td),oi=class{},ro=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>hde()),e})();function hde(){let e=we(),t=cn(),i=ki(t.index,e);return(va(i)?i:e)[Ct]}var pde=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),du={},mde=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,i){i=_c(i);let n=this.injector.get(e,du,i);return n!==du||t===du?n:this.parentInjector.get(e,t,i)}};function Od(e,t,i){let n=i?e.styles:null,a=i?e.classes:null,r=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")r=l;else if(r==1)a=ld(a,l);else if(r==2){let u=l,c=t[++o];n=ld(n,u+": "+c+";")}}i?e.styles=n:e.stylesWithoutHost=n,i?e.classes=a:e.classesWithoutHost=a}function Qt(e,t=Me.Default){let i=we();if(i===null)return pe(e,t);let n=cn();return ly(n,i,qt(e),t)}function pp(e,t,i,n,a){let r=n===null?null:{"":-1},o=a(e,i);if(o!==null){let l,u=null,c=null,h=gde(o);h===null?l=o:[l,u,c]=h,bde(e,t,i,l,r,u,c)}r!==null&&n!==null&&fde(i,n,r)}function fde(e,t,i){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=i[t[a+1]];if(r==null)throw new Z(-301,!1);n.push(t[a],r)}}function gde(e){let t=null,i=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Ei(l)&&(t=l),l.findHostDirectiveDefs!==null){i=!0;break}}if(!i)return null;let n=null,a=null,r=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),r??(r=new Map),vde(o,n,r,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,r]):null}function vde(e,t,i,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),i.set(e,[a,t.length-1])}function yde(e,t,i){t.componentOffset=i,(e.components??(e.components=[])).push(t.index)}function bde(e,t,i,n,a,r,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&Ei(g)&&(u=!0,yde(e,i,v)),bd(Bl(i,t),e,g.type)}kde(i,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,h=!1,m=Gy(e,t,l,null);l>0&&(i.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(i.mergedAttrs=zr(i.mergedAttrs,g.hostAttrs),xde(e,i,t,m,g),Sde(m,g,a),o!==null&&o.has(g)){let[w,S]=o.get(g);i.directiveToIndex.set(g.type,[m,w+i.directiveStart,S+i.directiveStart])}else(r===null||!r.has(g))&&i.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(i.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(i.flags|=64);let x=g.type.prototype;!c&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(i.index),c=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(i.index),h=!0),m++}_de(e,i,r)}function _de(e,t,i){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(i===null||!i.has(a))af(0,t,a,n),af(1,t,a,n),of(t,n,!1);else{let r=i.get(a);rf(0,t,r,n),rf(1,t,r,n),of(t,n,!0)}}}function af(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[r]??(o[r]=[]),o[r].push(n),hb(t,r)}}function rf(e,t,i,n){let a=e===0?i.inputs:i.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,r),hb(t,o)}}function hb(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function of(e,t,i){let{attrs:n,inputs:a,hostDirectiveInputs:r}=e;if(n===null||!i&&a===null||i&&r===null||ep(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!i&&a.hasOwnProperty(u)){let c=a[u];for(let h of c)if(h===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(i&&r.hasOwnProperty(u)){let c=r[u];for(let h=0;h<c.length;h+=2)if(c[h]===t){o??(o=[]),o.push(c[h+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function xde(e,t,i,n,a){e.data[n]=a;let r=a.factory||(a.factory=qa(a.type)),o=new fs(r,Ei(a),Qt);e.blueprint[n]=o,i[n]=o,wde(e,t,n,Gy(e,i,a.hostVars,ri),a)}function wde(e,t,i,n,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;Ede(o)!=l&&o.push(l),o.push(i,n,r)}}function Ede(e){let t=e.length;for(;t>0;){let i=e[--t];if(typeof i=="number"&&i<0)return i}return 0}function Sde(e,t,i){if(i){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)i[t.exportAs[n]]=e;Ei(t)&&(i[""]=e)}}function kde(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function pb(e,t,i,n,a,r,o,l){let u=t.consts,c=Ka(u,o),h=ao(t,e,2,n,c);return pp(t,i,h,Ka(u,l),a),h.mergedAttrs=zr(h.mergedAttrs,h.attrs),h.attrs!==null&&Od(h,h.attrs,!1),h.mergedAttrs!==null&&Od(h,h.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,h),h}function mb(e,t){Uh(e,t),Th(t)&&e.queries.elementEnd(t)}var Cde=class extends xs{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let i=Lr(t);return new mp(i,this.ngModule)}};function Ide(e){return Object.keys(e).map(t=>{let[i,n,a]=e[t],r={propName:i,templateName:t,isSignal:(n&Tc.SignalBased)!==0};return a&&(r.transform=a),r})}function Dde(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Tde(e,t,i){let n=t instanceof wi?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new mde(i,n):i}function Ode(e){let t=e.get(oi,null);if(t===null)throw new Z(407,!1);let i=e.get(pde,null),n=e.get(to,null);return{rendererFactory:t,sanitizer:i,changeDetectionScheduler:n}}function Pde(e,t){let i=(e.selectors[0][0]||"div").toLowerCase();return Fy(t,i,i==="svg"?Jse:i==="math"?Xse:null)}var mp=class extends db{constructor(t,i){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=i,this.componentType=t.type,this.selector=due(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}get inputs(){return this.cachedInputs??(this.cachedInputs=Ide(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=Dde(this.componentDef.outputs)),this.cachedOutputs}create(t,i,n,a){let r=Oe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.18"]:hue(this.componentDef.selectors[0]),u=tp(0,null,null,1,0,null,null,null,null,[l],null),c=Tde(o,a||this.ngModule,t),h=Ode(c),m=h.rendererFactory.createRenderer(null,o),v=n?gue(m,n,o.encapsulation,c):Pde(o,m),g=np(null,u,null,512|Uy(o),null,null,h,m,c,null,Oy(v,c,!0));g[bt]=v,Bh(g);let x=null;try{let w=pb(bt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(Vy(m,v,w),io(v,g)),Oc(u,g,w),Xh(u,w,g),mb(u,w),i!==void 0&&Mde(w,this.ngContentSelectors,i),x=ki(w.index,g),g[Ut]=x[Ut],sp(u,g,null)}catch(w){throw x!==null&&Sd(x),Sd(g),w}finally{Za(23),zh()}return new Nde(this.componentType,g)}finally{Oe(r)}}},Nde=class extends ude{constructor(t,i){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=i,this._tNode=Ph(i[Se],bt),this.location=no(this._tNode,i),this.instance=ki(this._tNode.index,i)[Ut],this.hostView=this.changeDetectorRef=new qo(i,void 0,!1),this.componentType=t}setInput(t,i){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;let a=this._rootLView;op(n,a[Se],a,t,i),this.previousInputValues.set(t,i);let r=ki(n.index,a);hp(r,1)}get injector(){return new No(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Mde(e,t,i){let n=e.projection=[];for(let a=0;a<t.length;a++){let r=i[a];n.push(r!=null&&r.length?Array.from(r):null)}}var ws=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Rde),e})();function Rde(){let e=cn();return gb(e,we())}var Ade=ws,fb=class extends Ade{constructor(t,i,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=i,this._hostLView=n}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new No(this._hostTNode,this._hostLView)}get parentInjector(){let t=Gh(this._hostTNode,this._hostLView);if(ny(t)){let i=jl(t,this._hostLView),n=Fl(t),a=i[Se].data[n+8];return new No(a,i)}else return new No(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let i=sf(this._lContainer);return i!==null&&i[t]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(t,i,n){let a,r;typeof n=="number"?a=n:n!=null&&(a=n.index,r=n.injector);let o=Gr(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(i||{},r,o);return this.insertImpl(l,a,Hr(this._hostTNode,o)),l}createComponent(t,i,n,a,r){let o=t&&!qse(t),l;if(o)l=i;else{let x=i||{};l=x.index,n=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let u=o?t:new mp(Lr(t)),c=n||this.parentInjector;if(!r&&u.ngModule==null){let x=(o?c:this.parentInjector).get(wi,null);x&&(r=x)}let h=Lr(u.componentType??{}),m=Gr(this._lContainer,(h==null?void 0:h.id)??null),v=null,g=u.create(c,a,v,r);return this.insertImpl(g.hostView,l,Hr(this._hostTNode,m)),g}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,n){let a=t._lView;if(ele(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[en],c=new fb(u,u[vn],u[en]);c.detach(c.indexOf(t))}}let r=this._adjustIndex(i),o=this._lContainer;return _s(o,a,r,n),t.attachToViewContainerRef(),Ev(hu(o),r,t),t}move(t,i){return this.insert(t,i)}indexOf(t){let i=sf(this._lContainer);return i!==null?i.indexOf(t):-1}remove(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);n&&(Nl(hu(this._lContainer),i),Pc(n[Se],n))}detach(t){let i=this._adjustIndex(t,-1),n=Wo(this._lContainer,i);return n&&Nl(hu(this._lContainer),i)!=null?new qo(n):null}_adjustIndex(t,i=0){return t??this.length+i}};function sf(e){return e[Rl]}function hu(e){return e[Rl]||(e[Rl]=[])}function gb(e,t){let i,n=t[e.index];return Xi(n)?i=n:(i=sb(n,t,null,e),t[e.index]=i,ip(t,i)),Fde(i,t,e,n),new fb(i,e,t)}function Lde(e,t){let i=e[Ct],n=i.createComment(""),a=Ii(t,e),r=i.parentNode(a);return Ul(i,r,n,i.nextSibling(a),!1),n}var Fde=jde;function jde(e,t,i,n){if(e[Ya])return;let a;i.type&8?a=Si(n):a=Lde(t,i),e[Ya]=a}var Vde=class vb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new vb(this.queryList)}setDirty(){this.queryList.setDirty()}},Bde=class yb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let i=t.queries;if(i!==null){let n=t.contentQueries!==null?t.contentQueries[0]:i.length,a=[];for(let r=0;r<n;r++){let o=i.getByIndex(r),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new yb(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)fp(t,i).matches!==null&&this.queries[i].setDirty()}},bb=class{constructor(e,t,i=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=i,typeof e=="string"?this.predicate=Kde(e):this.predicate=e}},zde=class _b{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let n=0;n<this.length;n++){let a=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(t,a);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new _b(i):null}template(t,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Hde=class xb{constructor(t,i=-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=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new xb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let r=n[a];this.matchTNodeWithReadOption(t,i,Ude(i,r)),this.matchTNodeWithReadOption(t,i,gl(i,t,r,!1,!1))}else n===Ur?i.type&4&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,gl(i,t,n,!1,!1))}matchTNodeWithReadOption(t,i,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===At||a===ws||a===Ur&&i.type&4)this.addMatch(i.index,-2);else{let r=gl(i,t,a,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(t,i){this.matches===null?this.matches=[t,i]:this.matches.push(t,i)}};function Ude(e,t){let i=e.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===t)return i[n+1]}return null}function Gde(e,t){return e.type&11?no(e,t):e.type&4?Rc(e,t):null}function Wde(e,t,i,n){return i===-1?Gde(t,e):i===-2?qde(e,t,n):Uo(e,e[Se],i,t)}function qde(e,t,i){if(i===At)return no(t,e);if(i===Ur)return Rc(t,e);if(i===ws)return gb(t,e)}function wb(e,t,i,n){let a=t[ni].queries[n];if(a.matches===null){let r=e.data,o=i.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let h=r[c];l.push(Wde(t,h,o[u+1],i.metadata.read))}}a.matches=l}return a.matches}function Pd(e,t,i,n){let a=e.queries.getByIndex(i),r=a.matches;if(r!==null){let o=wb(e,t,a,i);for(let l=0;l<r.length;l+=2){let u=r[l];if(u>0)n.push(o[l/2]);else{let c=r[l+1],h=t[-u];for(let m=Xt;m<h.length;m++){let v=h[m];v[$a]===v[en]&&Pd(v[Se],v,c,n)}if(h[Br]!==null){let m=h[Br];for(let v=0;v<m.length;v++){let g=m[v];Pd(g[Se],g,c,n)}}}}}return n}function $de(e,t){return e[ni].queries[t].queryList}function Eb(e,t,i){let n=new Hl((i&4)===4);return ile(e,t,n,n.destroy),(t[ni]??(t[ni]=new Bde)).queries.push(new Vde(n))-1}function Yde(e,t,i){let n=pt();return n.firstCreatePass&&(Sb(n,new bb(e,t,i),-1),(t&2)===2&&(n.staticViewQueries=!0)),Eb(n,we(),t)}function Zde(e,t,i,n){let a=pt();if(a.firstCreatePass){let r=cn();Sb(a,new bb(t,i,n),r.index),Jde(a,e)}return Eb(a,we(),i)}function Kde(e){return e.split(",").map(t=>t.trim())}function Sb(e,t,i){e.queries===null&&(e.queries=new zde),e.queries.track(new Hde(t,i))}function Jde(e,t){let i=e.contentQueries||(e.contentQueries=[]),n=i.length?i[i.length-1]:-1;t!==n&&i.push(e.queries.length-1,t)}function fp(e,t){return e.queries.getByIndex(t)}function Xde(e,t){let i=e[Se],n=fp(i,t);return n.crossesNgTemplate?Pd(i,e,t,[]):wb(i,e,n,t)}var $o=class{},kb=class extends $o{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new Cde(this));s(this,"instance",null);let i=new Dh([...t.providers,{provide:$o,useValue:this},{provide:xs,useValue:this.componentFactoryResolver}],t.parent||xc(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Qde(e,t,i=null){return new kb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}var ehe=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let a=Dv(!1,n.type),r=a.length>0?Qde([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",W({token:t,providedIn:"environment",factory:()=>new t(pe(wi))}));let e=t;return e})();function Re(e){return us(()=>{let t=Cb(e),i=yt(ue({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===_y.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(ehe).getOrCreateStandaloneInjector(i):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ui.Emulated,styles:e.styles||hn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ar("NgStandalone"),Ib(i);let n=e.dependencies;return i.directiveDefs=lf(n,!1),i.pipeDefs=lf(n,!0),i.id=rhe(i),i})}function the(e){return Lr(e)||Iv(e)}function nhe(e){return e!==null}function an(e){return us(()=>({type:e.type,bootstrap:e.bootstrap||hn,declarations:e.declarations||hn,imports:e.imports||hn,exports:e.exports||hn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ihe(e,t){if(e==null)return xi;let i={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],r,o,l,u;Array.isArray(a)?(l=a[0],r=a[1],o=a[2]??r,u=a[3]||null):(r=a,o=a,l=Tc.None,u=null),i[r]=[n,l,u],t[r]=o}return i}function ahe(e){if(e==null)return xi;let t={};for(let i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function rn(e){return us(()=>{let t=Cb(e);return Ib(t),t})}function Yt(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 Cb(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||xi,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||hn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ihe(e.inputs,t),outputs:ahe(e.outputs),debugInfo:null}}function Ib(e){var t;(t=e.features)==null||t.forEach(i=>i(e))}function lf(e,t){if(!e)return null;let i=t?Ase:the;return()=>(typeof e=="function"?e():e).map(n=>i(n)).filter(nhe)}function rhe(e){let t=0,i=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,i,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of n.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ohe(e){return Object.getPrototypeOf(e.prototype).constructor}function Gn(e){let t=ohe(e.type),i=!0,n=[e];for(;t;){let a;if(Ei(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(i){n.push(a);let o=e;o.inputs=pu(e.inputs),o.declaredInputs=pu(e.declaredInputs),o.outputs=pu(e.outputs);let l=a.hostBindings;l&&dhe(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&che(e,u),c&&uhe(e,c),she(e,a),hse(e.outputs,a.outputs),Ei(a)&&a.data.animation){let h=e.data;h.animation=(h.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let o=0;o<r.length;o++){let l=r[o];l&&l.ngInherit&&l(e),l===Gn&&(i=!1)}}t=Object.getPrototypeOf(t)}lhe(n)}function she(e,t){for(let i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;let n=t.inputs[i];n!==void 0&&(e.inputs[i]=n,e.declaredInputs[i]=t.declaredInputs[i])}}function lhe(e){let t=0,i=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=zr(a.hostAttrs,i=zr(i,a.hostAttrs))}}function pu(e){return e===xi?{}:e===hn?[]:e}function che(e,t){let i=e.viewQuery;i?e.viewQuery=(n,a)=>{t(n,a),i(n,a)}:e.viewQuery=t}function uhe(e,t){let i=e.contentQueries;i?e.contentQueries=(n,a,r)=>{t(n,a,r),i(n,a,r)}:e.contentQueries=t}function dhe(e,t){let i=e.hostBindings;i?e.hostBindings=(n,a)=>{t(n,a),i(n,a)}:e.hostBindings=t}function hhe(e){let t=i=>{let n=Array.isArray(e);i.hostDirectives===null?(i.findHostDirectiveDefs=Db,i.hostDirectives=n?e.map(Nd):[e]):n?i.hostDirectives.unshift(...e.map(Nd)):i.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Db(e,t,i){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let a=n();for(let r of a)cf(Nd(r),t,i)}else cf(n,t,i)}function cf(e,t,i){let n=Iv(e.directive);phe(n.declaredInputs,e.inputs),Db(n,t,i),i.set(n,e),t.push(n)}function Nd(e){return typeof e=="function"?{directive:qt(e),inputs:xi,outputs:xi}:{directive:qt(e.directive),inputs:uf(e.inputs),outputs:uf(e.outputs)}}function uf(e){if(e===void 0||e.length===0)return xi;let t={};for(let i=0;i<e.length;i+=2)t[e[i]]=e[i+1];return t}function phe(e,t){for(let i in t)if(t.hasOwnProperty(i)){let n=t[i],a=e[i];e[n]=a}}function Tb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Es(e,t,i){return e[t]=i}function Ob(e,t){return e[t]}function kn(e,t,i){let n=e[t];return Object.is(n,i)?!1:(e[t]=i,!0)}function Wl(e,t,i,n){let a=kn(e,t,i);return kn(e,t+1,n)||a}function mhe(e,t,i,n,a){let r=Wl(e,t,i,n);return kn(e,t+2,a)||r}function fhe(e,t,i,n,a,r){let o=Wl(e,t,i,n);return Wl(e,t+2,a,r)||o}function ghe(e,t,i,n,a,r,o,l,u){let c=t.consts,h=ao(t,e,4,o||null,l||null);pp(t,i,h,Ka(c,u),rp),h.mergedAttrs=zr(h.mergedAttrs,h.attrs),Uh(t,h);let m=h.tView=tp(2,h,n,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,h),m.queries=t.queries.embeddedTView(h)),h}function Pb(e,t,i,n,a,r,o,l,u,c){let h=i+bt,m=t.firstCreatePass?ghe(h,t,e,n,a,r,o,l,u):t.data[h];Ea(m,!1);let v=vhe(t,e);kc()&&Nc(t,e,v,m),io(v,e);let g=sb(v,e,v,m);return e[h]=g,ip(e,g),Sc(m)&&Oc(t,e,m),u!=null&&ap(e,m,c),m}function oe(e,t,i,n,a,r,o,l){let u=we(),c=pt(),h=Ka(c.consts,r);return Pb(u,c,e,t,i,n,a,h,o,l),oe}var vhe=yhe;function yhe(e,t,i,n){return Cc(!0),t[Ct].createComment("")}var bhe=new se(""),Nb=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new _he}));let e=t;return e})(),_he=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,i=this.queues.get(t);i.has(e)&&(i.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let i=this.queues.get(t);i.has(e)||(this.queuedEffectCount++,i.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 Mb(e){return!!e&&typeof e.then=="function"}function xhe(e){return!!e&&typeof e.subscribe=="function"}var whe=new se(""),Rb=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,a)=>{this.resolve=n,this.reject=a}));s(this,"appInits",C(whe,{optional:!0})??[]);s(this,"injector",C(st))}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let o=wc(this.injector,r);if(Mb(o))n.push(o);else if(xhe(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(r=>{this.reject(r)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ehe=new se("");function She(){roe(()=>{throw new Z(600,!1)})}function khe(e){return e.isBoundToModule}var Che=10,xa=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C($le));s(this,"afterRenderManager",C(Iy));s(this,"zonelessEnabled",C(py));s(this,"rootEffectScheduler",C(Nb));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new be);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",C(gs).hasPendingTasks.pipe(zt(n=>!n)));s(this,"_injector",C(wi));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let n=Oe(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,Oe(n),this.afterTick.next()}});C(vs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(a=>{n=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,r=st.NULL){let o=n instanceof db;if(!this._injector.get(Rb).done){let g="";throw new Z(405,g)}let l;o?l=n:l=this._injector.get(xs).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=khe(l)?void 0:this._injector.get($o),c=a||l.selector,h=l.create(r,[],c,u),m=h.location.nativeElement,v=h.injector.get(bhe,null);return v==null||v.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),vl(this.components,h),v==null||v.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Zh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oi,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Che;)this.synchronizeOnce()}synchronizeOnce(){var n,a,r,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)Ihe(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(n=this._rendererFactory)==null?void 0:n.begin)==null||a.call(n),(o=(r=this._rendererFactory)==null?void 0:r.end)==null||o.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ms(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let a=n;this._views.push(a),a.attachToAppRef(this)}detachView(n){let a=n;vl(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Ehe,[]).forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Z(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",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function vl(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}function Ihe(e,t,i,n){!i&&!ms(e)||ib(e,t,i&&!n?0:1)}function Vt(e,t,i,n){let a=we(),r=eo();if(kn(a,r,t)){pt();let o=Hh();wue(o,a,e,t,i,n)}return Vt}function Dhe(e,t,i,n){return kn(e,eo(),i)?t+bc(i)+n:ri}function Us(e,t){return e<<17|t<<2}function Qa(e){return e>>17&32767}function The(e){return(e&2)==2}function Ohe(e,t){return e&131071|t<<17}function Md(e){return e|2}function Wr(e){return(e&131068)>>2}function mu(e,t){return e&-131069|t<<2}function Phe(e){return(e&1)===1}function Rd(e){return e|1}function Nhe(e,t,i,n,a,r){let o=r?t.classBindings:t.styleBindings,l=Qa(o),u=Wr(o);e[n]=i;let c=!1,h;if(Array.isArray(i)){let m=i;h=m[1],(h===null||ds(m,h)>0)&&(c=!0)}else h=i;if(a)if(u!==0){let m=Qa(e[l+1]);e[n+1]=Us(m,l),m!==0&&(e[m+1]=mu(e[m+1],n)),e[l+1]=Ohe(e[l+1],n)}else e[n+1]=Us(l,0),l!==0&&(e[l+1]=mu(e[l+1],n)),l=n;else e[n+1]=Us(u,0),l===0?l=n:e[u+1]=mu(e[u+1],n),u=n;c&&(e[n+1]=Md(e[n+1])),df(e,h,n,!0),df(e,h,n,!1),Mhe(t,h,e,n,r),o=Us(l,u),r?t.classBindings=o:t.styleBindings=o}function Mhe(e,t,i,n,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&ds(r,t)>=0&&(i[n+1]=Rd(i[n+1]))}function df(e,t,i,n){let a=e[i+1],r=t===null,o=n?Qa(a):Wr(a),l=!1;for(;o!==0&&(l===!1||r);){let u=e[o],c=e[o+1];Rhe(u,t)&&(l=!0,e[o+1]=n?Rd(c):Md(c)),o=n?Qa(c):Wr(c)}l&&(e[i+1]=n?Md(a):Rd(a))}function Rhe(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ds(e,t)>=0:!1}var Qn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ahe(e){return e.substring(Qn.key,Qn.keyEnd)}function Lhe(e){return Fhe(e),Ab(e,Lb(e,0,Qn.textEnd))}function Ab(e,t){let i=Qn.textEnd;return i===t?-1:(t=Qn.keyEnd=jhe(e,Qn.key=t,i),Lb(e,t,i))}function Fhe(e){Qn.key=0,Qn.keyEnd=0,Qn.value=0,Qn.valueEnd=0,Qn.textEnd=e.length}function Lb(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function jhe(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}function q(e,t,i){let n=we(),a=eo();if(kn(n,a,t)){let r=pt(),o=Hh();$y(r,o,n,e,t,n[Ct],i,!1)}return q}function Ad(e,t,i,n,a){op(t,e,i,a?"class":"style",n)}function gp(e,t,i){return Fb(e,t,i,!1),gp}function mn(e,t){return Fb(e,t,null,!0),mn}function Ss(e){Bhe(qhe,Vhe,e,!0)}function Vhe(e,t){for(let i=Lhe(t);i>=0;i=Ab(t,i))Sh(e,Ahe(t),!0)}function Fb(e,t,i,n){let a=we(),r=pt(),o=qv(2);if(r.firstUpdatePass&&Vb(r,e,o,n),t!==ri&&kn(a,o,t)){let l=r.data[Qi()];Bb(r,l,a,a[Ct],e,a[o+1]=Yhe(t,i),n,o)}}function Bhe(e,t,i,n){let a=pt(),r=qv(2);a.firstUpdatePass&&Vb(a,null,r,n);let o=we();if(i!==ri&&kn(o,r,i)){let l=a.data[Qi()];if(zb(l,n)&&!jb(a,r)){let u=l.classesWithoutHost;u!==null&&(i=ld(u,i||"")),Ad(a,l,o,i,n)}else $he(a,l,o,o[Ct],o[r+1],o[r+1]=Whe(e,t,i),n,r)}}function jb(e,t){return t>=e.expandoStartIndex}function Vb(e,t,i,n){let a=e.data;if(a[i+1]===null){let r=a[Qi()],o=jb(e,i);zb(r,n)&&t===null&&!o&&(t=!1),t=zhe(a,r,t,n),Nhe(a,r,t,i,o,n)}}function zhe(e,t,i,n){let a=fle(e),r=n?t.residualClasses:t.residualStyles;if(a===null)(n?t.classBindings:t.styleBindings)===0&&(i=fu(null,e,t,i,n),i=Yo(i,t.attrs,n),r=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(i=fu(a,e,t,i,n),r===null){let l=Hhe(e,t,n);l!==void 0&&Array.isArray(l)&&(l=fu(null,e,t,l[1],n),l=Yo(l,t.attrs,n),Uhe(e,t,n,l))}else r=Ghe(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),i}function Hhe(e,t,i){let n=i?t.classBindings:t.styleBindings;if(Wr(n)!==0)return e[Qa(n)]}function Uhe(e,t,i,n){let a=i?t.classBindings:t.styleBindings;e[Qa(a)]=n}function Ghe(e,t,i){let n,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let o=e[r].hostAttrs;n=Yo(n,o,i)}return Yo(n,t.attrs,i)}function fu(e,t,i,n,a){let r=null,o=i.directiveEnd,l=i.directiveStylingLast;for(l===-1?l=i.directiveStart:l++;l<o&&(r=t[l],n=Yo(n,r.hostAttrs,a),r!==e);)l++;return e!==null&&(i.directiveStylingLast=l),n}function Yo(e,t,i){let n=i?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Sh(e,o,i?!0:t[++r]))}return e===void 0?null:e}function Whe(e,t,i){if(i==null||i==="")return hn;let n=[],a=sa(i);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(n,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(n,r,a[r]);else typeof a=="string"&&t(n,a);return n}function qhe(e,t,i){let n=String(t);n!==""&&!n.includes(" ")&&Sh(e,n,i)}function $he(e,t,i,n,a,r,o,l){a===ri&&(a=hn);let u=0,c=0,h=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;h!==null||m!==null;){let v=u<a.length?a[u+1]:void 0,g=c<r.length?r[c+1]:void 0,x=null,w;h===m?(u+=2,c+=2,v!==g&&(x=m,w=g)):m===null||h!==null&&h<m?(u+=2,x=h):(c+=2,x=m,w=g),x!==null&&Bb(e,t,i,n,x,w,o,l),h=u<a.length?a[u]:null,m=c<r.length?r[c]:null}}function Bb(e,t,i,n,a,r,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],h=Phe(c)?hf(u,t,i,a,Wr(c),o):void 0;if(!ql(h)){ql(r)||The(c)&&(r=hf(u,null,i,a,l,o));let m=Vv(Qi(),i);Bue(n,o,m,a,r)}}function hf(e,t,i,n,a,r){let o=t===null,l;for(;a>0;){let u=e[a],c=Array.isArray(u),h=c?u[1]:u,m=h===null,v=i[a+1];v===ri&&(v=m?hn:void 0);let g=m?ru(v,n):h===n?v:void 0;if(c&&!ql(g)&&(g=ru(u,n)),ql(g)&&(l=g,o))return l;let x=e[a+1];a=o?Qa(x):Wr(x)}if(t!==null){let u=r?t.residualClasses:t.residualStyles;u!=null&&(l=ru(u,n))}return l}function ql(e){return e!==void 0}function Yhe(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Bn(sa(e)))),e}function zb(e,t){return(e.flags&(t?8:16))!==0}var Zhe=class{destroy(e){}updateValue(e,t){}swap(e,t){let i=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-i>1){let r=this.detach(i);this.attach(i,a),this.attach(n,r)}else this.attach(i,a)}move(e,t){this.attach(t,this.detach(e))}};function gu(e,t,i,n,a){return e===i&&Object.is(t,n)?1:Object.is(a(e,t),a(i,n))?-1:0}function Khe(e,t,i){let n,a,r=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=o&&r<=l;){let u=e.at(r),c=t[r],h=gu(r,u,r,c,i);if(h!==0){h<0&&e.updateValue(r,c),r++;continue}let m=e.at(o),v=t[l],g=gu(o,m,l,v,i);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let x=i(r,u),w=i(o,m),S=i(r,c);if(Object.is(S,w)){let T=i(l,v);Object.is(T,x)?(e.swap(r,o),e.updateValue(o,v),l--,o--):e.move(o,r),e.updateValue(r,c),r++;continue}if(n??(n=new ff),a??(a=mf(e,r,o,i)),Ld(e,n,r,S))e.updateValue(r,c),r++,o++;else if(a.has(S))n.set(x,e.detach(r)),o--;else{let T=e.create(r,t[r]);e.attach(r,T),r++,o++}}for(;r<=l;)pf(e,n,i,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&r<=o;){let c=e.at(r),h=u.value,m=gu(r,c,r,h,i);if(m!==0)m<0&&e.updateValue(r,h),r++,u=l.next();else{n??(n=new ff),a??(a=mf(e,r,o,i));let v=i(r,h);if(Ld(e,n,r,v))e.updateValue(r,h),r++,o++,u=l.next();else if(!a.has(v))e.attach(r,e.create(r,h)),r++,o++,u=l.next();else{let g=i(r,c);n.set(g,e.detach(r)),o--}}}for(;!u.done;)pf(e,n,i,e.length,u.value),u=l.next()}for(;r<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Ld(e,t,i,n){return t!==void 0&&t.has(n)?(e.attach(i,t.get(n)),t.delete(n),!0):!1}function pf(e,t,i,n,a){if(Ld(e,t,n,i(n,a)))e.updateValue(n,a);else{let r=e.create(n,a);e.attach(n,r)}}function mf(e,t,i,n){let a=new Set;for(let r=t;r<=i;r++)a.add(n(r,e.at(r)));return a}var ff=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 i=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(i);)i=n.get(i);n.set(i,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,i]of this.kvMap)if(e(i,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(i);)i=n.get(i),e(i,t)}}};function ee(e,t){ar("NgControlFlow");let i=we(),n=eo(),a=i[n]!==ri?i[n]:-1,r=a!==-1?$l(i,bt+a):void 0,o=0;if(kn(i,n,e)){let l=Oe(null);try{if(r!==void 0&&cb(r,o),e!==-1){let u=bt+e,c=$l(i,u),h=Fd(i[Se],u),m=Gr(c,h.tView.ssrId),v=bs(i,h,t,{dehydratedView:m});_s(c,v,o,Hr(h,m))}}finally{Oe(l)}}else if(r!==void 0){let l=lb(r,o);l!==void 0&&(l[Ut]=t)}}var Jhe=class{constructor(e,t,i){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-Xt}};function ks(e,t){return t}var Xhe=class{constructor(e,t,i){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=i}};function oo(e,t,i,n,a,r,o,l,u,c,h,m,v){ar("NgControlFlow");let g=we(),x=pt(),w=u!==void 0,S=we(),T=o,L=new Xhe(w,T);S[bt+e]=L,Pb(g,x,e+1,t,i,n,a,Ka(x.consts,r))}var Qhe=class extends Zhe{constructor(t,i,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=i,this.templateTNode=n}get length(){return this.lContainer.length-Xt}at(t){return this.getLView(t)[Ut].$implicit}attach(t,i){let n=i[jr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),_s(this.lContainer,i,t,Hr(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),epe(this.lContainer,t)}create(t,i){var r;let n=Gr(this.lContainer,this.templateTNode.tView.ssrId),a=bs(this.hostLView,this.templateTNode,new Jhe(this.lContainer,i,t),{dehydratedView:n});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var i;Pc(t[Se],t),(i=this.operationsCounter)==null||i.recordDestroy()}updateValue(t,i){this.getLView(t)[Ut].$implicit=i}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)[Ut].$index=t}getLView(t){return tpe(this.lContainer,t)}};function so(e){let t=Oe(null),i=Qi();try{let n=we(),a=n[Se],r=n[i],o=i+1,l=$l(n,o);if(r.liveCollection===void 0){let c=Fd(a,o);r.liveCollection=new Qhe(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(Khe(u,e,r.trackByFn),u.updateIndexes(),r.hasEmptyBlock){let c=eo(),h=u.length===0;if(kn(n,c,h)){let m=i+2,v=$l(n,m);if(h){let g=Fd(a,m),x=Gr(v,g.tView.ssrId),w=bs(n,g,void 0,{dehydratedView:x});_s(v,w,0,Hr(g,x))}else cb(v,0)}}}finally{Oe(t)}}function $l(e,t){return e[t]}function epe(e,t){return Wo(e,t)}function tpe(e,t){return lb(e,t)}function Fd(e,t){return Ph(e,t)}function V(e,t,i,n){let a=we(),r=pt(),o=bt+e,l=a[Ct],u=r.firstCreatePass?pb(o,r,a,t,rp,sle(),i,n):r.data[o],c=npe(r,a,u,l,t);a[o]=c;let h=Sc(u);return Ea(u,!0),Vy(l,c,u),!cp(u)&&kc()&&Nc(r,a,c,u),(ale()===0||h)&&io(c,a),rle(),h&&(Oc(r,a,u),Xh(r,u,a)),n!==null&&ap(a,u),V}function z(){let e=cn();Fh()?jh():(e=e.parent,Ea(e,!1));let t=e;lle(t)&&cle(),ole();let i=pt();return i.firstCreatePass&&mb(i,t),t.classesWithoutHost!=null&&xle(t)&&Ad(i,t,we(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&wle(t)&&Ad(i,t,we(),t.stylesWithoutHost,!1),z}function le(e,t,i,n){return V(e,t,i,n),z(),le}var npe=(e,t,i,n,a,r)=>(Cc(!0),Fy(n,a,yle()));function ipe(e,t,i,n,a){let r=t.consts,o=Ka(r,n),l=ao(t,e,8,"ng-container",o);o!==null&&Od(l,o,!0);let u=Ka(r,a);return pp(t,i,l,u,rp),l.mergedAttrs=zr(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Hb(e,t,i){let n=we(),a=pt(),r=e+bt,o=a.firstCreatePass?ipe(r,a,n,t,i):a.data[r];Ea(o,!0);let l=ape(a,n);return n[r]=l,kc()&&Nc(a,n,l,o),io(l,n),Sc(o)&&(Oc(a,n,o),Xh(a,o,n)),i!=null&&ap(n,o),Hb}function Ub(){let e=cn(),t=pt();return Fh()?jh():(e=e.parent,Ea(e,!1)),t.firstCreatePass&&(Uh(t,e),Th(e)&&t.queries.elementEnd(e)),Ub}function Sa(e,t,i){return Hb(e,t,i),Ub(),Sa}var ape=(e,t,i,n)=>(Cc(!0),Kce(t[Ct],""));function Ac(){return we()}function Lc(e,t,i){let n=we(),a=eo();if(kn(n,a,t)){let r=pt(),o=Hh();$y(r,o,n,e,t,n[Ct],i,!0)}return Lc}var Da=void 0;function rpe(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var ope=["en",[["a","p"],["AM","PM"],Da],[["AM","PM"],Da,Da],[["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"]],Da,[["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"]],Da,[["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}",Da,"{1} 'at' {0}",Da],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",rpe],Mo={};function spe(e,t,i){typeof t!="string"&&(i=t,t=e[Mt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Mo[t]=e,i&&(Mo[t][Mt.ExtraData]=i)}function si(e){let t=lpe(e),i=gf(t);if(i)return i;let n=t.split("-")[0];if(i=gf(n),i)return i;if(n==="en")return ope;throw new Z(701,!1)}function gf(e){return e in Mo||(Mo[e]=wr.ng&&wr.ng.common&&wr.ng.common.locales&&wr.ng.common.locales[e]),Mo[e]}var Mt=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}(Mt||{});function lpe(e){return e.toLowerCase().replace(/_/g,"-")}var jd="en-US";function cpe(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function vf(e,t,i){return function n(a){if(a===Function)return i;let r=Kr(e)?ki(e.index,t):t;hp(r,5);let o=t[Ut],l=yf(t,o,i,a),u=n.__ngNextListenerFn__;for(;u;)l=yf(t,o,u,a)&&l,u=u.__ngNextListenerFn__;return l}}function yf(e,t,i,n){let a=Oe(null);try{return Za(6,t,i),i(n)!==!1}catch(r){return upe(e,r),!1}finally{Oe(a)}}function upe(e,t){let i=e[Vr],n=i?i.get(ai,null):null;n&&n.handleError(t)}function bf(e,t,i,n,a,r){let o=t[i],l=t[Se],u=l.data[i].outputs[n],c=o[u],h=l.firstCreatePass?Lh(l):null,m=Ah(t),v=c.subscribe(r),g=m.length;m.push(r,v),h&&h.push(a,e.index,g,-(g+1))}function Di(e,t,i,n){let a=we(),r=pt(),o=cn();return hpe(r,a,a[Ct],o,e,t,n),Di}function dpe(e,t,i,n){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let o=a[r];if(o===i&&a[r+1]===n){let l=t[Or],u=a[r+2];return l.length>u?l[u]:null}typeof o=="string"&&(r+=2)}return null}function hpe(e,t,i,n,a,r,o){var m,v;let l=Sc(n),u=e.firstCreatePass?Lh(e):null,c=Ah(t),h=!0;if(n.type&3||o){let g=Ii(n,t),x=o?o(g):g,w=c.length,S=o?L=>o(Si(L[n.index])):n.index,T=null;if(!o&&l&&(T=dpe(e,t,a,n.index)),T!==null){let L=T.__ngLastListenerFn__||T;L.__ngNextListenerFn__=r,T.__ngLastListenerFn__=r,h=!1}else{r=vf(n,t,r);let L=i.listen(x,a,r);c.push(r,L),u&&u.push(a,S,w,w+1)}}else r=vf(n,t,r);if(h){let g=(m=n.outputs)==null?void 0:m[a],x=(v=n.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let S=x[w],T=x[w+1];bf(n,t,S,T,a,r)}if(g&&g.length)for(let w of g)bf(n,t,w,a,a,r)}}function ae(e=1){return vle(e)}function ppe(e,t){let i=null,n=oue(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){i=a;continue}if(n===null?Hy(e,r,!0):cue(n,r))return a}return i}function Dn(e){let t=we()[Hn][vn];if(!t.projection){let i=e?e.length:1,n=t.projection=Nse(i,null),a=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?ppe(r,e):0;o!==null&&(a[o]?a[o].projectionNext=r:n[o]=r,a[o]=r)}r=r.next}}}function nt(e,t=0,i,n,a,r){let o=we(),l=pt(),u=null,c=ao(l,bt+e,16,null,null);c.projection===null&&(c.projection=t),jh();let h=!o[jr]||Hv();o[Hn][vn].projection[c.projection]===null&&u!==null?mpe(o,l,u):h&&!cp(c)&&jue(l,o,c)}function mpe(e,t,i){let n=bt+i,a=t.data[n],r=e[n],o=Gr(r,a.tView.ssrId),l=bs(e,a,void 0,{dehydratedView:o});_s(r,l,0,Hr(a,o))}function Aa(e,t,i,n){Zde(e,t,i,n)}function Yl(e,t,i){Yde(e,t,i)}function Kn(e){let t=we(),i=pt(),n=$v();Vh(n+1);let a=fp(i,n);if(e.dirty&&Qse(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Xde(t,n);e.reset(r,Jle),e.notifyOnChanges()}return!0}return!1}function Jn(){return $de(we(),$v())}function or(e){let t=Gv();return ps(t,bt+e)}function ge(e,t=""){let i=we(),n=pt(),a=e+bt,r=n.firstCreatePass?ao(n,a,1,t,null):n.data[a],o=fpe(n,i,r,t);i[a]=o,kc()&&Nc(n,i,o,r),Ea(r,!1)}var fpe=(e,t,i,n,a)=>(Cc(!0),Yce(t[Ct],n));function Nt(e){return qe("",e,""),Nt}function qe(e,t,i){let n=we(),a=Dhe(n,e,t,i);return a!==ri&&gpe(n,Qi(),a),qe}function gpe(e,t,i){let n=Vv(t,e);Zce(e[Ct],n,i)}var Gb={};function Wb(e){let t=pt(),i=we(),n=e+bt,a=ao(t,n,128,null,null);return Ea(a,!1),Nh(t,i,n,Gb),Wb}function _f(e){ar("NgLet");let t=pt(),i=we(),n=Qi();return Nh(t,i,n,e),e}function xf(e){let t=Gv(),i=ps(t,bt+e);if(i===Gb)throw new Z(314,!1);return i}function vpe(e,t,i){let n=pt();if(n.firstCreatePass){let a=Ei(e);Vd(i,n.data,n.blueprint,a,!0),Vd(t,n.data,n.blueprint,a,!1)}}function Vd(e,t,i,n,a){if(e=qt(e),Array.isArray(e))for(let r=0;r<e.length;r++)Vd(e[r],t,i,n,a);else{let r=pt(),o=we(),l=cn(),u=Fr(e)?e:qt(e.provide),c=Pv(e),h=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Fr(e)||!e.multi){let g=new fs(c,a,Qt),x=yu(u,t,a?h:h+v,m);x===-1?(bd(Bl(l,o),r,u),vu(r,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(g),o.push(g)):(i[x]=g,o[x]=g)}else{let g=yu(u,t,h+v,m),x=yu(u,t,h,h+v),w=g>=0&&i[g],S=x>=0&&i[x];if(a&&!S||!a&&!w){bd(Bl(l,o),r,u);let T=_pe(a?bpe:ype,i.length,a,n,c);!a&&S&&(i[x].providerFactory=T),vu(r,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),i.push(T),o.push(T)}else{let T=qb(i[a?x:g],c,!a&&n);vu(r,e,g>-1?g:x,T)}!a&&n&&S&&i[x].componentProviders++}}}function vu(e,t,i,n){let a=Fr(t),r=Bse(t);if(a||r){let o=(r?qt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let u=l.indexOf(i);u===-1?l.push(i,[n,o]):l[u+1].push(n,o)}else l.push(i,o)}}}function qb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function yu(e,t,i,n){for(let a=i;a<n;a++)if(t[a]===e)return a;return-1}function ype(e,t,i,n,a){return Bd(this.multi,[])}function bpe(e,t,i,n,a){let r=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Uo(n,n[Se],this.providerFactory.index,a);o=u.slice(0,l),Bd(r,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Bd(r,o);return o}function Bd(e,t){for(let i=0;i<e.length;i++){let n=e[i];t.push(n())}return t}function _pe(e,t,i,n,a){let r=new fs(e,i,Qt);return r.multi=[],r.index=t,r.componentProviders=0,qb(r,a,n&&!i),r}function $b(e,t=[]){return i=>{i.providersResolver=(n,a)=>vpe(n,a?a(e):e,t)}}function xpe(e,t,i){let n=Qr()+e,a=we();return a[n]===ri?Es(a,n,t()):Ob(a,n)}function Cn(e,t,i,n){return Yb(we(),Qr(),e,t,i,n)}function wpe(e,t,i,n,a,r,o,l){let u=Qr()+e,c=we(),h=fhe(c,u,i,n,a,r);return kn(c,u+4,o)||h?Es(c,u+5,t(i,n,a,r,o)):Ob(c,u+5)}function vp(e,t){let i=e[t];return i===ri?void 0:i}function Yb(e,t,i,n,a,r){let o=t+i;return kn(e,o,a)?Es(e,o+1,r?n.call(r,a):n(a)):vp(e,o+1)}function Epe(e,t,i,n,a,r,o){let l=t+i;return Wl(e,l,a,r)?Es(e,l+2,o?n.call(o,a,r):n(a,r)):vp(e,l+2)}function Spe(e,t,i,n,a,r,o,l){let u=t+i;return mhe(e,u,a,r,o)?Es(e,u+3,l?n.call(l,a,r,o):n(a,r,o)):vp(e,u+3)}function A(e,t){let i=pt(),n,a=e+bt;i.firstCreatePass?(n=kpe(t,i.pipeRegistry),i.data[a]=n,n.onDestroy&&(i.destroyHooks??(i.destroyHooks=[])).push(a,n.onDestroy)):n=i.data[a];let r=n.factory||(n.factory=qa(n.type)),o=dn(Qt);try{let l=Vl(!1),u=r();return Vl(l),Nh(i,we(),a,u),u}finally{dn(o)}}function kpe(e,t){if(t)for(let i=t.length-1;i>=0;i--){let n=t[i];if(e===n.name)return n}}function Y(e,t,i){let n=e+bt,a=we(),r=ps(a,n);return yp(a,n)?Yb(a,Qr(),t,r.transform,i,r):r.transform(i)}function dt(e,t,i,n){let a=e+bt,r=we(),o=ps(r,a);return yp(r,a)?Epe(r,Qr(),t,o.transform,i,n,o):o.transform(i,n)}function fn(e,t,i,n,a){let r=e+bt,o=we(),l=ps(o,r);return yp(o,r)?Spe(o,Qr(),t,l.transform,i,n,a,l):l.transform(i,n,a)}function yp(e,t){return e[Se].data[t].pure}function Zl(e,t){return Rc(e,t)}var Cpe=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(".")}},wf=new Cpe("19.2.18"),Ipe=(()=>{const t=class t{constructor(){s(this,"zone",C(We));s(this,"changeDetectionScheduler",C(to));s(this,"applicationRef",C(xa));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",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Dpe({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??(e=()=>new We(yt(ue({},Tpe()),{scheduleInRootZone:i}))),[{provide:We,useFactory:e},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Ipe,{optional:!0});return()=>n.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Ope);return()=>{n.initialize()}}},t===!0?{provide:my,useValue:!0}:[],{provide:fy,useValue:i??dy}]}function Tpe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Ope=(()=>{const t=class t{constructor(){s(this,"subscription",new pn);s(this,"initialized",!1);s(this,"zone",C(We));s(this,"pendingTasks",C(gs))}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(()=>{We.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{We.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ppe=(()=>{var t;const i=class i{constructor(){s(this,"appRef",C(xa));s(this,"taskService",C(gs));s(this,"ngZone",C(We));s(this,"zonelessEnabled",C(py));s(this,"tracing",C(vs,{optional:!0}));s(this,"disableScheduling",C(my,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new pn);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(zl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(fy,{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 Gle||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Um:gy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(zl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Um(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};s(i,"ɵfac",function(a){return new(a||i)}),s(i,"ɵprov",W({token:i,factory:i.ɵfac,providedIn:"root"}));let e=i;return e})();function Npe(){return typeof $localize<"u"&&$localize.locale||jd}var Fc=new se("",{providedIn:"root",factory:()=>C(Fc,Me.Optional|Me.SkipSelf)||Npe()}),zd=new se(""),Mpe=new se("");function vo(e){return!e.moduleRef}function Rpe(e){let t=vo(e)?e.r3Injector:e.moduleRef.injector,i=t.get(We);return i.run(()=>{vo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(ai,null),a;if(i.runOutsideAngular(()=>{a=i.onError.subscribe({next:r=>{n.handleError(r)}})}),vo(e)){let r=()=>t.destroy(),o=e.platformInjector.get(zd);o.add(r),t.onDestroy(()=>{a.unsubscribe(),o.delete(r)})}else{let r=()=>e.moduleRef.destroy(),o=e.platformInjector.get(zd);o.add(r),e.moduleRef.onDestroy(()=>{vl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(r)})}return Lpe(n,i,()=>{let r=t.get(Rb);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Fc,jd);if(cpe(o||jd),!t.get(Mpe,!0))return vo(e)?t.get(xa):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vo(e)){let l=t.get(xa);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Ape(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Ape(e,t){let i=e.injector.get(xa);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>i.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(i);else throw new Z(-403,!1);t.push(e)}function Lpe(e,t,i){try{let n=i();return Mb(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var yl=null;function Fpe(e=[],t){return st.create({name:t,providers:[{provide:Ih,useValue:"platform"},{provide:zd,useValue:new Set([()=>yl=null])},...e]})}function jpe(e=[]){if(yl)return yl;let t=Fpe(e);return yl=t,She(),Vpe(t),t}function Vpe(e){let t=e.get(ky,null);wc(e,()=>{t==null||t.forEach(i=>i())})}function Bpe(){return!1}var sr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",zpe),e})();function zpe(e){return Hpe(cn(),we(),(e&16)===16)}function Hpe(e,t,i){if(Kr(e)&&!i){let n=ki(e.index,t);return new qo(n,n)}else if(e.type&175){let n=t[Hn];return new qo(n,t)}return null}var Upe=class{constructor(){}supports(e){return e instanceof Map||Tb(e)}create(){return new Gpe}},Gpe=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||Tb(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(i,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,i);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let a=n._prev,r=n._next;return a&&(a._next=r),r&&(r._prev=a),n._next=null,n._prev=null,n}let i=new Wpe(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_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(i=>t(e[i],i))}},Wpe=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 Ef(){return new bp([new Upe])}var bp=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let r=a.factories.slice();n=n.concat(r)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||Ef()),deps:[[t,new Tse,new Dse]]}}find(n){let a=this.factories.find(r=>r.supports(n));if(a)return a;throw new Z(901,!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:Ef}));let e=t;return e})();function qpe(e){let{rootComponent:t,appProviders:i,platformProviders:n,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??jpe(n),o=[Dpe({}),{provide:to,useExisting:Ppe},...i||[]],l=new kb({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Rpe({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function ei(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function jc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function $pe(e){return doe(e)}function Gi(e,t){return noe(e,t==null?void 0:t.equal)}var s0,Ype=(s0=Sn,class{constructor(e){s(this,s0);this[Sn]=e}destroy(){this[Sn].destroy()}});function _p(e,t){!(t!=null&&t.injector)&&hs();let i=(t==null?void 0:t.injector)??C(st),n=(t==null?void 0:t.manualCleanup)!==!0?i.get(ii):null,a,r=i.get(Kh,null,{optional:!0}),o=i.get(to);return r!==null&&!(t!=null&&t.forceRoot)?(a=Jpe(r.view,o,e),n instanceof hy&&n._lView===r.view&&(n=null)):a=Xpe(e,i.get(Nb),o),a.injector=i,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new Ype(a)}var Zb=yt(ue({},$r),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Go,run(){if(this.dirty=!1,this.hasRun&&!ph(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Lo(this),i=Ll(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ll(i),mc(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Zpe=yt(ue({},Zb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){fc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Kpe=yt(ue({},Zb),{consumerMarkedDirty(){this.view[_e]|=8192,Xr(this.view),this.notifier.notify(13)},destroy(){var e;fc(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Hi])==null||e.delete(this)}});function Jpe(e,t,i){let n=Object.create(Kpe);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=i,e[Hi]??(e[Hi]=new Set),e[Hi].add(n),n.consumerMarkedDirty(n),n}function Xpe(e,t,i){let n=Object.create(Zpe);return n.fn=e,n.scheduler=t,n.notifier=i,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var Qpe=e=>e;function eme(e,t){if(typeof e=="function"){let i=Sm(e,Qpe,t==null?void 0:t.equal);return Sf(i)}else{let i=Sm(e.source,e.computation,e.equal);return Sf(i)}}function Sf(e){let t=e[Sn],i=e;return i.set=n=>loe(t,n),i.update=n=>coe(t,n),i.asReadonly=yy.bind(e),i}function Kb(e,t){let i=Lr(e),n=t.elementInjector||xc();return new mp(i).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var tme={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function nme(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function ime(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var bu;function ame(e,t){if(!bu){let i=Element.prototype;bu=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?bu.call(e,t):!1}function rme(e){let t={};return e.forEach(({propName:i,templateName:n,transform:a})=>{t[nme(n)]=[i,a]}),t}function ome(e,t){return t.get(xs).resolveComponentFactory(e).inputs}function sme(e,t){let i=e.childNodes,n=t.map(()=>[]),a=-1;t.some((r,o)=>r==="*"?(a=o,!0):!1);for(let r=0,o=i.length;r<o;++r){let l=i[r],u=lme(l,t,a);u!==-1&&n[u].push(l)}return n}function lme(e,t,i){let n=i;return ime(e)&&t.some((a,r)=>a!=="*"&&ame(e,a)?(n=r,!0):!1),n}var cme=10,ume=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(xs).resolveComponentFactory(e);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(e){return new dme(this.componentFactory,e,this.inputMap)}},dme=class{constructor(e,t,i){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new N0(1));s(this,"events",this.eventEmitters.pipe(zo(e=>cs(...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=i,this.ngZone=this.injector.get(We),this.appRef=this.injector.get(xa),this.cdScheduler=t.get(to),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=tme.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},cme))})}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),tde(this.componentRef.hostView)&&(nde(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=st.create({providers:[],parent:this.injector}),i=sme(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,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:i,templateName:n})=>{let a=e.instance[i];return new ht(r=>{let o=a.subscribe(l=>r.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},hme=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function pme(e,t){let i=ome(e,t.injector),n=t.strategyFactory||new ume(e,t.injector),a=rme(i);class r extends hme{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);i.forEach(({propName:c,transform:h})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,h)})}return this._ngElementStrategy}attributeChangedCallback(u,c,h,m){let[v,g]=a[u];this.ngElementStrategy.setInputValue(v,h,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(r,"observedAttributes",Object.keys(a)),i.forEach(({propName:o,transform:l})=>{Object.defineProperty(r.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),r}var He=new se(""),Jb=null;function Ro(){return Jb}function mme(e){Jb??(Jb=e)}var fme=class{},Xb=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(gme),providedIn:"platform"}));let e=t;return e})(),gme=(()=>{const t=class t extends Xb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(He));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ro().getBaseHref(this._doc)}onPopState(a){let r=Ro().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=Ro().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,o){this._history.pushState(a,r,o)}replaceState(a,r,o){this._history.replaceState(a,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",W({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Qb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function kf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ba(e){return e&&e[0]!=="?"?`?${e}`:e}var xp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:()=>C(yme),providedIn:"root"}));let e=t;return e})(),vme=new se(""),yme=(()=>{const t=class t extends xp{constructor(a,r){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((o=C(He).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return Qb(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+Ba(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${r}${o}`:r}pushState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.pushState(a,r,u)}replaceState(a,r,o,l){let u=this.prepareExternalUrl(o+Ba(l));this._platformLocation.replaceState(a,r,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(Xb),pe(vme,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),e1=(()=>{const t=class t{constructor(n){s(this,"_subject",new be);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=xme(kf(Cf(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+Ba(a))}normalize(n){return t.stripTrailingSlash(_me(this._basePath,Cf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",r=null){this._locationStrategy.pushState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}replaceState(n,a="",r=null){this._locationStrategy.replaceState(r,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ba(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(r=>r(n,a))}subscribe(n,a,r){return this._subject.subscribe({next:n,error:a??void 0,complete:r??void 0})}};s(t,"normalizeQueryParams",Ba),s(t,"joinWithSlash",Qb),s(t,"stripTrailingSlash",kf),s(t,"ɵfac",function(n){return new(n||t)(pe(xp))}),s(t,"ɵprov",W({token:t,factory:()=>bme(),providedIn:"root"}));let e=t;return e})();function bme(){return new e1(pe(xp))}function _me(e,t){if(!e||!t.startsWith(e))return t;let i=t.substring(e.length);return i===""||["/",";","?","#"].includes(i[0])?i:t}function Cf(e){return e.replace(/\/index.html$/,"")}function xme(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var sn=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(sn||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),_n=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(_n||{}),Vc={MinusSign:5};function wme(e){return si(e)[Mt.LocaleId]}function Eme(e,t,i){let n=si(e),a=[n[Mt.DayPeriodsFormat],n[Mt.DayPeriodsStandalone]],r=Un(a,t);return Un(r,i)}function Sme(e,t,i){let n=si(e),a=[n[Mt.DaysFormat],n[Mt.DaysStandalone]],r=Un(a,t);return Un(r,i)}function kme(e,t,i){let n=si(e),a=[n[Mt.MonthsFormat],n[Mt.MonthsStandalone]],r=Un(a,t);return Un(r,i)}function Cme(e,t){let i=si(e)[Mt.Eras];return Un(i,t)}function Gs(e,t){let i=si(e);return Un(i[Mt.DateFormat],t)}function Ws(e,t){let i=si(e);return Un(i[Mt.TimeFormat],t)}function qs(e,t){let i=si(e)[Mt.DateTimeFormat];return Un(i,t)}function Bc(e,t){return si(e)[Mt.NumberSymbols][t]}function t1(e){if(!e[Mt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Mt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ime(e){let t=si(e);return t1(t),(t[Mt.ExtraData][2]||[]).map(i=>typeof i=="string"?_u(i):[_u(i[0]),_u(i[1])])}function Dme(e,t,i){let n=si(e);t1(n);let a=[n[Mt.ExtraData][0],n[Mt.ExtraData][1]],r=Un(a,t)||[];return Un(r,i)||[]}function Un(e,t){for(let i=t;i>-1;i--)if(typeof e[i]<"u")return e[i];throw new Error("Locale data API: locale data undefined")}function _u(e){let[t,i]=e.split(":");return{hours:+t,minutes:+i}}var Tme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,mr={},Ome=/((?:[^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 Pme(e,t,i,n){let a=Bme(e);t=Vi(i,t)||t;let r=[],o;for(;t;)if(o=Ome.exec(t),o){r=r.concat(o.slice(1));let c=r.pop();if(!c)break;t=c}else{r.push(t);break}let l=a.getTimezoneOffset();n&&(l=i1(n,l),a=Vme(a,n));let u="";return r.forEach(c=>{let h=Fme(c);u+=h?h(a,i,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Kl(e,t,i){let n=new Date(0);return n.setFullYear(e,t,i),n.setHours(0,0,0),n}function Vi(e,t){let i=wme(e);if(mr[i]??(mr[i]={}),mr[i][t])return mr[i][t];let n="";switch(t){case"shortDate":n=Gs(e,_n.Short);break;case"mediumDate":n=Gs(e,_n.Medium);break;case"longDate":n=Gs(e,_n.Long);break;case"fullDate":n=Gs(e,_n.Full);break;case"shortTime":n=Ws(e,_n.Short);break;case"mediumTime":n=Ws(e,_n.Medium);break;case"longTime":n=Ws(e,_n.Long);break;case"fullTime":n=Ws(e,_n.Full);break;case"short":let a=Vi(e,"shortTime"),r=Vi(e,"shortDate");n=$s(qs(e,_n.Short),[a,r]);break;case"medium":let o=Vi(e,"mediumTime"),l=Vi(e,"mediumDate");n=$s(qs(e,_n.Medium),[o,l]);break;case"long":let u=Vi(e,"longTime"),c=Vi(e,"longDate");n=$s(qs(e,_n.Long),[u,c]);break;case"full":let h=Vi(e,"fullTime"),m=Vi(e,"fullDate");n=$s(qs(e,_n.Full),[h,m]);break}return n&&(mr[i][t]=n),n}function $s(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(i,n){return t!=null&&n in t?t[n]:i})),e}function Xn(e,t,i="-",n,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=i));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),r+o}function Nme(e,t){return Xn(e,3).substring(0,t)}function Tt(e,t,i=0,n=!1,a=!1){return function(r,o){let l=Mme(e,r);if((i>0||l>-i)&&(l+=i),e===3)l===0&&i===-12&&(l=12);else if(e===6)return Nme(l,t);let u=Bc(o,Vc.MinusSign);return Xn(l,t,u,n,a)}}function Mme(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function Xe(e,t,i=sn.Format,n=!1){return function(a,r){return Rme(a,r,e,t,i,n)}}function Rme(e,t,i,n,a,r){switch(i){case 2:return kme(t,a,n)[e.getMonth()];case 1:return Sme(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=Ime(t),h=Dme(t,a,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=o>=g.hours&&l>=g.minutes,S=o<x.hours||o===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&S)return!0}else if(w||S)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return h[m]}return Eme(t,a,n)[o<12?0:1];case 3:return Cme(t,n)[e.getFullYear()<=0?0:1];default:let u=i;throw new Error(`unexpected translation type ${u}`)}}function Ys(e){return function(t,i,n){let a=-1*n,r=Bc(i,Vc.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+Xn(o,2,r)+Xn(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+Xn(o,1,r);case 2:return"GMT"+(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);case 3:return n===0?"Z":(a>=0?"+":"")+Xn(o,2,r)+":"+Xn(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Ame=0,bl=4;function Lme(e){let t=Kl(e,Ame,1).getDay();return Kl(e,0,1+(t<=bl?bl:bl+7)-t)}function n1(e){let t=e.getDay(),i=t===0?-3:bl-t;return Kl(e.getFullYear(),e.getMonth(),e.getDate()+i)}function xu(e,t=!1){return function(i,n){let a;if(t){let r=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,o=i.getDate();a=1+Math.floor((o+r)/7)}else{let r=n1(i),o=Lme(r.getFullYear()),l=r.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Xn(a,e,Bc(n,Vc.MinusSign))}}function Zs(e,t=!1){return function(i,n){let a=n1(i).getFullYear();return Xn(a,e,Bc(n,Vc.MinusSign),t)}}var wu={};function Fme(e){if(wu[e])return wu[e];let t;switch(e){case"G":case"GG":case"GGG":t=Xe(3,Ke.Abbreviated);break;case"GGGG":t=Xe(3,Ke.Wide);break;case"GGGGG":t=Xe(3,Ke.Narrow);break;case"y":t=Tt(0,1,0,!1,!0);break;case"yy":t=Tt(0,2,0,!0,!0);break;case"yyy":t=Tt(0,3,0,!1,!0);break;case"yyyy":t=Tt(0,4,0,!1,!0);break;case"Y":t=Zs(1);break;case"YY":t=Zs(2,!0);break;case"YYY":t=Zs(3);break;case"YYYY":t=Zs(4);break;case"M":case"L":t=Tt(1,1,1);break;case"MM":case"LL":t=Tt(1,2,1);break;case"MMM":t=Xe(2,Ke.Abbreviated);break;case"MMMM":t=Xe(2,Ke.Wide);break;case"MMMMM":t=Xe(2,Ke.Narrow);break;case"LLL":t=Xe(2,Ke.Abbreviated,sn.Standalone);break;case"LLLL":t=Xe(2,Ke.Wide,sn.Standalone);break;case"LLLLL":t=Xe(2,Ke.Narrow,sn.Standalone);break;case"w":t=xu(1);break;case"ww":t=xu(2);break;case"W":t=xu(1,!0);break;case"d":t=Tt(2,1);break;case"dd":t=Tt(2,2);break;case"c":case"cc":t=Tt(7,1);break;case"ccc":t=Xe(1,Ke.Abbreviated,sn.Standalone);break;case"cccc":t=Xe(1,Ke.Wide,sn.Standalone);break;case"ccccc":t=Xe(1,Ke.Narrow,sn.Standalone);break;case"cccccc":t=Xe(1,Ke.Short,sn.Standalone);break;case"E":case"EE":case"EEE":t=Xe(1,Ke.Abbreviated);break;case"EEEE":t=Xe(1,Ke.Wide);break;case"EEEEE":t=Xe(1,Ke.Narrow);break;case"EEEEEE":t=Xe(1,Ke.Short);break;case"a":case"aa":case"aaa":t=Xe(0,Ke.Abbreviated);break;case"aaaa":t=Xe(0,Ke.Wide);break;case"aaaaa":t=Xe(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=Xe(0,Ke.Abbreviated,sn.Standalone,!0);break;case"bbbb":t=Xe(0,Ke.Wide,sn.Standalone,!0);break;case"bbbbb":t=Xe(0,Ke.Narrow,sn.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ke.Abbreviated,sn.Format,!0);break;case"BBBB":t=Xe(0,Ke.Wide,sn.Format,!0);break;case"BBBBB":t=Xe(0,Ke.Narrow,sn.Format,!0);break;case"h":t=Tt(3,1,-12);break;case"hh":t=Tt(3,2,-12);break;case"H":t=Tt(3,1);break;case"HH":t=Tt(3,2);break;case"m":t=Tt(4,1);break;case"mm":t=Tt(4,2);break;case"s":t=Tt(5,1);break;case"ss":t=Tt(5,2);break;case"S":t=Tt(6,1);break;case"SS":t=Tt(6,2);break;case"SSS":t=Tt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ys(0);break;case"ZZZZZ":t=Ys(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ys(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ys(2);break;default:return null}return wu[e]=t,t}function i1(e,t){e=e.replace(/:/g,"");let i=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(i)?t:i}function jme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Vme(e,t,i){let n=e.getTimezoneOffset(),a=i1(t,n);return jme(e,-1*(a-n))}function Bme(e){if(If(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,o=1]=e.split("-").map(l=>+l);return Kl(a,r-1,o)}let i=parseFloat(e);if(!isNaN(e-i))return new Date(i);let n;if(n=e.match(Tme))return zme(n)}let t=new Date(e);if(!If(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function zme(e){let t=new Date(0),i=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(i=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-i,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,o,l,u,c),t}function If(e){return e instanceof Date&&!isNaN(e.valueOf())}var Eu=/\s+/,Df=[],wp=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Df);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(Eu):Df}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Eu):n}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let a of n)this._updateState(a,!0);else if(n!=null)for(let a of Object.keys(n))this._updateState(a,!!n[a]);this._applyStateDiff()}_updateState(n,a){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],r=n[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(Eu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(At),Qt(ro))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Hme=(()=>{const t=class t{constructor(n,a,r){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=a,this._renderer=r}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[r,o]=n.split("."),l=r.indexOf("-")===-1?void 0:ua.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(n){n.forEachRemovedItem(a=>this._setStyle(a.key,null)),n.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),n.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Qt(At),Qt(bp),Qt(ro))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),Ep=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(n,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};s(t,"ɵfac",function(n){return new(n||t)(Qt(ws))}),s(t,"ɵdir",rn({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Oh]}));let e=t;return e})();function Ume(e,t){return new Z(2100,!1)}var Gme="mediumDate",Wme=new se(""),qme=new se(""),Sp=(()=>{const t=class t{constructor(n,a,r){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=r}transform(n,a,r,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??Gme,h=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return Pme(n,c,o||this.locale,h)}catch(c){throw Ume(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Fc,16),Qt(Wme,24),Qt(qme,24))}),s(t,"ɵpipe",Yt({name:"date",type:t,pure:!0}));let e=t;return e})();function $me(e,t){return{key:e,value:t}}var Yme=(()=>{const t=class t{constructor(n){s(this,"differs");s(this,"differ");s(this,"keyValues",[]);s(this,"compareFn",Tf);this.differs=n}transform(n,a=Tf){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??(this.differ=this.differs.find(n).create());let r=this.differ.diff(n),o=a!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(l=>{this.keyValues.push($me(l.key,l.currentValue))})),(r||o)&&(a&&this.keyValues.sort(a),this.compareFn=a),this.keyValues}};s(t,"ɵfac",function(n){return new(n||t)(Qt(bp,16))}),s(t,"ɵpipe",Yt({name:"keyvalue",type:t,pure:!1}));let e=t;return e})();function Tf(e,t){let i=e.key,n=t.key;if(i===n)return 0;if(i==null)return 1;if(n==null)return-1;if(typeof i=="string"&&typeof n=="string")return i<n?-1:1;if(typeof i=="number"&&typeof n=="number")return i-n;if(typeof i=="boolean"&&typeof n=="boolean")return i<n?-1:1;let a=String(i),r=String(n);return a==r?0:a<r?-1:1}var a1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})();function r1(e,t){t=encodeURIComponent(t);for(let i of e.split(";")){let n=i.indexOf("="),[a,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var o1="browser",Zme="server";function Kme(e){return e===o1}function s1(e){return e===Zme}var l1=class{};function zc(e,t,i){return spe(e,t,i)}var Hd=new se(""),c1=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,r,o){return this._findPluginFor(a).addEventListener(n,a,r,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(r=>r.supports(n)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(pe(Hd),pe(We))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),u1=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},_l="ng-app-id";function Of(e){for(let t of e)t.remove()}function Pf(e,t){let i=t.createElement("style");return i.textContent=e,i}function Jme(e,t,i,n){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${_l}="${t}"],link[${_l}="${t}"]`);if(a)for(let o of a)o.removeAttribute(_l),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&i.set(o.textContent,{usage:0,elements:[o]})}function Ud(e,t){let i=t.createElement("link");return i.setAttribute("rel","stylesheet"),i.setAttribute("href",e),i}var d1=(()=>{const t=class t{constructor(n,a,r,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=r,this.isServer=s1(o),Jme(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let r of n)this.addUsage(r,this.inline,Pf);a==null||a.forEach(r=>this.addUsage(r,this.external,Ud))}removeStyles(n,a){for(let r of n)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(n,a,r){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(n,this.doc)))})}removeUsage(n,a){let r=a.get(n);r&&(r.usage--,r.usage<=0&&(Of(r.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Of(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(n,Pf(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(n,Ud(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(_l,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe($h),pe(Yh,8),pe(Ic))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Su={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"},kp=/%COMP%/g,h1="%COMP%",Xme=`_nghost-${h1}`,Qme=`_ngcontent-${h1}`,efe=!0,tfe=new se("",{providedIn:"root",factory:()=>efe});function nfe(e){return Qme.replace(kp,e)}function ife(e){return Xme.replace(kp,e)}function p1(e,t){return t.map(i=>i.replace(kp,e))}var Gd=(()=>{const t=class t{constructor(n,a,r,o,l,u,c,h=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=h,this.tracingService=m,this.platformIsServer=s1(u),this.defaultRenderer=new Cp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===Ui.ShadowDom&&(a=yt(ue({},a),{encapsulation:Ui.Emulated}));let r=this.getOrCreateRenderer(n,a);return r instanceof Mf?r.applyToHost(n):r instanceof Wd&&r.applyStyles(),r}getOrCreateRenderer(n,a){let r=this.rendererByCompId,o=r.get(a.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case Ui.Emulated:o=new Mf(c,h,a,this.appId,m,l,u,v,g);break;case Ui.ShadowDom:return new afe(c,h,n,a,l,u,this.nonce,v,g);default:o=new Wd(c,h,a,m,l,u,v,g);break}r.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(pe(c1),pe(d1),pe($h),pe(tfe),pe(He),pe(Ic),pe(We),pe(Yh),pe(vs,8))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Cp=class{constructor(e,t,i,n,a){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=i,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Su[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Nf(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(Nf(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){t.remove()}selectRootElement(e,t){let i=typeof e=="string"?this.doc.querySelector(e):e;if(!i)throw new Z(-5104,!1);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;let a=Su[n];a?e.setAttributeNS(a,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){let n=Su[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,n){n&(ua.DashCase|ua.Important)?e.style.setProperty(t,i,n&ua.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&ua.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e!=null&&(e[t]=i)}setValue(e,t){e.nodeValue=t}listen(e,t,i,n){var r;if(typeof e=="string"&&(e=Ro().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(i);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Nf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var afe=class extends Cp{constructor(t,i,n,a,r,o,l,u,c){var v;super(t,r,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=a.styles;h=p1(a.id,h);for(let g of h){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=Ud(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,i){return super.appendChild(this.nodeOrShadowRoot(t),i)}insertBefore(t,i,n){return super.insertBefore(this.nodeOrShadowRoot(t),i,n)}removeChild(t,i){return super.removeChild(null,i)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wd=class extends Cp{constructor(t,i,n,a,r,o,l,u,c){var m;super(t,r,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=i,this.removeStylesOnCompDestroy=a;let h=n.styles;this.styles=c?p1(c,h):h,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Mf=class extends Wd{constructor(t,i,n,a,r,o,l,u,c){let h=a+"-"+n.id;super(t,i,n,r,o,l,u,c,h);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=nfe(h),this.hostAttr=ife(h)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,i){let n=super.createElement(t,i);return super.setAttribute(n,this.contentAttr,""),n}},rfe=class m1 extends fme{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){mme(new m1)}onAndCancel(i,n,a,r){return i.addEventListener(n,a,r),()=>{i.removeEventListener(n,a,r)}}dispatchEvent(i,n){i.dispatchEvent(n)}remove(i){i.remove()}createElement(i,n){return n=n||this.getDefaultDocument(),n.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,n){return n==="window"?window:n==="document"?i:n==="body"?i.body:null}getBaseHref(i){let n=ofe();return n==null?null:sfe(n)}resetBaseElement(){Io=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return r1(document.cookie,i)}},Io=null;function ofe(){return Io=Io||document.head.querySelector("base"),Io?Io.getAttribute("href"):null}function sfe(e){return new URL(e,document.baseURI).pathname}var lfe=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),cfe=(()=>{const t=class t extends u1{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,r,o){return n.addEventListener(a,r,o),()=>this.removeEventListener(n,a,r,o)}removeEventListener(n,a,r,o){return n.removeEventListener(a,r,o)}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Rf=["alt","control","meta","shift"],ufe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},dfe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},hfe=(()=>{const t=class t extends u1{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,r,o){let l=t.parseEventName(a),u=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ro().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let a=n.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",u=a.indexOf("code");if(u>-1&&(a.splice(u,1),l="code."),Rf.forEach(h=>{let m=a.indexOf(h);m>-1&&(a.splice(m,1),l+=h+".")}),l+=o,a.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=l,c}static matchEventFullKeyCode(n,a){let r=ufe[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(r=n.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Rf.forEach(l=>{if(l!==r){let u=dfe[l];u(n)&&(o+=l+".")}}),o+=r,o===a)}static eventCallback(n,a,r){return o=>{t.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function pfe(e){return qpe(mfe(e))}function mfe(e){return{appProviders:[...bfe,...(e==null?void 0:e.providers)??[]],platformProviders:yfe}}function ffe(){rfe.makeCurrent()}function gfe(){return new ai}function vfe(){return nce(document),document}var yfe=[{provide:Ic,useValue:o1},{provide:ky,useValue:ffe,multi:!0},{provide:He,useFactory:vfe}],bfe=[{provide:Ih,useValue:"root"},{provide:ai,useFactory:gfe},{provide:Hd,useClass:cfe,multi:!0,deps:[He]},{provide:Hd,useClass:hfe,multi:!0,deps:[He]},Gd,d1,c1,{provide:oi,useExisting:Gd},{provide:l1,useClass:lfe},[]],Ip=class{},f1=class{},er=class xl{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(i=>{let n=i.indexOf(":");if(n>0){let a=i.slice(0,n),r=i.slice(n+1).trim();this.addHeaderEntry(a,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((i,n)=>{this.addHeaderEntry(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let i=this.headers.get(t.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,i){return this.clone({name:t,value:i,op:"a"})}set(t,i){return this.clone({name:t,value:i,op:"s"})}delete(t,i){return this.clone({name:t,value:i,op:"d"})}maybeSetNormalizedName(t,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,t)}init(){this.lazyInit&&(this.lazyInit instanceof xl?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(i=>{this.headers.set(i,t.headers.get(i)),this.normalizedNames.set(i,t.normalizedNames.get(i))})}clone(t){let i=new xl;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof xl?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([t]),i}applyUpdate(t){let i=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,i);let a=(t.op==="a"?this.headers.get(i):void 0)||[];a.push(...n),this.headers.set(i,a);break;case"d":let r=t.value;if(!r)this.headers.delete(i),this.normalizedNames.delete(i);else{let o=this.headers.get(i);if(!o)return;o=o.filter(l=>r.indexOf(l)===-1),o.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,o)}break}}addHeaderEntry(t,i){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(i):this.headers.set(n,[i])}setHeaderEntries(t,i){let n=(Array.isArray(i)?i:[i]).map(r=>r.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>t(this.normalizedNames.get(i),this.headers.get(i)))}},_fe=class{encodeKey(e){return Af(e)}encodeValue(e){return Af(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function xfe(e,t){let i=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[r,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=i.get(r)||[];l.push(o),i.set(r,l)}),i}var wfe=/%(\d[a-f0-9])/gi,Efe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Af(e){return encodeURIComponent(e).replace(wfe,(t,i)=>Efe[i]??t)}function Ks(e){return`${e}`}var Nr=class g1{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new _fe,t.fromString){if(t.fromObject)throw new Z(2805,!1);this.map=xfe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(i=>{let n=t.fromObject[i],a=Array.isArray(n)?n.map(Ks):[Ks(n)];this.map.set(i,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let i=this.map.get(t);return i?i[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,i){return this.clone({param:t,value:i,op:"a"})}appendAll(t){let i=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(r=>{i.push({param:n,value:r,op:"a"})}):i.push({param:n,value:a,op:"a"})}),this.clone(i)}set(t,i){return this.clone({param:t,value:i,op:"s"})}delete(t,i){return this.clone({param:t,value:i,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let i=this.encoder.encodeKey(t);return this.map.get(t).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let i=new g1({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(t),i}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 i=(t.op==="a"?this.map.get(t.param):void 0)||[];i.push(Ks(t.value)),this.map.set(t.param,i);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(Ks(t.value));a!==-1&&n.splice(a,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},Sfe=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 kfe(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Lf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ff(e){return typeof Blob<"u"&&e instanceof Blob}function jf(e){return typeof FormData<"u"&&e instanceof FormData}function Cfe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Vf="Content-Type",Bf="Accept",v1="X-Request-URL",y1="text/plain",b1="application/json",Ife=`${b1}, ${y1}, */*`,ku=class _1{constructor(t,i,n,a){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=i,this.method=t.toUpperCase();let r;if(kfe(this.method)||a?(this.body=n!==void 0?n:null,r=a):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??(this.headers=new er),this.context??(this.context=new Sfe),!this.params)this.params=new Nr,this.urlWithParams=i;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=i;else{let l=i.indexOf("?"),u=l===-1?"?":l<i.length-1?"&":"";this.urlWithParams=i+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Lf(this.body)||Ff(this.body)||jf(this.body)||Cfe(this.body)?this.body:this.body instanceof Nr?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||jf(this.body)?null:Ff(this.body)?this.body.type||null:Lf(this.body)?null:typeof this.body=="string"?y1:this.body instanceof Nr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?b1:null}clone(t={}){let i=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,h=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),c)),t.setParams&&(h=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),h)),new _1(i,n,o,{params:h,headers:c,context:m,reportProgress:u,responseType:a,withCredentials:l,transferCache:r})}},Mr=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}(Mr||{}),Dp=class{constructor(e,t=200,i="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new er,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Dfe=class x1 extends Dp{constructor(i={}){super(i);s(this,"type",Mr.ResponseHeader)}clone(i={}){return new x1({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},w1=class E1 extends Dp{constructor(i={}){super(i);s(this,"body");s(this,"type",Mr.Response);this.body=i.body!==void 0?i.body:null}clone(i={}){return new E1({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},zf=class extends Dp{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}},Tfe=200,Ofe=204;function Cu(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 Cs=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,r={}){let o;if(n instanceof ku)o=n;else{let c;r.headers instanceof er?c=r.headers:c=new er(r.headers);let h;r.params&&(r.params instanceof Nr?h=r.params:h=new Nr({fromObject:r.params})),o=new ku(n,a,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=vt(o).pipe(iv(c=>this.handler.handle(c)));if(n instanceof ku||r.observe==="events")return l;let u=l.pipe(bi(c=>c instanceof w1));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(zt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Z(2806,!1);return c.body}));case"blob":return u.pipe(zt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Z(2807,!1);return c.body}));case"text":return u.pipe(zt(c=>{if(c.body!==null&&typeof c.body!="string")throw new Z(2808,!1);return c.body}));case"json":default:return u.pipe(zt(c=>c.body))}case"response":return u;default:throw new Z(2809,!1)}}delete(n,a={}){return this.request("DELETE",n,a)}get(n,a={}){return this.request("GET",n,a)}head(n,a={}){return this.request("HEAD",n,a)}jsonp(n,a){return this.request("JSONP",n,{params:new Nr().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,r={}){return this.request("PATCH",n,Cu(r,a))}post(n,a,r={}){return this.request("POST",n,Cu(r,a))}put(n,a,r={}){return this.request("PUT",n,Cu(r,a))}};s(t,"ɵfac",function(n){return new(n||t)(pe(Ip))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Pfe=new se("");function Nfe(e,t){return t(e)}function Mfe(e,t,i){return(n,a)=>wc(i,()=>t(n,r=>e(r,a)))}var Tp=new se(""),Rfe=new se(""),Afe=new se("",{providedIn:"root",factory:()=>!0}),Hf=(()=>{const t=class t extends Ip{constructor(a,r){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",C(gs));s(this,"contributeToStability",C(Afe));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Tp),...this.injector.get(Rfe,[])]));this.chain=r.reduceRight((o,l)=>Mfe(o,l,this.injector),Nfe)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(rv(()=>this.pendingTasks.remove(r)))}else return this.chain(a,r=>this.backend.handle(r))}};s(t,"ɵfac",function(a){return new(a||t)(pe(f1),pe(wi))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Lfe=/^\)\]\}',?\n/,Ffe=RegExp(`^${v1}:`,"m");function jfe(e){return"responseURL"in e&&e.responseURL?e.responseURL:Ffe.test(e.getAllResponseHeaders())?e.getResponseHeader(v1):null}var Uf=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new Z(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?nr(a.ɵloadImpl()):vt(null)).pipe(zo(()=>new ht(r=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((w,S)=>o.setRequestHeader(w,S.join(","))),n.headers.has(Bf)||o.setRequestHeader(Bf,Ife),!n.headers.has(Vf)){let w=n.detectContentTypeHeader();w!==null&&o.setRequestHeader(Vf,w)}if(n.responseType){let w=n.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let w=o.statusText||"OK",S=new er(o.getAllResponseHeaders()),T=jfe(o)||n.url;return u=new Dfe({headers:S,status:o.status,statusText:w,url:T}),u},h=()=>{let{headers:w,status:S,statusText:T,url:L}=c(),N=null;S!==Ofe&&(N=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=N?Tfe:0);let re=S>=200&&S<300;if(n.responseType==="json"&&typeof N=="string"){let ve=N;N=N.replace(Lfe,"");try{N=N!==""?JSON.parse(N):null}catch(ke){N=ve,re&&(re=!1,N={error:ke,text:N})}}re?(r.next(new w1({body:N,headers:w,status:S,statusText:T,url:L||void 0})),r.complete()):r.error(new zf({error:N,headers:w,status:S,statusText:T,url:L||void 0}))},m=w=>{let{url:S}=c(),T=new zf({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});r.error(T)},v=!1,g=w=>{v||(r.next(c()),v=!0);let S={type:Mr.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(S.total=w.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),r.next(S)},x=w=>{let S={type:Mr.UploadProgress,loaded:w.loaded};w.lengthComputable&&(S.total=w.total),r.next(S)};return o.addEventListener("load",h),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",x)),o.send(l),r.next({type:Mr.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",h),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",x)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(pe(l1))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),S1=new se(""),Vfe="XSRF-TOKEN",Bfe=new se("",{providedIn:"root",factory:()=>Vfe}),zfe="X-XSRF-TOKEN",Hfe=new se("",{providedIn:"root",factory:()=>zfe}),k1=class{},Ufe=(()=>{const t=class t{constructor(n,a){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=a}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=r1(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe(Bfe))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Gfe=/^(?:https?:)?\/\//i;function Wfe(e,t){if(!C(S1)||e.method==="GET"||e.method==="HEAD"||Gfe.test(e.url))return t(e);let i=C(k1).getToken(),n=C(Hfe);return i!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,i)})),t(e)}var C1=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}(C1||{});function qfe(e,t){return{ɵkind:e,ɵproviders:t}}function $fe(...e){let t=[Cs,Uf,Hf,{provide:Ip,useExisting:Hf},{provide:f1,useFactory:()=>C(Pfe,{optional:!0})??C(Uf)},{provide:Tp,useValue:Wfe,multi:!0},{provide:S1,useValue:!0},{provide:k1,useClass:Ufe}];for(let i of e)t.push(...i.ɵproviders);return kh(t)}function Yfe(e){return qfe(C1.Interceptors,e.map(t=>({provide:Tp,useValue:t,multi:!0})))}var I1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=pe(Zfe),a},providedIn:"root"}));let e=t;return e})(),Zfe=(()=>{const t=class t extends I1{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,r){if(r==null)return null;switch(a){case wn.NONE:return r;case wn.HTML:return yr(r,"HTML")?sa(r):Hce(this._doc,String(r)).toString();case wn.STYLE:return yr(r,"Style")?sa(r):r;case wn.SCRIPT:if(yr(r,"Script"))return sa(r);throw new Z(5200,!1);case wn.URL:return yr(r,"URL")?sa(r):Qh(String(r));case wn.RESOURCE_URL:if(yr(r,"ResourceURL"))return sa(r);throw new Z(5201,!1);default:throw new Z(5202,!1)}}bypassSecurityTrustHtml(a){return bce(a)}bypassSecurityTrustStyle(a){return _ce(a)}bypassSecurityTrustScript(a){return xce(a)}bypassSecurityTrustUrl(a){return wce(a)}bypassSecurityTrustResourceUrl(a){return Ece(a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(He))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Is=class{},Kfe=(()=>{const t=class t extends Is{getTranslation(n){return vt({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),D1=class{},Jfe=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Jl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let i=typeof e,n=typeof t,a,r,o;if(i==n&&i=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(r=0;r<a;r++)if(!Jl(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(r in e){if(!Jl(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&typeof t[r]<"u")return!1;return!0}return!1}function da(e){return typeof e<"u"&&e!==null}function Ds(e){return wl(e)&&!Op(e)&&e!==null}function wl(e){return typeof e=="object"}function Op(e){return Array.isArray(e)}function Pp(e){return typeof e=="string"}function Xfe(e){return typeof e=="function"}function qd(e,t){let i=Object.assign({},e);return wl(e)?(wl(e)&&wl(t)&&Object.keys(t).forEach(n=>{Ds(t[n])?n in e?i[n]=qd(e[n],t[n]):Object.assign(i,{[n]:t[n]}):Object.assign(i,{[n]:t[n]})}),i):qd({},t)}function $d(e,t){let i=t.split(".");t="";do t+=i.shift(),da(e)&&da(e[t])&&(Ds(e[t])||Op(e[t])||!i.length)?(e=e[t],t=""):i.length?t+=".":e=void 0;while(i.length);return e}function Qfe(e,t,i){let n=t.split("."),a=e;for(let r=0;r<n.length;r++){let o=n[r];r===n.length-1?a[o]=i:((!a[o]||!Ds(a[o]))&&(a[o]={}),a=a[o])}}var Np=class{},ege=(()=>{const t=class t extends Np{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(Pp(a))return this.interpolateString(a,r);if(Xfe(a))return this.interpolateFunction(a,r)}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(o,l)=>{let u=$d(r,l);return da(u)?u:o}):a}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Ts=class{},tge=(()=>{const t=class t extends Ts{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Yd=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Ht);s(this,"onLangChange",new Ht);s(this,"onDefaultLangChange",new Ht)}},T1=new se("ISOLATE_TRANSLATE_SERVICE"),O1=new se("USE_DEFAULT_LANG"),P1=new se("DEFAULT_LANGUAGE"),N1=new se("USE_EXTEND"),yo=e=>Oo(e)?e:vt(e),li=(()=>{const t=class t{constructor(n,a,r,o,l,u=!0,c=!1,h=!1,m){s(this,"store");s(this,"currentLoader");s(this,"compiler");s(this,"parser");s(this,"missingTranslationHandler");s(this,"useDefaultLang");s(this,"extend");s(this,"loadingTranslations");s(this,"pending",!1);s(this,"_translationRequests",{});s(this,"lastUseLanguage",null);this.store=n,this.currentLoader=a,this.compiler=r,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=u,this.extend=h,c&&(this.store=new Yd),m&&this.setDefaultLang(m)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let a=this.retrieveTranslations(n);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=n),a.pipe(Vn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return vt(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return Oo(a)?(a.pipe(Vn(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),vt(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let a=this.currentLoader.getTranslation(n).pipe(Om(1),Vn(1));return this.loadingTranslations=a.pipe(zt(r=>this.compiler.compileTranslations(r,n)),Om(1),Vn(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[n]=this.extend&&this.translations[n]?ue(ue({},r),this.translations[n]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(n,a,r=!1){let o=this.compiler.compileTranslations(a,n);(r||this.extend)&&this.translations[n]?this.translations[n]=qd(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let a=n.filter(r=>!this.langs.includes(r));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,r){let o;if(n&&(o=this.runInterpolation($d(n,a),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation($d(this.translations[this.defaultLang],a),r)),o===void 0){let l={key:a,translateService:this};typeof r<"u"&&(l.interpolateParams=r),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(Op(n))return n.map(r=>this.runInterpolation(r,a));if(Ds(n)){let r={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(r[o]=l)}return r}else return this.parser.interpolate(n,a)}getParsedResult(n,a,r){if(a instanceof Array){let o={},l=!1;for(let c of a)o[c]=this.getParsedResultForKey(n,c,r),l=l||Oo(o[c]);if(!l)return o;let u=a.map(c=>yo(o[c]));return ev(u).pipe(zt(c=>{let h={};return c.forEach((m,v)=>{h[a[v]]=m}),h}))}return this.getParsedResultForKey(n,a,r)}get(n,a){if(!da(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(iv(r=>yo(this.getParsedResult(r,n,a)))):yo(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!da(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Bo(Tl(()=>this.get(n,a)),this.onTranslationChange.pipe(zo(r=>{let o=this.getParsedResult(r.translations,n,a);return yo(o)})))}stream(n,a){if(!da(n)||!n.length)throw new Error('Parameter "key" required');return Bo(Tl(()=>this.get(n,a)),this.onLangChange.pipe(zo(r=>{let o=this.getParsedResult(r.translations,n,a);return yo(o)})))}instant(n,a){if(!da(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],n,a);return Oo(r)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:r}set(n,a,r=this.currentLang){Qfe(this.translations[r],n,Pp(a)?this.compiler.compile(a,r):this.compiler.compileTranslations(a,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};s(t,"ɵfac",function(n){return new(n||t)(pe(Yd),pe(Is),pe(Ts),pe(Np),pe(D1),pe(O1),pe(T1),pe(N1),pe(P1))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),un=(()=>{const t=class t{constructor(n,a){s(this,"translate");s(this,"_ref");s(this,"value","");s(this,"lastKey",null);s(this,"lastParams",[]);s(this,"onTranslationChange");s(this,"onLangChange");s(this,"onDefaultLangChange");this.translate=n,this._ref=a}updateValue(n,a,r){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,n,a);Oo(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Jl(n,this.lastKey)&&Jl(a,this.lastParams))return this.value;let r;if(da(a[0])&&a.length)if(Pp(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else Ds(a[0])&&(r=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)(Qt(li,16),Qt(sr,16))}),s(t,"ɵpipe",Yt({name:"translate",type:t,pure:!1})),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),nge=(e={})=>kh([e.loader||{provide:Is,useClass:Kfe},e.compiler||{provide:Ts,useClass:tge},e.parser||{provide:Np,useClass:ege},e.missingTranslationHandler||{provide:D1,useClass:Jfe},Yd,{provide:T1,useValue:e.isolate},{provide:O1,useValue:e.useDefaultLang},{provide:N1,useValue:e.extend},{provide:P1,useValue:e.defaultLanguage},li]);function M1(e){return e.buttons===0||e.detail===0}function R1(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Iu;function ige(){if(Iu==null){let e=typeof document<"u"?document.head:null;Iu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Iu}function age(e){if(ige()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Du(){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 Yi(e){return e.composedPath?e.composedPath()[0]:e.target}function ha(e,t,i,n,a){let r=parseInt(wf.major),o=parseInt(wf.minor);return r>19||r===19&&o>0||r===0&&o===0?e.listen(t,i,n,a):(t.addEventListener(i,n,a),()=>{t.removeEventListener(i,n,a)})}var Zd;try{Zd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Zd=!1}var Tn=(()=>{const t=class t{constructor(){s(this,"_platformId",C(Ic));s(this,"isBrowser",this._platformId?Kme(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||Zd)&&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",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bo;function rge(){if(bo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>bo=!0}))}finally{bo=bo||!1}return bo}function Mp(e){return rge()?e:!!e.capture}function Gf(e,t=0){return oge(e)?Number(e):arguments.length===2?t:0}function oge(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Rr(e){return e instanceof At?e.nativeElement:e}var sge=new se("cdk-input-modality-detector-options"),lge={ignoreKeys:[18,17,224,91,16]},A1=650,Tu={passive:!0,capture:!0},cge=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new vh(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,r;(r=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&r.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Yi(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<A1||(this._modality.next(M1(n)?"keyboard":"mouse"),this._mostRecentTarget=Yi(n))});s(this,"_onTouchstart",n=>{if(R1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Yi(n)});let n=C(We),a=C(He),r=C(sge,{optional:!0});if(this._options=ue(ue({},lge),r),this.modalityDetected=this._modality.pipe(sv(1)),this.modalityChanged=this.modalityDetected.pipe(sse()),this._platform.isBrowser){let o=C(oi).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[ha(o,a,"keydown",this._onKeydown,Tu),ha(o,a,"mousedown",this._onMousedown,Tu),ha(o,a,"touchstart",this._onTouchstart,Tu)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(a=>a())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),El=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(El||{}),uge=new se("cdk-focus-monitor-default-options"),Js=Mp({passive:!0,capture:!0}),Rp=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_platform",C(Tn));s(this,"_inputModalityDetector",C(cge));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(He,{optional:!0}));s(this,"_stopInputModalityDetector",new be);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=Yi(n);for(let r=a;r;r=r.parentElement)n.type==="focus"?this._onFocus(n,r):this._onBlur(n,r)});let n=C(uge,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||El.IMMEDIATE}monitor(n,a=!1){let r=Rr(n);if(!this._platform.isBrowser||r.nodeType!==1)return vt();let o=age(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return a&&(l.checkChildren=!0),l.subject;let u={checkChildren:a,subject:new be,rootNode:o};return this._elementInfo.set(r,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let a=Rr(n),r=this._elementInfo.get(a);r&&(r.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(r))}focusVia(n,a,r){let o=Rr(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,a,c)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((n,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===El.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,a){n.classList.toggle("cdk-focused",!!a),n.classList.toggle("cdk-touch-focused",a==="touch"),n.classList.toggle("cdk-keyboard-focused",a==="keyboard"),n.classList.toggle("cdk-mouse-focused",a==="mouse"),n.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(n,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&a,this._detectionMode===El.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?A1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(n,a){let r=this._elementInfo.get(a),o=Yi(n);!r||!r.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),r)}_onBlur(n,a){let r=this._elementInfo.get(a);!r||r.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(r,null))}_emitOrigin(n,a){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(a))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let a=n.rootNode,r=this._rootNodeFocusListenerCount.get(a)||0;r||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Js),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Js)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(zi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let r=this._rootNodeFocusListenerCount.get(a);r>1?this._rootNodeFocusListenerCount.set(a,r-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Js),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Js),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,r){this._setClasses(n,a),this._emitOrigin(r,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((r,o)=>{(o===n||r.checkChildren&&o.contains(n))&&a.push([o,r])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!a||a===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let o=n.labels;if(o){for(let l=0;l<o.length;l++)if(o[l].contains(a))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xs=new WeakMap,lr=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",C(st));s(this,"_environmentInjector",C(wi))}load(n){let a=this._appRef=this._appRef||this._injector.get(xa),r=Xs.get(a);r||(r={loaders:new Set,refs:[]},Xs.set(a,r),a.onDestroy(()=>{var o;(o=Xs.get(a))==null||o.refs.forEach(l=>l.destroy()),Xs.delete(a)})),r.loaders.has(n)||(r.loaders.add(n),r.refs.push(Kb(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),L1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
20
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Xl(e){return Array.isArray(e)?e:[e]}var Wf=new Set,Ta,dge=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_nonce",C(Yh,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):pge}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&hge(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function hge(e,t){if(!Wf.has(e))try{Ta||(Ta=document.createElement("style"),t&&Ta.setAttribute("nonce",t),Ta.setAttribute("type","text/css"),document.head.appendChild(Ta)),Ta.sheet&&(Ta.sheet.insertRule(`@media ${e} {body{ }}`,0),Wf.add(e))}catch(i){console.error(i)}}function pge(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var F1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(dge));s(this,"_zone",C(We));s(this,"_queries",new Map);s(this,"_destroySubject",new be)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return qf(Xl(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=qf(Xl(n)).map(o=>this._registerQuery(o).observable),r=tse(a);return r=Bo(r.pipe(Vn(1)),r.pipe(sv(1),av(0))),r.pipe(zt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),r={observable:new ht(o=>{let l=u=>this._zone.run(()=>o.next(u));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(Tr(a),zt(({matches:o})=>({query:n,matches:o})),zi(this._destroySubject)),mql:a};return this._queries.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function qf(e){return e.map(t=>t.split(",")).reduce((t,i)=>t.concat(i)).map(t=>t.trim())}var mge=(()=>{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",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),fge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[mge]}));let e=t;return e})(),j1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return vge(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=gge(kge(n));if(a&&($f(a)===-1||!this.isVisible(a)))return!1;let r=n.nodeName.toLowerCase(),o=$f(n);return n.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Ege(n)?!1:r==="audio"?n.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,a){return Sge(n)&&!this.isDisabled(n)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function gge(e){try{return e.frameElement}catch{return null}}function vge(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function yge(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function bge(e){return xge(e)&&e.type=="hidden"}function _ge(e){return wge(e)&&e.hasAttribute("href")}function xge(e){return e.nodeName.toLowerCase()=="input"}function wge(e){return e.nodeName.toLowerCase()=="a"}function V1(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function $f(e){if(!V1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Ege(e){let t=e.nodeName.toLowerCase(),i=t==="input"&&e.type;return i==="text"||i==="password"||t==="select"||t==="textarea"}function Sge(e){return bge(e)?!1:yge(e)||_ge(e)||e.hasAttribute("contenteditable")||V1(e)}function kge(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Cge=class{constructor(e,t,i,n,a=!1,r){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=i,this._document=n,this._injector=r,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let i=this._getFirstTabbableElement(t);return i==null||i.focus(e),!!i}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 i=0;i<t.length;i++){let n=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):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 i=t.length-1;i>=0;i--){let n=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):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?Jh(e,{injector:this._injector}):setTimeout(e)}},Ige=(()=>{const t=class t{constructor(){s(this,"_checker",C(j1));s(this,"_ngZone",C(We));s(this,"_document",C(He));s(this,"_injector",C(st));C(lr).load(L1)}create(n,a=!1){return new Cge(n,this._checker,this._ngZone,this._document,a,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Dge=new se("liveAnnouncerElement",{providedIn:"root",factory:Tge});function Tge(){return null}var Oge=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Pge=0,Nge=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_defaultOptions",C(Oge,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(He));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(Dge,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let r=this._defaultOptions,o,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[o,l]=a,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,a;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",a=this._document.getElementsByClassName(n),r=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return r.classList.add(n),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${Pge++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<a.length;r++){let o=a[r],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),La=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}(La||{}),Yf="cdk-high-contrast-black-on-white",Zf="cdk-high-contrast-white-on-black",Ou="cdk-high-contrast-active",B1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",C(He));s(this,"_breakpointSubscription");this._breakpointSubscription=C(F1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return La.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let a=this._document.defaultView||window,r=a&&a.getComputedStyle?a.getComputedStyle(n):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return La.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return La.BLACK_ON_WHITE}return La.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Ou,Yf,Zf),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===La.BLACK_ON_WHITE?n.add(Ou,Yf):a===La.WHITE_ON_BLACK&&n.add(Ou,Zf)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Mge=(()=>{const t=class t{constructor(){C(B1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[fge]}));let e=t;return e})(),Pu={},lo=(()=>{const t=class t{constructor(){s(this,"_appId",C($h))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Pu.hasOwnProperty(n)||(Pu[n]=0),`${n}${Pu[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Rge=200,Age=class{constructor(e,t){s(this,"_letterKeyStream",new be);s(this,"_items",[]);s(this,"_selectedItemIndex",-1);s(this,"_pressedLetters",[]);s(this,"_skipPredicateFn");s(this,"_selectedItem",new be);s(this,"selectedItem",this._selectedItem);let i=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:Rge;t!=null&&t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(hl(t=>this._pressedLetters.push(t)),av(e),bi(()=>this._pressedLetters.length>0),zt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var i,n;for(let a=1;a<this._items.length+1;a++){let r=(this._selectedItemIndex+a)%this._items.length,o=this._items[r];if(!((i=this._skipPredicateFn)!=null&&i.call(this,o))&&((n=o.getLabel)==null?void 0:n.call(o).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Ap(e,...t){return t.length?t.some(i=>e[i]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Lge=class{constructor(e,t){s(this,"_items");s(this,"_activeItemIndex",-1);s(this,"_activeItem",Ed(null));s(this,"_wrap",!1);s(this,"_typeaheadSubscription",pn.EMPTY);s(this,"_itemChangesSubscription");s(this,"_vertical",!0);s(this,"_horizontal");s(this,"_allowedModifierKeys",[]);s(this,"_homeAndEnd",!1);s(this,"_pageUpAndDown",{enabled:!1,delta:10});s(this,"_effectRef");s(this,"_typeahead");s(this,"_skipPredicateFn",e=>e.disabled);s(this,"tabOut",new be);s(this,"change",new be);this._items=e,e instanceof Hl?this._itemChangesSubscription=e.changes.subscribe(i=>this._itemsChanged(i.toArray())):Ym(e)&&(this._effectRef=_p(()=>this._itemsChanged(e()),{injector:t}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Age(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){var n,a;let t=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let r=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r<o?r:o-1,-1);break}else return;default:(i||Ap(e,"shiftKey"))&&((n=this._typeahead)==null||n.handleKey(e));return}(a=this._typeahead)==null||a.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){var a;let t=this._getItemsArray(),i=typeof e=="number"?e:t.indexOf(e),n=t[i];this._activeItem.set(n??null),this._activeItemIndex=i,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(i)}destroy(){var e,t,i;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),(i=this._typeahead)==null||i.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let i=1;i<=t.length;i++){let n=(this._activeItemIndex+e*i+t.length)%t.length,a=t[n];if(!this._skipPredicateFn(a)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(e+=t,!i[e])return;this.setActiveItem(e)}}_getItemsArray(){return Ym(this._items)?this._items():this._items instanceof Hl?this._items.toArray():this._items}_itemsChanged(e){var i,n;(i=this._typeahead)==null||i.setItems(e);let t=this._activeItem();if(t){let a=e.indexOf(t);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(n=this._typeahead)==null||n.setCurrentSelectedItemIndex(a))}}},Fge=class extends Lge{constructor(){super(...arguments);s(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},jge=new se("cdk-dir-doc",{providedIn:"root",factory:Vge});function Vge(){return C(He)}var Bge=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function zge(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?Bge.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Zo=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Ht);let n=C(jge,{optional:!0});if(n){let a=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=zge(a||r||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ko=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})(),Ci=(()=>{const t=class t{constructor(){C(B1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ko,Ko]}));let e=t;return e})(),Kd=new se("MAT_DATE_LOCALE",{providedIn:"root",factory:Hge});function Hge(){return C(Fc)}var fr="Method not implemented",z1=class{constructor(){s(this,"locale");s(this,"_localeChanges",new be);s(this,"localeChanges",this._localeChanges)}setTime(e,t,i,n){throw new Error(fr)}getHours(e){throw new Error(fr)}getMinutes(e){throw new Error(fr)}getSeconds(e){throw new Error(fr)}parseTime(e,t){throw new Error(fr)}addSeconds(e,t){throw new Error(fr)}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 i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareDate(e,t):i==n}return e==t}sameTime(e,t){if(e&&t){let i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareTime(e,t):i==n}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}},Uge=new se("mat-date-formats"),Lp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
21
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),mi=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(mi||{}),Qs,Oa;function H1(){if(Oa==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Oa=!1,Oa;if("scrollBehavior"in document.documentElement.style)Oa=!0;else{let e=Element.prototype.scrollTo;e?Oa=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Oa=!1}}return Oa}function _o(){if(typeof document!="object"||!document)return mi.NORMAL;if(Qs==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 i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),Qs=mi.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Qs=e.scrollLeft===0?mi.NEGATED:mi.INVERTED),e.remove()}return Qs}function Kf(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Jf(e){return e!=null&&`${e}`!="false"}function Ot(e){return e==null?"":typeof e=="string"?e:`${e}px`}var Fn=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}(Fn||{}),Gge=class{constructor(e,t,i,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",Fn.HIDDEN);this._renderer=e,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},Xf=Mp({passive:!0,capture:!0}),Wge=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var i;let t=Yi(e);t&&((i=this._events.get(e.type))==null||i.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,i,n){let a=this._events.get(t);if(a){let r=a.get(i);r?r.add(n):a.set(i,new Set([n]))}else this._events.set(t,new Map([[i,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Xf)})}removeHandler(e,t,i){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(i),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Xf)))}},Ql={enterDuration:225,exitDuration:150},qge=800,Qf=Mp({passive:!0,capture:!0}),eg=["mousedown","touchstart"],tg=["mouseup","mouseleave","touchend","touchcancel"],$ge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
22
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),pa,Yge=(pa=class{constructor(t,i,n,a,r){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=i,this._platform=a,a.isBrowser&&(this._containerElement=Rr(n)),r&&r.get(lr).load($ge)}fadeInRipple(t,i,n={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ue(ue({},Ql),n.animation);n.centered&&(t=a.left+a.width/2,i=a.top+a.height/2);let o=n.radius||Zge(t,i,a),l=t-a.left,u=i-a.top,c=r.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=`${l-o}px`,h.style.top=`${u-o}px`,h.style.height=`${o*2}px`,h.style.width=`${o*2}px`,n.color!=null&&(h.style.backgroundColor=n.color),h.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(h);let m=window.getComputedStyle(h),v=m.transitionProperty,g=m.transitionDuration,x=v==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,w=new Gge(this,h,n,x);h.style.transform="scale3d(1, 1, 1)",w.state=Fn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=w);let S=null;return!x&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let T=()=>{S&&(S.fallbackTimer=null),clearTimeout(N),this._finishRippleTransition(w)},L=()=>this._destroyRipple(w),N=setTimeout(L,c+100);h.addEventListener("transitionend",T),h.addEventListener("transitioncancel",L),S={onTransitionEnd:T,onTransitionCancel:L,fallbackTimer:N}}),this._activeRipples.set(w,S),(x||!c)&&this._finishRippleTransition(w),w}fadeOutRipple(t){if(t.state===Fn.FADING_OUT||t.state===Fn.HIDDEN)return;let i=t.element,n=ue(ue({},Ql),t.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",t.state=Fn.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 i=Rr(t);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,eg.forEach(n=>{pa._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{tg.forEach(i=>{this._triggerElement.addEventListener(i,this,Qf)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Fn.FADING_IN?this._startFadeOutTransition(t):t.state===Fn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let i=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=Fn.VISIBLE,!n&&(!i||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let i=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Fn.HIDDEN,i!==null&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel),i.fallbackTimer!==null&&clearTimeout(i.fallbackTimer)),t.element.remove()}_onMousedown(t){let i=M1(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+qge;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!R1(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=t.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let i=t.state===Fn.VISIBLE||t.config.terminateOnPointerUp&&t.state===Fn.FADING_IN;!t.config.persistent&&i&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(eg.forEach(i=>pa._eventManager.removeHandler(i,t,this)),this._pointerUpEventsRegistered&&(tg.forEach(i=>t.removeEventListener(i,this,Qf)),this._pointerUpEventsRegistered=!1))}},s(pa,"_eventManager",new Wge),pa);function Zge(e,t,i){let n=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),a=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));return Math.sqrt(n*n+a*a)}var U1=new se("mat-ripple-global-options"),Kge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Ci]}));let e=t;return e})(),Jge={capture:!0},Xge=["focus","mousedown","mouseenter","touchstart"],Nu="mat-ripple-loader-uninitialized",Mu="mat-ripple-loader-class-name",ng="mat-ripple-loader-centered",el="mat-ripple-loader-disabled",G1=(()=>{const t=class t{constructor(){s(this,"_document",C(He));s(this,"_animationMode",C(ir,{optional:!0}));s(this,"_globalRippleOptions",C(U1,{optional:!0}));s(this,"_platform",C(Tn));s(this,"_ngZone",C(We));s(this,"_injector",C(st));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var r;let a=Yi(n);if(a instanceof HTMLElement){let o=a.closest(`[${Nu}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);o&&this._createRipple(o)}});let n=C(oi).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Xge.map(a=>ha(n,this._document,a,this._onInteraction,Jge)))}ngOnDestroy(){let n=this._hosts.keys();for(let a of n)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(n,a){var r;n.setAttribute(Nu,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(a.className||!n.hasAttribute(Mu))&&n.setAttribute(Mu,a.className||""),a.centered&&n.setAttribute(ng,""),a.disabled&&n.setAttribute(el,"")}setDisabled(n,a){let r=this._hosts.get(n);r?(r.target.rippleDisabled=a,!a&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(n))):a?n.setAttribute(el,""):n.removeAttribute(el)}_createRipple(n){var v,g,x;if(!this._document||this._hosts.has(n))return;(v=n.querySelector(".mat-ripple"))==null||v.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",n.getAttribute(Mu)),n.append(a);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=r?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Ql.enterDuration,u=r?0:((x=o==null?void 0:o.animation)==null?void 0:x.exitDuration)??Ql.exitDuration,c={rippleDisabled:r||(o==null?void 0:o.disabled)||n.hasAttribute(el),rippleConfig:{centered:n.hasAttribute(ng),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:u}}},h=new Yge(c,this._ngZone,a,this._platform,this._injector),m=!c.rippleDisabled;m&&h.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:h,hasSetUpEvents:m}),n.removeAttribute(Nu)}destroyRipple(n){let a=this._hosts.get(n);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Qge=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,e0e=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Ru(e,t){let i=Array(e);for(let n=0;n<e;n++)i[n]=t(n);return i}var t0e=(()=>{const t=class t extends z1{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",C(Kd,{optional:!0}));let a=C(Kd,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let r=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Ru(12,o=>this._format(r,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ru(31,r=>this._format(a,new Date(2017,0,r+1)))}getDayOfWeekNames(a){let r=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Ru(7,o=>this._format(r,new Date(2017,0,o+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((r=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,o){let l=this._createDateWithOverflow(a,r,o);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,yt(ue({},r),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+r)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(Qge.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,o,l){let u=this.clone(a);return u.setHours(r,o,l,0),u}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let o=a.trim();if(o.length===0)return null;let l=this._parseTimeString(o);if(l===null){let u=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();u.length>0&&(l=this._parseTimeString(u))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,o){let l=new Date;return l.setFullYear(a,r,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let o=new Date;return o.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),o.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(o)}_parseTimeString(a){let r=a.toUpperCase().match(e0e);if(r){let o=parseInt(r[1]),l=parseInt(r[2]),u=r[3]==null?void 0:parseInt(r[3]),c=r[4];if(o===12?o=c==="AM"?0:o:c==="PM"&&(o+=12),Au(o,0,23)&&Au(l,0,59)&&(u==null||Au(u,0,59)))return this.setTime(this.today(),o,l,u||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Au(e,t,i){return!isNaN(e)&&e>=t&&e<=i}var Fp=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}},Jo=class extends Fp{constructor(t,i,n,a,r){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=i,this.injector=n,this.projectableNodes=r}},jp=class extends Fp{constructor(t,i,n,a){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=i,this.context=n,this.injector=a}get origin(){return this.templateRef.elementRef}attach(t,i=this.context){return this.context=i,super.attach(t)}detach(){return this.context=void 0,super.detach()}},n0e=class extends Fp{constructor(t){super();s(this,"element");this.element=t instanceof At?t.nativeElement:t}},Hc=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 Jo)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof jp)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof n0e)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)}},i0e=class extends Hc{constructor(t,i,n,a,r){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let i=t.element;i.parentNode;let n=this._document.createComment("dom-portal");i.parentNode.insertBefore(n,i),this.outletElement.appendChild(i),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(i,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=a,this._document=r}attachComponentPortal(t){let i;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,a=n.get($o,null,{optional:!0})||void 0;i=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>i.destroy())}else{let n=this._appRef,a=t.injector||this._defaultInjector||st.NULL,r=a.get(wi,n.injector);i=Kb(t.component,{elementInjector:a,environmentInjector:r,projectableNodes:t.projectableNodes||void 0}),n.attachView(i.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(i.hostView),i.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let i=t.viewContainerRef,n=i.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(a=>this.outletElement.appendChild(a)),n.detectChanges(),this.setDisposeFn(()=>{let a=i.indexOf(n);a!==-1&&i.remove(a)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Xo=(()=>{const t=class t extends Hc{constructor(){super();s(this,"_moduleRef",C($o,{optional:!0}));s(this,"_document",C(He));s(this,"_viewContainerRef",C(ws));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new Ht);s(this,"attachDomPortal",a=>{let r=a.element;r.parentNode;let o=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})})}get portal(){return this._attachedPortal}set portal(a){this.hasAttached()&&!a&&!this._isInitialized||(this.hasAttached()&&super.detach(),a&&super.attach(a),this._attachedPortal=a||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(a){a.setAttachedHost(this);let r=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,o=r.createComponent(a.component,{index:r.length,injector:a.injector||r.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=a,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(a){a.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Gn]}));let e=t;return e})(),ec=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})(),a0e=20,W1=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_platform",C(Tn));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new be);s(this,"_scrolledCount",0);s(this,"scrollContainers",new Map)}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let a=this.scrollContainers.get(n);a&&(a.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=a0e){return this._platform.isBrowser?new ht(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=n>0?this._scrolled.pipe(tv(n)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var o;r.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):vt()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((a,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,a){let r=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(bi(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(n){let a=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,n)&&a.push(o)}),a}_scrollableContainsElement(n,a){let r=Rr(a),o=n.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),r0e=(()=>{const t=class t{constructor(){s(this,"elementRef",C(At));s(this,"scrollDispatcher",C(W1));s(this,"ngZone",C(We));s(this,"dir",C(Zo,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new be);s(this,"_renderer",C(ro));s(this,"_cleanupScroll");s(this,"_elementScrolled",new be)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",n=>this._elementScrolled.next(n))),this.scrollDispatcher.register(this)}ngOnDestroy(){var n;(n=this._cleanupScroll)==null||n.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let a=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=r?n.end:n.start),n.right==null&&(n.right=r?n.start:n.end),n.bottom!=null&&(n.top=a.scrollHeight-a.clientHeight-n.bottom),r&&_o()!=mi.NORMAL?(n.left!=null&&(n.right=a.scrollWidth-a.clientWidth-n.left),_o()==mi.INVERTED?n.left=n.right:_o()==mi.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=a.scrollWidth-a.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let a=this.elementRef.nativeElement;H1()?a.scrollTo(n):(n.top!=null&&(a.scrollTop=n.top),n.left!=null&&(a.scrollLeft=n.left))}measureScrollOffset(n){let a="left",r="right",o=this.elementRef.nativeElement;if(n=="top")return o.scrollTop;if(n=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let l=this.dir&&this.dir.value=="rtl";return n=="start"?n=l?r:a:n=="end"&&(n=l?a:r),l&&_o()==mi.INVERTED?n==a?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&_o()==mi.NEGATED?n==a?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==a?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),o0e=20,q1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new be);s(this,"_document",C(He,{optional:!0}));let n=C(We),a=C(oi).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[a.listen("window","resize",r),a.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var n;(n=this._listeners)==null||n.forEach(a=>a()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:a,height:r}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+r,right:n.left+a,height:r,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,a=this._getWindow(),r=n.documentElement,o=r.getBoundingClientRect(),l=-o.top||n.body.scrollTop||a.scrollY||r.scrollTop||0,u=-o.left||n.body.scrollLeft||a.scrollX||r.scrollLeft||0;return{top:l,left:u}}change(n=o0e){return n>0?this._change.pipe(tv(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",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ig=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({}));let e=t;return e})(),ag=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ko,ig,Ko,ig]}));let e=t;return e})(),rg=H1(),s0e=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=Ot(-this._previousScrollPosition.left),e.style.top=Ot(-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,i=e.style,n=t.style,a=i.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),rg&&(i.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),rg&&(i.scrollBehavior=a,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},l0e=class{constructor(e,t,i,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=i,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(bi(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}},$1=class{enable(){}disable(){}attach(){}};function Jd(e,t){return t.some(i=>{let n=e.bottom<i.top,a=e.top>i.bottom,r=e.right<i.left,o=e.left>i.right;return n||a||r||o})}function og(e,t){return t.some(i=>{let n=e.top<i.top,a=e.bottom>i.bottom,r=e.left<i.left,o=e.right>i.right;return n||a||r||o})}var c0e=class{constructor(e,t,i,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=i,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:i,height:n}=this._viewportRuler.getViewportSize();Jd(t,[{width:i,height:n,bottom:n,right:i,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}},u0e=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",C(W1));s(this,"_viewportRuler",C(q1));s(this,"_ngZone",C(We));s(this,"_document",C(He));s(this,"noop",()=>new $1);s(this,"close",n=>new l0e(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new s0e(this._viewportRuler,this._document));s(this,"reposition",n=>new c0e(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Vp=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new $1);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 i of t)e[i]!==void 0&&(this[i]=e[i])}}},d0e=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},Y1=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",C(He));s(this,"_isAttached")}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let a=this._attachedOverlays.indexOf(n);a>-1&&this._attachedOverlays.splice(a,1),this._attachedOverlays.length===0&&this.detach()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),h0e=(()=>{const t=class t extends Y1{constructor(){super(...arguments);s(this,"_ngZone",C(We));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",a=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--)if(r[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[o]._keydownEvents.next(a));break}})}add(a){super.add(a),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var a;this._isAttached&&((a=this._cleanupKeydown)==null||a.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),p0e=(()=>{const t=class t extends Y1{constructor(){super(...arguments);s(this,"_platform",C(Tn));s(this,"_ngZone",C(We));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=Yi(a)});s(this,"_clickListener",a=>{let r=Yi(a),o=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){let c=l[u];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(sg(c.overlayElement,r)||sg(c.overlayElement,o))break;let h=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(a)):h.next(a)}})}add(a){if(super.add(a),!this._isAttached){let r=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[ha(this._renderer,r,"pointerdown",this._pointerDownListener,o),ha(this._renderer,r,"click",this._clickListener,o),ha(this._renderer,r,"auxclick",this._clickListener,o),ha(this._renderer,r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(r=>r()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function sg(e,t){let i=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=i&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var Z1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,a){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
23
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Bp=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_containerElement");s(this,"_document",C(He));s(this,"_styleLoader",C(lr))}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||Kf()){let r=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let a=this._document.createElement("div");a.classList.add(n),Kf()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(Z1)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),m0e=class{constructor(e,t,i,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=i,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")})}},zp=class{constructor(e,t,i,n,a,r,o,l,u,c=!1,h,m){s(this,"_portalOutlet");s(this,"_host");s(this,"_pane");s(this,"_config");s(this,"_ngZone");s(this,"_keyboardDispatcher");s(this,"_document");s(this,"_location");s(this,"_outsideClickDispatcher");s(this,"_animationsDisabled");s(this,"_injector");s(this,"_renderer");s(this,"_backdropClick",new be);s(this,"_attachments",new be);s(this,"_detachments",new be);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",pn.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new be);s(this,"_outsidePointerEvents",new be);s(this,"_renders",new be);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=i,this._config=n,this._ngZone=a,this._keyboardDispatcher=r,this._document=o,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=c,this._injector=h,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=$pe(()=>Dy(()=>{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 i;!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(),(i=this._afterNextRenderRef)==null||i.destroy(),this._afterNextRenderRef=Jh(()=>{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,i,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),(i=this._host)==null||i.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=ue(ue({},this._config),e),this._updateElementSize()}setDirection(e){this._config=yt(ue({},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=Ot(this._config.width),e.height=Ot(this._config.height),e.minWidth=Ot(this._config.minWidth),e.minHeight=Ot(this._config.minHeight),e.maxWidth=Ot(this._config.maxWidth),e.maxHeight=Ot(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 m0e(this._document,this._renderer,this._ngZone,i=>{this._backdropClick.next(i)}),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 i;return(i=this._backdropRef)==null?void 0:i.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,i){let n=Xl(t||[]).filter(a=>!!a);n.length&&(i?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(zi(cs(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)}},lg="cdk-overlay-connected-position-bounding-box",f0e=/([A-Za-z%]+)$/,g0e=class{constructor(e,t,i,n,a){s(this,"_viewportRuler");s(this,"_document");s(this,"_platform");s(this,"_overlayContainer");s(this,"_overlayRef");s(this,"_isInitialRender");s(this,"_lastBoundingBoxSize",{width:0,height:0});s(this,"_isPushed",!1);s(this,"_canPush",!0);s(this,"_growAfterOpen",!1);s(this,"_hasFlexibleDimensions",!0);s(this,"_positionLocked",!1);s(this,"_originRect");s(this,"_overlayRect");s(this,"_viewportRect");s(this,"_containerRect");s(this,"_viewportMargin",0);s(this,"_scrollables",[]);s(this,"_preferredPositions",[]);s(this,"_origin");s(this,"_pane");s(this,"_isDisposed");s(this,"_boundingBox");s(this,"_lastPosition");s(this,"_lastScrollVisibility");s(this,"_positionChanges",new be);s(this,"_resizeSubscription",pn.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=i,this._platform=n,this._overlayContainer=a,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(lg),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,i=this._viewportRect,n=this._containerRect,a=[],r;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),u=this._getOverlayPoint(l,t,o),c=this._getOverlayFit(u,t,i,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(c,u,i)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!r||r.overlayFit.visibleArea<c.visibleArea)&&(r={overlayFit:c,overlayPoint:u,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let u of a){let c=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);c>l&&(l=c,o=u)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Pa(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(lg),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,i){let n;if(i.originX=="center")n=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=i.originX=="start"?r:o}t.left<0&&(n-=t.left);let a;return i.originY=="center"?a=e.top+e.height/2:a=i.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:n,y:a}}_getOverlayPoint(e,t,i){let n;i.overlayX=="center"?n=-t.width/2:i.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let a;return i.overlayY=="center"?a=-t.height/2:a=i.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,t,i,n){let a=ug(t),{x:r,y:o}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(r+=l),u&&(o+=u);let c=0-r,h=r+a.width-i.width,m=0-o,v=o+a.height-i.height,g=this._subtractOverflows(a.width,c,h),x=this._subtractOverflows(a.height,m,v),w=g*x;return{visibleArea:w,isCompletelyWithinViewport:a.width*a.height===w,fitsInViewportVertically:x===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){let n=i.bottom-t.y,a=i.right-t.x,r=cg(this._overlayRef.getConfig().minHeight),o=cg(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||r!=null&&r<=n,u=e.fitsInViewportHorizontally||o!=null&&o<=a;return l&&u}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=ug(t),a=this._viewportRect,r=Math.max(e.x+n.width-a.width,0),o=Math.max(e.y+n.height-a.height,0),l=Math.max(a.top-i.top-e.y,0),u=Math.max(a.left-i.left-e.x,0),c=0,h=0;return n.width<=a.width?c=u||-r:c=e.x<this._viewportMargin?a.left-i.left-e.x:0,n.height<=a.height?h=l||-o:h=e.y<this._viewportMargin?a.top-i.top-e.y:0,this._previousPushAmount={x:c,y:h},{x:e.x+c,y:e.y+h}}_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 i=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!v0e(this._lastScrollVisibility,i)){let n=new d0e(e,i);this._positionChanges.next(n)}this._lastScrollVisibility=i}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,n=e.overlayY;e.overlayX==="center"?i="center":this._isRtl()?i=e.overlayX==="start"?"right":"left":i=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${i} ${n}`}_calculateBoundingBoxRect(e,t){let i=this._viewportRect,n=this._isRtl(),a,r,o;if(t.overlayY==="top")r=e.y,a=i.height-r+this._viewportMargin;else if(t.overlayY==="bottom")o=i.height-e.y+this._viewportMargin*2,a=i.height-o+this._viewportMargin;else{let v=Math.min(i.bottom-e.y+i.top,e.y),g=this._lastBoundingBoxSize.height;a=v*2,r=e.y-v,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,u=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,c,h,m;if(u)m=i.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)h=e.x,c=i.right-e.x;else{let v=Math.min(i.right-e.x+i.left,e.x),g=this._lastBoundingBoxSize.width;c=v*2,h=e.x-v,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(h=e.x-g/2)}return{top:r,left:h,bottom:o,right:m,width:c,height:a}}_setBoundingBoxStyles(e,t){let i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;n.height=Ot(i.height),n.top=Ot(i.top),n.bottom=Ot(i.bottom),n.width=Ot(i.width),n.left=Ot(i.left),n.right=Ot(i.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=Ot(a)),r&&(n.maxWidth=Ot(r))}this._lastBoundingBoxSize=i,Pa(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Pa(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Pa(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let i={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();Pa(i,this._getExactOverlayY(t,e,c)),Pa(i,this._getExactOverlayX(t,e,c))}else i.position="static";let o="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),u&&(o+=`translateY(${u}px)`),i.transform=o.trim(),r.maxHeight&&(n?i.maxHeight=Ot(r.maxHeight):a&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=Ot(r.maxWidth):a&&(i.maxWidth="")),Pa(this._pane.style,i)}_getExactOverlayY(e,t,i){let n={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;n.bottom=`${r-(a.y+this._overlayRect.height)}px`}else n.top=Ot(a.y);return n}_getExactOverlayX(e,t,i){let n={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,i));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(a.x+this._overlayRect.width)}px`}else n.left=Ot(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:og(e,i),isOriginOutsideView:Jd(e,i),isOverlayClipped:og(t,i),isOverlayOutsideView:Jd(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,n)=>i-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.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&&Xl(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,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}};function Pa(e,t){for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function cg(e){if(typeof e!="number"&&e!=null){let[t,i]=e.split(f0e);return!i||i==="px"?parseFloat(t):null}return e||null}function ug(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 v0e(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var dg="cdk-global-overlay-wrapper",y0e=class{constructor(){s(this,"_overlayRef");s(this,"_cssPosition","static");s(this,"_topOffset","");s(this,"_bottomOffset","");s(this,"_alignItems","");s(this,"_xPosition","");s(this,"_xOffset","");s(this,"_width","");s(this,"_height","");s(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(dg),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:r,maxHeight:o}=i,l=(n==="100%"||n==="100vw")&&(!r||r==="100%"||r==="100vw"),u=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),c=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",v="",g="",x="";l?x="flex-start":c==="center"?(x="center",m?g=h:v=h):m?c==="left"||c==="end"?(x="flex-end",v=h):(c==="right"||c==="start")&&(x="flex-start",g=h):c==="left"||c==="start"?(x="flex-start",v=h):(c==="right"||c==="end")&&(x="flex-end",g=h),e.position=this._cssPosition,e.marginLeft=l?"0":v,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=x,t.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(dg),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},b0e=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",C(q1));s(this,"_document",C(He));s(this,"_platform",C(Tn));s(this,"_overlayContainer",C(Bp))}global(){return new y0e}flexibleConnectedTo(n){return new g0e(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ka=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",C(u0e));s(this,"_overlayContainer",C(Bp));s(this,"_positionBuilder",C(b0e));s(this,"_keyboardDispatcher",C(h0e));s(this,"_injector",C(st));s(this,"_ngZone",C(We));s(this,"_document",C(He));s(this,"_directionality",C(Zo));s(this,"_location",C(e1));s(this,"_outsideClickDispatcher",C(p0e));s(this,"_animationsModuleType",C(ir,{optional:!0}));s(this,"_idGenerator",C(lo));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",C(lr))}create(n){this._styleLoader.load(Z1);let a=this._createHostElement(),r=this._createPaneElement(a),o=this._createPortalOutlet(r),l=new Vp(n);return l.direction=l.direction||this._directionality.value,new zp(o,a,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(wi),this._renderer)}position(){return this._positionBuilder}_createPaneElement(n){let a=this._document.createElement("div");return a.id=this._idGenerator.getId("cdk-overlay-"),a.classList.add("cdk-overlay-pane"),n.appendChild(a),a}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(xa)),new i0e(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_0e=new se("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(ka);return()=>e.scrollStrategies.reposition()}});function x0e(e){return()=>e.scrollStrategies.reposition()}var w0e={provide:_0e,deps:[ka],useFactory:x0e},K1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[ka,w0e],imports:[Ko,ec,ag,ag]}));let e=t;return e})();function E0e(e,t){}var Qo=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")}},J1=(()=>{const t=class t extends Hc{constructor(){super();s(this,"_elementRef",C(At));s(this,"_focusTrapFactory",C(Ige));s(this,"_config");s(this,"_interactivityChecker",C(j1));s(this,"_ngZone",C(We));s(this,"_overlayRef",C(zp));s(this,"_focusMonitor",C(Rp));s(this,"_renderer",C(ro));s(this,"_changeDetectorRef",C(sr));s(this,"_injector",C(st));s(this,"_platform",C(Tn));s(this,"_document",C(He,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new be);s(this,"_focusTrap",null);s(this,"_elementFocusedBeforeDialogWasOpened",null);s(this,"_closeInteractionType",null);s(this,"_ariaLabelledByQueue",[]);s(this,"_isDestroyed",!1);s(this,"attachDomPortal",a=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(a);return this._contentAttached(),r});this._config=C(Qo,{optional:!0})||new Qo,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(a){this._ariaLabelledByQueue.push(a),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(a){let r=this._ariaLabelledByQueue.indexOf(a);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._contentAttached(),r}attachTemplatePortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(a,r){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),u(),a.removeAttribute("tabindex")},l=this._renderer.listen(a,"blur",o),u=this._renderer.listen(a,"mousedown",o)})),a.focus(r)}_focusByCssSelector(a,r){let o=this._elementRef.nativeElement.querySelector(a);o&&this._forceFocus(o,r)}_trapFocus(a){this._isDestroyed||Jh(()=>{var o;let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(a);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(a)||this._focusDialogContainer(a);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',a);break;default:this._focusByCssSelector(this._config.autoFocus,a);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let a=this._config.restoreFocus,r=null;if(typeof a=="string"?r=this._document.querySelector(a):typeof a=="boolean"?r=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(r=a),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=Du(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(a){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(a)}_containsFocus(){let a=this._elementRef.nativeElement,r=Du();return a===r||a.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Du()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(a,r){if(a&1&&Yl(Xo,7),a&2){let o;Kn(o=Jn())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,r){a&2&&Vt("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Gn],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a,r){a&1&&oe(0,E0e,0,0,"ng-template",0)},dependencies:[Xo],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
24
- `],encapsulation:2}));let e=t;return e})(),Lu=class{constructor(e,t){s(this,"overlayRef");s(this,"config");s(this,"componentInstance");s(this,"componentRef");s(this,"containerInstance");s(this,"disableClose");s(this,"closed",new be);s(this,"backdropClick");s(this,"keydownEvents");s(this,"outsidePointerEvents");s(this,"id");s(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Ap(i)&&(i.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 i=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(e),i.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}},S0e=new se("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=C(ka);return()=>e.scrollStrategies.block()}}),k0e=new se("DialogData"),C0e=new se("DefaultDialogConfig"),X1=(()=>{const t=class t{constructor(){s(this,"_overlay",C(ka));s(this,"_injector",C(st));s(this,"_defaultOptions",C(C0e,{optional:!0}));s(this,"_parentDialog",C(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",C(Bp));s(this,"_idGenerator",C(lo));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",C(S0e));s(this,"afterAllClosed",Tl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Tr(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(n,a){let r=this._defaultOptions||new Qo;a=ue(ue({},r),a),a.id=a.id||this._idGenerator.getId("cdk-dialog-"),a.id&&this.getDialogById(a.id);let o=this._getOverlayConfig(a),l=this._overlay.create(o),u=new Lu(l,a),c=this._attachContainer(l,u,a);if(u.containerInstance=c,!this.openDialogs.length){let h=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Vn(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(h)}):this._hideNonDialogContentFromAssistiveTechnology(h)}return this._attachDialogContent(n,u,c,a),this.openDialogs.push(u),u.closed.subscribe(()=>this._removeOpenDialog(u,!0)),this.afterOpened.next(u),u}closeAll(){Fu(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){Fu(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),Fu(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let a=new Vp({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(a.backdropClass=n.backdropClass),a}_attachContainer(n,a,r){var h;let o=r.injector||((h=r.viewContainerRef)==null?void 0:h.injector),l=[{provide:Qo,useValue:r},{provide:Lu,useValue:a},{provide:zp,useValue:n}],u;r.container?typeof r.container=="function"?u=r.container:(u=r.container.type,l.push(...r.container.providers(r))):u=J1;let c=new Jo(u,r.viewContainerRef,st.create({parent:o||this._injector,providers:l}));return n.attach(c).instance}_attachDialogContent(n,a,r,o){if(n instanceof Ur){let l=this._createInjector(o,a,r,void 0),u={$implicit:o.data,dialogRef:a};o.templateContext&&(u=ue(ue({},u),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new jp(n,null,u,l))}else{let l=this._createInjector(o,a,r,this._injector),u=r.attachComponentPortal(new Jo(n,o.viewContainerRef,l));a.componentRef=u,a.componentInstance=u.instance}}_createInjector(n,a,r,o){var c;let l=n.injector||((c=n.viewContainerRef)==null?void 0:c.injector),u=[{provide:k0e,useValue:n.data},{provide:Lu,useValue:a}];return n.providers&&(typeof n.providers=="function"?u.push(...n.providers(a,n,r)):u.push(...n.providers)),n.direction&&(!l||!l.get(Zo,null,{optional:!0}))&&u.push({provide:Zo,useValue:{value:n.direction,change:vt()}}),st.create({parent:l||o,providers:u})}_removeOpenDialog(n,a){let r=this.openDialogs.indexOf(n);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),a&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let a=n.parentElement.children;for(let r=a.length-1;r>-1;r--){let o=a[r];o!==n&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Fu(e,t){let i=e.length;for(;i--;)t(e[i])}var I0e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[X1],imports:[K1,ec,Mge,ec]}));let e=t;return e})();function D0e(e,t){}var hg=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")}},ju="mdc-dialog--open",pg="mdc-dialog--opening",mg="mdc-dialog--closing",T0e=150,O0e=75,P0e=(()=>{const t=class t extends J1{constructor(){super(...arguments);s(this,"_animationMode",C(ir,{optional:!0}));s(this,"_animationStateChanged",new Ht);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?gg(this._config.enterAnimationDuration)??T0e:0);s(this,"_exitAnimationDuration",this._animationsEnabled?gg(this._config.exitAnimationDuration)??O0e: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(fg,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(pg,ju)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ju),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ju),this._animationsEnabled?(this._hostElement.style.setProperty(fg,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(mg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(a){this._actionSectionCount+=a,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(pg,mg)}_waitForAnimationToComplete(a,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,a)}_requestAnimationFrame(a){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(a):a()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(a){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:a})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(a){let r=super.attachComponentPortal(a);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵcmp",Re({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,r){a&2&&(Lc("id",r._config.id),Vt("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),mn("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Gn],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(V(0,"div",0)(1,"div",1),oe(2,D0e,0,0,"ng-template",2),z()())},dependencies:[Xo],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})(),fg="--mat-dialog-transition-duration";function gg(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?Gf(e.substring(0,e.length-2)):e.endsWith("s")?Gf(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var Sl=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(Sl||{}),Hp=class{constructor(e,t,i){s(this,"_ref");s(this,"_containerInstance");s(this,"componentInstance");s(this,"componentRef");s(this,"disableClose");s(this,"id");s(this,"_afterOpened",new be);s(this,"_beforeClosed",new be);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",Sl.OPEN);s(this,"_closeInteractionType");this._ref=e,this._containerInstance=i,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(bi(n=>n.state==="opened"),Vn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(bi(n=>n.state==="closed"),Vn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),cs(this.backdropClick(),this.keydownEvents().pipe(bi(n=>n.keyCode===27&&!this.disableClose&&!Ap(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Q1(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(bi(t=>t.state==="closing"),Vn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=Sl.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=Sl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Q1(e,t,i){return e._closeInteractionType=t,e.close(i)}var e_=new se("MatMdcDialogData"),t_=new se("mat-mdc-dialog-default-options"),N0e=new se("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(ka);return()=>e.scrollStrategies.block()}}),Uc=(()=>{const t=class t{constructor(){s(this,"_overlay",C(ka));s(this,"_defaultOptions",C(t_,{optional:!0}));s(this,"_scrollStrategy",C(N0e));s(this,"_parentDialog",C(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",C(lo));s(this,"_dialog",C(X1));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"dialogConfigClass",hg);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",Tl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Tr(void 0))));this._dialogRefConstructor=Hp,this._dialogContainerType=P0e,this._dialogDataToken=e_}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(n,a){let r;a=ue(ue({},this._defaultOptions||new hg),a),a.id=a.id||this._idGenerator.getId("mat-mdc-dialog-"),a.scrollStrategy=a.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,yt(ue({},a),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:a},{provide:Qo,useValue:a}]},templateContext:()=>({dialogRef:r}),providers:(l,u,c)=>(r=new this._dialogRefConstructor(l,a,c),r.updatePosition(a==null?void 0:a.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:u.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(r);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(a=>a.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let a=n.length;for(;a--;)n[a].close()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),n_=(()=>{const t=class t{constructor(){s(this,"dialogRef",C(Hp,{optional:!0}));s(this,"_elementRef",C(At));s(this,"_dialog",C(Uc));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=s_(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let a=n._matDialogClose||n._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}_onButtonClick(n){Q1(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,a){n&1&&Di("click",function(r){return a._onButtonClick(r)}),n&2&&Vt("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Oh]}));let e=t;return e})(),i_=(()=>{const t=class t{constructor(){s(this,"_dialogRef",C(Hp,{optional:!0}));s(this,"_elementRef",C(At));s(this,"_dialog",C(Uc))}ngOnInit(){this._dialogRef||(this._dialogRef=s_(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",rn({type:t}));let e=t;return e})(),a_=(()=>{const t=class t extends i_{constructor(){super(...arguments);s(this,"id",C(lo).getId("mat-mdc-dialog-title-"))}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._addAriaLabelledBy)==null||r.call(a,this.id)}_onRemove(){var a,r,o;(o=(r=(a=this._dialogRef)==null?void 0:a._containerInstance)==null?void 0:r._removeAriaLabelledBy)==null||o.call(r,this.id)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,r){a&2&&Lc("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Gn]}));let e=t;return e})(),r_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[hhe([r0e])]}));let e=t;return e})(),o_=(()=>{const t=class t extends i_{constructor(){super(...arguments);s(this,"align")}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,1)}_onRemove(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,-1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵdir",rn({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(a,r){a&2&&mn("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Gn]}));let e=t;return e})();function s_(e,t){let i=e.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?t.find(n=>n.id===i.id):null}var l_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[Uc],imports:[I0e,K1,ec,Ci,Ci]}));let e=t;return e})(),M0e=new se("MAT_BUTTON_CONFIG"),R0e=[{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"]}],c_=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_ngZone",C(We));s(this,"_animationMode",C(ir,{optional:!0}));s(this,"_focusMonitor",C(Rp));s(this,"_rippleLoader",C(G1));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;C(lr).load(Lp);let n=C(M0e,{optional:!0}),a=this._elementRef.nativeElement,r=a.classList;this.disabledInteractive=(n==null?void 0:n.disabledInteractive)??!1,this.color=(n==null?void 0:n.color)??null,(o=this._rippleLoader)==null||o.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:u}of R0e)a.hasAttribute(l)&&r.add(...u)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var n;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement)}focus(n="program",a){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,a):this._elementRef.nativeElement.focus(a)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ei],disabled:[2,"disabled","disabled",ei],ariaDisabled:[2,"aria-disabled","ariaDisabled",ei],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ei]}}));let e=t;return e})(),A0e=(()=>{const t=class t extends c_{constructor(){super(...arguments);s(this,"_renderer",C(ro));s(this,"_cleanupClick");s(this,"tabIndex");s(this,"_haltDisabledEvents",a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var a;super.ngOnDestroy(),(a=this._cleanupClick)==null||a.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵdir",rn({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:jc(a)]},features:[Gn]}));let e=t;return e})(),u_=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],d_=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],L0e=`.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
- `,F0e=`@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
- `,Gc=(()=>{const t=class t extends c_{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵcmp",Re({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,a){n&2&&(Vt("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),Ss(a.color?"mat-"+a.color:""),mn("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Gn],ngContentSelectors:d_,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(Dn(u_),le(0,"span",0),nt(1),V(2,"span",1),nt(3,1),z(),nt(4,2),le(5,"span",2)(6,"span",3)),n&2&&mn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
28
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
29
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),j0e=(()=>{const t=class t extends A0e{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵcmp",Re({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,a){n&2&&(Vt("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),Ss(a.color?"mat-"+a.color:""),mn("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Gn],ngContentSelectors:d_,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,a){n&1&&(Dn(u_),le(0,"span",0),nt(1),V(2,"span",1),nt(3,1),z(),nt(4,2),le(5,"span",2)(6,"span",3)),n&2&&mn("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[L0e,F0e],encapsulation:2,changeDetection:0}));let e=t;return e})(),Wc=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Kge,Ci]}));let e=t;return e})(),h_=(()=>{const t=class t{constructor(){s(this,"changes",new be);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,a,r)=>{if(r==0||a==0)return`0 of ${r}`;r=Math.max(r,0);let o=n*a,l=o<r?Math.min(o+a,r):o+a;return`${o+1} – ${l} of ${r}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Le=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}(Le||{}),Wi="*";function V0e(e,t=null){return{type:Le.Sequence,steps:e,options:t}}function vg(e){return{type:Le.Style,styles:e,offset:null}}var es=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(i=>i()),t.length=0}},p_=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,i=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==a&&this._onFinish()}),r.onDestroy(()=>{++i==a&&this._onDestroy()}),r.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,o)=>Math.max(r,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(i=>{let n=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(n)})}getPosition(){let e=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i: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(i=>i()),t.length=0}},Up="!";function yg(e){return new Z(3e3,!1)}function B0e(){return new Z(3100,!1)}function z0e(){return new Z(3101,!1)}function H0e(e){return new Z(3001,!1)}function U0e(e){return new Z(3003,!1)}function G0e(e){return new Z(3004,!1)}function W0e(e,t){return new Z(3005,!1)}function q0e(){return new Z(3006,!1)}function $0e(){return new Z(3007,!1)}function Y0e(e,t){return new Z(3008,!1)}function Z0e(e){return new Z(3002,!1)}function K0e(e,t,i,n,a){return new Z(3010,!1)}function J0e(){return new Z(3011,!1)}function X0e(){return new Z(3012,!1)}function Q0e(){return new Z(3200,!1)}function eve(){return new Z(3202,!1)}function tve(){return new Z(3013,!1)}function nve(e){return new Z(3014,!1)}function ive(e){return new Z(3015,!1)}function ave(e){return new Z(3016,!1)}function rve(e,t){return new Z(3404,!1)}function ove(e){return new Z(3502,!1)}function sve(e){return new Z(3503,!1)}function lve(){return new Z(3300,!1)}function cve(e){return new Z(3504,!1)}function uve(e){return new Z(3301,!1)}function dve(e,t){return new Z(3302,!1)}function hve(e){return new Z(3303,!1)}function pve(e,t){return new Z(3400,!1)}function mve(e){return new Z(3401,!1)}function fve(e){return new Z(3402,!1)}function gve(e,t){return new Z(3505,!1)}function la(e){switch(e.length){case 0:return new es;case 1:return e[0];default:return new p_(e)}}function m_(e,t,i=new Map,n=new Map){let a=[],r=[],o=-1,l=null;if(t.forEach(u=>{let c=u.get("offset"),h=c==o,m=h&&l||new Map;u.forEach((v,g)=>{let x=g,w=v;if(g!=="offset")switch(x=e.normalizePropertyName(x,a),w){case Up:w=i.get(g);break;case Wi:w=n.get(g);break;default:w=e.normalizeStyleValue(g,x,w,a);break}m.set(x,w)}),h||r.push(m),l=m,o=c}),a.length)throw ove();return r}function Gp(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&Vu(i,"start",e)));break;case"done":e.onDone(()=>n(i&&Vu(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&Vu(i,"destroy",e)));break}}function Vu(e,t,i){let n=i.totalTime,a=!!i.disabled,r=Wp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(r._data=o),r}function Wp(e,t,i,n,a="",r=0,o){return{element:e,triggerName:t,fromState:i,toState:n,phaseName:a,totalTime:r,disabled:!!o}}function En(e,t,i){let n=e.get(t);return n||e.set(t,n=i),n}function bg(e){let t=e.indexOf(":"),i=e.substring(1,t),n=e.slice(t+1);return[i,n]}var vve=typeof document>"u"?null:document.documentElement;function qp(e){let t=e.parentNode||e.host||null;return t===vve?null:t}function yve(e){return e.substring(1,6)=="ebkit"}var Na=null,_g=!1;function bve(e){Na||(Na=_ve()||{},_g=Na.style?"WebkitAppearance"in Na.style:!1);let t=!0;return Na.style&&!yve(e)&&(t=e in Na.style,!t&&_g&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Na.style)),t}function _ve(){return typeof document<"u"?document.body:null}function f_(e,t){for(;t;){if(t===e)return!0;t=qp(t)}return!1}function g_(e,t,i){if(i)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var xve=1e3,v_="{{",wve="}}",y_="ng-enter",Xd="ng-leave",tl="ng-trigger",tc=".ng-trigger",xg="ng-animating",Qd=".ng-animating";function Bi(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:eh(parseFloat(t[1]),t[2])}function eh(e,t){switch(t){case"s":return e*xve;default:return e}}function nc(e,t,i){return e.hasOwnProperty("duration")?e:Eve(e,t,i)}function Eve(e,t,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,r=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(yg()),{duration:0,delay:0,easing:""};a=eh(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(r=eh(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else a=e;if(!i){let l=!1,u=t.length;a<0&&(t.push(B0e()),l=!0),r<0&&(t.push(z0e()),l=!0),l&&t.splice(u,0,yg())}return{duration:a,delay:r,easing:o}}function Sve(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function fi(e,t,i){t.forEach((n,a)=>{let r=$p(a);i&&!i.has(a)&&i.set(a,e.style[r]),e.style[r]=n})}function za(e,t){t.forEach((i,n)=>{let a=$p(n);e.style[a]=""})}function xo(e){return Array.isArray(e)?e.length==1?e[0]:V0e(e):e}function kve(e,t,i){let n=t.params||{},a=b_(e);a.length&&a.forEach(r=>{n.hasOwnProperty(r)||i.push(H0e())})}var th=new RegExp(`${v_}\\s*(.+?)\\s*${wve}`,"g");function b_(e){let t=[];if(typeof e=="string"){let i;for(;i=th.exec(e);)t.push(i[1]);th.lastIndex=0}return t}function ts(e,t,i){let n=`${e}`,a=n.replace(th,(r,o)=>{let l=t[o];return l==null&&(i.push(U0e()),l=""),l.toString()});return a==n?e:a}var Cve=/-+([a-z0-9])/g;function $p(e){return e.replace(Cve,(...t)=>t[1].toUpperCase())}function Ive(e,t){return e===0||t===0}function Dve(e,t,i){if(i.size&&t.length){let n=t[0],a=[];if(i.forEach((r,o)=>{n.has(o)||a.push(o),n.set(o,r)}),a.length)for(let r=1;r<t.length;r++){let o=t[r];a.forEach(l=>o.set(l,Yp(e,l)))}}return t}function xn(e,t,i){switch(t.type){case Le.Trigger:return e.visitTrigger(t,i);case Le.State:return e.visitState(t,i);case Le.Transition:return e.visitTransition(t,i);case Le.Sequence:return e.visitSequence(t,i);case Le.Group:return e.visitGroup(t,i);case Le.Animate:return e.visitAnimate(t,i);case Le.Keyframes:return e.visitKeyframes(t,i);case Le.Style:return e.visitStyle(t,i);case Le.Reference:return e.visitReference(t,i);case Le.AnimateChild:return e.visitAnimateChild(t,i);case Le.AnimateRef:return e.visitAnimateRef(t,i);case Le.Query:return e.visitQuery(t,i);case Le.Stagger:return e.visitStagger(t,i);default:throw G0e(t.type)}}function Yp(e,t){return window.getComputedStyle(e)[t]}var Tve=(()=>{const t=class t{validateStyleProperty(n){return bve(n)}containsElement(n,a){return f_(n,a)}getParentElement(n){return qp(n)}query(n,a,r){return g_(n,a,r)}computeStyle(n,a,r){return r||""}animate(n,a,r,o,l,u=[],c){return new es(r,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),nd,__=(nd=class{},s(nd,"NOOP",new Tve),nd),Zp=class{},Ove=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"]),Pve=class extends Zp{normalizePropertyName(e,t){return $p(e)}normalizeStyleValue(e,t,i,n){let a="",r=i.toString().trim();if(Ove.has(t)&&i!==0&&i!=="0")if(typeof i=="number")a="px";else{let o=i.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(W0e())}return r+a}},ic="*";function Nve(e,t){let i=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Mve(n,i,t)):i.push(e),i}function Mve(e,t,i){if(e[0]==":"){let u=Rve(e,i);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(ive()),t;let a=n[1],r=n[2],o=n[3];t.push(wg(a,o));let l=a==ic&&o==ic;r[0]=="<"&&!l&&t.push(wg(o,a))}function Rve(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return t.push(ave()),"* => *"}}var nl=new Set(["true","1"]),il=new Set(["false","0"]);function wg(e,t){let i=nl.has(e)||il.has(e),n=nl.has(t)||il.has(t);return(a,r)=>{let o=e==ic||e==a,l=t==ic||t==r;return!o&&i&&typeof a=="boolean"&&(o=a?nl.has(e):il.has(e)),!l&&n&&typeof r=="boolean"&&(l=r?nl.has(t):il.has(t)),o&&l}}var x_=":self",Ave=new RegExp(`s*${x_}s*,?`,"g");function w_(e,t,i,n){return new Lve(e).build(t,i,n)}var Eg="",Lve=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,i){let n=new Vve(t);return this._resetContextStyleTimingState(n),xn(this,xo(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Eg,e.collectedStyles=new Map,e.collectedStyles.set(Eg,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,n=t.depCount=0,a=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(q0e()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Le.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,a.push(this.visitState(l,t))}),l.name=u}else if(o.type==Le.Transition){let l=this.visitTransition(o,t);i+=l.queryCount,n+=l.depCount,r.push(l)}else t.errors.push($0e())}),{type:Le.Trigger,name:e.name,states:a,transitions:r,queryCount:i,depCount:n,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(i.containsDynamicStyles){let a=new Set,r=n||{};i.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{b_(l).forEach(u=>{r.hasOwnProperty(u)||a.add(u)})})}),a.size&&t.errors.push(Y0e(e.name,[...a.values()]))}return{type:Le.State,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=xn(this,xo(e.animation),t),n=Nve(e.expr,t.errors);return{type:Le.Transition,matchers:n,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Ma(e.options)}}visitSequence(e,t){return{type:Le.Sequence,steps:e.steps.map(i=>xn(this,i,t)),options:Ma(e.options)}}visitGroup(e,t){let i=t.currentTime,n=0,a=e.steps.map(r=>{t.currentTime=i;let o=xn(this,r,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Le.Group,steps:a,options:Ma(e.options)}}visitAnimate(e,t){let i=zve(e.timings,t.errors);t.currentAnimateTimings=i;let n,a=e.styles?e.styles:vg({});if(a.type==Le.Keyframes)n=this.visitKeyframes(a,t);else{let r=e.styles,o=!1;if(!r){o=!0;let u={};i.easing&&(u.easing=i.easing),r=vg(u)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(r,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Le.Animate,timings:i,style:n,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===Wi?i.push(o):t.errors.push(Z0e()):i.push(new Map(Object.entries(o)));let a=!1,r=null;return i.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(r=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(v_)>=0){a=!0;break}}}),{type:Le.Style,styles:i,easing:r,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;i&&a>0&&(a-=i.duration+i.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),h=!0;c&&(a!=n&&a>=c.startTime&&n<=c.endTime&&(t.errors.push(K0e(l,c.startTime,c.endTime)),h=!1),a=c.startTime),h&&u.set(l,{startTime:a,endTime:n}),t.options&&kve(o,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:Le.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(J0e()),i;let n=1,a=0,r=[],o=!1,l=!1,u=0,c=e.steps.map(S=>{let T=this._makeStyleAst(S,t),L=T.offset!=null?T.offset:Bve(T.styles),N=0;return L!=null&&(a++,N=T.offset=L),l=l||N<0||N>1,o=o||N<u,u=N,r.push(N),T});l&&t.errors.push(X0e()),o&&t.errors.push(Q0e());let h=e.steps.length,m=0;a>0&&a<h?t.errors.push(eve()):a==0&&(m=n/(h-1));let v=h-1,g=t.currentTime,x=t.currentAnimateTimings,w=x.duration;return c.forEach((S,T)=>{let L=m>0?T==v?1:m*T:r[T],N=L*w;t.currentTime=g+x.delay+N,x.duration=N,this._validateStyleAst(S,t),S.offset=L,i.styles.push(S)}),i}visitReference(e,t){return{type:Le.Reference,animation:xn(this,xo(e.animation),t),options:Ma(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Le.AnimateChild,options:Ma(e.options)}}visitAnimateRef(e,t){return{type:Le.AnimateRef,animation:this.visitReference(e.animation,t),options:Ma(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,r]=Fve(e.selector);t.currentQuerySelector=i.length?i+" "+a:a,En(t.collectedStyles,t.currentQuerySelector,new Map);let o=xn(this,xo(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:Le.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:o,originalSelector:e.selector,options:Ma(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(tve());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:nc(e.timings,t.errors,!0);return{type:Le.Stagger,animation:xn(this,xo(e.animation),t),timings:i,options:null}}};function Fve(e){let t=!!e.split(/\s*,\s*/).find(i=>i==x_);return t&&(e=e.replace(Ave,"")),e=e.replace(/@\*/g,tc).replace(/@\w+/g,i=>tc+"-"+i.slice(1)).replace(/:animating/g,Qd),[e,t]}function jve(e){return e?ue({},e):null}var Vve=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 Bve(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}return t}function zve(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=nc(e,t).duration;return Bu(a,0,"")}let i=e;if(i.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Bu(0,0,"");return a.dynamic=!0,a.strValue=i,a}let n=nc(i,t);return Bu(n.duration,n.delay,n.easing)}function Ma(e){return e?(e=ue({},e),e.params&&(e.params=jve(e.params))):e={},e}function Bu(e,t,i){return{duration:e,delay:t,easing:i}}function Kp(e,t,i,n,a,r,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:i,postStyleProps:n,duration:a,delay:r,totalTime:a+r,easing:o,subTimeline:l}}var Jp=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Hve=1,Uve=":enter",Gve=new RegExp(Uve,"g"),Wve=":leave",qve=new RegExp(Wve,"g");function E_(e,t,i,n,a,r=new Map,o=new Map,l,u,c=[]){return new $ve().buildKeyframes(e,t,i,n,a,r,o,l,u,c)}var $ve=class{buildKeyframes(e,t,i,n,a,r,o,l,u,c=[]){u=u||new Jp;let h=new Yve(e,t,u,n,a,c,[]);h.options=l;let m=l.delay?Bi(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([r],null,h.errors,l),xn(this,i,h);let v=h.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let x=v.length-1;x>=0;x--){let w=v[x];if(w.element===t){g=w;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,h.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[Kp(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,r=this._visitSubInstructions(i,n,n.options);a!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let n of e){let a=n==null?void 0:n.delay;if(a){let r=typeof a=="number"?a:Bi(ts(a,(n==null?void 0:n.params)??{},t.errors));i.delayNextStep(r)}}}_visitSubInstructions(e,t,i){let n=t.currentTimeline.currentTime,a=i.duration!=null?Bi(i.duration):null,r=i.delay!=null?Bi(i.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,r);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),xn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,n=t,a=e.options;if(a&&(a.params||a.delay)&&(n=t.createSubContext(a),n.transformIntoNewTimeline(),a.delay!=null)){n.previousNode.type==Le.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ac);let r=Bi(a.delay);n.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>xn(this,r,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?Bi(e.options.delay):0;e.steps.forEach(r=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),xn(this,r,o),n=Math.max(n,o.currentTimeline.currentTime),i.push(o.currentTimeline)}),i.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,n=t.params?ts(i,t.params,t.errors):i;return nc(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());let a=e.style;a.type==Le.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(i.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(a):i.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,n=t.currentTimeline.duration,a=i.duration,r=t.createSubContext().currentTimeline;r.easing=i.easing,e.styles.forEach(o=>{let l=o.offset||0;r.forwardTime(l*a),r.setStyles(o.styles,o.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?Bi(n.delay):0;a&&(t.previousNode.type===Le.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ac);let r=i,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let h=t.createSubContext(e.options,u);a&&h.delayNextStep(a),u===t.element&&(l=h.currentTimeline),xn(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;r=Math.max(r,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,n=t.currentTimeline,a=e.timings,r=Math.abs(a.duration),o=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=i.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;xn(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}},ac={},Yve=class S_{constructor(t,i,n,a,r,o,l,u){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",ac);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=i,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=r,this.errors=o,this.timelines=l,this.currentTimeline=u||new k_(this._driver,i,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,i){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=Bi(n.duration)),n.delay!=null&&(a.delay=Bi(n.delay));let r=n.params;if(r){let o=a.params;o||(o=this.options.params={}),Object.keys(r).forEach(l=>{(!i||!o.hasOwnProperty(l))&&(o[l]=ts(r[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let i=this.options.params;if(i){let n=t.params={};Object.keys(i).forEach(a=>{n[a]=i[a]})}}return t}createSubContext(t=null,i,n){let a=i||this.element,r=new S_(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ac,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,i,n){let a={duration:i??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},r=new Zve(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(r),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,i,n,a,r,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(Gve,"."+this._enterClassName),t=t.replace(qve,"."+this._leaveClassName);let u=n!=1,c=this._driver.query(this.element,t,u);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),l.push(...c)}return!r&&l.length==0&&o.push(nve()),l}},k_=class C_{constructor(t,i,n,a){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,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 i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+t),i&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,i){return this.applyStylesToKeyframe(),new C_(this._driver,t,i||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+=Hve,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,i){this._localTimelineStyles.set(t,i),this._globalTimelineStyles.set(t,i),this._styleSummary.set(t,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||Wi),this._currentKeyframe.set(i,Wi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,i,n,a){i&&this._previousKeyframe.set("easing",i);let r=a&&a.params||{},o=Kve(t,this._globalTimelineStyles);for(let[l,u]of o){let c=ts(u,r,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Wi),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,i)=>{this._currentKeyframe.set(i,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,t)}))}snapshotCurrentStyles(){for(let[t,i]of this._localTimelineStyles)this._pendingStyles.set(t,i),this._updateStyle(t,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let i in this._currentKeyframe)t.push(i);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((i,n)=>{let a=this._styleSummary.get(n);(!a||i.time>a.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((h,m)=>{h===Up?t.add(m):h===Wi&&i.add(m)}),n||c.set("offset",u/this.duration),a.push(c)});let r=[...t.values()],o=[...i.values()];if(n){let l=a[0],u=new Map(l);l.set("offset",0),u.set("offset",1),a=[l,u]}return Kp(this.element,a,r,o,this.duration,this.startTime,this.easing,!1)}},Zve=class extends k_{constructor(t,i,n,a,r,o,l=!1){super(t,i,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=a,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:i,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&i){let r=[],o=n+i,l=i/o,u=new Map(t[0]);u.set("offset",0),r.push(u);let c=new Map(t[0]);c.set("offset",Sg(l)),r.push(c);let h=t.length-1;for(let m=1;m<=h;m++){let v=new Map(t[m]),g=v.get("offset"),x=i+g*n;v.set("offset",Sg(x/o)),r.push(v)}n=o,i=0,a="",t=r}return Kp(this.element,t,this.preStyleProps,this.postStyleProps,n,i,a,!0)}};function Sg(e,t=3){let i=Math.pow(10,t-1);return Math.round(e*i)/i}function Kve(e,t){let i=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let r of n)i.set(r,Wi)}else for(let[r,o]of a)i.set(r,o)}),i}function kg(e,t,i,n,a,r,o,l,u,c,h,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:i,fromStyles:r,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:h,totalTime:m,errors:v}}var zu={},I_=class{constructor(e,t,i){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,n){return Jve(this.ast.matchers,e,t,i,n)}buildStyles(e,t,i){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,i):new Map}build(e,t,i,n,a,r,o,l,u,c){var Lt;let h=[],m=this.ast.options&&this.ast.options.params||zu,v=o&&o.params||zu,g=this.buildStyles(i,v,h),x=l&&l.params||zu,w=this.buildStyles(n,x,h),S=new Set,T=new Map,L=new Map,N=n==="void",re={params:D_(x,m),delay:(Lt=this.ast.options)==null?void 0:Lt.delay},ve=c?[]:E_(e,t,this.ast.animation,a,r,g,w,re,u,h),ke=0;return ve.forEach(xt=>{ke=Math.max(xt.duration+xt.delay,ke)}),h.length?kg(t,this._triggerName,i,n,N,g,w,[],[],T,L,ke,h):(ve.forEach(xt=>{let Qe=xt.element,It=En(T,Qe,new Set);xt.preStyleProps.forEach(J=>It.add(J));let ie=En(L,Qe,new Set);xt.postStyleProps.forEach(J=>ie.add(J)),Qe!==t&&S.add(Qe)}),kg(t,this._triggerName,i,n,N,g,w,ve,[...S.values()],T,L,ke))}};function Jve(e,t,i,n,a){return e.some(r=>r(t,i,n,a))}function D_(e,t){let i=ue({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(i[n]=a)}),i}var Xve=class{constructor(e,t,i){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,n=D_(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,o)=>{r&&(r=ts(r,n,t));let l=this.normalizer.normalizePropertyName(o,t);r=this.normalizer.normalizeStyleValue(o,l,r,t),i.set(o,r)})}),i}};function Qve(e,t,i){return new eye(e,t,i)}var eye=class{constructor(e,t,i){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=i,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new Xve(n.style,a,i))}),Cg(this.states,"true","1"),Cg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new I_(e,n,this.states))}),this.fallbackTransition=tye(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,n){return this.transitionFactories.find(a=>a.match(e,t,i,n))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function tye(e,t,i){let n=[(o,l)=>!0],a={type:Le.Sequence,steps:[],options:null},r={type:Le.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new I_(e,r,t)}function Cg(e,t,i){e.has(t)?e.has(i)||e.set(i,e.get(t)):e.has(i)&&e.set(t,e.get(i))}var nye=new Jp,iye=class{constructor(e,t,i){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=i}register(e,t){let i=[],n=[],a=w_(this._driver,t,i,n);if(i.length)throw sve();this._animations.set(e,a)}_buildPlayer(e,t,i){let n=e.element,a=m_(this._normalizer,e.keyframes,t,i);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let n=[],a=this._animations.get(e),r,o=new Map;if(a?(r=E_(this._driver,t,a,y_,Xd,new Map,new Map,i,nye,n),r.forEach(c=>{let h=En(o,c.element,new Map);c.postStyleProps.forEach(m=>h.set(m,null))})):(n.push(lve()),r=[]),n.length)throw cve();o.forEach((c,h)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(h,v,Wi))})});let l=r.map(c=>{let h=o.get(c.element);return this._buildPlayer(c,new Map,h)}),u=la(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw uve();return t}listen(e,t,i,n){let a=Wp(t,"","","");return Gp(this._getPlayer(e),i,a,n),()=>{}}command(e,t,i,n){if(i=="register"){this.register(e,n[0]);return}if(i=="create"){let r=n[0]||{};this.create(e,t,r);return}let a=this._getPlayer(e);switch(i){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},Ig="ng-animate-queued",aye=".ng-animate-queued",Hu="ng-animate-disabled",rye=".ng-animate-disabled",oye="ng-star-inserted",sye=".ng-star-inserted",lye=[],T_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cye={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zn="__ng_removed",nh=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),n=i?e.value:e;if(this.value=pye(n),i){let a=e,{value:r}=a,o=c0(a,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(n=>{i[n]==null&&(i[n]=t[n])})}}},Ao="void",Uu=new nh(Ao),uye=class{constructor(e,t,i){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=i,this._hostClassName="ng-tns-"+e,jn(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.has(t))throw dve();if(i==null||i.length==0)throw hve();if(!mye(i))throw pve();let a=En(this._elementListeners,e,[]),r={name:t,phase:i,callback:n};a.push(r);let o=En(this._engine.statesByElement,e,new Map);return o.has(t)||(jn(e,tl),jn(e,tl+"-"+t),o.set(t,Uu)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(r);l>=0&&a.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw mve();return t}trigger(e,t,i,n=!0){let a=this._getTrigger(t),r=new ih(this.id,t,e),o=this._engine.statesByElement.get(e);o||(jn(e,tl),jn(e,tl+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new nh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Uu),u.value!==Ao&&l.value===u.value){if(!vye(l.params,u.params)){let v=[],g=a.matchStyles(l.value,l.params,v),x=a.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{za(e,g),fi(e,x)})}return}let c=En(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let h=a.matchTransition(l.value,u.value,e,u.params),m=!1;if(!h){if(!n)return;h=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:l,toState:u,player:r,isFallbackTransition:m}),m||(jn(e,Ig),r.onStart(()=>{br(e,Ig)})),r.onDone(()=>{let v=this.players.indexOf(r);v>=0&&this.players.splice(v,1);let g=this._engine.playersByElement.get(e);if(g){let x=g.indexOf(r);x>=0&&g.splice(x,1)}}),this.players.push(r),c.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,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(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,tc,!0);i.forEach(n=>{if(n[Zn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(r=>r.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,i,n){let a=this._engine.statesByElement.get(e),r=new Map;if(a){let o=[];if(a.forEach((l,u)=>{if(r.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,Ao,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),i&&la(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let n=new Set;t.forEach(a=>{let r=a.name;if(n.has(r))return;n.add(r);let o=this._triggers.get(r).fallbackTransition,l=i.get(r)||Uu,u=new nh(Ao),c=new ih(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:o,fromState:l,toState:u,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(i.totalAnimations){let a=i.players.length?i.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let r=e;for(;r=r.parentNode;)if(i.statesByElement.get(r)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)i.markElementAsRemoved(this.id,e,!1,t);else{let a=e[Zn];(!a||a===T_)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){jn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let a=i.element,r=this._elementListeners.get(a);r&&r.forEach(o=>{if(o.name==i.triggerName){let l=Wp(a,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Gp(i.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(i)}),this._queue=[],t.sort((i,n)=>{let a=i.transition.ast.depCount,r=n.transition.ast.depCount;return a==0||r==0?a-r:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},dye=class{constructor(e,t,i){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=i}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new uye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,r=this.driver.getParentElement(t);for(;r;){let o=n.get(r);if(o){let l=i.indexOf(o);i.splice(l+1,0,e),a=!0;break}r=this.driver.getParentElement(r)}a||i.unshift(e)}else i.push(e);return n.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let n of i.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,i,n){if(al(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,i,n),!0}return!1}insertNode(e,t,i,n){if(!al(t))return;let a=t[Zn];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let r=this.collectedLeaveElements.indexOf(t);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,i)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),jn(e,Hu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),br(e,Hu))}removeNode(e,t,i){if(al(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,n,a){this.collectedLeaveElements.push(t),t[Zn]={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,i,n,a){return al(t)?this._fetchNamespace(e).listen(t,i,n,a):()=>{}}_buildInstruction(e,t,i,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,tc,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Qd,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return la(this.players).onDone(()=>e());e()})}processLeaveNode(e){var i;let t=e[Zn];if(t&&t.setForRemoval){if(e[Zn]=T_,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(i=e.classList)!=null&&i.contains(Hu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,rye,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let n=this.collectedEnterElements[i];jn(n,oye)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{t=this._flushAnimations(i,e)}finally{for(let n=0;n<i.length;n++)i[n]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let n=this.collectedLeaveElements[i];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?la(t).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(e){throw fve()}_flushAnimations(e,t){let i=new Jp,n=[],a=new Map,r=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(j=>{c.add(j);let H=this.driver.query(j,aye,!0);for(let te=0;te<H.length;te++)c.add(H[te])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=Og(m,this.collectedEnterElements),g=new Map,x=0;v.forEach((j,H)=>{let te=y_+x++;g.set(H,te),j.forEach(Ne=>jn(Ne,te))});let w=[],S=new Set,T=new Set;for(let j=0;j<this.collectedLeaveElements.length;j++){let H=this.collectedLeaveElements[j],te=H[Zn];te&&te.setForRemoval&&(w.push(H),S.add(H),te.hasAnimation?this.driver.query(H,sye,!0).forEach(Ne=>S.add(Ne)):T.add(H))}let L=new Map,N=Og(m,Array.from(S));N.forEach((j,H)=>{let te=Xd+x++;L.set(H,te),j.forEach(Ne=>jn(Ne,te))}),e.push(()=>{v.forEach((j,H)=>{let te=g.get(H);j.forEach(Ne=>br(Ne,te))}),N.forEach((j,H)=>{let te=L.get(H);j.forEach(Ne=>br(Ne,te))}),w.forEach(j=>{this.processLeaveNode(j)})});let re=[],ve=[];for(let j=this._namespaceList.length-1;j>=0;j--)this._namespaceList[j].drainQueuedTransitions(t).forEach(H=>{let te=H.player,Ne=H.element;if(re.push(te),this.collectedEnterElements.length){let et=Ne[Zn];if(et&&et.setForMove){if(et.previousTriggersValues&&et.previousTriggersValues.has(H.triggerName)){let Kt=et.previousTriggersValues.get(H.triggerName),Ft=this.statesByElement.get(H.element);if(Ft&&Ft.has(H.triggerName)){let ci=Ft.get(H.triggerName);ci.value=Kt,Ft.set(H.triggerName,ci)}}te.destroy();return}}let Je=!h||!this.driver.containsElement(h,Ne),Zt=L.get(Ne),Fe=g.get(Ne),Be=this._buildInstruction(H,i,Fe,Zt,Je);if(Be.errors&&Be.errors.length){ve.push(Be);return}if(Je){te.onStart(()=>za(Ne,Be.fromStyles)),te.onDestroy(()=>fi(Ne,Be.toStyles)),n.push(te);return}if(H.isFallbackTransition){te.onStart(()=>za(Ne,Be.fromStyles)),te.onDestroy(()=>fi(Ne,Be.toStyles)),n.push(te);return}let lt=[];Be.timelines.forEach(et=>{et.stretchStartingKeyframe=!0,this.disabledNodes.has(et.element)||lt.push(et)}),Be.timelines=lt,i.append(Ne,Be.timelines);let Wn={instruction:Be,player:te,element:Ne};r.push(Wn),Be.queriedElements.forEach(et=>En(o,et,[]).push(te)),Be.preStyleProps.forEach((et,Kt)=>{if(et.size){let Ft=l.get(Kt);Ft||l.set(Kt,Ft=new Set),et.forEach((ci,ta)=>Ft.add(ta))}}),Be.postStyleProps.forEach((et,Kt)=>{let Ft=u.get(Kt);Ft||u.set(Kt,Ft=new Set),et.forEach((ci,ta)=>Ft.add(ta))})});if(ve.length){let j=[];ve.forEach(H=>{j.push(gve(H.triggerName,H.errors))}),re.forEach(H=>H.destroy()),this.reportError(j)}let ke=new Map,Lt=new Map;r.forEach(j=>{let H=j.element;i.has(H)&&(Lt.set(H,H),this._beforeAnimationBuild(j.player.namespaceId,j.instruction,ke))}),n.forEach(j=>{let H=j.element;this._getPreviousPlayers(H,!1,j.namespaceId,j.triggerName,null).forEach(te=>{En(ke,H,[]).push(te),te.destroy()})});let xt=w.filter(j=>Pg(j,l,u)),Qe=new Map;Tg(Qe,this.driver,T,u,Wi).forEach(j=>{Pg(j,l,u)&&xt.push(j)});let It=new Map;v.forEach((j,H)=>{Tg(It,this.driver,new Set(j),l,Up)}),xt.forEach(j=>{let H=Qe.get(j),te=It.get(j);Qe.set(j,new Map([...(H==null?void 0:H.entries())??[],...(te==null?void 0:te.entries())??[]]))});let ie=[],J=[],Ie={};r.forEach(j=>{let{element:H,player:te,instruction:Ne}=j;if(i.has(H)){if(c.has(H)){te.onDestroy(()=>fi(H,Ne.toStyles)),te.disabled=!0,te.overrideTotalTime(Ne.totalTime),n.push(te);return}let Je=Ie;if(Lt.size>1){let Fe=H,Be=[];for(;Fe=Fe.parentNode;){let lt=Lt.get(Fe);if(lt){Je=lt;break}Be.push(Fe)}Be.forEach(lt=>Lt.set(lt,Je))}let Zt=this._buildAnimation(te.namespaceId,Ne,ke,a,It,Qe);if(te.setRealPlayer(Zt),Je===Ie)ie.push(te);else{let Fe=this.playersByElement.get(Je);Fe&&Fe.length&&(te.parentPlayer=la(Fe)),n.push(te)}}else za(H,Ne.fromStyles),te.onDestroy(()=>fi(H,Ne.toStyles)),J.push(te),c.has(H)&&n.push(te)}),J.forEach(j=>{let H=a.get(j.element);if(H&&H.length){let te=la(H);j.setRealPlayer(te)}}),n.forEach(j=>{j.parentPlayer?j.syncPlayerEvents(j.parentPlayer):j.destroy()});for(let j=0;j<w.length;j++){let H=w[j],te=H[Zn];if(br(H,Xd),te&&te.hasAnimation)continue;let Ne=[];if(o.size){let Zt=o.get(H);Zt&&Zt.length&&Ne.push(...Zt);let Fe=this.driver.query(H,Qd,!0);for(let Be=0;Be<Fe.length;Be++){let lt=o.get(Fe[Be]);lt&&lt.length&&Ne.push(...lt)}}let Je=Ne.filter(Zt=>!Zt.destroyed);Je.length?fye(this,H,Je):this.processLeaveNode(H)}return w.length=0,ie.forEach(j=>{this.players.push(j),j.onDone(()=>{j.destroy();let H=this.players.indexOf(j);this.players.splice(H,1)}),j.play()}),ie}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,n,a){let r=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(r=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==Ao;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||r.push(u)})}}return(i||n)&&(r=r.filter(o=>!(i&&i!=o.namespaceId||n&&n!=o.triggerName))),r}_beforeAnimationBuild(e,t,i){let n=t.triggerName,a=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==a,h=En(i,u,[]);this._getPreviousPlayers(u,c,r,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),h.push(m)})}za(a,t.fromStyles)}_buildAnimation(e,t,i,n,a,r){let o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,m=t.timelines.map(g=>{let x=g.element;c.add(x);let w=x[Zn];if(w&&w.removedBeforeQueried)return new es(g.duration,g.delay);let S=x!==l,T=gye((i.get(x)||lye).map(ke=>ke.getRealPlayer())).filter(ke=>{let Lt=ke;return Lt.element?Lt.element===x:!1}),L=a.get(x),N=r.get(x),re=m_(this._normalizer,g.keyframes,L,N),ve=this._buildPlayer(g,re,T);if(g.subTimeline&&n&&h.add(x),S){let ke=new ih(e,o,x);ke.setRealPlayer(ve),u.push(ke)}return ve});u.forEach(g=>{En(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>hye(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>jn(g,xg));let v=la(m);return v.onDestroy(()=>{c.forEach(g=>br(g,xg)),fi(l,t.toStyles)}),h.forEach(g=>{En(n,g,[]).push(v)}),v}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new es(e.duration,e.delay)}},ih=class{constructor(e,t,i){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new es);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=i}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(n=>Gp(e,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){En(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function hye(e,t,i){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(i);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function pye(e){return e??null}function al(e){return e&&e.nodeType===1}function mye(e){return e=="start"||e=="done"}function Dg(e,t){let i=e.style.display;return e.style.display=t??"none",i}function Tg(e,t,i,n,a){let r=[];i.forEach(u=>r.push(Dg(u)));let o=[];n.forEach((u,c)=>{let h=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,a);h.set(m,v),(!v||v.length==0)&&(c[Zn]=cye,o.push(c))}),e.set(c,h)});let l=0;return i.forEach(u=>Dg(u,r[l++])),o}function Og(e,t){let i=new Map;if(e.forEach(l=>i.set(l,[])),t.length==0)return i;let n=1,a=new Set(t),r=new Map;function o(l){if(!l)return n;let u=r.get(l);if(u)return u;let c=l.parentNode;return i.has(c)?u=c:a.has(c)?u=n:u=o(c),r.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&i.get(u).push(l)}),i}function jn(e,t){var i;(i=e.classList)==null||i.add(t)}function br(e,t){var i;(i=e.classList)==null||i.remove(t)}function fye(e,t,i){la(i).onDone(()=>e.processLeaveNode(t))}function gye(e){let t=[];return O_(e,t),t}function O_(e,t){for(let i=0;i<e.length;i++){let n=e[i];n instanceof p_?O_(n.players,t):t.push(n)}}function vye(e,t){let i=Object.keys(e),n=Object.keys(t);if(i.length!=n.length)return!1;for(let a=0;a<i.length;a++){let r=i[a];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function Pg(e,t,i){let n=i.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(r=>a.add(r)):t.set(e,n),i.delete(e),!0}var ah=class{constructor(e,t,i){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=i,this._transitionEngine=new dye(e.body,t,i),this._timelineEngine=new iye(e.body,t,i),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,i,n,a){let r=e+"-"+n,o=this._triggerCache[r];if(!o){let l=[],u=[],c=w_(this._driver,a,l,u);if(l.length)throw rve();o=Qve(n,c,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if(i.charAt(0)=="@"){let[a,r]=bg(i),o=n;this._timelineEngine.command(a,t,r,o)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,a){if(i.charAt(0)=="@"){let[r,o]=bg(i);return this._timelineEngine.listen(r,t,o,a)}return this._transitionEngine.listen(e,t,i,n,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yye(e,t){let i=null,n=null;return Array.isArray(t)&&t.length?(i=Gu(t[0]),t.length>1&&(n=Gu(t[t.length-1]))):t instanceof Map&&(i=Gu(t)),i||n?new bye(e,i,n):null}var bye=(()=>{const t=class t{constructor(n,a,r){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=r;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&fi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fi(this._element,this._initialStyles),this._endStyles&&(fi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(za(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(za(this._element,this._endStyles),this._endStyles=null),fi(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Gu(e){let t=null;return e.forEach((i,n)=>{_ye(n)&&(t=t||new Map,t.set(n,i))}),t}function _ye(e){return e==="display"||e==="position"}var Ng=class{constructor(e,t,i,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=i,this._specialStyles=n,this._duration=i.duration,this._delay=i.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(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}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,i)=>{i!=="offset"&&e.set(i,this._finished?t:Yp(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},xye=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return f_(e,t)}getParentElement(e){return qp(e)}query(e,t,i){return g_(e,t,i)}computeStyle(e,t,i){return Yp(e,t)}animate(e,t,i,n,a,r=[]){let o=n==0?"both":"forwards",l={duration:i,delay:n,fill:o};a&&(l.easing=a);let u=new Map,c=r.filter(v=>v instanceof Ng);Ive(i,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,x)=>u.set(x,g))});let h=Sve(t).map(v=>new Map(v));h=Dve(e,h,u);let m=yye(e,h);return new Ng(e,h,l,m)}},kl="@",P_="@.disabled",N_=class{constructor(e,t,i,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=i,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,i;(i=(t=this.delegate).destroyNode)==null||i.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,i,n=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,i){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,i,n){this.delegate.setAttribute(e,t,i,n)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,n){this.delegate.setStyle(e,t,i,n)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==kl&&t==P_?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i,n){return this.delegate.listen(e,t,i,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},wye=class extends N_{constructor(t,i,n,a,r){super(i,n,a,r);s(this,"factory");this.factory=t,this.namespaceId=i}setProperty(t,i,n){i.charAt(0)==kl?i.charAt(1)=="."&&i==P_?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,i.slice(1),n):this.delegate.setProperty(t,i,n)}listen(t,i,n,a){if(i.charAt(0)==kl){let r=Eye(t),o=i.slice(1),l="";return o.charAt(0)!=kl&&([o,l]=Sye(o)),this.engine.listen(this.namespaceId,r,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,i,n,a)}};function Eye(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Sye(e){let t=e.indexOf("."),i=e.substring(0,t),n=e.slice(t+1);return[i,n]}var kye=class{constructor(e,t,i){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=i,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let i="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let u=this._rendererCache,c=u.get(n);if(!c){let h=()=>u.delete(n);c=new N_(i,n,this.engine,h),u.set(n,c)}return c}let a=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(a,r,e,u.name,u)};return t.data.animation.forEach(o),new wye(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[r,o]=a;r(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,i])}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,i;this.engine.flush(),(i=(t=this.delegate).componentReplaced)==null||i.call(t,e)}},Cye=(()=>{const t=class t extends ah{constructor(n,a,r){super(n,a,r)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(pe(He),pe(__),pe(Zp))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Iye(){return new Pve}function Dye(e,t,i){return new kye(e,t,i)}var Tye=[{provide:Zp,useFactory:Iye},{provide:ah,useClass:Cye},{provide:oi,useFactory:Dye,deps:[Gd,ah,We]}],Oye=[{provide:__,useFactory:()=>new xye},{provide:ir,useFactory:()=>"BrowserAnimations"},...Tye];function Pye(){return ar("NgEagerAnimations"),[...Oye]}var Nye=(()=>{const t=class t extends h_{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,r,o)=>{if(o===0||r===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*r,u=l<o?Math.min(l+r,o):l+r;return`${l+1} - ${u} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(pe(li))},t.ɵprov=W({token:t,factory:t.ɵfac});let e=t;return e})(),M_=6048e5,Mye=864e5,Rye=6e4,Aye=36e5,Lye=1e3,Mg=Symbol.for("constructDateFrom");function Rt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Mg in e?e[Mg](t):e instanceof Date?new e.constructor(t):new Date(t)}function ze(e,t){return Rt(t||e,e)}function co(e,t,i){let n=ze(e,i==null?void 0:i.in);return isNaN(t)?Rt((i==null?void 0:i.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Fye(e,t,i){let n=ze(e,i==null?void 0:i.in);if(isNaN(t))return Rt(e,NaN);let a=n.getDate(),r=Rt(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);let o=r.getDate();return a>=o?r:(n.setFullYear(r.getFullYear(),r.getMonth(),a),n)}var jye={};function cr(){return jye}function Ki(e,t){var l,u,c,h;let i=cr(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??i.weekStartsOn??((h=(c=i.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,a=ze(e,t==null?void 0:t.in),r=a.getDay(),o=(r<n?7:0)+r-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function tr(e,t){return Ki(e,yt(ue({},t),{weekStartsOn:1}))}function R_(e,t){let i=ze(e,t==null?void 0:t.in),n=i.getFullYear(),a=Rt(i,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let r=tr(a),o=Rt(i,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=tr(o);return i.getTime()>=r.getTime()?n+1:i.getTime()>=l.getTime()?n:n-1}function rc(e){let t=ze(e),i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return i.setUTCFullYear(t.getFullYear()),+e-+i}function Vye(e,...t){let i=Rt.bind(null,t.find(n=>typeof n=="object"));return t.map(i)}function qr(e,t){let i=ze(e,t==null?void 0:t.in);return i.setHours(0,0,0,0),i}function Bye(e,t,i){let[n,a]=Vye(i==null?void 0:i.in,e,t),r=qr(n),o=qr(a),l=+r-rc(r),u=+o-rc(o);return Math.round((l-u)/Mye)}function zye(e,t){let i=R_(e,t),n=Rt(e,0);return n.setFullYear(i,0,4),n.setHours(0,0,0,0),tr(n)}function Hye(e,t,i){return co(e,t*7,i)}function Uye(e,t,i){return Fye(e,t*12,i)}function Gye(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function A_(e){return!(!Gye(e)&&typeof e!="number"||isNaN(+ze(e)))}function Wye(e,t){let i=ze(e,t==null?void 0:t.in);return i.setHours(23,59,59,999),i}function qye(e,t){let i=ze(e,t==null?void 0:t.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}function $ye(e,t){var l,u,c,h;let i=cr(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??i.weekStartsOn??((h=(c=i.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,a=ze(e,t==null?void 0:t.in),r=a.getDay(),o=(r<n?-7:0)+6-(r-n);return a.setDate(a.getDate()+o),a.setHours(23,59,59,999),a}var Yye={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"}},Zye=(e,t,i)=>{let n,a=Yye[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+n:n+" ago":n};function Wu(e){return(t={})=>{let i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var Kye={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Jye={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Xye={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qye={date:Wu({formats:Kye,defaultWidth:"full"}),time:Wu({formats:Jye,defaultWidth:"full"}),dateTime:Wu({formats:Xye,defaultWidth:"full"})},ebe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tbe=(e,t,i,n)=>ebe[e];function wo(e){return(t,i)=>{let n=i!=null&&i.context?String(i.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=i!=null&&i.width?String(i.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=i!=null&&i.width?String(i.width):e.defaultWidth;a=e.values[l]||e.values[o]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var nbe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ibe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},abe={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"]},rbe={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"]},obe={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"}},sbe={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"}},lbe=(e,t)=>{let i=Number(e),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},cbe={ordinalNumber:lbe,era:wo({values:nbe,defaultWidth:"wide"}),quarter:wo({values:ibe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wo({values:abe,defaultWidth:"wide"}),day:wo({values:rbe,defaultWidth:"wide"}),dayPeriod:wo({values:obe,defaultWidth:"wide",formattingValues:sbe,defaultFormattingWidth:"wide"})};function Eo(e){return(t,i={})=>{let n=i.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let o=r[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?dbe(l,m=>m.test(o)):ube(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=i.valueCallback?i.valueCallback(c):c;let h=t.slice(o.length);return{value:c,rest:h}}}function ube(e,t){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return i}function dbe(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return i}function hbe(e){return(t,i={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],r=t.match(e.parsePattern);if(!r)return null;let o=e.valueCallback?e.valueCallback(r[0]):r[0];o=i.valueCallback?i.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var pbe=/^(\d+)(th|st|nd|rd)?/i,mbe=/\d+/i,fbe={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},gbe={any:[/^b/i,/^(a|c)/i]},vbe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ybe={any:[/1/i,/2/i,/3/i,/4/i]},bbe={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},_be={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]},xbe={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},wbe={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]},Ebe={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},Sbe={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}},kbe={ordinalNumber:hbe({matchPattern:pbe,parsePattern:mbe,valueCallback:e=>parseInt(e,10)}),era:Eo({matchPatterns:fbe,defaultMatchWidth:"wide",parsePatterns:gbe,defaultParseWidth:"any"}),quarter:Eo({matchPatterns:vbe,defaultMatchWidth:"wide",parsePatterns:ybe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Eo({matchPatterns:bbe,defaultMatchWidth:"wide",parsePatterns:_be,defaultParseWidth:"any"}),day:Eo({matchPatterns:xbe,defaultMatchWidth:"wide",parsePatterns:wbe,defaultParseWidth:"any"}),dayPeriod:Eo({matchPatterns:Ebe,defaultMatchWidth:"any",parsePatterns:Sbe,defaultParseWidth:"any"})},L_={code:"en-US",formatDistance:Zye,formatLong:Qye,formatRelative:tbe,localize:cbe,match:kbe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Cbe(e,t){let i=ze(e,t==null?void 0:t.in);return Bye(i,qye(i))+1}function Xp(e,t){let i=ze(e,t==null?void 0:t.in),n=+tr(i)-+zye(i);return Math.round(n/M_)+1}function Qp(e,t){var h,m,v,g;let i=ze(e,t==null?void 0:t.in),n=i.getFullYear(),a=cr(),r=(t==null?void 0:t.firstWeekContainsDate)??((m=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Rt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,r),o.setHours(0,0,0,0);let l=Ki(o,t),u=Rt((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,r),u.setHours(0,0,0,0);let c=Ki(u,t);return+i>=+l?n+1:+i>=+c?n:n-1}function Ibe(e,t){var o,l,u,c;let i=cr(),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)??i.firstWeekContainsDate??((c=(u=i.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,a=Qp(e,t),r=Rt((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,n),r.setHours(0,0,0,0),Ki(r,t)}function F_(e,t){let i=ze(e,t==null?void 0:t.in),n=+Ki(i,t)-+Ibe(i,t);return Math.round(n/M_)+1}function Ze(e,t){let i=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return i+n}var aa={y(e,t){let i=e.getFullYear(),n=i>0?i:1-i;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let i=e.getMonth();return t==="M"?String(i+1):Ze(i+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let i=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,i-3));return Ze(a,t.length)}},gr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Rg={G:function(e,t,i){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});case"GGGG":default:return i.era(n,{width:"wide"})}},y:function(e,t,i){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return i.ordinalNumber(a,{unit:"year"})}return aa.y(e,t)},Y:function(e,t,i,n){let a=Qp(e,n),r=a>0?a:1-a;if(t==="YY"){let o=r%100;return Ze(o,2)}return t==="Yo"?i.ordinalNumber(r,{unit:"year"}):Ze(r,t.length)},R:function(e,t){let i=R_(e);return Ze(i,t.length)},u:function(e,t){let i=e.getFullYear();return Ze(i,t.length)},Q:function(e,t,i){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,i){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,i){let n=e.getMonth();switch(t){case"M":case"MM":return aa.M(e,t);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,i){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,i,n){let a=F_(e,n);return t==="wo"?i.ordinalNumber(a,{unit:"week"}):Ze(a,t.length)},I:function(e,t,i){let n=Xp(e);return t==="Io"?i.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,i){return t==="do"?i.ordinalNumber(e.getDate(),{unit:"date"}):aa.d(e,t)},D:function(e,t,i){let n=Cbe(e);return t==="Do"?i.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,i){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});case"EEEE":default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,i,n){let a=e.getDay(),r=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return Ze(r,2);case"eo":return i.ordinalNumber(r,{unit:"day"});case"eee":return i.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(a,{width:"short",context:"formatting"});case"eeee":default:return i.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,i,n){let a=e.getDay(),r=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return Ze(r,t.length);case"co":return i.ordinalNumber(r,{unit:"day"});case"ccc":return i.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(a,{width:"narrow",context:"standalone"});case"cccccc":return i.day(a,{width:"short",context:"standalone"});case"cccc":default:return i.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,i){let n=e.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return Ze(a,t.length);case"io":return i.ordinalNumber(a,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});case"iiii":default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,i){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,i){let n=e.getHours(),a;switch(n===12?a=gr.noon:n===0?a=gr.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,i){let n=e.getHours(),a;switch(n>=17?a=gr.evening:n>=12?a=gr.afternoon:n>=4?a=gr.morning:a=gr.night,t){case"B":case"BB":case"BBB":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,i){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),i.ordinalNumber(n,{unit:"hour"})}return aa.h(e,t)},H:function(e,t,i){return t==="Ho"?i.ordinalNumber(e.getHours(),{unit:"hour"}):aa.H(e,t)},K:function(e,t,i){let n=e.getHours()%12;return t==="Ko"?i.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,i){let n=e.getHours();return n===0&&(n=24),t==="ko"?i.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,i){return t==="mo"?i.ordinalNumber(e.getMinutes(),{unit:"minute"}):aa.m(e,t)},s:function(e,t,i){return t==="so"?i.ordinalNumber(e.getSeconds(),{unit:"second"}):aa.s(e,t)},S:function(e,t){return aa.S(e,t)},X:function(e,t,i){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Lg(n);case"XXXX":case"XX":return Fa(n);case"XXXXX":case"XXX":default:return Fa(n,":")}},x:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"x":return Lg(n);case"xxxx":case"xx":return Fa(n);case"xxxxx":case"xxx":default:return Fa(n,":")}},O:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ag(n,":");case"OOOO":default:return"GMT"+Fa(n,":")}},z:function(e,t,i){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ag(n,":");case"zzzz":default:return"GMT"+Fa(n,":")}},t:function(e,t,i){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,i){return Ze(+e,t.length)}};function Ag(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),r=n%60;return r===0?i+String(a):i+String(a)+t+Ze(r,2)}function Lg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Fa(e,t)}function Fa(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=Ze(Math.trunc(n/60),2),r=Ze(n%60,2);return i+a+t+r}var Fg=(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"})}},j_=(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"})}},Dbe=(e,t)=>{let i=e.match(/(P+)(p+)?/)||[],n=i[1],a=i[2];if(!a)return Fg(e,t);let r;switch(n){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Fg(n,t)).replace("{{time}}",j_(a,t))},rh={p:j_,P:Dbe},Tbe=/^D+$/,Obe=/^Y+$/,Pbe=["D","DD","YY","YYYY"];function V_(e){return Tbe.test(e)}function B_(e){return Obe.test(e)}function oh(e,t,i){let n=Nbe(e,t,i);if(console.warn(n),Pbe.includes(e))throw new RangeError(n)}function Nbe(e,t,i){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 \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Mbe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Rbe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Abe=/^'([^]*?)'?$/,Lbe=/''/g,Fbe=/[a-zA-Z]/;function Ha(e,t,i){var h,m,v,g,x,w,S,T;let n=cr(),a=(i==null?void 0:i.locale)??n.locale??L_,r=(i==null?void 0:i.firstWeekContainsDate)??((m=(h=i==null?void 0:i.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(i==null?void 0:i.weekStartsOn)??((w=(x=i==null?void 0:i.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??n.weekStartsOn??((T=(S=n.locale)==null?void 0:S.options)==null?void 0:T.weekStartsOn)??0,l=ze(e,i==null?void 0:i.in);if(!A_(l))throw new RangeError("Invalid time value");let u=t.match(Rbe).map(L=>{let N=L[0];if(N==="p"||N==="P"){let re=rh[N];return re(L,a.formatLong)}return L}).join("").match(Mbe).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let N=L[0];if(N==="'")return{isToken:!1,value:jbe(L)};if(Rg[N])return{isToken:!0,value:L};if(N.match(Fbe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+N+"`");return{isToken:!1,value:L}});a.localize.preprocessor&&(u=a.localize.preprocessor(l,u));let c={firstWeekContainsDate:r,weekStartsOn:o,locale:a};return u.map(L=>{if(!L.isToken)return L.value;let N=L.value;(!(i!=null&&i.useAdditionalWeekYearTokens)&&B_(N)||!(i!=null&&i.useAdditionalDayOfYearTokens)&&V_(N))&&oh(N,t,String(e));let re=Rg[N[0]];return re(l,N,a.localize,c)}).join("")}function jbe(e){let t=e.match(Abe);return t?t[1].replace(Lbe,"'"):e}function rl(e,t){return ze(e,t==null?void 0:t.in).getDate()}function z_(){return Object.assign({},cr())}function H_(e,t){let i=ze(e,t==null?void 0:t.in).getDay();return i===0?7:i}function jg(e,t){return ze(e,t==null?void 0:t.in).getMonth()}function Vbe(e,t){return+ze(e)>+ze(t)}function U_(e,t){return+ze(e)<+ze(t)}function Bbe(e,t){let i=zbe(t)?new t(0):Rt(t,0);return i.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),i}function zbe(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Hbe=10,G_=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},Ube=class extends G_{constructor(e,t,i,n,a){super(),this.value=e,this.validateValue=t,this.setValue=i,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,i){return this.setValue(e,t,this.value,i)}},Gbe=class extends G_{constructor(t,i){super();s(this,"priority",Hbe);s(this,"subPriority",-1);this.context=t||(n=>Rt(i,n))}set(t,i){return i.timestampIsSet?t:Rt(t,Bbe(t,this.context))}},$e=class{run(e,t,i,n){let a=this.parse(e,t,i,n);return a?{setter:new Ube(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,i){return!0}},Wbe=class extends $e{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,i,n){switch(i){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,i,n){return i.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},St={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},gi={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function kt(e,t){return e&&{value:t(e.value),rest:e.rest}}function ut(e,t){let i=t.match(e);return i?{value:parseInt(i[0],10),rest:t.slice(i[0].length)}:null}function vi(e,t){let i=t.match(e);if(!i)return null;if(i[0]==="Z")return{value:0,rest:t.slice(1)};let n=i[1]==="+"?1:-1,a=i[2]?parseInt(i[2],10):0,r=i[3]?parseInt(i[3],10):0,o=i[5]?parseInt(i[5],10):0;return{value:n*(a*Aye+r*Rye+o*Lye),rest:t.slice(i[0].length)}}function W_(e){return ut(St.anyDigitsSigned,e)}function _t(e,t){switch(e){case 1:return ut(St.singleDigit,t);case 2:return ut(St.twoDigits,t);case 3:return ut(St.threeDigits,t);case 4:return ut(St.fourDigits,t);default:return ut(new RegExp("^\\d{1,"+e+"}"),t)}}function oc(e,t){switch(e){case 1:return ut(St.singleDigitSigned,t);case 2:return ut(St.twoDigitsSigned,t);case 3:return ut(St.threeDigitsSigned,t);case 4:return ut(St.fourDigitsSigned,t);default:return ut(new RegExp("^-?\\d{1,"+e+"}"),t)}}function em(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 q_(e,t){let i=t>0,n=i?t:1-t,a;if(n<=50)a=e||100;else{let r=n+50,o=Math.trunc(r/100)*100,l=e>=r%100;a=e+o-(l?100:0)}return i?a:1-a}function $_(e){return e%400===0||e%4===0&&e%100!==0}var qbe=class extends $e{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,i,n){let a=r=>({year:r,isTwoDigitYear:i==="yy"});switch(i){case"y":return kt(_t(4,t),a);case"yo":return kt(n.ordinalNumber(t,{unit:"year"}),a);default:return kt(_t(i.length,t),a)}}validate(t,i){return i.isTwoDigitYear||i.year>0}set(t,i,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=q_(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let r=!("era"in i)||i.era===1?n.year:1-n.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},$be=class extends $e{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,i,n){let a=r=>({year:r,isTwoDigitYear:i==="YY"});switch(i){case"Y":return kt(_t(4,t),a);case"Yo":return kt(n.ordinalNumber(t,{unit:"year"}),a);default:return kt(_t(i.length,t),a)}}validate(t,i){return i.isTwoDigitYear||i.year>0}set(t,i,n,a){let r=Qp(t,a);if(n.isTwoDigitYear){let l=q_(n.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Ki(t,a)}let o=!("era"in i)||i.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Ki(t,a)}},Ybe=class extends $e{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,i){return oc(i==="R"?4:i.length,t)}set(t,i,n){let a=Rt(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),tr(a)}},Zbe=class extends $e{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,i){return oc(i==="u"?4:i.length,t)}set(t,i,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Kbe=class extends $e{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,i,n){switch(i){case"Q":case"QQ":return _t(i.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,i){return i>=1&&i<=4}set(t,i,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Jbe=class extends $e{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,i,n){switch(i){case"q":case"qq":return _t(i.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,i){return i>=1&&i<=4}set(t,i,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Xbe=class extends $e{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,i,n){let a=r=>r-1;switch(i){case"M":return kt(ut(St.month,t),a);case"MM":return kt(_t(2,t),a);case"Mo":return kt(n.ordinalNumber(t,{unit:"month"}),a);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,i){return i>=0&&i<=11}set(t,i,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},Qbe=class extends $e{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,i,n){let a=r=>r-1;switch(i){case"L":return kt(ut(St.month,t),a);case"LL":return kt(_t(2,t),a);case"Lo":return kt(n.ordinalNumber(t,{unit:"month"}),a);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,i){return i>=0&&i<=11}set(t,i,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function e1e(e,t,i){let n=ze(e,i==null?void 0:i.in),a=F_(n,i)-t;return n.setDate(n.getDate()-a*7),ze(n,i==null?void 0:i.in)}var t1e=class extends $e{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,i,n){switch(i){case"w":return ut(St.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return _t(i.length,t)}}validate(t,i){return i>=1&&i<=53}set(t,i,n,a){return Ki(e1e(t,n,a),a)}};function n1e(e,t,i){let n=ze(e,i==null?void 0:i.in),a=Xp(n,i)-t;return n.setDate(n.getDate()-a*7),n}var i1e=class extends $e{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,i,n){switch(i){case"I":return ut(St.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return _t(i.length,t)}}validate(t,i){return i>=1&&i<=53}set(t,i,n){return tr(n1e(t,n))}},a1e=[31,28,31,30,31,30,31,31,30,31,30,31],r1e=[31,29,31,30,31,30,31,31,30,31,30,31],o1e=class extends $e{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,i,n){switch(i){case"d":return ut(St.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return _t(i.length,t)}}validate(t,i){let n=t.getFullYear(),a=$_(n),r=t.getMonth();return a?i>=1&&i<=r1e[r]:i>=1&&i<=a1e[r]}set(t,i,n){return t.setDate(n),t.setHours(0,0,0,0),t}},s1e=class extends $e{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,i,n){switch(i){case"D":case"DD":return ut(St.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return _t(i.length,t)}}validate(t,i){let n=t.getFullYear();return $_(n)?i>=1&&i<=366:i>=1&&i<=365}set(t,i,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function tm(e,t,i){var h,m,v,g;let n=cr(),a=(i==null?void 0:i.weekStartsOn)??((m=(h=i==null?void 0:i.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=ze(e,i==null?void 0:i.in),o=r.getDay(),l=(t%7+7)%7,u=7-a,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return co(r,c,i)}var l1e=class extends $e{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,i,n){switch(i){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,i){return i>=0&&i<=6}set(t,i,n,a){return t=tm(t,n,a),t.setHours(0,0,0,0),t}},c1e=class extends $e{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,i,n,a){let r=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(i){case"e":case"ee":return kt(_t(i.length,t),r);case"eo":return kt(n.ordinalNumber(t,{unit:"day"}),r);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,i){return i>=0&&i<=6}set(t,i,n,a){return t=tm(t,n,a),t.setHours(0,0,0,0),t}},u1e=class extends $e{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,i,n,a){let r=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(i){case"c":case"cc":return kt(_t(i.length,t),r);case"co":return kt(n.ordinalNumber(t,{unit:"day"}),r);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,i){return i>=0&&i<=6}set(t,i,n,a){return t=tm(t,n,a),t.setHours(0,0,0,0),t}};function d1e(e,t,i){let n=ze(e,i==null?void 0:i.in),a=H_(n,i),r=t-a;return co(n,r,i)}var h1e=class extends $e{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,i,n){let a=r=>r===0?7:r;switch(i){case"i":case"ii":return _t(i.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return kt(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return kt(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return kt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return kt(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,i){return i>=1&&i<=7}set(t,i,n){return t=d1e(t,n),t.setHours(0,0,0,0),t}},p1e=class extends $e{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,i,n){switch(i){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,i,n){return t.setHours(em(n),0,0,0),t}},m1e=class extends $e{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,i,n){switch(i){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,i,n){return t.setHours(em(n),0,0,0),t}},f1e=class extends $e{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,i,n){switch(i){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,i,n){return t.setHours(em(n),0,0,0),t}},g1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,i,n){switch(i){case"h":return ut(St.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(i.length,t)}}validate(t,i){return i>=1&&i<=12}set(t,i,n){let a=t.getHours()>=12;return a&&n<12?t.setHours(n+12,0,0,0):!a&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},v1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,i,n){switch(i){case"H":return ut(St.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(i.length,t)}}validate(t,i){return i>=0&&i<=23}set(t,i,n){return t.setHours(n,0,0,0),t}},y1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,i,n){switch(i){case"K":return ut(St.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(i.length,t)}}validate(t,i){return i>=0&&i<=11}set(t,i,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},b1e=class extends $e{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,i,n){switch(i){case"k":return ut(St.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(i.length,t)}}validate(t,i){return i>=1&&i<=24}set(t,i,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},_1e=class extends $e{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,i,n){switch(i){case"m":return ut(St.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return _t(i.length,t)}}validate(t,i){return i>=0&&i<=59}set(t,i,n){return t.setMinutes(n,0,0),t}},x1e=class extends $e{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,i,n){switch(i){case"s":return ut(St.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return _t(i.length,t)}}validate(t,i){return i>=0&&i<=59}set(t,i,n){return t.setSeconds(n,0),t}},w1e=class extends $e{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,i){let n=a=>Math.trunc(a*Math.pow(10,-i.length+3));return kt(_t(i.length,t),n)}set(t,i,n){return t.setMilliseconds(n),t}},E1e=class extends $e{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,i){switch(i){case"X":return vi(gi.basicOptionalMinutes,t);case"XX":return vi(gi.basic,t);case"XXXX":return vi(gi.basicOptionalSeconds,t);case"XXXXX":return vi(gi.extendedOptionalSeconds,t);case"XXX":default:return vi(gi.extended,t)}}set(t,i,n){return i.timestampIsSet?t:Rt(t,t.getTime()-rc(t)-n)}},S1e=class extends $e{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,i){switch(i){case"x":return vi(gi.basicOptionalMinutes,t);case"xx":return vi(gi.basic,t);case"xxxx":return vi(gi.basicOptionalSeconds,t);case"xxxxx":return vi(gi.extendedOptionalSeconds,t);case"xxx":default:return vi(gi.extended,t)}}set(t,i,n){return i.timestampIsSet?t:Rt(t,t.getTime()-rc(t)-n)}},k1e=class extends $e{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return W_(t)}set(t,i,n){return[Rt(t,n*1e3),{timestampIsSet:!0}]}},C1e=class extends $e{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return W_(t)}set(t,i,n){return[Rt(t,n),{timestampIsSet:!0}]}},I1e={G:new Wbe,y:new qbe,Y:new $be,R:new Ybe,u:new Zbe,Q:new Kbe,q:new Jbe,M:new Xbe,L:new Qbe,w:new t1e,I:new i1e,d:new o1e,D:new s1e,E:new l1e,e:new c1e,c:new u1e,i:new h1e,a:new p1e,b:new m1e,B:new f1e,h:new g1e,H:new v1e,K:new y1e,k:new b1e,m:new _1e,s:new x1e,S:new w1e,X:new E1e,x:new S1e,t:new k1e,T:new C1e},D1e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,T1e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,O1e=/^'([^]*?)'?$/,P1e=/''/g,N1e=/\S/,M1e=/[a-zA-Z]/;function Y_(e,t,i,n){var S,T,L,N;let a=()=>Rt(i,NaN),r=z_(),o=r.locale??L_,l=r.firstWeekContainsDate??((T=(S=r.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,u=r.weekStartsOn??((N=(L=r.locale)==null?void 0:L.options)==null?void 0:N.weekStartsOn)??0;if(!t)return e?a():ze(i,n==null?void 0:n.in);let c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},h=[new Gbe(n==null?void 0:n.in,i)],m=t.match(T1e).map(re=>{let ve=re[0];if(ve in rh){let ke=rh[ve];return ke(re,o.formatLong)}return re}).join("").match(D1e),v=[];for(let re of m){B_(re)&&oh(re,t,e),V_(re)&&oh(re,t,e);let ve=re[0],ke=I1e[ve];if(ke){let{incompatibleTokens:Lt}=ke;if(Array.isArray(Lt)){let Qe=v.find(It=>Lt.includes(It.token)||It.token===ve);if(Qe)throw new RangeError(`The format string mustn't contain \`${Qe.fullToken}\` and \`${re}\` at the same time`)}else if(ke.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${re}\` and any other token at the same time`);v.push({token:ve,fullToken:re});let xt=ke.run(e,re,o.match,c);if(!xt)return a();h.push(xt.setter),e=xt.rest}else{if(ve.match(M1e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ve+"`");if(re==="''"?re="'":ve==="'"&&(re=R1e(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&N1e.test(e))return a();let g=h.map(re=>re.priority).sort((re,ve)=>ve-re).filter((re,ve,ke)=>ke.indexOf(re)===ve).map(re=>h.filter(ve=>ve.priority===re).sort((ve,ke)=>ke.subPriority-ve.subPriority)).map(re=>re[0]),x=ze(i,n==null?void 0:n.in);if(isNaN(+x))return a();let w={};for(let re of g){if(!re.validate(x,c))return a();let ve=re.set(x,w,c);Array.isArray(ve)?(x=ve[0],Object.assign(w,ve[1])):x=ve}return x}function R1e(e){return e.match(O1e)[1].replace(P1e,"'")}function A1e(e,t,i){let n=+ze(e,i==null?void 0:i.in),[a,r]=[+ze(t.start,i==null?void 0:i.in),+ze(t.end,i==null?void 0:i.in)].sort((o,l)=>o-l);return n>=a&&n<=r}var I=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}(I||{}),qc=new se("ngx-mask config"),Z_=new se("new ngx-mask config"),K_=new se("initial ngx-mask config"),L1e={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 Ht,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")}}};I.HOURS_MINUTES_SECONDS,I.HOURS_MINUTES,I.MINUTES_SECONDS;I.PERCENT,I.HOURS_HOUR,I.SECONDS,I.MINUTES,I.SEPARATOR,I.DAYS_MONTHS_YEARS,I.DAYS_MONTHS,I.DAYS,I.MONTHS;var F1e=(()=>{const t=class t{constructor(){s(this,"_config",C(qc));s(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);s(this,"hiddenInput",this._config.hiddenInput);s(this,"showTemplate");s(this,"clearIfNotMatch",this._config.clearIfNotMatch);s(this,"specialCharacters",this._config.specialCharacters);s(this,"patterns",this._config.patterns);s(this,"prefix",this._config.prefix);s(this,"suffix",this._config.suffix);s(this,"thousandSeparator",this._config.thousandSeparator);s(this,"decimalMarker",this._config.decimalMarker);s(this,"customPattern");s(this,"showMaskTyped",this._config.showMaskTyped);s(this,"placeHolderCharacter",this._config.placeHolderCharacter);s(this,"validation",this._config.validation);s(this,"separatorLimit",this._config.separatorLimit);s(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);s(this,"leadZeroDateTime",this._config.leadZeroDateTime);s(this,"leadZero",this._config.leadZero);s(this,"apm",this._config.apm);s(this,"inputTransformFn",this._config.inputTransformFn);s(this,"outputTransformFn",this._config.outputTransformFn);s(this,"keepCharacterPositions",this._config.keepCharacterPositions);s(this,"_shift",new Set);s(this,"plusOnePosition",!1);s(this,"maskExpression","");s(this,"actualValue","");s(this,"showKeepCharacterExp","");s(this,"shownMaskExpression","");s(this,"deletedSpecialCharacter",!1);s(this,"ipError");s(this,"cpfCnpjError");s(this,"_formatWithSeparators",(n,a,r,o)=>{var g;let l=[],u="";if(Array.isArray(r)){let x=new RegExp(r.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=n.split(x),u=((g=n.match(x))==null?void 0:g[0])??I.EMPTY_STRING}else l=n.split(r),u=r;let c=l.length>1?`${u}${l[1]}`:I.EMPTY_STRING,h=l[0]??I.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,I.EMPTY_STRING);m&&+m&&(h[0]===I.MINUS?h=`-${h.slice(1,h.length).slice(0,m.length)}`:h=h.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(h);)h=h.replace(v,"$1"+a+"$2");return typeof o>"u"?h+c:o===0?h:h+c.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),r=Number(this.allowNegativeNumbers&&n.includes(I.MINUS)?a.slice(1,n.length):a);return!isNaN(r)&&r>=0&&r<=100});s(this,"getPrecision",n=>{let a=n.split(I.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var a,r,o,l;for(let u=((a=this.suffix)==null?void 0:a.length)-1;u>=0;u--){let c=this.suffix.substring(u,(r=this.suffix)==null?void 0:r.length);if(n.includes(c)&&u!==((o=this.suffix)==null?void 0:o.length)-1&&(u-1<0||!n.includes(this.suffix.substring(u-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(c,I.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,r)=>{var u;let o=n,l=r;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),h=o.match(c),m=(h&&((u=h[0])==null?void 0:u.length))??0;if(m-1>a){let v=m-1-a;o=o.substring(0,o.length-v)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[r,o]=a;return this.customPattern=o,this.applyMask(n,r)}applyMask(n,a,r=0,o=!1,l=!1,u=()=>{}){var xt,Qe,It;if(!a||typeof n!="string")return I.EMPTY_STRING;let c=0,h="",m=!1,v=!1,g=1,x=!1,w=n,S=r;w.slice(0,this.prefix.length)===this.prefix&&(w=w.slice(this.prefix.length,w.length)),this.suffix&&w.length>0&&(w=this.checkAndRemoveSuffix(w)),w==="("&&this.prefix&&(w="");let T=w.toString().split(I.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(c,c+1)===I.MINUS&&(h+=w.slice(c,c+1)),a===I.IP){let ie=w.split(I.DOT);this.ipError=this._validIP(ie),a="099.099.099.099"}let L=[];for(let ie=0;ie<w.length;ie++)(xt=w[ie])!=null&&xt.match("\\d")&&L.push(w[ie]??I.EMPTY_STRING);if(a===I.CPF_CNPJ&&(this.cpfCnpjError=L.length!==11&&L.length!==14,L.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(I.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Ie=this.getPrecision(a);w=this.checkInputPrecision(w,Ie,this.decimalMarker)}let ie=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;if(w.indexOf(ie)>0&&!this.percentage(w.substring(0,w.indexOf(ie)))){let Ie=w.substring(0,w.indexOf(ie)-1);this.allowNegativeNumbers&&w.slice(c,c+1)===I.MINUS&&!l&&(Ie=w.substring(0,w.indexOf(ie))),w=`${Ie}${w.substring(w.indexOf(ie),w.length)}`}let J="";this.allowNegativeNumbers&&w.slice(c,c+1)===I.MINUS?J=`${I.MINUS}${w.slice(c+1,c+w.length)}`:J=w,this.percentage(J)?h=this._splitPercentZero(w):h=this._splitPercentZero(w.substring(0,w.length-1))}else if(a.startsWith(I.SEPARATOR)){(w.match("[wа-яА-Я]")||w.match("[ЁёА-я]")||w.match("[a-z]|[A-Z]")||w.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||w.match("[^A-Za-z0-9,]"))&&(w=this._stripToDecimal(w));let ie=this.getPrecision(a),J=Array.isArray(this.decimalMarker)?this.thousandSeparator===I.DOT?I.COMMA:I.DOT:this.decimalMarker;if(ie===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===I.MINUS&&w[1]===I.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==I.COMMA&&w[2]!==I.DOT?"-"+w.slice(2,w.length):w[0]===I.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==I.COMMA&&w[1]!==I.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===I.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==I.COMMA&&w[1]!==I.DOT?w.slice(1,w.length):w:(w[0]===J&&w.length>1&&(w=I.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===I.NUMBER_ZERO&&w[1]!==J&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+J+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===I.MINUS&&(w[1]===J||w[1]===I.NUMBER_ZERO)&&(w=w[1]===J&&w.length>2?w.slice(0,1)+I.NUMBER_ZERO+w.slice(1,w.length):w[1]===I.NUMBER_ZERO&&w.length>2&&w[2]!==J?w.slice(0,2)+J+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let Fe=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),Be=w[S]===I.NUMBER_ZERO||w[S]===J,lt=w[0]===I.NUMBER_ZERO,Wn=w[0]===I.MINUS,et=w[0]===this.thousandSeparator,Kt=w[1]===J,Ft=w[1]===I.NUMBER_ZERO,ci=w[2]===J;lt&&Kt&&Be&&S<2&&(w=Fe),Wn&&Ft&&ci&&Be&&S<3&&(w=I.MINUS+Fe),Fe!==I.MINUS&&(S===0&&(lt||et)||this.allowNegativeNumbers&&S===1&&Wn&&!Ft)&&(w=Wn?I.MINUS+Fe:Fe)}let Ie=this._charToRegExpExpression(this.thousandSeparator),j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ie,"");if(Array.isArray(this.decimalMarker))for(let Fe of this.decimalMarker)j=j.replace(this._charToRegExpExpression(Fe),I.EMPTY_STRING);else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+j+"]");w.match(H)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,ie,this.decimalMarker);let te=w.replace(new RegExp(Ie,"g"),"");h=this._formatWithSeparators(te,this.thousandSeparator,this.decimalMarker,ie);let Ne=h.indexOf(I.COMMA)-w.indexOf(I.COMMA),Je=h.length-w.length,Zt=l&&h.length<n.length&&this.separatorLimit;if((h[S-1]===this.thousandSeparator||h[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(Je>0&&h[S]!==this.thousandSeparator||Zt){v=!0;let Fe=0;do this._shift.add(S+Fe),Fe++;while(Fe<Je)}else h[S-1]===this.thousandSeparator||Je===-4||Je===-3||h[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Ne!==0&&S>0&&!(h.indexOf(I.COMMA)>=S&&S>3)||!(h.indexOf(I.DOT)>=S&&S>3)&&Je<=0?(this._shift.clear(),v=!0,g=Je,S+=Je,this._shift.add(S)):this._shift.clear()}else for(let ie=0,J=T[0];ie<T.length&&c!==a.length;ie++,J=T[ie]??I.EMPTY_STRING){let Ie=I.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(J,a[c]??I.EMPTY_STRING)&&a[c+1]===I.SYMBOL_QUESTION)h+=J,c+=2;else if(a[c+1]===I.SYMBOL_STAR&&m&&this._checkSymbolMask(J,a[c+2]??I.EMPTY_STRING))h+=J,c+=3,m=!1;else if(this._checkSymbolMask(J,a[c]??I.EMPTY_STRING)&&a[c+1]===I.SYMBOL_STAR&&!Ie)h+=J,m=!0;else if(a[c+1]===I.SYMBOL_QUESTION&&this._checkSymbolMask(J,a[c+2]??I.EMPTY_STRING))h+=J,c+=3;else if(this._checkSymbolMask(J,a[c]??I.EMPTY_STRING)){if(a[c]===I.HOURS&&(this.apm?Number(J)>9:Number(J)>2)){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}if(a[c]===I.HOUR&&(this.apm?h.length===1&&Number(h)>1||h==="1"&&Number(J)>2||w.slice(c-1,c).length===1&&Number(w.slice(c-1,c))>2||w.slice(c-1,c)==="1"&&Number(J)>2:h==="2"&&Number(J)>3||(h.slice(c-2,c)==="2"||h.slice(c-3,c)==="2"||h.slice(c-4,c)==="2"||h.slice(c-1,c)==="2")&&Number(J)>3&&c>10)){S=S+1,c+=1,ie--;continue}if((a[c]===I.MINUTE||a[c]===I.SECOND)&&Number(J)>5){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}let j=31,H=w[c],te=w[c+1],Ne=w[c+2],Je=w[c-1],Zt=w[c-2],Fe=w.slice(c-3,c-1),Be=w.slice(c-1,c+1),lt=w.slice(c,c+2),Wn=w.slice(c-2,c);if(a[c]===I.DAY){let et=a.slice(0,2)===I.MONTHS,Kt=a.slice(0,2)===I.MONTHS&&this.specialCharacters.includes(Zt);if(Number(J)>3&&this.leadZeroDateTime||!et&&(Number(lt)>j||Number(Be)>j||this.specialCharacters.includes(te))||(Kt?Number(Be)>j||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Ne)||this.specialCharacters.includes(H):Number(lt)>j||this.specialCharacters.includes(te)&&!l)){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}}if(a[c]===I.MONTH){let et=c===0&&(Number(J)>2||Number(lt)>12||this.specialCharacters.includes(te)&&!l),Kt=a.slice(c+2,c+3),Ft=Fe.includes(Kt)&&a.includes("d0")&&(this.specialCharacters.includes(Zt)&&Number(Be)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),ci=Number(Fe)<=j&&!this.specialCharacters.includes(Fe)&&this.specialCharacters.includes(Je)&&(Number(lt)>12||this.specialCharacters.includes(te)),ta=Number(lt)>12&&c===5||this.specialCharacters.includes(te)&&c===5,Os=Number(Fe)>j&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(Wn)&&Number(Wn)>12&&a.includes("d0"),Ps=Number(Fe)<=j&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(Je)&&Number(Be)>12;if(Number(J)>1&&this.leadZeroDateTime||et||Ft||Ps||Os||ci||ta&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,c+=1,this._shiftStep(a,c,T.length),ie--,this.leadZeroDateTime&&(h+="0");continue}}h+=J,c++}else this.specialCharacters.includes(J)&&a[c]===J?(h+=J,c++):this.specialCharacters.indexOf(a[c]??I.EMPTY_STRING)!==-1?(h+=a[c],c++,this._shiftStep(a,c,T.length),ie--):a[c]===I.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,c,T.length):this.patterns[a[c]??I.EMPTY_STRING]&&((Qe=this.patterns[a[c]??I.EMPTY_STRING])!=null&&Qe.optional)?(T[c]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((It=this.patterns[a[c]??I.EMPTY_STRING])!=null&&It.optional)&&(h+=T[c]),a.includes(I.NUMBER_NINE+I.SYMBOL_STAR)&&a.includes(I.NUMBER_ZERO+I.SYMBOL_STAR)&&c++,c++,ie--):this.maskExpression[c+1]===I.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??I.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===I.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??I.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[c+2]&&m?(c+=3,h+=J):this.showMaskTyped&&this.specialCharacters.indexOf(J)<0&&J!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}h.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??I.EMPTY_STRING)!==-1&&(h+=a[a.length-1]);let N=S+1;for(;this._shift.has(N);)g++,N++;let re=o&&!a.startsWith(I.SEPARATOR)?c:this._shift.has(S)?g:0;x&&re--,u(re,v),g<0&&this._shift.clear();let ve=!1;l&&(ve=T.every(ie=>this.specialCharacters.includes(ie)));let ke=`${this.prefix}${ve?I.EMPTY_STRING:h}${this.showMaskTyped?"":this.suffix}`;h.length===0&&(ke=this.dropSpecialCharacters?`${h}`:`${this.prefix}${h}`);let Lt=w.length===1&&this.specialCharacters.includes(a[0])&&w!==a[0];if(!this._checkSymbolMask(w,a[1])&&Lt)return"";if(h.includes(I.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&h===I.MINUS)return"";ke=`${I.MINUS}${this.prefix}${h.split(I.MINUS).join(I.EMPTY_STRING)}${this.suffix}`}return ke}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(a=>a===n)}_checkSymbolMask(n,a){var r,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(I.EMPTY_STRING).filter((a,r)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===I.MINUS&&r===0&&this.allowNegativeNumbers}).join(I.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,r){let o=/[*?]/g.test(n.slice(0,a))?r:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,r){return Array.isArray(a)?a.filter(o=>o!==r).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,r)=>n.length!==r+1?a===I.EMPTY_STRING||Number(a)>255:a===I.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(n){if(n===I.MINUS&&this.allowNegativeNumbers)return n;let a=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(I.DOT),r=this.allowNegativeNumbers&&n.includes(I.MINUS)?"-":"";if(a===-1){let o=parseInt(r?n.slice(1,n.length):n,10);return isNaN(o)?I.EMPTY_STRING:`${r}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;return u===I.EMPTY_STRING?I.EMPTY_STRING:`${r}${u}${c}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let r=n[a];if(r&&r>="1"&&r<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),J_=(()=>{const t=class t extends F1e{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",a=>{});s(this,"_elementRef",C(At,{optional:!0}));s(this,"document",C(He));s(this,"_config",C(qc));s(this,"_renderer",C(ro,{optional:!0}))}applyMask(a,r,o=0,l=!1,u=!1,c=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():I.EMPTY_STRING,this.maskExpression===I.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||I.HASH)),this.maskExpression===I.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||I.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let h=a&&typeof this.selStart=="number"?a[this.selStart]??I.EMPTY_STRING:I.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let S=a&&a.length===1?a.split(I.EMPTY_STRING):this.actualValue.split(I.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==I.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>S.length?S.splice(this.selStart,0,h):a.length<S.length&&(S.length-a.length===1?u?S.splice(this.selStart-1,1):S.splice(a.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&S.length<=a.length?this.shiftTypedSymbols(S.join(I.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),u&&this.specialCharacters.indexOf(this.maskExpression[v]??I.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:r.slice(v-1,v+1)!==I.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(a)),this.maskChanged?m=a:m=m&&m.length?m:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let 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,r,v,l,u,c);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===I.DOT&&this.decimalMarker===I.DOT&&(this.decimalMarker=I.COMMA),this.maskExpression.startsWith(I.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?u?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let x=g.length,w=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(I.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${w.slice(x+S)}`}else if(this.maskExpression===I.IP||this.maskExpression===I.CPF_CNPJ)return`${g}${w}`;return`${g}${w.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,o=r.exec(a),l=0;for(;o!=null;)l+=1,o=r.exec(a);return l}applyValueChanges(a,r,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,a,r,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(I.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[r[l]??I.EMPTY_STRING]&&((u=this.patterns[r[l]??I.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[r[l]??I.EMPTY_STRING])==null?void 0:c.symbol:o}).join(I.EMPTY_STRING)}getActualValue(a){let r=a.split(I.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??I.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return r.join(I.EMPTY_STRING)===a?r.join(I.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(I.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??I.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=o,a[l+1];if(r.length){let u=r;return r=I.EMPTY_STRING,u}return o})||[]).join(I.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(I.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(I.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${I.MINUS}/`,I.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===I.IP)return this._checkForIp(a);if(this.maskExpression===I.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let a=(r=this._elementRef)==null?void 0:r.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,I.EMPTY_STRING).length&&(this.formElementProperty=["value",I.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(I.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===I.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let o=0;o<a.length;o++){let l=a[o]??I.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===I.HASH)return r;let l=[];for(let u=0;u<a.length;u++){let c=a[u]??I.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?a.length===17?o.slice(16,o.length):o.slice(15,o.length):l.length>12&&l.length<=14?o.slice(l.length+4,o.length):""}_getActiveElement(a=this.document){var o;let r=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===I.EMPTY_STRING||this.maskExpression.startsWith(I.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(I.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(I.SEPARATOR)&&Number.isNaN(r)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(I.PERCENT)&&a.includes(I.DOT)?a:a&&a.replace(this._regExpForRemove(r),I.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,I.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,I.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(I.WHITE_SPACE)&&this.maskExpression.includes(I.SYMBOL_STAR)&&(r=r.filter(o=>o!==I.WHITE_SPACE)),this._removeMask(a,r)}_regExpForRemove(a){return new RegExp(a.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(r),I.DOT)}_checkSymbols(a){let r=a;if(r===I.EMPTY_STRING)return r;this.maskExpression.startsWith(I.PERCENT)&&this.decimalMarker===I.COMMA&&(r=r.replace(I.COMMA,I.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&o?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let u=(r=this.patterns[l])==null?void 0:r.pattern.toString(),c=(o=this.patterns[l])==null?void 0:o.pattern;if(u!=null&&u.includes(I.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let r=a.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(a,r){let o=this.getPrecision(a),l=r;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===I.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(I.EMPTY_STRING).reduce((r,o,l)=>{if(this._start=o===I.CURLY_BRACKETS_LEFT?l:this._start,o!==I.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?r+o:r;this._end=l;let u=Number(a.slice(this._start+1,this._end)),c=new Array(u+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(I.LETTER_S)){let h=a.slice(0,this._start-1);return h.includes(I.CURLY_BRACKETS_LEFT)?r+c:h+r+c}else return r+c},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Gt(t)))(r||t)}})()),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function j1e(){let e=C(K_),t=C(Z_);return t instanceof Function?ue(ue({},e),t()):ue(ue({},e),t)}function V1e(e){return[{provide:Z_,useValue:e},{provide:K_,useValue:L1e},{provide:qc,useFactory:j1e},J_]}function B1e(e){return kh(V1e(e))}var z1e=(()=>{const t=class t{constructor(){s(this,"defaultOptions",C(qc));s(this,"_maskService",C(J_));s(this,"_maskExpressionArray",[]);s(this,"mask","")}transform(n,a,r={}){var o=r,{patterns:l}=o,u=c0(o,["patterns"]);let c=n,h=yt(ue(ue({maskExpression:a},this.defaultOptions),u),{patterns:ue(ue({},this._maskService.patterns),l)});if(Object.entries(h).forEach(([m,v])=>{this._maskService[m]=v}),a.includes("||")){let m=a.split("||");return m.length>1?(this._maskExpressionArray=m.sort((v,g)=>v.length-g.length),this._setMask(c),this._maskService.applyMask(`${c}`,this.mask)):(this._maskExpressionArray=[],this._maskService.applyMask(`${c}`,this.mask))}if(a.includes(I.CURLY_BRACKETS_LEFT))return this._maskService.applyMask(`${c}`,this._maskService._repeatPatternSymbols(a));if(a.startsWith(I.SEPARATOR)){u.decimalMarker&&(this._maskService.decimalMarker=u.decimalMarker),u.thousandSeparator&&(this._maskService.thousandSeparator=u.thousandSeparator),u.leadZero&&(this._maskService.leadZero=u.leadZero),c=String(c);let m=this._maskService.currentLocaleDecimalMarker();Array.isArray(this._maskService.decimalMarker)||(c=this._maskService.decimalMarker!==m?c.replace(m,this._maskService.decimalMarker):c),this._maskService.leadZero&&c&&this._maskService.dropSpecialCharacters!==!1&&(c=this._maskService._checkPrecision(a,c)),this._maskService.decimalMarker===I.COMMA&&(c=c.replace(I.DOT,I.COMMA)),this._maskService.isNumberValue=!0}return c===null||typeof c>"u"?this._maskService.applyMask("",a):this._maskService.applyMask(`${c}`,a)}_setMask(n){this._maskExpressionArray.length>0&&this._maskExpressionArray.some(a=>{var o,l;let r=((o=this._maskService.removeMask(n))==null?void 0:o.length)<=((l=this._maskService.removeMask(a))==null?void 0:l.length);if(n&&r)return this.mask=a,r;{let u=this._maskExpressionArray[this._maskExpressionArray.length-1]??I.EMPTY_STRING;this.mask=u}})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",Yt({name:"mask",type:t,pure:!0}));let e=t;return e})(),$c=(()=>{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=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),H1e="4.0",sh=H1e,ca=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ca||{}),U1e=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Ht);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=sh.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${sh})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:o}=a.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(n){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(n):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(n){}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Oh],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),X_=class{constructor(e,t,i,n,a){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=i}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return Pt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Pt(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 Pt(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 Pt(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 Pt(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 Pt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return Pt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},Q_=()=>{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)},Rn=function(e){return e._00001="00001",e._00002="00002",e._00003="00003",e._00004="00004",e._00005="00005",e._00006="00006",e._00007="00007",e._00008="00008",e._00009="00009",e._00010="00010",e._00011="00011",e._00012="00012",e._00013="00013",e._00014="00014",e._00015="00015",e._00016="00016",e._00017="00017",e._00018="00018",e._00019="00019",e._00020="00020",e._00021="00021",e._00022="00022",e._00023="00023",e._00024="00024",e._00026="00026",e._00027="00027",e._00028="00028",e._00029="00029",e._00030="00030",e._00031="00031",e._00032="00032",e._00033="00033",e._00034="00034",e._00035="00035",e._00036="00036",e._00037="00037",e._00038="00038",e._00039="00039",e._00040="00040",e._00041="00041",e._00042="00042",e._00043="00043",e._00044="00044",e._00045="00045",e._00046="00046",e._00047="00047",e._00048="00048",e._00049="00049",e._00050="00050",e._00051="00051",e._00052="00052",e._00053="00053",e._00054="00054",e._00055="00055",e._00056="00056",e._00057="00057",e._00058="00058",e._00059="00059",e._00060="00060",e._00061="00061",e._00062="00062",e._00063="00063",e._00064="00064",e._00065="00065",e._00066="00066",e._00067="00067",e._00068="00068",e._00069="00069",e._00070="00070",e._00071="00071",e._00072="00072",e._00073="00073",e.BOTH_EARS="both_ears",e.BOTH_EYES="both_eyes",e.BOTH_NOSTRILS="both_nostrils",e.CUTANEOUS_INJECTION="cutaneous_injection",e.DERM="derm",e.DERMAL_INJECTION="dermal_injection",e.EAR_LEFT="ear_left",e.EAR_RIGHT="ear_right",e.EYE_LEFT="eye_left",e.EYE_RIGHT="eye_right",e.HYPERDERMOCLYSE="hyperdermoclyse",e.ICUT="icut",e.IDER="ider",e.LARTER="larter",e.NOSE_LEFT="nose_left",e.NOSE_RIGHT="nose_right",e.OFT="oft",e.TRANSDERMAL="transdermal",e.VITREAL_INJECTION="vitreal_injection",e}(Rn||{}),ft=function(e){return e._00001="00001",e._00002="00002",e._00003="00003",e._00004="00004",e._00005="00005",e._00006="00006",e._00007="00007",e._00008="00008",e._00009="00009",e._00010="00010",e._00011="00011",e._00012="00012",e._00013="00013",e._00014="00014",e._00015="00015",e._00016="00016",e._00017="00017",e._00018="00018",e._00019="00019",e._00020="00020",e._00021="00021",e._00022="00022",e._00023="00023",e._00024="00024",e._00026="00026",e._00027="00027",e._00028="00028",e._00029="00029",e._00030="00030",e.AMPLOULE="ampoule",e.BONDAGE="bandage",e.BOTTLE="bottle",e.BOX="box",e.CM="cm",e.EFFERVESCENT_TABLET="effervescent_tablet",e.GM="gm",e.INTERNATIONALUNITS="internationalunits",e.IU="iu",e.LITER="liter",e.MEQ="meq",e.MG="mg",e.MICROGRAMS="micrograms",e.MIU="miu",e.MMOL="mmol",e.PIECE="piece",e.SYRINGE="syringe",e.SYRINGE_AMPOULE="syringe_ampoule",e.TBL="tbl",e.TSP="tsp",e.MS="ms",e.MIN="min",e.MO="mo",e}(ft||{}),Ua=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Ua||{}),ra=function(e){return e.MONDAY="monday",e.TUESDAY="tuesday",e.WEDNESDAY="wednesday",e.THURSDAY="thursday",e.FRIDAY="friday",e.SATURDAY="saturday",e.SUNDAY="sunday",e}(ra||{}),ct=function(e){return e.BEFOREBREAKFAST="beforebreakfast",e.DURINGBREAKFAST="duringbreakfast",e.AFTERBREAKFAST="afterbreakfast",e.MORNING="morning",e.BETWEENBREAKFASTANDLUNCH="betweenbreakfastandlunch",e.BEFORELUNCH="beforelunch",e.DURINGLUNCH="duringlunch",e.AFTERLUNCH="afterlunch",e.AFTERNOON="afternoon",e.BETWEENLUNCHANDDINNER="betweenlunchanddinner",e.BEFOREDINNER="beforedinner",e.DURINGDINNER="duringdinner",e.AFTERDINNER="afterdinner",e.EVENING="evening",e.THEHOUROFSLEEP="thehourofsleep",e.NIGHT="night",e.AFTERMEAL="aftermeal",e.BETWEENDINNERANDSLEEP="betweendinnerandsleep",e.BETWEENMEALS="betweenmeals",e}(ct||{}),An=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(An||{}),d=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(d||{}),G=function(e){return e.D="D",e.DA="DA",e.DD="DD",e.DE="DE",e.DN="DN",e.DQ="DQ",e.DT="DT",e.DV="DV",e.DW="DW",e.DX="DX",e.DZ="DZ",e.J="J",e.JD="JD",e.JH2="JH2",e.JQ="JQ",e.JT="JT",e.JV="JV",e.JZ="JZ",e.M="M",e.MA="MA",e.MC="MC",e.MD="MD",e.ME="ME",e.MN="MN",e.MQ="MQ",e.MS="MS",e.MT="MT",e.MV="MV",e.MX="MX",e.MZ2="MZ2",e.O1="O1",e.ONDEMAND="ondemand",e.U="U",e.UA="UA",e.UD="UD",e.UE="UE",e.UH="UH",e.UN="UN",e.UQ="UQ",e.US="US",e.UT="UT",e.UV="UV",e.UW="UW",e.UX="UX",e.UZ="UZ",e.W="W",e.WA="WA",e.WD="WD",e.WE="WE",e.WN="WN",e.WP="WP",e.WQ="WQ",e.WS="WS",e.WT="WT",e.WV="WV",e.WW="WW",e.WX="WX",e.WZ="WZ",e}(G||{}),Jt=function(e){return e.APPLICATION="application",e.CERTIFICATEHOLDER="certificateholder",e.DEPTALGOLOGY="deptalgology",e.DEPTANATOMOPATHOLOGY="deptanatomopathology",e.DEPTANESTHESIOLOGY="deptanesthesiology",e.DEPTBACTERIOLOGY="deptbacteriology",e.DEPTCARDIACSURGERY="deptcardiacsurgery",e.DEPTCARDIOLOGY="deptcardiology",e.DEPTCHILDANDADOLESCENTPSYCHIATRY="deptchildandadolescentpsychiatry",e.DEPTDENTISTRY="deptdentistry",e.DEPTDERMATOLOGY="deptdermatology",e.DEPTDIABETOLOGY="deptdiabetology",e.DEPTDIETETICS="deptdietetics",e.DEPTEMERGENCY="deptemergency",e.DEPTENDOCRINOLOGY="deptendocrinology",e.DEPTGASTROENTEROLOGY="deptgastroenterology",e.DEPTGENERALPRACTICE="deptgeneralpractice",e.DEPTGENETICS="deptgenetics",e.DEPTGERIATRY="deptgeriatry",e.DEPTGYNECOLOGY="deptgynecology",e.DEPTHANDSURGERY="depthandsurgery",e.DEPTHEMATOLOGY="depthematology",e.DEPTINFECTIOUSDISEASE="deptinfectiousdisease",e.DEPTINTENSIVECARE="deptintensivecare",e.DEPTKINESITHERAPY="deptkinesitherapy",e.DEPTLABORATORY="deptlaboratory",e.DEPTMAJORBURNS="deptmajorburns",e.DEPTMAXILLOFACIALSURGERY="deptmaxillofacialsurgery",e.DEPTMEDICINE="deptmedicine",e.DEPTMOLECULARBIOLOGY="deptmolecularbiology",e.DEPTNEONATALOGY="deptneonatalogy",e.DEPTNEPHROLOGY="deptnephrology",e.DEPTNEUROLOGY="deptneurology",e.DEPTNEUROSURGERY="deptneurosurgery",e.DEPTNTE="deptnte",e.DEPTNUCLEAR="deptnuclear",e.DEPTNURSING="deptnursing",e.DEPTNUTRITIONDIETETICS="deptnutritiondietetics",e.DEPTOBSTETRICS="deptobstetrics",e.DEPTOCCUPATIONALTHERAPY="deptoccupationaltherapy",e.DEPTONCOLOGY="deptoncology",e.DEPTOPHTALMOLOGY="deptophtalmology",e.DEPTORTHOPEDY="deptorthopedy",e.DEPTPALLIATIVECARE="deptpalliativecare",e.DEPTPEDIATRICINTENSIVECARE="deptpediatricintensivecare",e.DEPTPEDIATRICSURGERY="deptpediatricsurgery",e.DEPTPEDIATRY="deptpediatry",e.DEPTPHARMACY="deptpharmacy",e.DEPTPHYSICALMEDECINE="deptphysicalmedecine",e.DEPTPHYSIOTHERAPY="deptphysiotherapy",e.DEPTPLASTICANDREPARATORYSURGERY="deptplasticandreparatorysurgery",e.DEPTPNEUMOLOGY="deptpneumology",e.DEPTPODIATRY="deptpodiatry",e.DEPTPSYCHIATRY="deptpsychiatry",e.DEPTPSYCHOGERIATRY="deptpsychogeriatry",e.DEPTPSYCHOLOGY="deptpsychology",e.DEPTRADIOLOGY="deptradiology",e.DEPTRADIOTHERAPY="deptradiotherapy",e.DEPTREVALIDATION="deptrevalidation",e.DEPTRHEUMATOLOGY="deptrheumatology",e.DEPTSENOLOGY="deptsenology",e.DEPTSOCIALSERVICE="deptsocialservice",e.DEPTSPEECHTHERAPY="deptspeechtherapy",e.DEPTSPORTSMEDECINE="deptsportsmedecine",e.DEPTSTOMATOLOGY="deptstomatology",e.DEPTSURGERY="deptsurgery",e.DEPTTHORACICSURGERY="deptthoracicsurgery",e.DEPTTOXICOLOGY="depttoxicology",e.DEPTTROPICALMEDECINE="depttropicalmedecine",e.DEPTUROLOGY="depturology",e.DEPTVASCULARSURGERY="deptvascularsurgery",e.DEPTVISCERALDIGESTIVEABDOMINALSURGERY="deptvisceraldigestiveabdominalsurgery",e.GROUPOFNURSES="groupofnurses",e.GROUPOFPHYSICIANSDIFFERENTADDRESS="groupofphysiciansdifferentaddress",e.GROUPOFPHYSICIANSSAMEADDRESS="groupofphysicianssameaddress",e.GUARDPOST="guardpost",e.HUB="hub",e.ORGHOSPITAL="orghospital",e.ORGINSURANCE="orginsurance",e.ORGLABORATORY="orglaboratory",e.ORGPHARMACY="orgpharmacy",e.ORGPOLYCLINIC="orgpolyclinic",e.ORGPRACTICE="orgpractice",e.ORGPREVENTION="orgprevention",e.ORGPRIMARYHEALTHCARECENTER="orgprimaryhealthcarecenter",e.ORGPSYCHIATRICCAREHOME="orgpsychiatriccarehome",e.ORGPUBLICHEALTH="orgpublichealth",e.ORGRETIREMENTHOME="orgretirementhome",e.ORGREVALIDATIONCENTER="orgrevalidationcenter",e.ORGSHELTEREDLIVING="orgshelteredliving",e.PATIENT="patient",e.PERSADMINISTRATIVE="persadministrative",e.PERSAMBULANCEFIRSTAID="persambulancefirstaid",e.PERSAPPLIEDPSYCHBACHELOR="persappliedpsychbachelor",e.PERSAUDICIAN="persaudician",e.PERSAUDIOLOGIST="persaudiologist",e.PERSBIOLOGIST="persbiologist",e.PERSCLINICALORTHOPEDAGOGIST="persclinicalorthopedagogist",e.PERSCLINICALPSYCHOLOGIST="persclinicalpsychologist",e.PERSDENTIST="persdentist",e.PERSDIETICIAN="persdietician",e.PERSEDUCATOR="perseducator",e.PERSFAMILYSCIENCEBACHELOR="persfamilysciencebachelor",e.PERSGERONTOLOGYMASTER="persgerontologymaster",e.PERSLOGOPEDIST="perslogopedist",e.PERSMIDWIFE="persmidwife",e.PERSNURSE="persnurse",e.PERSOCCUPATIONALTHERAPIST="persoccupationaltherapist",e.PERSOPTICIAN="persoptician",e.PERSORALDENTALHYGIENIST="persoraldentalhygienist",e.PERSORTHOPEDAGOGISTMASTER="persorthopedagogistmaster",e.PERSORTHOPTIST="persorthoptist",e.PERSORTHOTIST="persorthotist",e.PERSPATIENTDRIVER="perspatientdriver",e.PERSPEDAGOGYBACHELOR="perspedagogybachelor",e.PERSPHARMACIST="perspharmacist",e.PERSPHARMACISTCLINICALBIOLOGIST="perspharmacistclinicalbiologist",e.PERSPHARMACYASSISTANT="perspharmacyassistant",e.PERSPHYSICIAN="persphysician",e.PERSPHYSIOTHERAPIST="persphysiotherapist",e.PERSPODOLOGIST="perspodologist",e.PERSPRACTICALNURSE="perspracticalnurse",e.PERSPSYCHOLOGIST="perspsychologist",e.PERSPSYCHOMOTORTHERAPYMASTER="perspsychomotortherapymaster",e.PERSREADAPTATIONBACHELOR="persreadaptationbachelor",e.PERSSOCIALWORKER="perssocialworker",e.PERSTECHNICIAN="perstechnician",e.PERSTRUSSMAKER="perstrussmaker",e}(Jt||{}),yi=function(e){return e.ACUTE="acute",e.CHRONIC="chronic",e.IFNECESSARY="ifnecessary",e.ONESHOT="oneshot",e.REACTIVATION="reactivation",e.REMISSION="remission",e.SUBACUTE="subacute",e}(yi||{});d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE;var Ga={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Ar={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Do=class extends Error{};Do.prototype.name="InvalidTokenError";function G1e(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,i)=>{let n=i.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function W1e(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 G1e(t)}catch{return atob(t)}}function q1e(e,t){if(typeof e!="string")throw new Do("Invalid token specified: must be a string");t||(t={});let i=t.header===!0?0:1,n=e.split(".")[i];if(typeof n!="string")throw new Do(`Invalid token specified: missing part #${i+1}`);let a;try{a=W1e(n)}catch(r){throw new Do(`Invalid token specified: invalid base64 for part #${i+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new Do(`Invalid token specified: invalid json for part #${i+1} (${r.message})`)}}var $1e=class extends X_{constructor(e,t,i){super(e,Ua.USER_INFOS,t,i,Ua.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Pt(this,null,function*(){return q1e(yield this.getLocalAccessToken("")).userProfile})}},ex=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(n){this._isOfflineAuthenticated=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Y1e(e){var t,i;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((i=e==null?void 0:e.mandators)==null?void 0:i.length)>0?e.mandators[0].ssin:e.ssin}function Z1e(e){var t,i;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((i=e==null?void 0:e.mandators)==null?void 0:i.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var K1e=(()=>{const t=class t extends ex{constructor(){super(...arguments),this.servicesStore=C($c)}resolveSsin(){return Pt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Y1e(n)})}resolvePatientInfo(){return Pt(this,null,function*(){let n=yield this.fetchUserProfileToken();return Z1e(n)})}resolveUserInfo(){return Pt(this,null,function*(){var h,m,v,g;let n=yield this.fetchUserProfileToken(),a=n.lastName,r=n.firstName,o=this.extractProfessionalRole(n),l=((h=n==null?void 0:n.organizations)==null?void 0:h.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,u=(v=n==null?void 0:n.organizations)!=null&&v.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,c=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:r,ssin:n.ssin,lastName:a,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Pt(this,null,function*(){var n,a;return((a=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:a.length)>0})}resolveProfessional(n,a){return a?n[a]:void 0}extractProfessionalRole(n){let a=["physician","nurse","midwife","dentist"],r="patient";return a.forEach(o=>{n[o]&&(r=o)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new $1e(this.servicesStore.getServices(),n,a)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),J1e=(()=>{const t=class t extends ex{resolveSsin(){return Pt(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 Pt(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,a){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),X1e=(()=>{const t=class t{constructor(){this.http=C(Cs)}get(n,a,r){return ol()?this.http.get(n,{headers:r}):vt(a)}patch(n,a,r){return ol()?this.http.patch(n,{},{headers:r}):vt(a)}post(n,a,r){return ol()?this.http.post(n,{},{headers:r}):vt(a)}delete(n,a,r){return ol()?this.http.delete(n,{headers:r}):vt(a)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ol=()=>window.Cypress,_a=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(_a||{}),qi=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(qi||{});function Q1e(e,t){return Pt(this,null,function*(){t.next({status:_a.LOADING});try{let i=yield e,n={status:_a.SUCCESS,data:i};return t.next(n),n}catch(i){let n={status:_a.ERROR,error:n_e(i)};return t.next(n),n}})}var Vg={[qi.NO_DATA]:["VIDIS_0140"],[qi.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"],[qi.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"],[qi.OTHER]:[]};function e_e(e){for(let t of Object.keys(Vg))if(Vg[t].includes(e))return t;return qi.OTHER}function t_e(e,t,i){let n=e||"UNKNOWN",a=e_e(n);return{code:n,message:i??"An unexpected error occurred",group:a,traceId:t}}function n_e(e){var a,r,o;let t=((a=e.error)==null?void 0:a.code)??void 0,i=((r=e.error)==null?void 0:r.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return t_e(t,n,i)}var i_e={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function nm(e){e||(hs(),e=C(ii));let t=new ht(i=>e.onDestroy(i.next.bind(i)));return i=>i.pipe(zi(t))}function a_e(e,t){var u;let i=!(t!=null&&t.manualCleanup);i&&!(t!=null&&t.injector)&&hs();let n=i?((u=t==null?void 0:t.injector)==null?void 0:u.get(ii))??C(ii):null,a=r_e(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=Ed({kind:0},{equal:a}):r=Ed({kind:1,value:t==null?void 0:t.initialValue},{equal:a});let o,l=e.subscribe({next:c=>r.set({kind:1,value:c}),error:c=>{if(t!=null&&t.rejectErrors)throw c;r.set({kind:2,error:c})},complete:()=>{o==null||o()}});if(t!=null&&t.requireSync&&r().kind===0)throw new Z(601,!1);return o=n==null?void 0:n.onDestroy(l.unsubscribe.bind(l)),Gi(()=>{let c=r();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new Z(601,!1)}},{equal:t==null?void 0:t.equal})}function r_e(e=Object.is){return(t,i)=>t.kind===1&&i.kind===1&&e(t.value,i.value)}function o_e(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var tx={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function s_e(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let i of tx[t]){let n=e.find(a=>a.lang===i);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}function l_e(e,t){if(!(!e||Object.keys(e).length<1)){t=t==null?void 0:t.substring(0,2);for(let i of tx[t]){let n=e.find(a=>a.lang===i);if(n)return n}return e.length>0?e[0]:void 0}}var ns=(()=>{const t=class t{constructor(){this.config=C(uo),this.injector=C(st),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(J1e):this.injector.get(K1e)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function c_e(e,t){if(e&1){let i=Ac();V(0,"div",1)(1,"button",2),Di("click",function(){ya(i);let n=ae();return ba(n.action())}),ge(2),z()()}if(e&2){let i=ae();O(2),qe(" ",i.data.action," ")}}var u_e=["label"];function d_e(e,t){}var h_e=Math.pow(2,31)-1,lh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new be);s(this,"_afterOpened",new be);s(this,"_onAction",new be);s(this,"_durationTimeoutId");s(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,h_e))}_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}},nx=new se("MatSnackBarData"),sc=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")}},p_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),m_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),f_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),g_e=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(lh));s(this,"data",C(nx))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,a){n&1&&(V(0,"div",0),ge(1),z(),oe(2,c_e,3,1,"div",1)),n&2&&(O(),qe(" ",a.data.message,`
30
- `),O(),ee(a.hasAction?2:-1))},dependencies:[Gc,p_e,m_e,f_e],styles:[`.mat-mdc-simple-snack-bar{display:flex}
31
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),qu="_mat-snack-bar-enter",$u="_mat-snack-bar-exit",v_e=(()=>{const t=class t extends Hc{constructor(){super();s(this,"_ngZone",C(We));s(this,"_elementRef",C(At));s(this,"_changeDetectorRef",C(sr));s(this,"_platform",C(Tn));s(this,"_rendersRef");s(this,"_animationsDisabled",C(ir,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",C(sc));s(this,"_document",C(He));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new be);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new be);s(this,"_onExit",new be);s(this,"_onEnter",new be);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",C(lo).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),r});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Dy(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),r}attachTemplatePortal(a){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),r}onAnimationEnd(a){a===$u?this._completeExit():a===qu&&(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(Vn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(qu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(qu)},200)))}exit(){return this._destroyed?vt(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(Vn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd($u)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd($u),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(u=>a.classList.add(u)):a.classList.add(r)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let l=r[o],u=l.getAttribute("aria-owns");this._trackedModals.add(l),u?u.indexOf(a)===-1&&l.setAttribute("aria-owns",u+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let r=a.getAttribute("aria-owns");if(r){let o=r.replace(this._liveElementId,"").trim();o.length>0?a.setAttribute("aria-owns",o):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,r=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(r&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),o.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(Yl(Xo,7),Yl(u_e,7)),a&2){let o;Kn(o=Jn())&&(r._portalOutlet=o.first),Kn(o=Jn())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,r){a&1&&Di("animationend",function(o){return r.onAnimationEnd(o.animationName)})("animationcancel",function(o){return r.onAnimationEnd(o.animationName)}),a&2&&mn("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Gn],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(V(0,"div",1)(1,"div",2,0)(3,"div",3),oe(4,d_e,0,0,"ng-template",4),z(),le(5,"div"),z()()),a&2&&(O(5),Vt("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Xo],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 y_e(){return new sc}var b_e=new se("mat-snack-bar-default-options",{providedIn:"root",factory:y_e}),__e=(()=>{const t=class t{constructor(){s(this,"_overlay",C(ka));s(this,"_live",C(Nge));s(this,"_injector",C(st));s(this,"_breakpointObserver",C(F1));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(b_e));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",g_e);s(this,"snackBarContainerComponent",v_e);s(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}openFromComponent(n,a){return this._attach(n,a)}openFromTemplate(n,a){return this._attach(n,a)}open(n,a="",r){let o=ue(ue({},this._defaultConfig),r);return o.data={message:n,action:a},o.announcementMessage===n&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=st.create({parent:r||this._injector,providers:[{provide:sc,useValue:a}]}),l=new Jo(this.snackBarContainerComponent,a.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=a,u.instance}_attach(n,a){let r=ue(ue(ue({},new sc),this._defaultConfig),a),o=this._createOverlay(r),l=this._attachSnackBarContainer(o,r),u=new lh(l,o);if(n instanceof Ur){let c=new jp(n,null,{$implicit:r.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(r,u),h=new Jo(n,void 0,c),m=l.attachComponentPortal(h);u.instance=m.instance}return this._breakpointObserver.observe(i_e.HandsetPortrait).pipe(zi(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(u,r),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(n,a){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let a=new Vp;a.direction=n.direction;let r=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,u=!l&&n.horizontalPosition!=="center";return l?r.left("0"):u?r.right("0"):r.centerHorizontally(),n.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(n,a){let r=n&&n.viewContainerRef&&n.viewContainerRef.injector;return st.create({parent:r||this._injector,providers:[{provide:lh,useValue:a},{provide:nx,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),x_e=(()=>{const t=class t{constructor(){this.snackbar=C(__e),this.translate=C(li)}showSuccess(n,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),w_e={demo:{env:ca.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:ca.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:ca.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:ca.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:ca.PROD}},uo=(()=>{const t=class t{setEnvironment(n){this.configVariables=w_e[ca[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),E_e=(e,t)=>{let i=C(ns).getInstance(),n=C($c),a=C(uo).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(i.isOfflineAuthenticated)return vt();let r=e.headers||new er,o=i.isProfessional;return nr(n.getServices().getAccessToken("")).pipe(Vo(l=>t(e.clone({url:`${a}${e.url}`,headers:r.set(Ar.authorization,Ga.getAuthorizationHeader(l)).set(Ar.userType,Ga.getUserType({isProfessional:o})).set(Ar.clientType,Q_()?Ga.clientType.mobileApp:Ga.clientType.webApp)}))))};function S_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var k_e=["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",S_e];function C_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var I_e=["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",C_e];function D_e(e){let t=Math.floor(Math.abs(e)),i=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&&i===0||!(n>=0&&n<=5)?4:5}var T_e=["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",D_e];function O_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var P_e=["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",O_e];zc(k_e,"de");zc(P_e,"nl");zc(T_e,"fr");zc(I_e,"en");var N_e=class{handleError(e){throw new Error(e)}},M_e=class extends t0e{getFirstDayOfWeek(){return 1}format(e){return Ha(e,"dd/MM/yyyy")}parse(e){return Y_(e,"dd/MM/yyyy",new Date)}},R_e={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"}}},A_e=[Pye(),$fe(Yfe([E_e])),B1e(),{provide:ai,useClass:N_e},{provide:z1,useClass:M_e,deps:[Kd]},{provide:Uge,useValue:R_e},{provide:h_,useClass:Nye},{provide:t_,useValue:{panelClass:"mh-dialog-container"}}],L_e=u0(mre(),1),F_e=new se("MESSAGE_FORMAT_CONFIG"),j_e={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},V_e=(()=>{const t=class t extends Ts{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:r,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:h}=ue(ue({},j_e),n);this.messageFormatOptions={customFormatters:a,biDiSupport:r,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=h}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(a).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${n}'`),r=z_e(n,a)}return this.throwOnError||(r=B_e(r,n)),r}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((r,o)=>{let l=n[o];return r[o]=this.compileTranslations(l,a),r},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new L_e.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(pe(F_e,8))},t.ɵprov=W({token:t,factory:t.ɵfac});let e=t;return e})();function B_e(e,t){return i=>{let n=t;try{n=e(i)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${i}'`)}return n}}function z_e(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var ix={};K(ix,{"00001":()=>ax,"00002":()=>rx,"00003":()=>ox,"00004":()=>sx,"00005":()=>lx,"00006":()=>cx,"00007":()=>ux,"00008":()=>dx,"00009":()=>hx,"00010":()=>px,"00011":()=>mx,"00012":()=>fx,"00013":()=>gx,"00014":()=>vx,"00015":()=>yx,"00016":()=>bx,"00017":()=>_x,"00018":()=>xx,"00019":()=>wx,"00020":()=>Ex,"00021":()=>Sx,"00022":()=>kx,"00023":()=>Cx,"00024":()=>Ix,"00025":()=>Dx,"00026":()=>Tx,"00027":()=>Ox,"00028":()=>Px,"00029":()=>Nx,"00030":()=>Mx,ampoule:()=>rw,bandage:()=>ew,bottle:()=>ow,box:()=>nw,cm:()=>Rx,default:()=>H_e,dropsperminute:()=>Ax,"effervescent-tablet":()=>Xx,gm:()=>Lx,internationalunits:()=>Fx,iu:()=>Kx,liter:()=>iw,"mck/h":()=>jx,"mck/kg/minute":()=>Vx,measure:()=>Bx,meq:()=>Yx,mg:()=>qx,"mg/h":()=>zx,"mg/ml":()=>$x,micrograms:()=>Qx,miu:()=>Zx,"ml/h":()=>Hx,mmol:()=>Jx,piece:()=>tw,syringe:()=>aw,"syringe-ampoule":()=>sw,tbl:()=>Ux,tsp:()=>Gx,"unt/h":()=>Wx});var ax="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",rx="{count, plural, one{Ampulle} other{Ampullen}}",ox="anwenden",sx="{count, plural, one{Kapsel} other{Kapseln}}",lx="{count, plural, one{Tablette} other{Tabletten}}",cx="Dosis",ux="{count, plural, one{Tropf} other{Tropfen}}",dx="{count, plural, one{Fläsche} other{Fläschchen}}",hx="{count, plural, one{Implantat} other{Implantate}}",px="{count, plural, one{Infusion} other{Infusionen}}",mx="{count, plural, one{Inhalation} other{Inhalationen}}",fx="Einstechen",gx="Kaugummi",vx="{count, plural, one{Kompresse} other{Kompressen}}",yx="{count, plural, one{Einlauf} other{Einläufe}}",bx="ml",_x="Ov.",xx="{count, plural, one{Perle} other{Perlen}}",wx="{count, plural, one{Pastille} other{Pastillen}}",Ex="Pflaster",Sx="cart",kx="Pen",Cx="{count, plural, one{Puff} other{Puffs}}",Ix="{count, plural, one{Schwamm} other{Schwämme}}",Dx="{count, plural, one{Stift} other{Stifte}}",Tx="Suppo",Ox="Tube",Px="{count, plural, one{Docht} other{Dochte}}",Nx="Beutel",Mx="Beutel",Rx="Zentimeter",Ax="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",Lx="Gramm",Fx="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",jx="Mikrogramm pro Stunde",Vx="Mikrogramm pro Kilogramm pro Minute",Bx="Maß",zx="Miligramm pro Stunde",Hx="Milliliter pro Stunde",Ux="Esslöffel",Gx="Kaffeelöffel",Wx="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",qx="Milligramm",$x="Milligramm pro Millimeter",Yx="meq",Zx="miu",Kx="iu",Jx="mmol",Xx="effervescent-tablet",Qx="micrograms",ew="{count, plural, one{bandage} other{bandagen}}",tw="{count, plural, one{stück} other{stücke}}",nw="schachteln",iw="liter",aw="{count, plural, one{spritze} other{spritzen}}",rw="{count, plural, one{glühbirn} other{glühbirnen}}",ow="{count, plural, one{Fläsche} other{Fläschchen}}",sw="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",H_e={"00001":ax,"00002":rx,"00003":ox,"00004":sx,"00005":lx,"00006":cx,"00007":ux,"00008":dx,"00009":hx,"00010":px,"00011":mx,"00012":fx,"00013":gx,"00014":vx,"00015":yx,"00016":bx,"00017":_x,"00018":xx,"00019":wx,"00020":Ex,"00021":Sx,"00022":kx,"00023":Cx,"00024":Ix,"00025":Dx,"00026":Tx,"00027":Ox,"00028":Px,"00029":Nx,"00030":Mx,cm:Rx,dropsperminute:Ax,gm:Lx,internationalunits:Fx,"mck/h":jx,"mck/kg/minute":Vx,measure:Bx,"mg/h":zx,"ml/h":Hx,tbl:Ux,tsp:Gx,"unt/h":Wx,mg:qx,"mg/ml":$x,meq:Yx,miu:Zx,iu:Kx,mmol:Jx,"effervescent-tablet":Xx,micrograms:Qx,bandage:ew,piece:tw,box:nw,liter:iw,syringe:aw,ampoule:rw,bottle:ow,"syringe-ampoule":sw},lw={};K(lw,{"00001":()=>cw,"00002":()=>uw,"00003":()=>dw,"00004":()=>hw,"00005":()=>pw,"00006":()=>mw,"00007":()=>fw,"00008":()=>gw,"00009":()=>vw,"00010":()=>yw,"00011":()=>bw,"00012":()=>_w,"00013":()=>xw,"00014":()=>ww,"00015":()=>Ew,"00016":()=>Sw,"00017":()=>kw,"00018":()=>Cw,"00019":()=>Iw,"00020":()=>Dw,"00021":()=>Tw,"00022":()=>Ow,"00023":()=>Pw,"00024":()=>Nw,"00025":()=>Mw,"00026":()=>Rw,"00027":()=>Aw,"00028":()=>Lw,"00029":()=>Fw,"00030":()=>jw,ampoule:()=>uE,bandage:()=>rE,bottle:()=>dE,box:()=>sE,cm:()=>Vw,default:()=>U_e,dropsperminute:()=>Bw,"effervescent-tablet":()=>iE,gm:()=>zw,internationalunits:()=>Hw,iu:()=>tE,liter:()=>lE,"mck/h":()=>Uw,"mck/kg/minute":()=>Gw,measure:()=>Ww,meq:()=>Qw,mg:()=>Jw,"mg/h":()=>qw,"mg/ml":()=>Xw,micrograms:()=>aE,miu:()=>eE,"ml/h":()=>$w,mmol:()=>nE,piece:()=>oE,syringe:()=>cE,"syringe-ampoule":()=>hE,tbl:()=>Yw,tsp:()=>Zw,"unt/h":()=>Kw});var cw="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",uw="{count, plural, one{ampoule} other{ampoules}}",dw="applic.",hw="{count, plural, one{capsule} other{capsules}}",pw="{count, plural, one{tablet} other{tablets}}",mw="{count, plural, one{dose} other{doses}}",fw="{count, plural, one{drop} other{drops}}",gw="{count, plural, one{bottle} other{bottles}}",vw="{count, plural, one{implant} other{implants}}",yw="{count, plural, one{perfusion} other{perfusions}}",bw="{count, plural, one{inhalation} other{inhalations}}",_w="insert",xw="{count, plural, one{chewing gum} other{chewing gums}}",ww="{count, plural, one{compress} other{compresses}}",Ew="enema",Sw="ml",kw="{count, plural, one{ovule} other{ovules}}",Cw="{count, plural, one{pearl} other{pearls}}",Iw="{count, plural, one{pastille} other{pastilles}}",Dw="{count, plural, one{patch} other{patches}}",Tw="{count, plural, one{cartridge} other{cartridges}}",Ow="{count, plural, one{pen} other{pens}}",Pw="{count, plural, one{puff} other{puffs}}",Nw="{count, plural, one{sponge} other{sponges}}",Mw="{count, plural, one{stylo} other{stylos}}",Rw="{count, plural, one{supository} other{supositories}}",Aw="{count, plural, one{tube} other{tubes}}",Lw="{count, plural, one{wick} other{wicks}}",Fw="{count, plural, one{bag} other{bags}}",jw="{count, plural, one{small bag} other{small bags}}",Vw="centimeter",Bw="{count, plural, one{drop per minute} other{drops per minute}}",zw="gram",Hw="international units",Uw="microgram per hour",Gw="microgram per kilogram per minute",Ww="{count, plural, one{measure} other{measures}}",qw="milligram per hour",$w="milliliter per hour",Yw="{count, plural, one{tablespoon} other{tablespoons}}",Zw="{count, plural, one{teaspoon} other{teaspoons}}",Kw="{count, plural, one{unit per hour} other{units per hour}}",Jw="milligram",Xw="milligram per milliliter",Qw="milli-equivalent",eE="miu",tE="international units",nE="millimole",iE="{count, plural, one{effervescent tablet} other{effervescent tablets}}",aE="microgram",rE="{count, plural, one{bandage} other{bandages}}",oE="{count, plural, one{piece} other{pieces}}",sE="{count, plural, one{spray} other{sprays}}",lE="liter",cE="{count, plural, one{syringe} other{syringes}}",uE="{count, plural, one{ampoule} other{ampoules}}",dE="{count, plural, one{bottle} other{bottles}}",hE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",U_e={"00001":cw,"00002":uw,"00003":dw,"00004":hw,"00005":pw,"00006":mw,"00007":fw,"00008":gw,"00009":vw,"00010":yw,"00011":bw,"00012":_w,"00013":xw,"00014":ww,"00015":Ew,"00016":Sw,"00017":kw,"00018":Cw,"00019":Iw,"00020":Dw,"00021":Tw,"00022":Ow,"00023":Pw,"00024":Nw,"00025":Mw,"00026":Rw,"00027":Aw,"00028":Lw,"00029":Fw,"00030":jw,cm:Vw,dropsperminute:Bw,gm:zw,internationalunits:Hw,"mck/h":Uw,"mck/kg/minute":Gw,measure:Ww,"mg/h":qw,"ml/h":$w,tbl:Yw,tsp:Zw,"unt/h":Kw,mg:Jw,"mg/ml":Xw,meq:Qw,miu:eE,iu:tE,mmol:nE,"effervescent-tablet":iE,micrograms:aE,bandage:rE,piece:oE,box:sE,liter:lE,syringe:cE,ampoule:uE,bottle:dE,"syringe-ampoule":hE},pE={};K(pE,{"00001":()=>mE,"00002":()=>fE,"00003":()=>gE,"00004":()=>vE,"00005":()=>yE,"00006":()=>bE,"00007":()=>_E,"00008":()=>xE,"00009":()=>wE,"00010":()=>EE,"00011":()=>SE,"00012":()=>kE,"00013":()=>CE,"00014":()=>IE,"00015":()=>DE,"00016":()=>TE,"00017":()=>OE,"00018":()=>PE,"00019":()=>NE,"00020":()=>ME,"00021":()=>RE,"00022":()=>AE,"00023":()=>LE,"00024":()=>FE,"00025":()=>jE,"00026":()=>VE,"00027":()=>BE,"00028":()=>zE,"00029":()=>HE,"00030":()=>UE,ampoule:()=>fS,bandage:()=>uS,bottle:()=>gS,box:()=>hS,cm:()=>GE,default:()=>G_e,dropsperminute:()=>WE,"effervescent-tablet":()=>lS,gm:()=>qE,internationalunits:()=>$E,iu:()=>oS,liter:()=>pS,"mck/h":()=>YE,"mck/kg/minute":()=>ZE,measure:()=>KE,meq:()=>aS,mg:()=>nS,"mg/h":()=>JE,"mg/ml":()=>iS,micrograms:()=>cS,miu:()=>rS,"ml/h":()=>XE,mmol:()=>sS,piece:()=>dS,syringe:()=>mS,"syringe-ampoule":()=>vS,tbl:()=>QE,tsp:()=>eS,"unt/h":()=>tS});var mE="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",fE="amp.",gE="applic.",vE="caps.",yE="compr.",bE="{count, plural, one{dose} other{doses}}",_E="{count, plural, one{goutte} other{gouttes}}",xE="flac.",wE="{count, plural, one{implant} other{implants}}",EE="{count, plural, one{perfusion} other{perfusions}}",SE="{count, plural, one{inhalation} other{inhalations}}",kE="insert",CE="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",IE="{count, plural, one{compres(se)} other{compres(ses)}}",DE="{count, plural, one{lavement} other{lavements}}",TE="ml",OE="ov.",PE="{count, plural, one{perle} other{perles}}",NE="{count, plural, one{pastille} other{pastilles}}",ME="{count, plural, one{patch} other{patchs}}",RE="patr.",AE="{count, plural, one{stylo} other{stylos}}",LE="{count, plural, one{puff} other{puffs}}",FE="{count, plural, one{éponge} other{éponges}}",jE="{count, plural, one{stylo} other{stylos}}",VE="suppo",BE="{count, plural, one{tube} other{tubes}}",zE="{count, plural, one{mèche} other{mèches}}",HE="{count, plural, one{sac} other{sacs}}",UE="{count, plural, one{sachet} other{sachets}}",GE="{count, plural, one{centimètre} other{centimètres}}",WE="{count, plural, one{goute par minute} other{goutes par minute}}",qE="{count, plural, one{gramme} other{grammes}}",$E="{count, plural, one{unité internationales} other{unités internationales}}",YE="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",ZE="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",KE="{count, plural, one{mesure} other{mesures}}",JE="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",XE="{count, plural, one{millilitre par heure} other{millilitres par heure}}",QE="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",eS="{count, plural, one{cuillère à café} other{cuillères à café}}",tS="{count, plural, one{unité par heure} other{unités par heure}}",nS="{count, plural, one{miligramme} other{miligrammes}}",iS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",aS="milli-équivalent",rS="miu",oS="{count, plural, one{unité internationales} other{unités internationales}}",sS="millimol",lS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",cS="{count, plural, one{microgramme} other{microgrammes}}",uS="{count, plural, one{bandage} other{bandages}}",dS="{count, plural, one{pièce} other{pièces}}",hS="{count, plural, one{vaporisateur} other{vaporisateurs}}",pS="{count, plural, one{litre} other{litres}}",mS="{count, plural, one{seringue} other{seringues}}",fS="{count, plural, one{ampoule} other{ampoules}}",gS="{count, plural, one{fiole} other{fioles}}",vS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",G_e={"00001":mE,"00002":fE,"00003":gE,"00004":vE,"00005":yE,"00006":bE,"00007":_E,"00008":xE,"00009":wE,"00010":EE,"00011":SE,"00012":kE,"00013":CE,"00014":IE,"00015":DE,"00016":TE,"00017":OE,"00018":PE,"00019":NE,"00020":ME,"00021":RE,"00022":AE,"00023":LE,"00024":FE,"00025":jE,"00026":VE,"00027":BE,"00028":zE,"00029":HE,"00030":UE,cm:GE,dropsperminute:WE,gm:qE,internationalunits:$E,"mck/h":YE,"mck/kg/minute":ZE,measure:KE,"mg/h":JE,"ml/h":XE,tbl:QE,tsp:eS,"unt/h":tS,mg:nS,"mg/ml":iS,meq:aS,miu:rS,iu:oS,mmol:sS,"effervescent-tablet":lS,micrograms:cS,bandage:uS,piece:dS,box:hS,liter:pS,syringe:mS,ampoule:fS,bottle:gS,"syringe-ampoule":vS},yS={};K(yS,{"00001":()=>bS,"00002":()=>_S,"00003":()=>xS,"00004":()=>wS,"00005":()=>ES,"00006":()=>SS,"00007":()=>kS,"00008":()=>CS,"00009":()=>IS,"00010":()=>DS,"00011":()=>TS,"00012":()=>OS,"00013":()=>PS,"00014":()=>NS,"00015":()=>MS,"00016":()=>RS,"00017":()=>AS,"00018":()=>LS,"00019":()=>FS,"00020":()=>jS,"00021":()=>VS,"00022":()=>BS,"00023":()=>zS,"00024":()=>HS,"00025":()=>US,"00026":()=>GS,"00027":()=>WS,"00028":()=>qS,"00029":()=>$S,"00030":()=>YS,ampoule:()=>_k,bandage:()=>fk,bottle:()=>xk,box:()=>vk,cm:()=>ZS,default:()=>W_e,dropsperminute:()=>KS,"effervescent-tablet":()=>pk,gm:()=>JS,internationalunits:()=>XS,iu:()=>dk,liter:()=>yk,"mck/h":()=>QS,"mck/kg/minute":()=>ek,measure:()=>tk,meq:()=>ck,mg:()=>sk,"mg/h":()=>nk,"mg/ml":()=>lk,micrograms:()=>mk,miu:()=>uk,"ml/h":()=>ik,mmol:()=>hk,piece:()=>gk,syringe:()=>bk,"syringe-ampoule":()=>wk,tbl:()=>ak,tsp:()=>rk,"unt/h":()=>ok});var bS="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",_S="{count, plural, one{ampule} other{ampullen}}",xS="aanbrengen",wS="{count, plural, one{capsule} other{capsules}}",ES="{count, plural, one{tablet} other{tabletten}}",SS="{count, plural, one{dose} other{dosissen}}",kS="{count, plural, one{druppel} other{druppels}}",CS="{count, plural, one{flesje} other{flesjes}}",IS="{count, plural, one{implantaat} other{implantaten}}",DS="{count, plural, one{infuus} other{infusen}}",TS="{count, plural, one{inhalatie} other{inhalaties}}",OS="inbrengen",PS="{count, plural, one{kauwgom} other{kauwgommen}}",NS="{count, plural, one{kompres} other{kompressen}}",MS="lavement",RS="ml",AS="{count, plural, one{ovule} other{ovules}}",LS="{count, plural, one{parel} other{parels}}",FS="{count, plural, one{pastille} other{pastilles}}",jS="{count, plural, one{pleister} other{pleisters}}",VS="{count, plural, one{patroon} other{patronen}}",BS="{count, plural, one{pen} other{pennen}}",zS="{count, plural, one{puff} other{puffs}}",HS="{count, plural, one{spons} other{sponsen}}",US="{count, plural, one{stylo} other{stylos}}",GS="{count, plural, one{zetpil} other{zetpillen}}",WS="{count, plural, one{tube} other{tubes}}",qS="{count, plural, one{wiek} other{wieken}}",$S="{count, plural, one{zak} other{zakken}}",YS="{count, plural, one{zakje} other{zakjes}}",ZS="centimeter",KS="{count, plural, one{druppel per minuut} other{druppels per minuut}}",JS="gram",XS="internationale eenheden",QS="microgram per uur",ek="microgram per kilogram per minuut",tk="{count, plural, one{maat} other{maten}}",nk="milligram per uur",ik="milliliter per uur",ak="{count, plural, one{eetlepel} other{eetlepels}}",rk="{count, plural, one{koffielepel} other{koffielepels}}",ok="{count, plural, one{eenheid per uur} other{eenheden per uur}}",sk="miligram",lk="miligram per milimeter",ck="milli-equivalent",uk="miu",dk="internationale eenheden",hk="millimol",pk="{count, plural, one{bruistablet} other{bruistabletten}}",mk="microgram",fk="{count, plural, one{verband} other{verbanden}}",gk="{count, plural, one{stuk} other{stuks}}",vk="{count, plural, one{verstuiving} other{verstuivingen}}",yk="liter",bk="{count, plural, one{spuit} other{spuiten}}",_k="{count, plural, one{ampul} other{ampullen}}",xk="{count, plural, one{fles} other{flessen}}",wk="{count, plural, one{spuitampul} other{spuitampullen}}",W_e={"00001":bS,"00002":_S,"00003":xS,"00004":wS,"00005":ES,"00006":SS,"00007":kS,"00008":CS,"00009":IS,"00010":DS,"00011":TS,"00012":OS,"00013":PS,"00014":NS,"00015":MS,"00016":RS,"00017":AS,"00018":LS,"00019":FS,"00020":jS,"00021":VS,"00022":BS,"00023":zS,"00024":HS,"00025":US,"00026":GS,"00027":WS,"00028":qS,"00029":$S,"00030":YS,cm:ZS,dropsperminute:KS,gm:JS,internationalunits:XS,"mck/h":QS,"mck/kg/minute":ek,measure:tk,"mg/h":nk,"ml/h":ik,tbl:ak,tsp:rk,"unt/h":ok,mg:sk,"mg/ml":lk,meq:ck,miu:uk,iu:dk,mmol:hk,"effervescent-tablet":pk,micrograms:mk,bandage:fk,piece:gk,box:vk,liter:yk,syringe:bk,ampoule:_k,bottle:xk,"syringe-ampoule":wk},q_e={nl:yS,fr:pE,de:ix,en:lw},Ek={};K(Ek,{default:()=>$_e,friday:()=>Dk,monday:()=>Sk,saturday:()=>Tk,sunday:()=>Ok,thursday:()=>Ik,tuesday:()=>kk,wednesday:()=>Ck});var Sk="Montag",kk="Dienstag",Ck="Mittwoch",Ik="Donnerstag",Dk="Freitag",Tk="Samstag",Ok="Sonntag",$_e={monday:Sk,tuesday:kk,wednesday:Ck,thursday:Ik,friday:Dk,saturday:Tk,sunday:Ok},Pk={};K(Pk,{default:()=>Y_e,friday:()=>Lk,monday:()=>Nk,saturday:()=>Fk,sunday:()=>jk,thursday:()=>Ak,tuesday:()=>Mk,wednesday:()=>Rk});var Nk="Monday",Mk="Tuesday",Rk="Wednesday",Ak="Thursday",Lk="Friday",Fk="Saturday",jk="Sunday",Y_e={monday:Nk,tuesday:Mk,wednesday:Rk,thursday:Ak,friday:Lk,saturday:Fk,sunday:jk},Vk={};K(Vk,{default:()=>Z_e,friday:()=>Gk,monday:()=>Bk,saturday:()=>Wk,sunday:()=>qk,thursday:()=>Uk,tuesday:()=>zk,wednesday:()=>Hk});var Bk="Lundi",zk="Mardi",Hk="Mercredi",Uk="Jeudi",Gk="Vendredi",Wk="Samedi",qk="Dimanche",Z_e={monday:Bk,tuesday:zk,wednesday:Hk,thursday:Uk,friday:Gk,saturday:Wk,sunday:qk},$k={};K($k,{default:()=>K_e,friday:()=>Xk,monday:()=>Yk,saturday:()=>Qk,sunday:()=>eC,thursday:()=>Jk,tuesday:()=>Zk,wednesday:()=>Kk});var Yk="Maandag",Zk="Dinsdag",Kk="Woensdag",Jk="Donderdag",Xk="Vrijdag",Qk="Zaterdag",eC="Zondag",K_e={monday:Yk,tuesday:Zk,wednesday:Kk,thursday:Jk,friday:Xk,saturday:Qk,sunday:eC},J_e={nl:$k,fr:Vk,de:Ek,en:Pk},tC={};K(tC,{VIDIS_0035:()=>nC,VIDIS_0050:()=>iC,VIDIS_0090:()=>aC,VIDIS_0100:()=>RC,VIDIS_0110:()=>LC,VIDIS_0120:()=>AC,VIDIS_0121:()=>rC,VIDIS_0122:()=>oC,VIDIS_0123:()=>sC,VIDIS_0124:()=>lC,VIDIS_0125:()=>cC,VIDIS_0126:()=>uC,VIDIS_0131:()=>dC,VIDIS_0132:()=>hC,VIDIS_0133:()=>pC,VIDIS_0134:()=>mC,VIDIS_0135:()=>fC,VIDIS_0136:()=>gC,VIDIS_0190:()=>vC,VIDIS_0200:()=>FC,VIDIS_0210:()=>yC,VIDIS_0211:()=>bC,VIDIS_0230:()=>_C,VIDIS_0290:()=>xC,VIDIS_0330:()=>wC,VIDIS_0340:()=>jC,VIDIS_0341:()=>VC,VIDIS_0400:()=>NC,VIDIS_04001:()=>BC,VIDIS_0435:()=>EC,VIDIS_0440:()=>SC,VIDIS_3030:()=>MC,VIDIS_3090:()=>DC,VIDIS_3100:()=>OC,VIDIS_3120:()=>PC,VIDIS_3140:()=>TC,VIDIS_3150:()=>IC,VIDIS_5000:()=>kC,VIDIS_7000:()=>CC,"action-not-authorized-close-button":()=>s2,"action-not-authorized-title":()=>o2,"data-not-available-title":()=>r2,default:()=>X_e,general:()=>HC,"has-hidden-prescriptions":()=>KC,"incorrect-elements-ms-detail":()=>c2,"incorrect-elements-ms-list":()=>l2,invalid_date_format:()=>$C,myHealth:()=>GC,myHealthUrl:()=>WC,network_error:()=>qC,"no-access":()=>UC,prescriptionList:()=>zC,"report-message-confirm-toast":()=>a2,"report-message-content":()=>QC,"report-message-explanation":()=>XC,"report-message-ignore-button":()=>i2,"report-message-link":()=>t2,"report-message-report-button":()=>n2,"report-message-term-use":()=>e2,"report-message-title":()=>JC,"status-message-content":()=>ZC,"status-message-title":()=>YC});var nC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",iC="Die Patienten-INSS fehlt. (VIDIS_0050)",aC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",rC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",oC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",sC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",lC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",cC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",uC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",dC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",hC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",pC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",mC="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",fC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",gC="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",vC="Ungültige INSS-Patientennummer. (VIDIS_0190)",yC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",bC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",_C="Der Vorgang ist ungültig (VIDIS_0230)",xC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',wC="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)",EC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",SC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",kC="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",CC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",IC="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",DC="Das Rezept ist abgelaufen.",TC="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.",OC="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",PC="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",NC="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",MC="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",RC="Vorgang nicht erlaubt.",AC="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",LC="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",FC="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",jC="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.",VC="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.",BC="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",zC="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",HC="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",UC="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",GC="Zurück zum Portal Meine Gesundheit",WC="https://wwwint.meinegesundheit.belgien.be/#/",qC="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",$C="Ungültiges Datumsformat.",YC="Dienst vorübergehend nicht verfügbar",ZC=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
33
- Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,KC="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",JC="Technisches Problem",XC="Bitte versuchen Sie es später noch einmal.",QC="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",e2="unsere Nutzungsbedingungen",t2="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",n2="Problem melden",i2="Nicht melden",a2="Das Problem wurde gemeldet",r2="Daten nicht verfügbar",o2="Aktion nicht erlaubt",s2="Schließen",l2="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",c2="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",X_e={VIDIS_0035:nC,VIDIS_0050:iC,VIDIS_0090:aC,VIDIS_0121:rC,VIDIS_0122:oC,VIDIS_0123:sC,VIDIS_0124:lC,VIDIS_0125:cC,VIDIS_0126:uC,VIDIS_0131:dC,VIDIS_0132:hC,VIDIS_0133:pC,VIDIS_0134:mC,VIDIS_0135:fC,VIDIS_0136:gC,VIDIS_0190:vC,VIDIS_0210:yC,VIDIS_0211:bC,VIDIS_0230:_C,VIDIS_0290:xC,VIDIS_0330:wC,VIDIS_0435:EC,VIDIS_0440:SC,VIDIS_5000:kC,VIDIS_7000:CC,VIDIS_3150:IC,VIDIS_3090:DC,VIDIS_3140:TC,VIDIS_3100:OC,VIDIS_3120:PC,VIDIS_0400:NC,VIDIS_3030:MC,VIDIS_0100:RC,VIDIS_0120:AC,VIDIS_0110:LC,VIDIS_0200:FC,VIDIS_0340:jC,VIDIS_0341:VC,VIDIS_04001:BC,prescriptionList:zC,general:HC,"no-access":UC,myHealth:GC,myHealthUrl:WC,network_error:qC,invalid_date_format:$C,"status-message-title":YC,"status-message-content":ZC,"has-hidden-prescriptions":KC,"report-message-title":JC,"report-message-explanation":XC,"report-message-content":QC,"report-message-term-use":e2,"report-message-link":t2,"report-message-report-button":n2,"report-message-ignore-button":i2,"report-message-confirm-toast":a2,"data-not-available-title":r2,"action-not-authorized-title":o2,"action-not-authorized-close-button":s2,"incorrect-elements-ms-list":l2,"incorrect-elements-ms-detail":c2},u2={};K(u2,{VIDIS_0035:()=>d2,VIDIS_0050:()=>h2,VIDIS_0090:()=>p2,VIDIS_0100:()=>U2,VIDIS_0110:()=>W2,VIDIS_0120:()=>G2,VIDIS_0121:()=>m2,VIDIS_0122:()=>f2,VIDIS_0123:()=>g2,VIDIS_0124:()=>v2,VIDIS_0125:()=>y2,VIDIS_0126:()=>b2,VIDIS_0131:()=>_2,VIDIS_0132:()=>x2,VIDIS_0133:()=>w2,VIDIS_0134:()=>E2,VIDIS_0135:()=>S2,VIDIS_0136:()=>k2,VIDIS_0190:()=>C2,VIDIS_0200:()=>q2,VIDIS_0210:()=>I2,VIDIS_0211:()=>D2,VIDIS_0230:()=>T2,VIDIS_0290:()=>O2,VIDIS_0330:()=>P2,VIDIS_0340:()=>$2,VIDIS_0341:()=>Y2,VIDIS_0400:()=>z2,VIDIS_04001:()=>Z2,VIDIS_0435:()=>N2,VIDIS_0440:()=>M2,VIDIS_3030:()=>H2,VIDIS_3090:()=>F2,VIDIS_3100:()=>V2,VIDIS_3120:()=>B2,VIDIS_3140:()=>j2,VIDIS_3150:()=>L2,VIDIS_5000:()=>R2,VIDIS_7000:()=>A2,"action-not-authorized-close-button":()=>gI,"action-not-authorized-title":()=>fI,"data-not-available-title":()=>mI,default:()=>Q_e,general:()=>J2,"has-hidden-prescriptions":()=>rI,"incorrect-elements-ms-detail":()=>yI,"incorrect-elements-ms-list":()=>vI,invalid_date_format:()=>nI,myHealth:()=>Q2,myHealthUrl:()=>eI,network_error:()=>tI,"no-access":()=>X2,prescriptionList:()=>K2,"report-message-confirm-toast":()=>pI,"report-message-content":()=>lI,"report-message-explanation":()=>sI,"report-message-ignore-button":()=>hI,"report-message-link":()=>uI,"report-message-report-button":()=>dI,"report-message-term-use":()=>cI,"report-message-title":()=>oI,"status-message-content":()=>aI,"status-message-title":()=>iI});var d2="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",h2="The patient's NISS number is missing (VIDIS_0050)",p2="The personal information provided was not recognised. (VIDIS_0090)",m2="Consulting data of a Brussels patient is currently not authorised.",f2="Consulting data of a Walloon patient is currently not authorised.",g2="Consulting data of a Brussels child by a parent is currently not authorised.",v2="Consulting data of a Walloon child by a parent is currently not authorised.",y2="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",b2="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",_2="Access to the data of a Brussels patient is currently not permitted.",x2="Access to the data of a Walloon patient is currently not permitted.",w2="A parent’s access to the data of a Brussels child is currently not permitted.",E2="A parent’s access to the data of a Walloon child is currently not permitted.",S2="A representative’s access to the data of a Brussels patient is currently not permitted.",k2="A representative’s access to the data of a Walloon patient is currently not permitted.",C2="The patient's NISS number is invalid. (VIDIS_0190)",I2="The login was unsuccessful. Please try again. (VIDIS_0210)",D2="The login was unsuccessful. Please try again. (VIDIS_0211)",T2="The request is invalid. (VIDIS_0230)",O2="User role must be citizen. (VIDIS_0290)",P2="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)",N2="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",M2="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",R2="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",A2="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",L2="No mandate found between patient and mandateholder.",F2="Prescription has expired.",j2="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.",V2="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",B2="The patient in the session is different from the patient in the request.",z2="User is not authorized to make the request.",H2="No mandate found between patient and mandateholder.",U2="Operation is not allowed.",G2="A therapeutic relation between the requester and the patient is not available.",W2="There is no consent to share personal health information.",q2="User is not allowed to perform the operation due to an exclusion between requester and patient.",$2="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",Y2="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",Z2="Your request is invalid. Please try again later.",K2="Unfortunately the details of the prescription could not be retrieved. Please try again.",J2="An internal technical error has occured. Please try again later.",X2="An internal technical error has occured. Please try again later.",Q2="Back to the MyHealth portal.",eI="https://www.myhealth.belgium.be/",tI="A network error unfortunately has occured. Please contact your network manager if the problem persists.",nI="Invalid date format.",iI="Service temporarily unavailable",aI=`We are currently having a problem connecting to the server.
34
- Please try again later.`,rI="The patient has hidden one or more prescriptions.",oI="Technical problem",sI="Please try again later.",lI="Help us identify and resolve the issue. By reporting it, you accept ",cI="our terms of use",uI="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",dI="Report the problem",hI="Don't report",pI="The problem has been reported",mI="Data not available",fI="Action not authorized",gI="Close",vI="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",yI="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",Q_e={VIDIS_0035:d2,VIDIS_0050:h2,VIDIS_0090:p2,VIDIS_0121:m2,VIDIS_0122:f2,VIDIS_0123:g2,VIDIS_0124:v2,VIDIS_0125:y2,VIDIS_0126:b2,VIDIS_0131:_2,VIDIS_0132:x2,VIDIS_0133:w2,VIDIS_0134:E2,VIDIS_0135:S2,VIDIS_0136:k2,VIDIS_0190:C2,VIDIS_0210:I2,VIDIS_0211:D2,VIDIS_0230:T2,VIDIS_0290:O2,VIDIS_0330:P2,VIDIS_0435:N2,VIDIS_0440:M2,VIDIS_5000:R2,VIDIS_7000:A2,VIDIS_3150:L2,VIDIS_3090:F2,VIDIS_3140:j2,VIDIS_3100:V2,VIDIS_3120:B2,VIDIS_0400:z2,VIDIS_3030:H2,VIDIS_0100:U2,VIDIS_0120:G2,VIDIS_0110:W2,VIDIS_0200:q2,VIDIS_0340:$2,VIDIS_0341:Y2,VIDIS_04001:Z2,prescriptionList:K2,general:J2,"no-access":X2,myHealth:Q2,myHealthUrl:eI,network_error:tI,invalid_date_format:nI,"status-message-title":iI,"status-message-content":aI,"has-hidden-prescriptions":rI,"report-message-title":oI,"report-message-explanation":sI,"report-message-content":lI,"report-message-term-use":cI,"report-message-link":uI,"report-message-report-button":dI,"report-message-ignore-button":hI,"report-message-confirm-toast":pI,"data-not-available-title":mI,"action-not-authorized-title":fI,"action-not-authorized-close-button":gI,"incorrect-elements-ms-list":vI,"incorrect-elements-ms-detail":yI},bI={};K(bI,{VIDIS_0035:()=>_I,VIDIS_0050:()=>xI,VIDIS_0090:()=>wI,VIDIS_0100:()=>XI,VIDIS_0110:()=>eD,VIDIS_0120:()=>QI,VIDIS_0121:()=>EI,VIDIS_0122:()=>SI,VIDIS_0123:()=>kI,VIDIS_0124:()=>CI,VIDIS_0125:()=>II,VIDIS_0126:()=>DI,VIDIS_0131:()=>TI,VIDIS_0132:()=>OI,VIDIS_0133:()=>PI,VIDIS_0134:()=>NI,VIDIS_0135:()=>MI,VIDIS_0136:()=>RI,VIDIS_0190:()=>AI,VIDIS_0200:()=>tD,VIDIS_0210:()=>LI,VIDIS_0211:()=>FI,VIDIS_0230:()=>jI,VIDIS_0290:()=>VI,VIDIS_0330:()=>BI,VIDIS_0340:()=>nD,VIDIS_0341:()=>iD,VIDIS_0400:()=>KI,VIDIS_04001:()=>aD,VIDIS_0435:()=>zI,VIDIS_0440:()=>HI,VIDIS_3030:()=>JI,VIDIS_3090:()=>qI,VIDIS_3100:()=>YI,VIDIS_3120:()=>ZI,VIDIS_3140:()=>$I,VIDIS_3150:()=>WI,VIDIS_5000:()=>UI,VIDIS_7000:()=>GI,"action-not-authorized-close-button":()=>kD,"action-not-authorized-title":()=>SD,"data-not-available-title":()=>ED,default:()=>exe,general:()=>oD,"has-hidden-prescriptions":()=>mD,"incorrect-elements-ms-detail":()=>ID,"incorrect-elements-ms-list":()=>CD,invalid_date_format:()=>dD,myHealth:()=>lD,myHealthUrl:()=>cD,network_error:()=>uD,"no-access":()=>sD,prescriptionList:()=>rD,"report-message-confirm-toast":()=>wD,"report-message-content":()=>vD,"report-message-explanation":()=>gD,"report-message-ignore-button":()=>xD,"report-message-link":()=>bD,"report-message-report-button":()=>_D,"report-message-term-use":()=>yD,"report-message-title":()=>fD,"status-message-content":()=>pD,"status-message-title":()=>hD});var _I="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",xI="Le NISS du patient est manquant. (VIDIS_0050)",wI="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",EI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",SI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",kI="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.",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.",DI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",TI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",OI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",PI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",NI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",MI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",RI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",AI="Le NISS du patient n’est pas valide. (VIDIS_0190)",LI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",FI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",jI="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)",zI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",HI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",UI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",GI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",WI="Aucun mandat trouvé entre le patient et le mandataire.",qI="L’ordonnance est expirée.",$I="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",YI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",ZI="Le patient dans la session est différent de celui dans la demande.",KI="L’utilisateur n’est pas autorisé à effectuer la requête.",JI="Aucun mandat trouvé entre le patient et le mandataire.",XI="Opération non autorisée.",QI="Aucune relation thérapeutique entre le demandeur et le patient.",eD="Aucun consentement au partage des données de santé.",tD="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",nD="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",iD="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",aD="Votre requête est invalide. Veuillez réessayer plus tard.",rD="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",oD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",sD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",lD="Revenir au portail MaSanté",cD="https://wwwint.masante.belgique.be/#/",uD="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",dD="Le format de date est invalide.",hD="Service temporairement indisponible",pD=`Nous rencontrons actuellement un problème de connexion au serveur.
35
- Veuillez réessayer plus tard.`,mD="Le patient a masqué une ou plusieurs prescriptions.",fD="Problème technique",gD="Veuillez réessayer plus tard.",vD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",yD="conditions d'utilisation",bD="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",_D="Signaler le problème",xD="Ignorer",wD="Le problème a été signalé",ED="Données non disponibles",SD="Action non autorisée",kD="Fermer",CD="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",ID="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",exe={VIDIS_0035:_I,VIDIS_0050:xI,VIDIS_0090:wI,VIDIS_0121:EI,VIDIS_0122:SI,VIDIS_0123:kI,VIDIS_0124:CI,VIDIS_0125:II,VIDIS_0126:DI,VIDIS_0131:TI,VIDIS_0132:OI,VIDIS_0133:PI,VIDIS_0134:NI,VIDIS_0135:MI,VIDIS_0136:RI,VIDIS_0190:AI,VIDIS_0210:LI,VIDIS_0211:FI,VIDIS_0230:jI,VIDIS_0290:VI,VIDIS_0330:BI,VIDIS_0435:zI,VIDIS_0440:HI,VIDIS_5000:UI,VIDIS_7000:GI,VIDIS_3150:WI,VIDIS_3090:qI,VIDIS_3140:$I,VIDIS_3100:YI,VIDIS_3120:ZI,VIDIS_0400:KI,VIDIS_3030:JI,VIDIS_0100:XI,VIDIS_0120:QI,VIDIS_0110:eD,VIDIS_0200:tD,VIDIS_0340:nD,VIDIS_0341:iD,VIDIS_04001:aD,prescriptionList:rD,general:oD,"no-access":sD,myHealth:lD,myHealthUrl:cD,network_error:uD,invalid_date_format:dD,"status-message-title":hD,"status-message-content":pD,"has-hidden-prescriptions":mD,"report-message-title":fD,"report-message-explanation":gD,"report-message-content":vD,"report-message-term-use":yD,"report-message-link":bD,"report-message-report-button":_D,"report-message-ignore-button":xD,"report-message-confirm-toast":wD,"data-not-available-title":ED,"action-not-authorized-title":SD,"action-not-authorized-close-button":kD,"incorrect-elements-ms-list":CD,"incorrect-elements-ms-detail":ID},DD={};K(DD,{VIDIS_0035:()=>TD,VIDIS_0050:()=>OD,VIDIS_0090:()=>PD,VIDIS_0100:()=>sT,VIDIS_0110:()=>cT,VIDIS_0120:()=>lT,VIDIS_0121:()=>ND,VIDIS_0122:()=>MD,VIDIS_0123:()=>RD,VIDIS_0124:()=>AD,VIDIS_0125:()=>LD,VIDIS_0126:()=>FD,VIDIS_0131:()=>jD,VIDIS_0132:()=>VD,VIDIS_0133:()=>BD,VIDIS_0134:()=>zD,VIDIS_0135:()=>HD,VIDIS_0136:()=>UD,VIDIS_0190:()=>GD,VIDIS_0200:()=>uT,VIDIS_0210:()=>WD,VIDIS_0211:()=>qD,VIDIS_0230:()=>$D,VIDIS_0290:()=>YD,VIDIS_0330:()=>ZD,VIDIS_0340:()=>dT,VIDIS_0341:()=>hT,VIDIS_0400:()=>rT,VIDIS_04001:()=>pT,VIDIS_0435:()=>KD,VIDIS_0440:()=>JD,VIDIS_3030:()=>oT,VIDIS_3090:()=>tT,VIDIS_3100:()=>iT,VIDIS_3120:()=>aT,VIDIS_3140:()=>nT,VIDIS_3150:()=>eT,VIDIS_5000:()=>XD,VIDIS_7000:()=>QD,"action-not-authorized-close-button":()=>RT,"action-not-authorized-title":()=>MT,"data-not-available-title":()=>NT,default:()=>txe,general:()=>fT,"has-hidden-prescriptions":()=>ET,"incorrect-elements-ms-detail":()=>LT,"incorrect-elements-ms-list":()=>AT,invalid_date_format:()=>_T,myHealth:()=>vT,myHealthUrl:()=>yT,network_error:()=>bT,"no-access":()=>gT,prescriptionList:()=>mT,"report-message-confirm-toast":()=>PT,"report-message-content":()=>CT,"report-message-explanation":()=>kT,"report-message-ignore-button":()=>OT,"report-message-link":()=>DT,"report-message-report-button":()=>TT,"report-message-term-use":()=>IT,"report-message-title":()=>ST,"status-message-content":()=>wT,"status-message-title":()=>xT});var TD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",OD="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",PD="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",ND="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",MD="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",RD="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",AD="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",LD="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",FD="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",jD="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",VD="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",BD="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",zD="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",HD="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",UD="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",GD="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",WD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",qD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",$D="Het verzoek is ongeldig. (VIDIS_0230)",YD="Gebruikersrol moet burger zijn. (VIDIS_0290)",ZD="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)",KD="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",JD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",XD="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",QD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",eT="Geen mandaat gevonden tussen patiënt en mandataris.",tT="Voorschrift is verlopen.",nT="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",iT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",aT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",rT="De gebruiker is niet gemachtigd om de aanvraag te doen.",oT="Geen mandaat gevonden tussen patiënt en mandataris.",sT="Bewerking is niet toegestaan.",lT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",cT="Er is geen toestemming om gezondheidsgegevens te delen.",uT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",dT="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be",hT="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be",pT="Uw verzoek is ongeldig. Probeer later opnieuw.",mT="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",fT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",gT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",vT="Terug naar het MijnGezondheid portaal",yT="http://wwwint.mijngezondheid.belgie.be/",bT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",_T="Ongeldig datumformaat.",xT="Service tijdelijk niet beschikbaar",wT=`Er is momenteel een probleem met de verbinding met de server.
36
- Probeer het later nog eens.`,ET="De patiënt heeft 1 of meerdere voorschriften verborgen.",ST="Technisch probleem",kT="Probeer het later opnieuw.",CT="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",IT="gebruiksvoorwaarden",DT="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",TT="Probleem melden",OT="Niet melden",PT="Het probleem is gemeld",NT="Gegevens niet beschikbaar",MT="Actie niet toegestaan",RT="Sluiten",AT="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",LT="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",txe={VIDIS_0035:TD,VIDIS_0050:OD,VIDIS_0090:PD,VIDIS_0121:ND,VIDIS_0122:MD,VIDIS_0123:RD,VIDIS_0124:AD,VIDIS_0125:LD,VIDIS_0126:FD,VIDIS_0131:jD,VIDIS_0132:VD,VIDIS_0133:BD,VIDIS_0134:zD,VIDIS_0135:HD,VIDIS_0136:UD,VIDIS_0190:GD,VIDIS_0210:WD,VIDIS_0211:qD,VIDIS_0230:$D,VIDIS_0290:YD,VIDIS_0330:ZD,VIDIS_0435:KD,VIDIS_0440:JD,VIDIS_5000:XD,VIDIS_7000:QD,VIDIS_3150:eT,VIDIS_3090:tT,VIDIS_3140:nT,VIDIS_3100:iT,VIDIS_3120:aT,VIDIS_0400:rT,VIDIS_3030:oT,VIDIS_0100:sT,VIDIS_0120:lT,VIDIS_0110:cT,VIDIS_0200:uT,VIDIS_0340:dT,VIDIS_0341:hT,VIDIS_04001:pT,prescriptionList:mT,general:fT,"no-access":gT,myHealth:vT,myHealthUrl:yT,network_error:bT,invalid_date_format:_T,"status-message-title":xT,"status-message-content":wT,"has-hidden-prescriptions":ET,"report-message-title":ST,"report-message-explanation":kT,"report-message-content":CT,"report-message-term-use":IT,"report-message-link":DT,"report-message-report-button":TT,"report-message-ignore-button":OT,"report-message-confirm-toast":PT,"data-not-available-title":NT,"action-not-authorized-title":MT,"action-not-authorized-close-button":RT,"incorrect-elements-ms-list":AT,"incorrect-elements-ms-detail":LT},nxe={nl:DD,fr:bI,de:tC,en:u2},FT={};K(FT,{close:()=>jT,default:()=>ixe,downloadLeaflet:()=>VT,file:()=>BT,medicationDetails:()=>$T,notSpecified:()=>zT,patient:()=>UT,prescribedOn:()=>WT,prescriber:()=>GT,prescription:()=>HT,seeDetails:()=>qT});var jT="Schließen",VT="Download Packungsbeilage (pdf)",BT="feile",zT="Nicht angegeben",HT="Rezept",UT="Patient",GT="Verordnende Person",WT="Drucken",qT="Details anzeigen",$T="Details zum Medikament",ixe={close:jT,downloadLeaflet:VT,file:BT,notSpecified:zT,prescription:HT,patient:UT,prescriber:GT,prescribedOn:WT,seeDetails:qT,medicationDetails:$T},YT={};K(YT,{close:()=>ZT,default:()=>axe,downloadLeaflet:()=>KT,file:()=>JT,medicationDetails:()=>aO,notSpecified:()=>XT,patient:()=>eO,prescribedOn:()=>nO,prescriber:()=>tO,prescription:()=>QT,seeDetails:()=>iO});var ZT="Close",KT="Download leaflet (pdf)",JT="file",XT="Not specified",QT="Prescription",eO="Patient",tO="Prescriber",nO="Prescribed on",iO="View details",aO="Details for the medication",axe={close:ZT,downloadLeaflet:KT,file:JT,notSpecified:XT,prescription:QT,patient:eO,prescriber:tO,prescribedOn:nO,seeDetails:iO,medicationDetails:aO},rO={};K(rO,{close:()=>oO,default:()=>rxe,downloadLeaflet:()=>sO,file:()=>lO,medicationDetails:()=>fO,notSpecified:()=>cO,patient:()=>dO,prescribedOn:()=>pO,prescriber:()=>hO,prescription:()=>uO,seeDetails:()=>mO});var oO="Fermer",sO="Télécharger la notice (pdf)",lO="fichier",cO="Non spécifié",uO="Prescription",dO="Patient",hO="Prescripteur",pO="Prescrit le",mO="Voir détails",fO="Détails pour le médicament",rxe={close:oO,downloadLeaflet:sO,file:lO,notSpecified:cO,prescription:uO,patient:dO,prescriber:hO,prescribedOn:pO,seeDetails:mO,medicationDetails:fO},gO={};K(gO,{close:()=>vO,default:()=>oxe,downloadLeaflet:()=>yO,file:()=>bO,medicationDetails:()=>CO,notSpecified:()=>_O,patient:()=>wO,prescribedOn:()=>SO,prescriber:()=>EO,prescription:()=>xO,seeDetails:()=>kO});var vO="Sluiten",yO="Download bijsluiter (pdf)",bO="bestand",_O="Niet gespecificeerd",xO="Voorschrift",wO="Patiënt",EO="Voorschrijver",SO="Voorgeschreven op",kO="Details bekijken",CO="Details voor het geneesmiddel",oxe={close:vO,downloadLeaflet:yO,file:bO,notSpecified:_O,prescription:xO,patient:wO,prescriber:EO,prescribedOn:SO,seeDetails:kO,medicationDetails:CO},sxe={nl:gO,fr:rO,de:FT,en:YT},IO={};K(IO,{D:()=>DO,DA:()=>TO,DD:()=>OO,DE:()=>PO,DN:()=>NO,DQ:()=>MO,DT:()=>RO,DV:()=>AO,DW:()=>LO,DX:()=>FO,DZ:()=>jO,J:()=>VO,JD:()=>BO,JH2:()=>zO,JQ:()=>HO,JT:()=>UO,JV:()=>GO,JZ:()=>WO,M:()=>qO,MA:()=>$O,MC:()=>YO,MD:()=>ZO,ME:()=>KO,MN:()=>JO,MQ:()=>XO,MS:()=>QO,MT:()=>eP,MV:()=>tP,MX:()=>nP,MZ2:()=>iP,O1:()=>aP,U:()=>oP,UA:()=>pP,UD:()=>lP,UE:()=>gP,UH:()=>rP,UN:()=>mP,UQ:()=>uP,US:()=>hP,UT:()=>sP,UV:()=>cP,UW:()=>vP,UX:()=>fP,UZ:()=>dP,W:()=>yP,WA:()=>bP,WD:()=>_P,WE:()=>xP,WN:()=>wP,WP:()=>EP,WQ:()=>SP,WS:()=>kP,WT:()=>CP,WV:()=>IP,WW:()=>DP,WX:()=>TP,WZ:()=>OP,default:()=>lxe,ondemand:()=>PP});var DO="Pro Tag",TO="Pro 8 Tagen",OO="Pro 3 Tagen",PO="Pro 11 Tagen",NO="Pro 9 Tagen",MO="Pro 5 Tagen",RO="Pro 2 Tagen",AO="Pro 4 Tagen",LO="Pro 12 Tagen",FO="Pro 10 Tagen",jO="Pro 6 Tagen",VO="Pro Jahre",BO="Pro 3 Jahren",zO="Pro halbes Jahre",HO="Pro 5 Jahren",UO="Pro 2 Jahren",GO="Pro 4 Jahren",WO="Pro 6 Jahren",qO="Pro Monat",$O="Pro 8 Monaten",YO="Pro 18 Monaten",ZO="Pro 3 Monaten",KO="Pro 11 Monaten",JO="Pro 9 Monaten",XO="Pro 5 Monaten",QO="Pro 7 Monaten",eP="Pro 2 Monaten",tP="Pro 4 Monaten",nP="Pro 10 Monaten",iP="Pro 6 Monaten",aP="Jeden 2 Tagen",rP="Pro halbe Stunde",oP="Pro Uhr",sP="Pro 2 Uhren",lP="Pro 3 Uhren",cP="Pro 4 Uhren",uP="Pro 5 Uhren",dP="Pro 6 Uhren",hP="Pro 7 Uhren",pP="Pro 8 Uhren",mP="Pro 9 Uhren",fP="Pro 10 Uhren",gP="Pro 11 Uhren",vP="Pro 12 Uhren",yP="Pro Woche",bP="Pro 8 Wochen",_P="Pro 3 Wochen",xP="Pro 11 Wochen",wP="Pro 9 Wochen",EP="Pro 24 Wochen",SP="Pro 5 Wochen",kP="Pro 7 Wochen",CP="Pro 2 Wochen",IP="Pro 4 Wochen",DP="Pro 12 Wochen",TP="Pro 10 Wochen",OP="Pro 6 Wochen",PP="Auf Nachfrage",lxe={D:DO,DA:TO,DD:OO,DE:PO,DN:NO,DQ:MO,DT:RO,DV:AO,DW:LO,DX:FO,DZ:jO,J:VO,JD:BO,JH2:zO,JQ:HO,JT:UO,JV:GO,JZ:WO,M:qO,MA:$O,MC:YO,MD:ZO,ME:KO,MN:JO,MQ:XO,MS:QO,MT:eP,MV:tP,MX:nP,MZ2:iP,O1:aP,UH:rP,U:oP,UT:sP,UD:lP,UV:cP,UQ:uP,UZ:dP,US:hP,UA:pP,UN:mP,UX:fP,UE:gP,UW:vP,W:yP,WA:bP,WD:_P,WE:xP,WN:wP,WP:EP,WQ:SP,WS:kP,WT:CP,WV:IP,WW:DP,WX:TP,WZ:OP,ondemand:PP},NP={};K(NP,{D:()=>qP,DA:()=>eN,DD:()=>ZP,DE:()=>iN,DN:()=>tN,DQ:()=>JP,DT:()=>$P,DV:()=>KP,DW:()=>aN,DX:()=>nN,DZ:()=>XP,J:()=>TN,JD:()=>NN,JH2:()=>wN,JQ:()=>RN,JT:()=>PN,JV:()=>MN,JZ:()=>AN,M:()=>lN,MA:()=>kN,MC:()=>ON,MD:()=>yN,ME:()=>DN,MN:()=>CN,MQ:()=>_N,MS:()=>SN,MT:()=>pN,MV:()=>bN,MX:()=>IN,MZ2:()=>EN,O1:()=>YP,U:()=>RP,UA:()=>zP,UD:()=>LP,UE:()=>GP,UH:()=>MP,UN:()=>HP,UQ:()=>jP,US:()=>BP,UT:()=>AP,UV:()=>FP,UW:()=>WP,UX:()=>UP,UZ:()=>VP,W:()=>QP,WA:()=>hN,WD:()=>oN,WE:()=>gN,WN:()=>mN,WP:()=>xN,WQ:()=>cN,WS:()=>dN,WT:()=>rN,WV:()=>sN,WW:()=>vN,WX:()=>fN,WZ:()=>uN,default:()=>cxe,ondemand:()=>LN});var MP="Per half hour",RP="Per hour",AP="Per 2 hours",LP="Per 3 hours",FP="Per 4 hours",jP="Per 5 hours",VP="Per 6 hours",BP="Per 7 hours",zP="Per 8 hours",HP="Per 9 hours",UP="Per 10 hours",GP="Per11 hours",WP="Per 12 hours",qP="Per day",$P="Per 2 days",YP="Every 2 days",ZP="Per 3 days",KP="Per 4 days",JP="Per 5 days",XP="Per 6 days",QP="Per 7 days",eN="Per 8 days",tN="Per 9 days",nN="Per 10 days",iN="Per 11 days",aN="Per 12 days",rN="Per 2 weeks",oN="Per 3 weeks",sN="Per 4 weeks",lN="Per month",cN="Per 5 weeks",uN="Per 6 weeks",dN="Per 7 weeks",hN="Per 8 weeks",pN="Per 2 months",mN="Per 9 weeks",fN="Per 10 weeks",gN="Per 11 weeks",vN="Per 12 weeks",yN="Per 3 months",bN="Per 4 months",_N="Per 5 months",xN="Per 24 weeks",wN="Per half year",EN="Per 6 months",SN="Per 7 months",kN="Per 8 months",CN="Per 9 months",IN="Per 10 months",DN="Per 11 months",TN="Per Year",ON="Per 18 months",PN="Per 2 years",NN="Per 3 years",MN="Per 4 years",RN="Per 5 years",AN="Per 6 years",LN="On demand",cxe={UH:MP,U:RP,UT:AP,UD:LP,UV:FP,UQ:jP,UZ:VP,US:BP,UA:zP,UN:HP,UX:UP,UE:GP,UW:WP,D:qP,DT:$P,O1:YP,DD:ZP,DV:KP,DQ:JP,DZ:XP,W:QP,DA:eN,DN:tN,DX:nN,DE:iN,DW:aN,WT:rN,WD:oN,WV:sN,M:lN,WQ:cN,WZ:uN,WS:dN,WA:hN,MT:pN,WN:mN,WX:fN,WE:gN,WW:vN,MD:yN,MV:bN,MQ:_N,WP:xN,JH2:wN,MZ2:EN,MS:SN,MA:kN,MN:CN,MX:IN,ME:DN,J:TN,MC:ON,JT:PN,JD:NN,JV:MN,JQ:RN,JZ:AN,ondemand:LN},FN={};K(FN,{D:()=>jN,DA:()=>VN,DD:()=>BN,DE:()=>zN,DN:()=>HN,DQ:()=>UN,DT:()=>GN,DV:()=>WN,DW:()=>qN,DX:()=>$N,DZ:()=>YN,J:()=>ZN,JD:()=>KN,JH2:()=>JN,JQ:()=>XN,JT:()=>QN,JV:()=>eM,JZ:()=>tM,M:()=>nM,MA:()=>iM,MC:()=>aM,MD:()=>rM,ME:()=>oM,MN:()=>sM,MQ:()=>lM,MS:()=>cM,MT:()=>uM,MV:()=>dM,MX:()=>hM,MZ2:()=>pM,O1:()=>mM,U:()=>gM,UA:()=>EM,UD:()=>yM,UE:()=>CM,UH:()=>fM,UN:()=>SM,UQ:()=>_M,US:()=>wM,UT:()=>vM,UV:()=>bM,UW:()=>IM,UX:()=>kM,UZ:()=>xM,W:()=>DM,WA:()=>TM,WD:()=>OM,WE:()=>PM,WN:()=>NM,WP:()=>MM,WQ:()=>RM,WS:()=>AM,WT:()=>LM,WV:()=>FM,WW:()=>jM,WX:()=>VM,WZ:()=>BM,default:()=>uxe,ondemand:()=>zM});var jN="Par jour",VN="Par 8 jours",BN="Par 3 jours",zN="Par 11 jours",HN="Par 9 jours",UN="Par 5 jours",GN="Par 2 jours",WN="Par 4 jours",qN="Par 12 jours",$N="Par 10 jours",YN="Par 6 jours",ZN="Par an",KN="Par 3 années",JN="Par demi-années",XN="Par 5 années",QN="Par 2 années",eM="Par 4 années",tM="Par 6 années",nM="Par mois",iM="Par 8 mois",aM="Par 18 mois",rM="Par 3 mois",oM="Par 11 mois",sM="Par 9 mois",lM="Par 5 mois",cM="Par 7 mois",uM="Par 2 mois",dM="Par 4 mois",hM="Par 10 mois",pM="Par 6 mois",mM="Tous les 2 jours",fM="Par demi-heure",gM="Par heure",vM="Par 2 heures",yM="Par 3 heures",bM="Par 4 heures",_M="Par 5 heures",xM="Par 6 heures",wM="Par 7 heures",EM="Par 8 heures",SM="Par 9 heures",kM="Par 10 heures",CM="Par 11 heures",IM="Par 12 heures",DM="Par semaine",TM="Par 8 semaines",OM="Par 3 semaines",PM="Par 11 semaines",NM="Par 9 semaines",MM="Par 24 semaines",RM="Par 5 semaines",AM="Par 7 semaines",LM="Par 2 semaines",FM="Par 4 semaines",jM="Par 12 semaines",VM="Par 10 semaines",BM="Par 6 semaines",zM="Sur demande",uxe={D:jN,DA:VN,DD:BN,DE:zN,DN:HN,DQ:UN,DT:GN,DV:WN,DW:qN,DX:$N,DZ:YN,J:ZN,JD:KN,JH2:JN,JQ:XN,JT:QN,JV:eM,JZ:tM,M:nM,MA:iM,MC:aM,MD:rM,ME:oM,MN:sM,MQ:lM,MS:cM,MT:uM,MV:dM,MX:hM,MZ2:pM,O1:mM,UH:fM,U:gM,UT:vM,UD:yM,UV:bM,UQ:_M,UZ:xM,US:wM,UA:EM,UN:SM,UX:kM,UE:CM,UW:IM,W:DM,WA:TM,WD:OM,WE:PM,WN:NM,WP:MM,WQ:RM,WS:AM,WT:LM,WV:FM,WW:jM,WX:VM,WZ:BM,ondemand:zM},HM={};K(HM,{D:()=>UM,DA:()=>GM,DD:()=>WM,DE:()=>qM,DN:()=>$M,DQ:()=>YM,DT:()=>ZM,DV:()=>KM,DW:()=>JM,DX:()=>XM,DZ:()=>QM,J:()=>eR,JD:()=>tR,JH2:()=>nR,JQ:()=>iR,JT:()=>aR,JV:()=>rR,JZ:()=>oR,M:()=>sR,MA:()=>lR,MC:()=>cR,MD:()=>uR,ME:()=>dR,MN:()=>hR,MQ:()=>pR,MS:()=>mR,MT:()=>fR,MV:()=>gR,MX:()=>vR,MZ2:()=>yR,O1:()=>bR,U:()=>xR,UA:()=>DR,UD:()=>ER,UE:()=>PR,UH:()=>_R,UN:()=>TR,UQ:()=>kR,US:()=>IR,UT:()=>wR,UV:()=>SR,UW:()=>NR,UX:()=>OR,UZ:()=>CR,W:()=>MR,WA:()=>RR,WD:()=>AR,WE:()=>LR,WN:()=>FR,WP:()=>jR,WQ:()=>VR,WS:()=>BR,WT:()=>zR,WV:()=>HR,WW:()=>UR,WX:()=>GR,WZ:()=>WR,default:()=>dxe,ondemand:()=>qR});var UM="Dagelijks",GM="Om de 8 dagen",WM="Om de 3 dagen",qM="Om de 11 dagen",$M="Om de 9 dagen",YM="Om de 5 dagen",ZM="Om de 2 dagen",KM="Om de 4 dagen",JM="Om de 12 dagen",XM="Om de 10 dagen",QM="Om de 6 dagen",eR="Jaarlijks",tR="Om de 3 jaar",nR="Halfjaarlijks",iR="Om de 5 jaar",aR="Om de 2 jaar",rR="Om de 4 jaar",oR="Om de 6 jaar",sR="Maandelijks",lR="Om de 8 maanden",cR="Om de 18 maanden",uR="Om de 3 maanden",dR="Om de 11 maanden",hR="Om de 9 maanden",pR="Om de 5 maanden",mR="Om de 7 maanden",fR="Om de 2 maanden",gR="Om de 4 maanden",vR="Om de 10 maanden",yR="Om de 6 maanden",bR="Om de 2 dagen",_R="Om het half uur",xR="Om het uur",wR="Om de 2 uren",ER="Om de 3 uren",SR="Om de 4 uren",kR="Om de 5 uren",CR="Om de 6 uren",IR="Om de 7 uren",DR="Om de 8 uren",TR="Om de 9 uren",OR="Om de 10 uren",PR="Om de 11 uren",NR="Om de 12 uren",MR="Wekelijks",RR="Om de 8 weken",AR="Om de 3 weken",LR="Om de 11 weken",FR="Om de 9 weken",jR="Om de 24 weken",VR="Om de 5 weken",BR="Om de 7 weken",zR="Om de 2 weken",HR="Om de 4 weken",UR="Om de 12 weken",GR="Om de 10 weken",WR="Om de 6 weken",qR="Op aanvraag",dxe={D:UM,DA:GM,DD:WM,DE:qM,DN:$M,DQ:YM,DT:ZM,DV:KM,DW:JM,DX:XM,DZ:QM,J:eR,JD:tR,JH2:nR,JQ:iR,JT:aR,JV:rR,JZ:oR,M:sR,MA:lR,MC:cR,MD:uR,ME:dR,MN:hR,MQ:pR,MS:mR,MT:fR,MV:gR,MX:vR,MZ2:yR,O1:bR,UH:_R,U:xR,UT:wR,UD:ER,UV:SR,UQ:kR,UZ:CR,US:IR,UA:DR,UN:TR,UX:OR,UE:PR,UW:NR,W:MR,WA:RR,WD:AR,WE:LR,WN:FR,WP:jR,WQ:VR,WS:BR,WT:zR,WV:HR,WW:UR,WX:GR,WZ:WR,ondemand:qR},hxe={nl:HM,fr:FN,de:IO,en:NP},$R={};K($R,{afterbreakfast:()=>YR,afterdinner:()=>ZR,afterlunch:()=>KR,aftermeal:()=>JR,afternoon:()=>XR,beforebreakfast:()=>QR,beforedinner:()=>eA,beforelunch:()=>tA,betweenbreakfastandlunch:()=>nA,betweendinnerandsleep:()=>iA,betweenlunchanddinner:()=>aA,betweenmeals:()=>rA,breakfast:()=>oA,default:()=>pxe,dinner:()=>sA,duringbreakfast:()=>lA,duringdinner:()=>cA,duringlunch:()=>uA,evening:()=>dA,lunch:()=>hA,morning:()=>pA,night:()=>mA,thehourofsleep:()=>fA});var YR="nach dem Frühstück",ZR="nach dem Abendessen",KR="nach dem Mittagessen",JR="nach dem Essen",XR="Nachmittag",QR="vor dem Frühstück",eA="vor dem Abendessen",tA="vor dem Mittagessen",nA="zwischen Frühstück und Mittagessen",iA="zwischen Abendessen und Nachtruhe",aA="zwischen Mittagessen und Abendessen",rA="zwischen den Mahlzeiten",oA="Frühstück",sA="Abendessen",lA="zum Frühstück",cA="zum Abendessen",uA="zum Mittagessen",dA="Abend",hA="Mittagessen",pA="Vormittag",mA="Nacht",fA="Nachtruhe",pxe={afterbreakfast:YR,afterdinner:ZR,afterlunch:KR,aftermeal:JR,afternoon:XR,beforebreakfast:QR,beforedinner:eA,beforelunch:tA,betweenbreakfastandlunch:nA,betweendinnerandsleep:iA,betweenlunchanddinner:aA,betweenmeals:rA,breakfast:oA,dinner:sA,duringbreakfast:lA,duringdinner:cA,duringlunch:uA,evening:dA,lunch:hA,morning:pA,night:mA,thehourofsleep:fA},gA={};K(gA,{afterbreakfast:()=>vA,afterdinner:()=>yA,afterlunch:()=>bA,aftermeal:()=>_A,afternoon:()=>xA,beforebreakfast:()=>wA,beforedinner:()=>EA,beforelunch:()=>SA,betweenbreakfastandlunch:()=>kA,betweendinnerandsleep:()=>CA,betweenlunchanddinner:()=>IA,betweenmeals:()=>DA,breakfast:()=>TA,default:()=>mxe,dinner:()=>OA,duringbreakfast:()=>PA,duringdinner:()=>NA,duringlunch:()=>MA,evening:()=>RA,lunch:()=>AA,morning:()=>LA,night:()=>FA,thehourofsleep:()=>jA});var vA="after breakfast",yA="after dinner",bA="after lunch",_A="after meal",xA="afternoon",wA="before breakfast",EA="before dinner",SA="before lunch",kA="between breakfast and lunch",CA="between dinner and the hour of sleep",IA="between lunch and dinner",DA="between meals",TA="breakfast",OA="dinner",PA="during breakfast",NA="during dinner",MA="during lunch",RA="evening",AA="lunch",LA="morning",FA="night",jA="the hour of sleep",mxe={afterbreakfast:vA,afterdinner:yA,afterlunch:bA,aftermeal:_A,afternoon:xA,beforebreakfast:wA,beforedinner:EA,beforelunch:SA,betweenbreakfastandlunch:kA,betweendinnerandsleep:CA,betweenlunchanddinner:IA,betweenmeals:DA,breakfast:TA,dinner:OA,duringbreakfast:PA,duringdinner:NA,duringlunch:MA,evening:RA,lunch:AA,morning:LA,night:FA,thehourofsleep:jA},VA={};K(VA,{afterbreakfast:()=>BA,afterdinner:()=>zA,afterlunch:()=>HA,aftermeal:()=>UA,afternoon:()=>GA,beforebreakfast:()=>WA,beforedinner:()=>qA,beforelunch:()=>$A,betweenbreakfastandlunch:()=>YA,betweendinnerandsleep:()=>ZA,betweenlunchanddinner:()=>KA,betweenmeals:()=>JA,breakfast:()=>XA,default:()=>fxe,dinner:()=>QA,duringbreakfast:()=>eL,duringdinner:()=>tL,duringlunch:()=>nL,evening:()=>iL,lunch:()=>aL,morning:()=>rL,night:()=>oL,thehourofsleep:()=>sL});var BA="après le petit-déjeuner",zA="après le repas du soir",HA="après le repas du midi",UA="après le repas",GA="après-midi",WA="avant le petit-déjeuner",qA="avant le repas du soir",$A="avant le repas du midi",YA="entre le petit-déjeuner et le repas du midi",ZA="entre le repas du soir et l’heure du coucher",KA="entre le repas du midi et le repas du soir",JA="entre les repas",XA="petit-déjeuner",QA="repas du soir",eL="pendant le petit-déjeuner",tL="pendant le repas du soir",nL="pendant le repas du midi",iL="soir",aL="repas du midi",rL="matin",oL="nuit",sL="heure du coucher",fxe={afterbreakfast:BA,afterdinner:zA,afterlunch:HA,aftermeal:UA,afternoon:GA,beforebreakfast:WA,beforedinner:qA,beforelunch:$A,betweenbreakfastandlunch:YA,betweendinnerandsleep:ZA,betweenlunchanddinner:KA,betweenmeals:JA,breakfast:XA,dinner:QA,duringbreakfast:eL,duringdinner:tL,duringlunch:nL,evening:iL,lunch:aL,morning:rL,night:oL,thehourofsleep:sL},lL={};K(lL,{afterbreakfast:()=>cL,afterdinner:()=>uL,afterlunch:()=>dL,aftermeal:()=>hL,afternoon:()=>pL,beforebreakfast:()=>mL,beforedinner:()=>fL,beforelunch:()=>gL,betweenbreakfastandlunch:()=>vL,betweendinnerandsleep:()=>yL,betweenlunchanddinner:()=>bL,betweenmeals:()=>_L,breakfast:()=>xL,default:()=>gxe,dinner:()=>wL,duringbreakfast:()=>EL,duringdinner:()=>SL,duringlunch:()=>kL,evening:()=>CL,lunch:()=>IL,morning:()=>DL,night:()=>TL,thehourofsleep:()=>OL});var cL="na het ontbijt",uL="na het avondmaal",dL="na het middagmaal",hL="na de maaltijd",pL="namiddag",mL="voor het ontbijt",fL="voor het avondmaal",gL="voor het middagmaal",vL="tussen het ontbijt en het middagmaal",yL="tussen het avondmaal en het slapen gaan",bL="tussen het middagmaal en het avondmaal",_L="tussen de maaltijden",xL="ontbijt",wL="avondmaal",EL="tijdens het ontbijt",SL="tijdens het avondmaal",kL="tijdens het middagmaal",CL="'s avonds",IL="middagmaal",DL="'s ochtends",TL="'s nachts",OL="voor het slapen gaan",gxe={afterbreakfast:cL,afterdinner:uL,afterlunch:dL,aftermeal:hL,afternoon:pL,beforebreakfast:mL,beforedinner:fL,beforelunch:gL,betweenbreakfastandlunch:vL,betweendinnerandsleep:yL,betweenlunchanddinner:bL,betweenmeals:_L,breakfast:xL,dinner:wL,duringbreakfast:EL,duringdinner:SL,duringlunch:kL,evening:CL,lunch:IL,morning:DL,night:TL,thehourofsleep:OL},vxe={nl:lL,fr:VA,de:$R,en:gA},PL={};K(PL,{day:()=>NL,default:()=>yxe,during:()=>AL,on:()=>RL,week:()=>ML});var NL="Tag",ML="Woche",RL="am",AL="für",yxe={day:NL,week:ML,on:RL,during:AL},LL={};K(LL,{day:()=>FL,default:()=>bxe,during:()=>BL,on:()=>VL,week:()=>jL});var FL="day",jL="week",VL="on",BL="during",bxe={day:FL,week:jL,on:VL,during:BL},zL={};K(zL,{day:()=>HL,default:()=>_xe,during:()=>WL,on:()=>GL,week:()=>UL});var HL="jour",UL="semaine",GL="le",WL="durant",_xe={day:HL,week:UL,on:GL,during:WL},qL={};K(qL,{day:()=>$L,default:()=>xxe,during:()=>KL,on:()=>ZL,week:()=>YL});var $L="dag",YL="week",ZL="op",KL="gedurende",xxe={day:$L,week:YL,on:ZL,during:KL},wxe={nl:qL,fr:zL,de:PL,en:LL},JL={};K(JL,{ambulance_driver:()=>XL,ambulance_first_aid:()=>QL,ambulance_rescuer:()=>eF,application:()=>tF,applied_psychology_bachelor:()=>nF,audician:()=>iF,audiologist:()=>aF,biologist_pharmacist:()=>rF,care_giver:()=>oF,certificateholder:()=>sF,citizen:()=>lF,clinical_orthopedic_pedagogue:()=>cF,clinical_psychologist:()=>uF,default:()=>Exe,dental_hygienist:()=>dF,dentist:()=>hF,deptalgology:()=>pF,deptanatomopathology:()=>mF,deptanesthesiology:()=>fF,deptbacteriology:()=>gF,deptcardiacsurgery:()=>vF,deptcardiology:()=>yF,deptchildandadolescentpsychiatry:()=>bF,deptdentistry:()=>_F,deptdermatology:()=>xF,deptdiabetology:()=>wF,deptdietetics:()=>EF,deptemergency:()=>SF,deptendocrinology:()=>kF,deptgastroenterology:()=>CF,deptgeneralpractice:()=>IF,deptgenetics:()=>DF,deptgeriatry:()=>TF,deptgynecology:()=>OF,depthandsurgery:()=>PF,depthematology:()=>NF,deptinfectiousdisease:()=>MF,deptintensivecare:()=>RF,deptkinesitherapy:()=>AF,deptlaboratory:()=>LF,deptmajorburns:()=>FF,deptmaxillofacialsurgery:()=>jF,deptmedicine:()=>VF,deptmolecularbiology:()=>BF,deptneonatalogy:()=>zF,deptnephrology:()=>HF,deptneurology:()=>UF,deptneurosurgery:()=>GF,deptnte:()=>WF,deptnuclear:()=>qF,deptnursing:()=>$F,deptnutritiondietetics:()=>YF,deptobstetrics:()=>ZF,deptoccupationaltherapy:()=>KF,deptoncology:()=>JF,deptophtalmology:()=>XF,deptorthopedy:()=>QF,deptpalliativecare:()=>e3,deptpediatricintensivecare:()=>t3,deptpediatricsurgery:()=>n3,deptpediatry:()=>i3,deptpharmacy:()=>a3,deptphysicalmedecine:()=>r3,deptphysiotherapy:()=>o3,deptplasticandreparatorysurgery:()=>s3,deptpneumology:()=>l3,deptpodiatry:()=>c3,deptpodology:()=>u3,deptpsychiatry:()=>d3,deptpsychogeriatry:()=>h3,deptpsychology:()=>p3,deptradiology:()=>m3,deptradiotherapy:()=>f3,deptrevalidation:()=>g3,deptrheumatology:()=>v3,deptrhumatology:()=>y3,deptsenology:()=>b3,deptsocialservice:()=>_3,deptspeechtherapy:()=>x3,deptsportsmedecine:()=>w3,deptstomatology:()=>E3,deptsurgery:()=>S3,deptthoracicsurgery:()=>k3,depttoxicology:()=>C3,depttropicalmedecine:()=>I3,depturology:()=>D3,deptvascularsurgery:()=>T3,deptvisceraldigestiveabdominalsurgery:()=>O3,diabete_equipment_supplier:()=>P3,dietician:()=>N3,doctor:()=>M3,family_science_bachelor:()=>R3,gerontology_master:()=>A3,groupofnurses:()=>L3,groupofphysiciansdifferentaddress:()=>F3,groupofphysicianssameaddress:()=>j3,guardpost:()=>V3,hub:()=>B3,imaging_technologist:()=>z3,implantprovider:()=>H3,lab_technologist:()=>U3,logopedist:()=>G3,midwife:()=>W3,nurse:()=>q3,occupational_therapist:()=>$3,optician:()=>Y3,orghospital:()=>Z3,orginsurance:()=>K3,orglaboratory:()=>J3,orgpharmacy:()=>X3,orgpharmacyinvoicingoffice:()=>Q3,orgpolyclinic:()=>e5,orgpractice:()=>t5,orgprevention:()=>n5,orgprimaryhealthcarecenter:()=>i5,orgpsychiatriccarehome:()=>a5,orgpublichealth:()=>r5,orgretirementhome:()=>o5,orgrevalidationcenter:()=>s5,orgshelteredliving:()=>l5,orthopedagogist_master:()=>c5,orthopedist:()=>u5,orthoptist:()=>d5,orthotist:()=>h5,patient:()=>p5,pediatric_nurse:()=>m5,persadministrative:()=>f5,persambulancefirstaid:()=>g5,persappliedpsychbachelor:()=>v5,persaudician:()=>y5,persaudiologist:()=>b5,persbandagistorthosiologist:()=>_5,persbiologist:()=>x5,perscaregiver:()=>w5,persclinicalorthopedagogist:()=>E5,persclinicalpsychologist:()=>S5,persdentist:()=>k5,persdietician:()=>C5,perseducator:()=>I5,persfamilysciencebachelor:()=>D5,persgerontologymaster:()=>T5,perslogopedist:()=>O5,persmidwife:()=>P5,persmobilityimprover:()=>N5,persnurse:()=>M5,persoccupationaltherapist:()=>R5,persoptician:()=>A5,persoptometrist:()=>L5,persoraldentalhygienist:()=>F5,persorthopedagogistmaster:()=>j5,persorthopedist:()=>V5,persorthoptist:()=>B5,persorthotist:()=>z5,persparamedical:()=>H5,perspatientdriver:()=>U5,perspharmacist:()=>G5,perspharmacistclinicalbiologist:()=>W5,perspharmacyassistant:()=>q5,persphysician:()=>$5,persphysiotherapist:()=>Y5,perspodologist:()=>Z5,perspracticalnurse:()=>K5,persprosthesiologist:()=>J5,perspsychologist:()=>X5,perspsychomotortherapymaster:()=>Q5,persreadaptationbachelor:()=>e4,persshoetechnologist:()=>t4,perssocialworker:()=>n4,perstechnician:()=>i4,perstrussmaker:()=>a4,pharmacist:()=>r4,pharmacist_assistant:()=>o4,physician:()=>s4,physiotherapist:()=>l4,podologist:()=>c4,practical_nurse:()=>u4,prosthetist:()=>d4,psychologist:()=>h4,psychomotor_therapy_master:()=>p4,readaptaion_bachelor:()=>m4,social_worker:()=>f4,specialized_educator:()=>g4,truss_maker:()=>v4});var XL="Rettungswagenfahrer",QL="Rettungssanitäter",eF="Rettungssanitäter",tF="Softwareapplikation",nF="Bachelor der angewandten Psychologie",iF="Hörgeräteakustiker",aF="Audiologe",rF="Fachapotheker für klinische Chemie",oF="Pflegekräfte",sF="Zertifikatinhaber",lF="Bürger",cF="Klinischer Heilpädagoge",uF="Klinischer Psychologe",dF="Dentalhygieniker",hF="Zahnarzt",pF="Algologie",mF="pathologische Anatomie",fF="Anästhesiologie",gF="Bakteriologie",vF="Herzchirurgie",yF="Kardiologie",bF="Kinder-und Jugendpsychiatrie",_F="Zahnheilkunde",xF="Dermatologie",wF="Diabetologie",EF="Diätetik",SF="Notaufnahme",kF="Endokrinologie",CF="Gastroenterologie",IF="Allgemeinmedizin",DF="Genetik",TF="Geriatrie",OF="Gynäkologie",PF="Handchirurgie",NF="Hämatologie",MF="Infektionskrankheit",RF="Intensivmedizin",AF="Physiotherapie",LF="Labordienst/-abteilung einer Einrichtung",FF="Schwerbrandverletztenzentrum",jF="Mund-Kiefer-Gesichtschirurgie",VF="Innere Medizin",BF="Molekularbiologie",zF="Neonatologie",HF="Nephrologie",UF="Neurologie",GF="Neurologie",WF="Hals-Nasen-Ohren-Heilkunde (HNO)",qF="Nuklearmedizin",$F="Krankenpflege",YF="Diätetik",ZF="Geburtshilfe",KF="Ergotherapie",JF="Onkologie",XF="Augenheilkunde",QF="Orthopädie",e3="Palliativpflege",t3="Kinder-Intensivstation",n3="Kinderchirurgie",i3="Pädiatrie",a3="Apothekendienst/-abteilung einer Einrichtung",r3="physikalische Medizin",o3="Physiotherapie",s3="plastische Chirurgie und rekonstruktive Chirurgie",l3="Pneumologie",c3="Podiatrie",u3="",d3="Psychiatrie",h3="Psychogeriatrie",p3="Psychologie",m3="Radiologie",f3="Strahlentherapie",g3="Rehabilitation",v3="Rheumatologie",y3="",b3="Senologie",_3="Sozialdienst",x3="Logopädie",w3="Sportmedizin",E3="Stomatologie",S3="Chirurgie",k3="Thoraxchirurgie",C3="Toxikologie",I3="Tropenmedizin",D3="Urologie",T3="Vaskuläre Chirurgie",O3="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",P3="Lieferant von Material für Diabetesselbstverwaltung ",N3="Diätassistent",M3="Arzt",R3="Bachelor der Familienwissenschaften",A3="Master der Gerontologie",L3="Krankenpflegeverband",F3="Zusammenschluss von Ärzten, unterschiedliche Adresse",j3="Zusammenschluss von Ärzten, gleiche Adresse",V3="Schwesternstützpunkt",B3="Hub",z3="Technologe im bildgebenden Diagnoseverfahren",H3="Lieferant von Implantaten",U3="Labortechniker",G3="Logopäde",W3="Hebamme",q3="Fachkraft für Krankenpflege",$3="Ergotherapeut",Y3="Optiker",Z3="Krankenhaus",K3="Versicherung",J3="Unabhängiges Labor",X3="Unabhängige Apotheke",Q3="Rechnungstelle für Apotheken",e5="Poliklinik",t5="Praxis",n5="Präventionsdienst",i5="Gesundheits- und Sozialzentrum",a5="psychiatrische Klinik",r5="Gesundheitsbehörde",o5="Altenheim",s5="Reha-Klinik",l5="Initiative für begleitetes Wohnen",c5="Master der Heilpädagogik",u5="Orthopäde",d5="Orthoptist-Optometrist",h5="Orthopädietechniker",p5="Patient",m5="Kinderkrankenschwester",f5="Büroangestellter",g5="Rettungswagen",v5="Bachelor in angewandter Psychologie",y5="Hörgeräteakustiker",b5="Audiologe",_5="Bandagist Orthosiologe (Orthopädietechniker)",x5="medizinischer Labortechniker",w5="informelle Pflegeperson",E5="Klinischer Heilpädagoge",S5="Klinischer Psychologe",k5="Zahnarzt",C5="Diätassistent",I5="Erzieher",D5="Bachelor in Familienwissenschaften",T5="Master in Gerontologie",O5="Logopäde",P5="Hebamme",N5="Mobilitätsverbesserer (Orthopädietechniker)",M5="Krankenpfleger",R5="Ergotherapeut",A5="Optiker",L5="Optometrist",F5="Dentalhygieniker",j5="Master in Heilpädagogik",V5="Orthopädist",B5="Orthoptist",z5="Orthopädietechniker/Prothesenbauer",H5="medizinische Hilfskraft",U5="Fahrdienst",G5="Apotheker",W5="Fachapotheker für klinische Chemie",q5="Apothekenhelfer",$5="Arzt",Y5="Physiotherapeut",Z5="Podologe",K5="Pfleger",J5="Orthopädietechniker (Orthopädietechniker)",X5="Psychologe",Q5="Master in Psychomotorik",e4="Bachelor in Rehabilitation",t4="Schuhtechniker (Orthopädietechniker)",n4="Sozialarbeiter",i4="Techniker für medizinische Bildgebung",a4="Bandagist",r4="Apotheker",o4="Pharmazeutisch-technischer Assistent ",s4="Arzt",l4="Physiotherapeut",c4="Podologe",u4="Pflegehelfer",d4="Prothesenhersteller",h4="Psychologe",p4="Master der psychomotorischen Therapie",m4="Bachelor der Rehabilitationswissenschaften",f4="Sozialassistent",g4="Bachelor der Erziehungswissenschaften",v4="Bandagist",Exe={ambulance_driver:XL,ambulance_first_aid:QL,ambulance_rescuer:eF,application:tF,applied_psychology_bachelor:nF,audician:iF,audiologist:aF,biologist_pharmacist:rF,care_giver:oF,certificateholder:sF,citizen:lF,clinical_orthopedic_pedagogue:cF,clinical_psychologist:uF,dental_hygienist:dF,dentist:hF,deptalgology:pF,deptanatomopathology:mF,deptanesthesiology:fF,deptbacteriology:gF,deptcardiacsurgery:vF,deptcardiology:yF,deptchildandadolescentpsychiatry:bF,deptdentistry:_F,deptdermatology:xF,deptdiabetology:wF,deptdietetics:EF,deptemergency:SF,deptendocrinology:kF,deptgastroenterology:CF,deptgeneralpractice:IF,deptgenetics:DF,deptgeriatry:TF,deptgynecology:OF,depthandsurgery:PF,depthematology:NF,deptinfectiousdisease:MF,deptintensivecare:RF,deptkinesitherapy:AF,deptlaboratory:LF,deptmajorburns:FF,deptmaxillofacialsurgery:jF,deptmedicine:VF,deptmolecularbiology:BF,deptneonatalogy:zF,deptnephrology:HF,deptneurology:UF,deptneurosurgery:GF,deptnte:WF,deptnuclear:qF,deptnursing:$F,deptnutritiondietetics:YF,deptobstetrics:ZF,deptoccupationaltherapy:KF,deptoncology:JF,deptophtalmology:XF,deptorthopedy:QF,deptpalliativecare:e3,deptpediatricintensivecare:t3,deptpediatricsurgery:n3,deptpediatry:i3,deptpharmacy:a3,deptphysicalmedecine:r3,deptphysiotherapy:o3,deptplasticandreparatorysurgery:s3,deptpneumology:l3,deptpodiatry:c3,deptpodology:u3,deptpsychiatry:d3,deptpsychogeriatry:h3,deptpsychology:p3,deptradiology:m3,deptradiotherapy:f3,deptrevalidation:g3,deptrheumatology:v3,deptrhumatology:y3,deptsenology:b3,deptsocialservice:_3,deptspeechtherapy:x3,deptsportsmedecine:w3,deptstomatology:E3,deptsurgery:S3,deptthoracicsurgery:k3,depttoxicology:C3,depttropicalmedecine:I3,depturology:D3,deptvascularsurgery:T3,deptvisceraldigestiveabdominalsurgery:O3,diabete_equipment_supplier:P3,dietician:N3,doctor:M3,family_science_bachelor:R3,gerontology_master:A3,groupofnurses:L3,groupofphysiciansdifferentaddress:F3,groupofphysicianssameaddress:j3,guardpost:V3,hub:B3,imaging_technologist:z3,implantprovider:H3,lab_technologist:U3,logopedist:G3,midwife:W3,nurse:q3,occupational_therapist:$3,optician:Y3,orghospital:Z3,orginsurance:K3,orglaboratory:J3,orgpharmacy:X3,orgpharmacyinvoicingoffice:Q3,orgpolyclinic:e5,orgpractice:t5,orgprevention:n5,orgprimaryhealthcarecenter:i5,orgpsychiatriccarehome:a5,orgpublichealth:r5,orgretirementhome:o5,orgrevalidationcenter:s5,orgshelteredliving:l5,orthopedagogist_master:c5,orthopedist:u5,orthoptist:d5,orthotist:h5,patient:p5,pediatric_nurse:m5,persadministrative:f5,persambulancefirstaid:g5,persappliedpsychbachelor:v5,persaudician:y5,persaudiologist:b5,persbandagistorthosiologist:_5,persbiologist:x5,perscaregiver:w5,persclinicalorthopedagogist:E5,persclinicalpsychologist:S5,persdentist:k5,persdietician:C5,perseducator:I5,persfamilysciencebachelor:D5,persgerontologymaster:T5,perslogopedist:O5,persmidwife:P5,persmobilityimprover:N5,persnurse:M5,persoccupationaltherapist:R5,persoptician:A5,persoptometrist:L5,persoraldentalhygienist:F5,persorthopedagogistmaster:j5,persorthopedist:V5,persorthoptist:B5,persorthotist:z5,persparamedical:H5,perspatientdriver:U5,perspharmacist:G5,perspharmacistclinicalbiologist:W5,perspharmacyassistant:q5,persphysician:$5,persphysiotherapist:Y5,perspodologist:Z5,perspracticalnurse:K5,persprosthesiologist:J5,perspsychologist:X5,perspsychomotortherapymaster:Q5,persreadaptationbachelor:e4,persshoetechnologist:t4,perssocialworker:n4,perstechnician:i4,perstrussmaker:a4,pharmacist:r4,pharmacist_assistant:o4,physician:s4,physiotherapist:l4,podologist:c4,practical_nurse:u4,prosthetist:d4,psychologist:h4,psychomotor_therapy_master:p4,readaptaion_bachelor:m4,social_worker:f4,specialized_educator:g4,truss_maker:v4},y4={};K(y4,{ambulance_driver:()=>b4,ambulance_first_aid:()=>_4,ambulance_rescuer:()=>x4,application:()=>w4,applied_psychology_bachelor:()=>E4,audician:()=>S4,audiologist:()=>k4,biologist_pharmacist:()=>C4,care_giver:()=>I4,certificateholder:()=>D4,citizen:()=>T4,clinical_orthopedic_pedagogue:()=>O4,clinical_psychologist:()=>P4,default:()=>Sxe,dental_hygienist:()=>N4,dentist:()=>M4,deptalgology:()=>R4,deptanatomopathology:()=>A4,deptanesthesiology:()=>L4,deptbacteriology:()=>F4,deptcardiacsurgery:()=>j4,deptcardiology:()=>V4,deptchildandadolescentpsychiatry:()=>B4,deptdentistry:()=>z4,deptdermatology:()=>H4,deptdiabetology:()=>U4,deptdietetics:()=>G4,deptemergency:()=>W4,deptendocrinology:()=>q4,deptgastroenterology:()=>$4,deptgeneralpractice:()=>Y4,deptgenetics:()=>Z4,deptgeriatry:()=>K4,deptgynecology:()=>J4,depthandsurgery:()=>X4,depthematology:()=>Q4,deptinfectiousdisease:()=>ej,deptintensivecare:()=>tj,deptkinesitherapy:()=>nj,deptlaboratory:()=>ij,deptmajorburns:()=>aj,deptmaxillofacialsurgery:()=>rj,deptmedicine:()=>oj,deptmolecularbiology:()=>sj,deptneonatalogy:()=>lj,deptnephrology:()=>cj,deptneurology:()=>uj,deptneurosurgery:()=>dj,deptnte:()=>hj,deptnuclear:()=>pj,deptnursing:()=>mj,deptnutritiondietetics:()=>fj,deptobstetrics:()=>gj,deptoccupationaltherapy:()=>vj,deptoncology:()=>yj,deptophtalmology:()=>bj,deptorthopedy:()=>_j,deptpalliativecare:()=>xj,deptpediatricintensivecare:()=>wj,deptpediatricsurgery:()=>Ej,deptpediatry:()=>Sj,deptpharmacy:()=>kj,deptphysicalmedecine:()=>Cj,deptphysiotherapy:()=>Ij,deptplasticandreparatorysurgery:()=>Dj,deptpneumology:()=>Tj,deptpodiatry:()=>Oj,deptpodology:()=>Pj,deptpsychiatry:()=>Nj,deptpsychogeriatry:()=>Mj,deptpsychology:()=>Rj,deptradiology:()=>Aj,deptradiotherapy:()=>Lj,deptrevalidation:()=>Fj,deptrheumatology:()=>jj,deptrhumatology:()=>Vj,deptsenology:()=>Bj,deptsocialservice:()=>zj,deptspeechtherapy:()=>Hj,deptsportsmedecine:()=>Uj,deptstomatology:()=>Gj,deptsurgery:()=>Wj,deptthoracicsurgery:()=>qj,depttoxicology:()=>$j,depttropicalmedecine:()=>Yj,depturology:()=>Zj,deptvascularsurgery:()=>Kj,deptvisceraldigestiveabdominalsurgery:()=>Jj,diabete_equipment_supplier:()=>Xj,dietician:()=>Qj,doctor:()=>eV,family_science_bachelor:()=>tV,gerontology_master:()=>nV,groupofnurses:()=>iV,groupofphysiciansdifferentaddress:()=>aV,groupofphysicianssameaddress:()=>rV,guardpost:()=>oV,hub:()=>sV,imaging_technologist:()=>lV,implantprovider:()=>cV,lab_technologist:()=>uV,logopedist:()=>dV,midwife:()=>hV,nurse:()=>pV,occupational_therapist:()=>mV,optician:()=>fV,orghospital:()=>gV,orginsurance:()=>vV,orglaboratory:()=>yV,orgpharmacy:()=>bV,orgpharmacyinvoicingoffice:()=>_V,orgpolyclinic:()=>xV,orgpractice:()=>wV,orgprevention:()=>EV,orgprimaryhealthcarecenter:()=>SV,orgpsychiatriccarehome:()=>kV,orgpublichealth:()=>CV,orgretirementhome:()=>IV,orgrevalidationcenter:()=>DV,orgshelteredliving:()=>TV,orthopedagogist_master:()=>OV,orthopedist:()=>PV,orthoptist:()=>NV,orthotist:()=>MV,patient:()=>RV,pediatric_nurse:()=>AV,persadministrative:()=>LV,persambulancefirstaid:()=>FV,persappliedpsychbachelor:()=>jV,persaudician:()=>VV,persaudiologist:()=>BV,persbandagistorthosiologist:()=>zV,persbiologist:()=>HV,perscaregiver:()=>UV,persclinicalorthopedagogist:()=>GV,persclinicalpsychologist:()=>WV,persdentist:()=>qV,persdietician:()=>$V,perseducator:()=>YV,persfamilysciencebachelor:()=>ZV,persgerontologymaster:()=>KV,perslogopedist:()=>JV,persmidwife:()=>XV,persmobilityimprover:()=>QV,persnurse:()=>e9,persoccupationaltherapist:()=>t9,persoptician:()=>n9,persoptometrist:()=>i9,persoraldentalhygienist:()=>a9,persorthopedagogistmaster:()=>r9,persorthopedist:()=>o9,persorthoptist:()=>s9,persorthotist:()=>l9,persparamedical:()=>c9,perspatientdriver:()=>u9,perspharmacist:()=>d9,perspharmacistclinicalbiologist:()=>h9,perspharmacyassistant:()=>p9,persphysician:()=>m9,persphysiotherapist:()=>f9,perspodologist:()=>g9,perspracticalnurse:()=>v9,persprosthesiologist:()=>y9,perspsychologist:()=>b9,perspsychomotortherapymaster:()=>_9,persreadaptationbachelor:()=>x9,persshoetechnologist:()=>w9,perssocialworker:()=>E9,perstechnician:()=>S9,perstrussmaker:()=>k9,pharmacist:()=>C9,pharmacist_assistant:()=>I9,physician:()=>D9,physiotherapist:()=>T9,podologist:()=>O9,practical_nurse:()=>P9,prosthetist:()=>N9,psychologist:()=>M9,psychomotor_therapy_master:()=>R9,readaptaion_bachelor:()=>A9,social_worker:()=>L9,specialized_educator:()=>F9,truss_maker:()=>j9});var b4="Ambulance Driver",_4="Ambulance First Aider",x4="Ambulance Rescuer",w4="Software application",E4="Bachelor in Applied Psychology",S4="Audician",k4="Audiologist",C4="Biologist Pharmacist",I4="Caregiver",D4="Certificate holder",T4="Citizen",O4="Clinical Orthopedic Pedagogue",P4="Clinical Psychologist",N4="Dental Hygienist",M4="Dentist",R4="Algology",A4="Anatomopathology",L4="Anesthesiology",F4="Bacteriology",j4="Cardiac surgery",V4="Cardiology",B4="Child and adolescent psychiatry",z4="Dentistry",H4="Dermatology",U4="Diabetology",G4="Dietetics",W4="Emergency",q4="Endocrinology",$4="Gastroenterology",Y4="General practice",Z4="Genetics",K4="Geriatry",J4="Gynecology",X4="Hand surgery",Q4="Hematology",ej="Infectious disease",tj="Intensive care",nj="Kinesitherapy",ij="Laboratory service or department within an organisation",aj="Major burns",rj="Maxillofacial surgery",oj="Internal medecine",sj="Molecular biology",lj="Neonatalogy",cj="Nephrology",uj="Neurology",dj="Neurology",hj="Nose-throat-ear",pj="Nuclear",mj="Nursing",fj="Nutritional dietetics",gj="Obstetrics",vj="Occupational therapy",yj="Oncology",bj="Ophthalmology",_j="Orthopedy",xj="Palliative care",wj="Pediatric intensive care",Ej="Pediatric surgery",Sj="Pediatry",kj="Pharmacy Service/Department within an organization",Cj="Physical medecine",Ij="Physiotherapy",Dj="Plastic and reparatory surgery",Tj="Pneumology",Oj="Podiatry",Pj="Podiatry",Nj="Psychiatry",Mj="Psychogeriatry",Rj="Psychology",Aj="Radiology",Lj="Radiotherapy",Fj="Revalidation",jj="Rheumatology",Vj="Rhumatology",Bj="Senology",zj="Social service",Hj="Speech therapy",Uj="Sports medecine",Gj="Stomatology",Wj="Surgery",qj="Thoracic surgery",$j="Toxicology",Yj="Tropical medecine",Zj="Urology",Kj="Vascular surgery",Jj="Visceral digestive abdominal surgery",Xj="Diabetes Management Equipment Supplier",Qj="Dietitian",eV="Doctor",tV="Bachelor in Family Science",nV="Master in Gerontology",iV="Group of nurses",aV="Group of physicians different address",rV="Group of physicians same address",oV="Guard post",sV="Hub",lV="Medical Imaging Technologist",cV="Implant Provider",uV="Laboratory Technologist",dV="Logopedist",hV="Midwife",pV="Nurse",mV="Occupational Therapist",fV="Optician",gV="Hospital",vV="Insurance",yV="Independent laboratory",bV="Independent pharmacy",_V="Pharmacy invoicing office",xV="Polyclinic",wV="Practice organisation",EV="Prevention Service",SV="Primary health care center",kV="Psychiatric care home",CV="Public health organisation",IV="Retirementhome",DV="Revalidation center",TV="Sheltered living",OV="Master's in Orthopedagogy",PV="Orthopedist",NV="Orthoptist-Optometrist",MV="Orthotist",RV="Patient",AV="Pediatric Nurse",LV="Administrative",FV="Ambulance first aid",jV="Bachelor in Applied psychology",VV="Audician",BV="Audiologist",zV="Bandagist orthosiologist (orthopedic technologist)",HV="Medical laboratory technician",UV="Informal Caregiver",GV="Clinical orthopedagogist",WV="Clinical psychologist",qV="Dentist",$V="Dietician",YV="Educator",ZV="Bachelor in Family sciences",KV="Master in Gerontological sciences",JV="Logopedist",XV="Midwife",QV="Mobility improver (orthopedic technologist)",e9="Nurse",t9="Occupational therapist",n9="Optician",i9="Optometrist",a9="Oral Dental Hygienist",r9="Master of orthopedagogist",o9="Orthopedist",s9="Orthoptist",l9="Orthotist/Prosthetist",c9="Paramedical staff",u9="Patient Transporter (non-urgent)",d9="Pharmacist",h9="Pharmacist-clinical biologist",p9="Pharmacy assistant",m9="Physician",f9="Physiotherapist",g9="Podiologist",v9="Practical nurse",y9="prosthesiologist (orthopedic technologist)",b9="Psychologist",_9="Master in Psychomotor Therapy",x9="Bachelor in Physiotherapy and Rehabilitation",w9="shoe technologist (orthopedic technologist)",E9="Social worker",S9="Medical Imaging Technician",k9="Truss maker",C9="Pharmacist",I9="Pharmaceutical Technician Assistant",D9="Physician",T9="Physiotherapist",O9="Podiatrist",P9="Practical Nurse",N9="Prosthetist",M9="Clinical Psychologist",R9="Master's in Psychomotor Therapy",A9="Bachelor in Rehabilitation",L9="Social Worker",F9="Specialized Educator",j9="Truss Maker",Sxe={ambulance_driver:b4,ambulance_first_aid:_4,ambulance_rescuer:x4,application:w4,applied_psychology_bachelor:E4,audician:S4,audiologist:k4,biologist_pharmacist:C4,care_giver:I4,certificateholder:D4,citizen:T4,clinical_orthopedic_pedagogue:O4,clinical_psychologist:P4,dental_hygienist:N4,dentist:M4,deptalgology:R4,deptanatomopathology:A4,deptanesthesiology:L4,deptbacteriology:F4,deptcardiacsurgery:j4,deptcardiology:V4,deptchildandadolescentpsychiatry:B4,deptdentistry:z4,deptdermatology:H4,deptdiabetology:U4,deptdietetics:G4,deptemergency:W4,deptendocrinology:q4,deptgastroenterology:$4,deptgeneralpractice:Y4,deptgenetics:Z4,deptgeriatry:K4,deptgynecology:J4,depthandsurgery:X4,depthematology:Q4,deptinfectiousdisease:ej,deptintensivecare:tj,deptkinesitherapy:nj,deptlaboratory:ij,deptmajorburns:aj,deptmaxillofacialsurgery:rj,deptmedicine:oj,deptmolecularbiology:sj,deptneonatalogy:lj,deptnephrology:cj,deptneurology:uj,deptneurosurgery:dj,deptnte:hj,deptnuclear:pj,deptnursing:mj,deptnutritiondietetics:fj,deptobstetrics:gj,deptoccupationaltherapy:vj,deptoncology:yj,deptophtalmology:bj,deptorthopedy:_j,deptpalliativecare:xj,deptpediatricintensivecare:wj,deptpediatricsurgery:Ej,deptpediatry:Sj,deptpharmacy:kj,deptphysicalmedecine:Cj,deptphysiotherapy:Ij,deptplasticandreparatorysurgery:Dj,deptpneumology:Tj,deptpodiatry:Oj,deptpodology:Pj,deptpsychiatry:Nj,deptpsychogeriatry:Mj,deptpsychology:Rj,deptradiology:Aj,deptradiotherapy:Lj,deptrevalidation:Fj,deptrheumatology:jj,deptrhumatology:Vj,deptsenology:Bj,deptsocialservice:zj,deptspeechtherapy:Hj,deptsportsmedecine:Uj,deptstomatology:Gj,deptsurgery:Wj,deptthoracicsurgery:qj,depttoxicology:$j,depttropicalmedecine:Yj,depturology:Zj,deptvascularsurgery:Kj,deptvisceraldigestiveabdominalsurgery:Jj,diabete_equipment_supplier:Xj,dietician:Qj,doctor:eV,family_science_bachelor:tV,gerontology_master:nV,groupofnurses:iV,groupofphysiciansdifferentaddress:aV,groupofphysicianssameaddress:rV,guardpost:oV,hub:sV,imaging_technologist:lV,implantprovider:cV,lab_technologist:uV,logopedist:dV,midwife:hV,nurse:pV,occupational_therapist:mV,optician:fV,orghospital:gV,orginsurance:vV,orglaboratory:yV,orgpharmacy:bV,orgpharmacyinvoicingoffice:_V,orgpolyclinic:xV,orgpractice:wV,orgprevention:EV,orgprimaryhealthcarecenter:SV,orgpsychiatriccarehome:kV,orgpublichealth:CV,orgretirementhome:IV,orgrevalidationcenter:DV,orgshelteredliving:TV,orthopedagogist_master:OV,orthopedist:PV,orthoptist:NV,orthotist:MV,patient:RV,pediatric_nurse:AV,persadministrative:LV,persambulancefirstaid:FV,persappliedpsychbachelor:jV,persaudician:VV,persaudiologist:BV,persbandagistorthosiologist:zV,persbiologist:HV,perscaregiver:UV,persclinicalorthopedagogist:GV,persclinicalpsychologist:WV,persdentist:qV,persdietician:$V,perseducator:YV,persfamilysciencebachelor:ZV,persgerontologymaster:KV,perslogopedist:JV,persmidwife:XV,persmobilityimprover:QV,persnurse:e9,persoccupationaltherapist:t9,persoptician:n9,persoptometrist:i9,persoraldentalhygienist:a9,persorthopedagogistmaster:r9,persorthopedist:o9,persorthoptist:s9,persorthotist:l9,persparamedical:c9,perspatientdriver:u9,perspharmacist:d9,perspharmacistclinicalbiologist:h9,perspharmacyassistant:p9,persphysician:m9,persphysiotherapist:f9,perspodologist:g9,perspracticalnurse:v9,persprosthesiologist:y9,perspsychologist:b9,perspsychomotortherapymaster:_9,persreadaptationbachelor:x9,persshoetechnologist:w9,perssocialworker:E9,perstechnician:S9,perstrussmaker:k9,pharmacist:C9,pharmacist_assistant:I9,physician:D9,physiotherapist:T9,podologist:O9,practical_nurse:P9,prosthetist:N9,psychologist:M9,psychomotor_therapy_master:R9,readaptaion_bachelor:A9,social_worker:L9,specialized_educator:F9,truss_maker:j9},V9={};K(V9,{ambulance_driver:()=>B9,ambulance_first_aid:()=>z9,ambulance_rescuer:()=>H9,application:()=>U9,applied_psychology_bachelor:()=>G9,audician:()=>W9,audiologist:()=>q9,biologist_pharmacist:()=>$9,care_giver:()=>Y9,certificateholder:()=>Z9,citizen:()=>K9,clinical_orthopedic_pedagogue:()=>J9,clinical_psychologist:()=>X9,default:()=>kxe,dental_hygienist:()=>Q9,dentist:()=>eB,deptalgology:()=>tB,deptanatomopathology:()=>nB,deptanesthesiology:()=>iB,deptbacteriology:()=>aB,deptcardiacsurgery:()=>rB,deptcardiology:()=>oB,deptchildandadolescentpsychiatry:()=>sB,deptdentistry:()=>lB,deptdermatology:()=>cB,deptdiabetology:()=>uB,deptdietetics:()=>dB,deptemergency:()=>hB,deptendocrinology:()=>pB,deptgastroenterology:()=>mB,deptgeneralpractice:()=>fB,deptgenetics:()=>gB,deptgeriatry:()=>vB,deptgynecology:()=>yB,depthandsurgery:()=>bB,depthematology:()=>_B,deptinfectiousdisease:()=>xB,deptintensivecare:()=>wB,deptkinesitherapy:()=>EB,deptlaboratory:()=>SB,deptmajorburns:()=>kB,deptmaxillofacialsurgery:()=>CB,deptmedicine:()=>IB,deptmolecularbiology:()=>DB,deptneonatalogy:()=>TB,deptnephrology:()=>OB,deptneurology:()=>PB,deptneurosurgery:()=>NB,deptnte:()=>MB,deptnuclear:()=>RB,deptnursing:()=>AB,deptnutritiondietetics:()=>LB,deptobstetrics:()=>FB,deptoccupationaltherapy:()=>jB,deptoncology:()=>VB,deptophtalmology:()=>BB,deptorthopedy:()=>zB,deptpalliativecare:()=>HB,deptpediatricintensivecare:()=>UB,deptpediatricsurgery:()=>GB,deptpediatry:()=>WB,deptpharmacy:()=>qB,deptphysicalmedecine:()=>$B,deptphysiotherapy:()=>YB,deptplasticandreparatorysurgery:()=>ZB,deptpneumology:()=>KB,deptpodiatry:()=>JB,deptpodology:()=>XB,deptpsychiatry:()=>QB,deptpsychogeriatry:()=>ez,deptpsychology:()=>tz,deptradiology:()=>nz,deptradiotherapy:()=>iz,deptrevalidation:()=>az,deptrheumatology:()=>rz,deptrhumatology:()=>oz,deptsenology:()=>sz,deptsocialservice:()=>lz,deptspeechtherapy:()=>cz,deptsportsmedecine:()=>uz,deptstomatology:()=>dz,deptsurgery:()=>hz,deptthoracicsurgery:()=>pz,depttoxicology:()=>mz,depttropicalmedecine:()=>fz,depturology:()=>gz,deptvascularsurgery:()=>vz,deptvisceraldigestiveabdominalsurgery:()=>yz,diabete_equipment_supplier:()=>bz,dietician:()=>_z,doctor:()=>xz,family_science_bachelor:()=>wz,gerontology_master:()=>Ez,groupofnurses:()=>Sz,groupofphysiciansdifferentaddress:()=>kz,groupofphysicianssameaddress:()=>Cz,guardpost:()=>Iz,hub:()=>Dz,imaging_technologist:()=>Tz,implantprovider:()=>Oz,lab_technologist:()=>Pz,logopedist:()=>Nz,midwife:()=>Mz,nurse:()=>Rz,occupational_therapist:()=>Az,optician:()=>Lz,orghospital:()=>Fz,orginsurance:()=>jz,orglaboratory:()=>Vz,orgpharmacy:()=>Bz,orgpharmacyinvoicingoffice:()=>zz,orgpolyclinic:()=>Hz,orgpractice:()=>Uz,orgprevention:()=>Gz,orgprimaryhealthcarecenter:()=>Wz,orgpsychiatriccarehome:()=>qz,orgpublichealth:()=>$z,orgretirementhome:()=>Yz,orgrevalidationcenter:()=>Zz,orgshelteredliving:()=>Kz,orthopedagogist_master:()=>Jz,orthopedist:()=>Xz,orthoptist:()=>Qz,orthotist:()=>e7,patient:()=>t7,pediatric_nurse:()=>n7,persadministrative:()=>i7,persambulancefirstaid:()=>a7,persappliedpsychbachelor:()=>r7,persaudician:()=>o7,persaudiologist:()=>s7,persbandagistorthosiologist:()=>l7,persbiologist:()=>c7,perscaregiver:()=>u7,persclinicalorthopedagogist:()=>d7,persclinicalpsychologist:()=>h7,persdentist:()=>p7,persdietician:()=>m7,perseducator:()=>f7,persfamilysciencebachelor:()=>g7,persgerontologymaster:()=>v7,perslogopedist:()=>y7,persmidwife:()=>b7,persmobilityimprover:()=>_7,persnurse:()=>x7,persoccupationaltherapist:()=>w7,persoptician:()=>E7,persoptometrist:()=>S7,persoraldentalhygienist:()=>k7,persorthopedagogistmaster:()=>C7,persorthopedist:()=>I7,persorthoptist:()=>D7,persorthotist:()=>T7,persparamedical:()=>O7,perspatientdriver:()=>P7,perspharmacist:()=>N7,perspharmacistclinicalbiologist:()=>M7,perspharmacyassistant:()=>R7,persphysician:()=>A7,persphysiotherapist:()=>L7,perspodologist:()=>F7,perspracticalnurse:()=>j7,persprosthesiologist:()=>V7,perspsychologist:()=>B7,perspsychomotortherapymaster:()=>z7,persreadaptationbachelor:()=>H7,persshoetechnologist:()=>U7,perssocialworker:()=>G7,perstechnician:()=>W7,perstrussmaker:()=>q7,pharmacist:()=>$7,pharmacist_assistant:()=>Y7,physician:()=>Z7,physiotherapist:()=>K7,podologist:()=>J7,practical_nurse:()=>X7,prosthetist:()=>Q7,psychologist:()=>eH,psychomotor_therapy_master:()=>tH,readaptaion_bachelor:()=>nH,social_worker:()=>iH,specialized_educator:()=>aH,truss_maker:()=>rH});var B9="Ambulancier",z9="Ambulancier secouriste",H9="Ambulancier secouriste",U9="application logicielle",G9="Bachelier en psychologie appliquée",W9="Audicien",q9="Audiologue",$9="Pharmacien biologiste",Y9="Personnel soignant",Z9="Titulaire du certificat",K9="Citoyen",J9="Orthopédagogue clinicien",X9="Psychologue clinicien",Q9="Hygiéniste bucco-dentaire",eB="Dentiste",tB="algologie",nB="anatomopathologie",iB="anesthésiologie",aB="bactériologie",rB="chirurgie cardiaque",oB="cardiologie",sB="psychiatrie de l’enfant et de l’adolescent",lB="dentisterie",cB="dermatologie",uB="diabétologie",dB="diététique",hB="services d’urgence",pB="endocrinologie",mB="gastroentérologie",fB="médecine générale",gB="génétique",vB="gériatrie",yB="gynécologie",bB="chirurgie de la main",_B="hématologie",xB="maladie infectieuse",wB="soins intensifs",EB="kinésithérapie",SB="Service/Département laboratoire au sein d’une organisation",kB="grands brûlés",CB="chirurgie maxillo-faciale",IB="médecine interne",DB="biologie moléculaire",TB="néonatologie",OB="néphrologie",PB="neurologie",NB="neurologie",MB="oto-rhino-laryngologie",RB="médecine nucléaire",AB="soins infirmiers",LB="diététique nutritionnelle",FB="obstétrique",jB="ergothérapie",VB="oncologie",BB="ophtalmologie",zB="orthopédie",HB="soins palliatifs",UB="soins intensifs pédiatriques",GB="chirurgie pédiatrique",WB="pédiatrie",qB="Service/Département pharmacie au sein d’une organisation",$B="médecine physique",YB="physiothérapie",ZB="chirurgie esthétique et réparatrice",KB="pneumologie",JB="podiatrie",XB="",QB="psychiatrie",ez="Psychogériatrie",tz="psychologie",nz="radiologie",iz="radiothérapie",az="rééducation",rz="rhumatologie",oz="",sz="sénologie",lz="service social",cz="logopédie",uz="médecine des sports",dz="stomatologie",hz="chirurgie",pz="chirurgie thoracique",mz="toxicologie",fz="médecine tropicale",gz="urologie",vz="chirurgie vasculaire",yz="chirurgie abdominale, digestive et viscérale",bz="Fournisseur de matériel d’autogestion diabétique",_z="Diététicien",xz="Médecin",wz="Bachelier en science de la famille",Ez="Master en gérontologie",Sz="Regroupement d’infirmiers",kz="Regroupement de médecins adresse différente",Cz="regroupement de médecins même adresse",Iz="poste de garde",Dz="hub",Tz="Technologue en imagerie médicale",Oz="Dispensateur d’implants",Pz="Technologue de labo",Nz="Logopède",Mz="Sage-femme",Rz="Infirmier\\Infirmière",Az="Ergothérapeute",Lz="Opticien",Fz="hôpital",jz="assurance",Vz="laboratoire indépendant",Bz="Pharmacie indépendante",zz="office de tarification",Hz="polyclinique",Uz="cabinet",Gz="Service de prévention",Wz="Maison médicale",qz="maison de soins psychiatriques",$z="service public de santé",Yz="maison de repos",Zz="centre de revalidation",Kz="initiative d’habitation protégée",Jz="Master en Orthopédagogie",Xz="Orthopédiste",Qz="Orthoptiste-Optométriste",e7="Orthésiste",t7="Patient",n7="Puéricultrice",i7="personnel admistratif",a7="ambulance premier secours",r7="Bachelier en psychologie",o7="audicien",s7="audiologue",l7="orthosiologue bandagiste (technologue en orthopédie)",c7="technicien de laboratoire médical",u7="soignant informel",d7="Orthopédagogue clinicien",h7="Psychologue clinicien",p7="dentiste",m7="diététicien",f7="éducateur",g7="Bachelier en sciences de la famille",v7="Master en gérontologie",y7="logopède",b7="sage-femme",_7="améliorateur de mobilité (technologue en orthopédie)",x7="infirmier",w7="ergothérapeute",E7="opticien",S7="optométriste",k7="Hygiéniste bucco-dentaire",C7="Master en orthopédagogie",I7="orthopédiste",D7="orthoptiste",T7="Orthésiste/Prothésiste",O7="personnel paramédical",P7="Transporteur de patient (non urgent)",N7="pharmacien",M7="pharmacien-biologiste clinicien",R7="assistant en pharmacie",A7="médecin",L7="kinésithérapeute",F7="podologue",j7="aide-soignante",V7="prothésiste (technologue en orthopédie)",B7="psychologue",z7="Master en thérapie psychomotrice",H7="Bachelier en kinésithérapie et réadaptation",U7="technicien de chaussures (technologue en orthopédie)",G7="travailleur social",W7="Technicien d’imagerie médicale",q7="Bandagiste",$7="Pharmacien",Y7="Assistant Pharmaceutico-Technique",Z7="Médecin",K7="Physiothérapeute",J7="Podologue",X7="Aide-soignant",Q7="Prothésiste",eH="Psychologue clinicien",tH="Master en thérapie psychomotrice",nH="Bachelier en réadaptation",iH="Assistant social",aH="Educateur spécialisé",rH="Bandagiste",kxe={ambulance_driver:B9,ambulance_first_aid:z9,ambulance_rescuer:H9,application:U9,applied_psychology_bachelor:G9,audician:W9,audiologist:q9,biologist_pharmacist:$9,care_giver:Y9,certificateholder:Z9,citizen:K9,clinical_orthopedic_pedagogue:J9,clinical_psychologist:X9,dental_hygienist:Q9,dentist:eB,deptalgology:tB,deptanatomopathology:nB,deptanesthesiology:iB,deptbacteriology:aB,deptcardiacsurgery:rB,deptcardiology:oB,deptchildandadolescentpsychiatry:sB,deptdentistry:lB,deptdermatology:cB,deptdiabetology:uB,deptdietetics:dB,deptemergency:hB,deptendocrinology:pB,deptgastroenterology:mB,deptgeneralpractice:fB,deptgenetics:gB,deptgeriatry:vB,deptgynecology:yB,depthandsurgery:bB,depthematology:_B,deptinfectiousdisease:xB,deptintensivecare:wB,deptkinesitherapy:EB,deptlaboratory:SB,deptmajorburns:kB,deptmaxillofacialsurgery:CB,deptmedicine:IB,deptmolecularbiology:DB,deptneonatalogy:TB,deptnephrology:OB,deptneurology:PB,deptneurosurgery:NB,deptnte:MB,deptnuclear:RB,deptnursing:AB,deptnutritiondietetics:LB,deptobstetrics:FB,deptoccupationaltherapy:jB,deptoncology:VB,deptophtalmology:BB,deptorthopedy:zB,deptpalliativecare:HB,deptpediatricintensivecare:UB,deptpediatricsurgery:GB,deptpediatry:WB,deptpharmacy:qB,deptphysicalmedecine:$B,deptphysiotherapy:YB,deptplasticandreparatorysurgery:ZB,deptpneumology:KB,deptpodiatry:JB,deptpodology:XB,deptpsychiatry:QB,deptpsychogeriatry:ez,deptpsychology:tz,deptradiology:nz,deptradiotherapy:iz,deptrevalidation:az,deptrheumatology:rz,deptrhumatology:oz,deptsenology:sz,deptsocialservice:lz,deptspeechtherapy:cz,deptsportsmedecine:uz,deptstomatology:dz,deptsurgery:hz,deptthoracicsurgery:pz,depttoxicology:mz,depttropicalmedecine:fz,depturology:gz,deptvascularsurgery:vz,deptvisceraldigestiveabdominalsurgery:yz,diabete_equipment_supplier:bz,dietician:_z,doctor:xz,family_science_bachelor:wz,gerontology_master:Ez,groupofnurses:Sz,groupofphysiciansdifferentaddress:kz,groupofphysicianssameaddress:Cz,guardpost:Iz,hub:Dz,imaging_technologist:Tz,implantprovider:Oz,lab_technologist:Pz,logopedist:Nz,midwife:Mz,nurse:Rz,occupational_therapist:Az,optician:Lz,orghospital:Fz,orginsurance:jz,orglaboratory:Vz,orgpharmacy:Bz,orgpharmacyinvoicingoffice:zz,orgpolyclinic:Hz,orgpractice:Uz,orgprevention:Gz,orgprimaryhealthcarecenter:Wz,orgpsychiatriccarehome:qz,orgpublichealth:$z,orgretirementhome:Yz,orgrevalidationcenter:Zz,orgshelteredliving:Kz,orthopedagogist_master:Jz,orthopedist:Xz,orthoptist:Qz,orthotist:e7,patient:t7,pediatric_nurse:n7,persadministrative:i7,persambulancefirstaid:a7,persappliedpsychbachelor:r7,persaudician:o7,persaudiologist:s7,persbandagistorthosiologist:l7,persbiologist:c7,perscaregiver:u7,persclinicalorthopedagogist:d7,persclinicalpsychologist:h7,persdentist:p7,persdietician:m7,perseducator:f7,persfamilysciencebachelor:g7,persgerontologymaster:v7,perslogopedist:y7,persmidwife:b7,persmobilityimprover:_7,persnurse:x7,persoccupationaltherapist:w7,persoptician:E7,persoptometrist:S7,persoraldentalhygienist:k7,persorthopedagogistmaster:C7,persorthopedist:I7,persorthoptist:D7,persorthotist:T7,persparamedical:O7,perspatientdriver:P7,perspharmacist:N7,perspharmacistclinicalbiologist:M7,perspharmacyassistant:R7,persphysician:A7,persphysiotherapist:L7,perspodologist:F7,perspracticalnurse:j7,persprosthesiologist:V7,perspsychologist:B7,perspsychomotortherapymaster:z7,persreadaptationbachelor:H7,persshoetechnologist:U7,perssocialworker:G7,perstechnician:W7,perstrussmaker:q7,pharmacist:$7,pharmacist_assistant:Y7,physician:Z7,physiotherapist:K7,podologist:J7,practical_nurse:X7,prosthetist:Q7,psychologist:eH,psychomotor_therapy_master:tH,readaptaion_bachelor:nH,social_worker:iH,specialized_educator:aH,truss_maker:rH},oH={};K(oH,{ambulance_driver:()=>sH,ambulance_first_aid:()=>lH,ambulance_rescuer:()=>cH,application:()=>uH,applied_psychology_bachelor:()=>dH,audician:()=>hH,audiologist:()=>pH,biologist_pharmacist:()=>mH,care_giver:()=>fH,certificateholder:()=>gH,citizen:()=>vH,clinical_orthopedic_pedagogue:()=>yH,clinical_psychologist:()=>bH,default:()=>Cxe,dental_hygienist:()=>_H,dentist:()=>xH,deptalgology:()=>wH,deptanatomopathology:()=>EH,deptanesthesiology:()=>SH,deptbacteriology:()=>kH,deptcardiacsurgery:()=>CH,deptcardiology:()=>IH,deptchildandadolescentpsychiatry:()=>DH,deptdentistry:()=>TH,deptdermatology:()=>OH,deptdiabetology:()=>PH,deptdietetics:()=>NH,deptemergency:()=>MH,deptendocrinology:()=>RH,deptgastroenterology:()=>AH,deptgeneralpractice:()=>LH,deptgenetics:()=>FH,deptgeriatry:()=>jH,deptgynecology:()=>VH,depthandsurgery:()=>BH,depthematology:()=>zH,deptinfectiousdisease:()=>HH,deptintensivecare:()=>UH,deptkinesitherapy:()=>GH,deptlaboratory:()=>WH,deptmajorburns:()=>qH,deptmaxillofacialsurgery:()=>$H,deptmedicine:()=>YH,deptmolecularbiology:()=>ZH,deptneonatalogy:()=>KH,deptnephrology:()=>JH,deptneurology:()=>XH,deptneurosurgery:()=>QH,deptnte:()=>e6,deptnuclear:()=>t6,deptnursing:()=>n6,deptnutritiondietetics:()=>i6,deptobstetrics:()=>a6,deptoccupationaltherapy:()=>r6,deptoncology:()=>o6,deptophtalmology:()=>s6,deptorthopedy:()=>l6,deptpalliativecare:()=>c6,deptpediatricintensivecare:()=>u6,deptpediatricsurgery:()=>d6,deptpediatry:()=>h6,deptpharmacy:()=>p6,deptphysicalmedecine:()=>m6,deptphysiotherapy:()=>f6,deptplasticandreparatorysurgery:()=>g6,deptpneumology:()=>v6,deptpodiatry:()=>y6,deptpodology:()=>b6,deptpsychiatry:()=>_6,deptpsychogeriatry:()=>x6,deptpsychology:()=>w6,deptradiology:()=>E6,deptradiotherapy:()=>S6,deptrevalidation:()=>k6,deptrheumatology:()=>C6,deptsenology:()=>I6,deptsocialservice:()=>D6,deptspeechtherapy:()=>T6,deptsportsmedecine:()=>O6,deptstomatology:()=>P6,deptsurgery:()=>N6,deptthoracicsurgery:()=>M6,depttoxicology:()=>R6,depttropicalmedecine:()=>A6,depturology:()=>L6,deptvascularsurgery:()=>F6,deptvisceraldigestiveabdominalsurgery:()=>j6,diabete_equipment_supplier:()=>V6,dietician:()=>B6,doctor:()=>z6,family_science_bachelor:()=>H6,gerontology_master:()=>U6,groupofnurses:()=>G6,groupofphysiciansdifferentaddress:()=>W6,groupofphysicianssameaddress:()=>q6,guardpost:()=>$6,hub:()=>Y6,imaging_technologist:()=>Z6,implantprovider:()=>K6,lab_technologist:()=>J6,logopedist:()=>X6,midwife:()=>Q6,nurse:()=>eU,occupational_therapist:()=>tU,optician:()=>nU,orghospital:()=>iU,orginsurance:()=>aU,orglaboratory:()=>rU,orgpharmacy:()=>oU,orgpharmacyinvoicingoffice:()=>sU,orgpolyclinic:()=>lU,orgpractice:()=>cU,orgprevention:()=>uU,orgprimaryhealthcarecenter:()=>dU,orgpsychiatriccarehome:()=>hU,orgpublichealth:()=>pU,orgretirementhome:()=>mU,orgrevalidationcenter:()=>fU,orgshelteredliving:()=>gU,orthopedagogist_master:()=>vU,orthopedist:()=>yU,orthoptist:()=>bU,orthotist:()=>_U,patient:()=>xU,pediatric_nurse:()=>wU,persadministrative:()=>EU,persambulancefirstaid:()=>SU,persappliedpsychbachelor:()=>kU,persaudician:()=>CU,persaudiologist:()=>IU,persbandagistorthosiologist:()=>DU,persbiologist:()=>TU,perscaregiver:()=>OU,persclinicalorthopedagogist:()=>PU,persclinicalpsychologist:()=>NU,persdentist:()=>MU,persdietician:()=>RU,perseducator:()=>AU,persfamilysciencebachelor:()=>LU,persgerontologymaster:()=>FU,perslogopedist:()=>jU,persmidwife:()=>VU,persmobilityimprover:()=>BU,persnurse:()=>zU,persoccupationaltherapist:()=>HU,persoptician:()=>UU,persoptometrist:()=>GU,persoraldentalhygienist:()=>WU,persorthopedagogistmaster:()=>qU,persorthopedist:()=>$U,persorthoptist:()=>YU,persorthotist:()=>ZU,persparamedical:()=>KU,perspatientdriver:()=>JU,perspharmacist:()=>XU,perspharmacistclinicalbiologist:()=>QU,perspharmacyassistant:()=>e8,persphysician:()=>t8,persphysiotherapist:()=>n8,perspodologist:()=>i8,perspracticalnurse:()=>a8,persprosthesiologist:()=>r8,perspsychologist:()=>o8,perspsychomotortherapymaster:()=>s8,persreadaptationbachelor:()=>l8,persshoetechnologist:()=>c8,perssocialworker:()=>u8,perstechnician:()=>d8,perstrussmaker:()=>h8,pharmacist:()=>p8,pharmacist_assistant:()=>m8,physician:()=>f8,physiotherapist:()=>g8,podologist:()=>v8,practical_nurse:()=>y8,prosthetist:()=>b8,psychologist:()=>_8,psychomotor_therapy_master:()=>x8,readaptaion_bachelor:()=>w8,social_worker:()=>E8,specialized_educator:()=>S8,truss_maker:()=>k8});var sH="Ambulancebestuurder",lH="Ambulancier eerste hulp",cH="Amublancier eerste hulp",uH="softwaretoepassing",dH="Bachelor toegepaste psychologie",hH="Audicien",pH="Audioloog",mH="Apotheker-bioloog",fH="Verzorgingspersoneel",gH="Houder van certificaat",vH="Burger",yH="Klinische orthopedagoog",bH="Klinische psycholoog",_H="Mondhygiënist",xH="Tandarts",wH="algologie",EH="anatomo-pathologie",SH="anesthesiologie",kH="bacteriologie",CH="hartchirurgie",IH="cardiologie",DH="kinder- en jeugdpsychiatrie",TH="tandheelkunde",OH="dermatologie",PH="diabetologie",NH="diëtetiek",MH="spoeddiensten",RH="endocrinologie/hormonenleer",AH="gastro-enterologie",LH="algemene geneeskunde",FH="genetica",jH="geriatrie",VH="gynaecologie",BH="handchirurgie",zH="hematologie",HH="infectieziekte",UH="intensieve zorgen",GH="kinesitherapie",WH="Laboratoriumdienst of -afdeling binnen een organisatie",qH="brandwondencentrum",$H="mond-, kaak- en aangezichtschirurgie",YH="interne geneeskunde",ZH="moleculaire biologie",KH="neonatologie",JH="nefrologie",XH="neurologie",QH="neurologie",e6="oto-rhino-laryngologie",t6="nucleaire geneeskunde",n6="verpleegkunde",i6="diëtetiek",a6="verloskunde",r6="ergotherapie",o6="oncologie",s6="oftalmologie",l6="orthopedie",c6="palliatieve zorg",u6="intensieve zorg voor kinderen",d6="kinderchirurgie",h6="pediatrie",p6="Apotheekdienst of -afdeling binnen een organisatie",m6="fysische geneeskunde",f6="fysiotherapie",g6="plastische en reconstructieve chirurgie",v6="pulmonologie",y6="podiatrie",b6="",_6="psychiatrie",x6="Psychogeriatrie",w6="psychologie",E6="radiologie",S6="radiotherapie",k6="revalidatie",C6="reumatologie",I6="senologie",D6="sociale dienst",T6="logopedie",O6="sportgeneeskunde",P6="stomatologie",N6="chirurgie",M6="thoraxchirurgie",R6="toxicologie",A6="tropische geneeskunde",L6="urologie",F6="vasculaire chirurgie",j6="digestieve/viscerale chirurgie/buikchirurgie",V6="Leverancier van materiaal voor diabetische zelfzorg ",B6="Diëtist",z6="Arts",H6="Bachelor gezinswetenschappen",U6="Master gerontologie",G6="Groepering van verplegers",W6="Groepering van artsen verschillend adres",q6="groepering van artsen zelfde adres",$6="wachtpost",Y6="hub",Z6="Technoloog medische beeldvorming",K6="Leverancier implantaten",J6="Laboratoriumtechnoloog",X6="Logopedist",Q6="Vroedvrouw",eU="verpleegkundige",tU="Ergotherapeut",nU="Opticien",iU="ziekenhuis",aU="verzekering",rU="Onafhankelijk laboratorium",oU="Onafhankelijke apotheek",sU="Facturatie kantoor apotheek",lU="polikliniek",cU="praktijk",uU="Preventiedienst",dU="medisch huis",hU="psychiatrisch verzorgingstehuis",pU="openbare gezondheidsdienst",mU="woonzorgcentrum",fU="revalidatiecentrum",gU="initiatief voor beschut wonen",vU="Master orthopedagogie",yU="Orthopedist",bU="Orthoptist-optometrist",_U="Orthesist",xU="Patiënt",wU="Kinderverzorgsters",EU="administratief medewerker",SU="ambulance eerste hulp",kU="Bachelor in de toegepaste psychologie",CU="audicien",IU="audioloog",DU="Bandagist orthosioloog (orthopedisch technoloog)",TU="medisch laboratoriumtechnoloog",OU="mantelzorger",PU="Klinisch orthopedagoog",NU="Klinisch psycholoog",MU="tandarts",RU="diëtist",AU="opvoeder",LU="Bachelor in de gezinswetenschappen",FU="Master in de gerontologie",jU="logopedist",VU="vroedvrouw",BU="mobiliteitsverbeteraar (orthopedisch technoloog)",zU="verpleegkundige",HU="ergotherapeut",UU="opticien",GU="optometrist",WU="Mondhygiënist",qU="Master in de orthopedagogie",$U="orthopedist",YU="orthoptist",ZU="Orthopedisch technicus",KU="paramedisch personeel",JU="Ziekenvervoerder (niet urgent)",XU="apotheker",QU="apotheker-klinisch bioloog",e8="apothekersassistent",t8="arts",n8="kinesitherapeut",i8="podologist",a8="verzorgende",r8="prothesemaker (orthopedisch technoloog)",o8="psycholoog",s8="Master in de psychomotorische therapie",l8="Bachelor in de readaptatiewetenschappen",c8="schoentechnicus (orthopedisch technoloog)",u8="maatschappelijk werker",d8="Technicus medische beeldvorming",h8="Bandagist",p8="Apotheker",m8="Farmaceutisch-technisch assistent",f8="Arts",g8="Fysiotherapeut",v8="Podoloog",y8="Zorgkundige",b8="Prothesist",_8="Psycholoog",x8="Master psychomotorische therapie",w8="Bachelor readaptatiewetenschappen",E8="Sociaal assistent",S8="Bachelor opvoedkunde",k8="Bandagist",Cxe={ambulance_driver:sH,ambulance_first_aid:lH,ambulance_rescuer:cH,application:uH,applied_psychology_bachelor:dH,audician:hH,audiologist:pH,biologist_pharmacist:mH,care_giver:fH,certificateholder:gH,citizen:vH,clinical_orthopedic_pedagogue:yH,clinical_psychologist:bH,dental_hygienist:_H,dentist:xH,deptalgology:wH,deptanatomopathology:EH,deptanesthesiology:SH,deptbacteriology:kH,deptcardiacsurgery:CH,deptcardiology:IH,deptchildandadolescentpsychiatry:DH,deptdentistry:TH,deptdermatology:OH,deptdiabetology:PH,deptdietetics:NH,deptemergency:MH,deptendocrinology:RH,deptgastroenterology:AH,deptgeneralpractice:LH,deptgenetics:FH,deptgeriatry:jH,deptgynecology:VH,depthandsurgery:BH,depthematology:zH,deptinfectiousdisease:HH,deptintensivecare:UH,deptkinesitherapy:GH,deptlaboratory:WH,deptmajorburns:qH,deptmaxillofacialsurgery:$H,deptmedicine:YH,deptmolecularbiology:ZH,deptneonatalogy:KH,deptnephrology:JH,deptneurology:XH,deptneurosurgery:QH,deptnte:e6,deptnuclear:t6,deptnursing:n6,deptnutritiondietetics:i6,deptobstetrics:a6,deptoccupationaltherapy:r6,deptoncology:o6,deptophtalmology:s6,deptorthopedy:l6,deptpalliativecare:c6,deptpediatricintensivecare:u6,deptpediatricsurgery:d6,deptpediatry:h6,deptpharmacy:p6,deptphysicalmedecine:m6,deptphysiotherapy:f6,deptplasticandreparatorysurgery:g6,deptpneumology:v6,deptpodiatry:y6,deptpodology:b6,deptpsychiatry:_6,deptpsychogeriatry:x6,deptpsychology:w6,deptradiology:E6,deptradiotherapy:S6,deptrevalidation:k6,deptrheumatology:C6,deptsenology:I6,deptsocialservice:D6,deptspeechtherapy:T6,deptsportsmedecine:O6,deptstomatology:P6,deptsurgery:N6,deptthoracicsurgery:M6,depttoxicology:R6,depttropicalmedecine:A6,depturology:L6,deptvascularsurgery:F6,deptvisceraldigestiveabdominalsurgery:j6,diabete_equipment_supplier:V6,dietician:B6,doctor:z6,family_science_bachelor:H6,gerontology_master:U6,groupofnurses:G6,groupofphysiciansdifferentaddress:W6,groupofphysicianssameaddress:q6,guardpost:$6,hub:Y6,imaging_technologist:Z6,implantprovider:K6,lab_technologist:J6,logopedist:X6,midwife:Q6,nurse:eU,occupational_therapist:tU,optician:nU,orghospital:iU,orginsurance:aU,orglaboratory:rU,orgpharmacy:oU,orgpharmacyinvoicingoffice:sU,orgpolyclinic:lU,orgpractice:cU,orgprevention:uU,orgprimaryhealthcarecenter:dU,orgpsychiatriccarehome:hU,orgpublichealth:pU,orgretirementhome:mU,orgrevalidationcenter:fU,orgshelteredliving:gU,orthopedagogist_master:vU,orthopedist:yU,orthoptist:bU,orthotist:_U,patient:xU,pediatric_nurse:wU,persadministrative:EU,persambulancefirstaid:SU,persappliedpsychbachelor:kU,persaudician:CU,persaudiologist:IU,persbandagistorthosiologist:DU,persbiologist:TU,perscaregiver:OU,persclinicalorthopedagogist:PU,persclinicalpsychologist:NU,persdentist:MU,persdietician:RU,perseducator:AU,persfamilysciencebachelor:LU,persgerontologymaster:FU,perslogopedist:jU,persmidwife:VU,persmobilityimprover:BU,persnurse:zU,persoccupationaltherapist:HU,persoptician:UU,persoptometrist:GU,persoraldentalhygienist:WU,persorthopedagogistmaster:qU,persorthopedist:$U,persorthoptist:YU,persorthotist:ZU,persparamedical:KU,perspatientdriver:JU,perspharmacist:XU,perspharmacistclinicalbiologist:QU,perspharmacyassistant:e8,persphysician:t8,persphysiotherapist:n8,perspodologist:i8,perspracticalnurse:a8,persprosthesiologist:r8,perspsychologist:o8,perspsychomotortherapymaster:s8,persreadaptationbachelor:l8,persshoetechnologist:c8,perssocialworker:u8,perstechnician:d8,perstrussmaker:h8,pharmacist:p8,pharmacist_assistant:m8,physician:f8,physiotherapist:g8,podologist:v8,practical_nurse:y8,prosthetist:b8,psychologist:_8,psychomotor_therapy_master:x8,readaptaion_bachelor:w8,social_worker:E8,specialized_educator:S8,truss_maker:k8},Ixe={nl:oH,fr:V9,de:JL,en:y4},C8={};K(C8,{"00001":()=>I8,"00002":()=>D8,"00003":()=>T8,"00004":()=>O8,"00005":()=>P8,"00006":()=>N8,"00007":()=>M8,"00008":()=>R8,"00009":()=>A8,"00010":()=>L8,"00011":()=>F8,"00012":()=>j8,"00013":()=>V8,"00014":()=>B8,"00015":()=>z8,"00016":()=>H8,"00017":()=>U8,"00018":()=>G8,"00019":()=>W8,"00020":()=>q8,"00021":()=>$8,"00022":()=>Y8,"00023":()=>Z8,"00024":()=>K8,"00025":()=>J8,"00026":()=>X8,"00027":()=>Q8,"00028":()=>eG,"00029":()=>tG,"00030":()=>nG,"00031":()=>iG,"00032":()=>aG,"00033":()=>rG,"00034":()=>oG,"00035":()=>sG,"00036":()=>lG,"00037":()=>cG,"00038":()=>uG,"00039":()=>dG,"00040":()=>hG,"00041":()=>pG,"00042":()=>mG,"00043":()=>fG,"00044":()=>gG,"00045":()=>vG,"00046":()=>yG,"00047":()=>bG,"00048":()=>_G,"00049":()=>xG,"00050":()=>wG,"00051":()=>EG,"00052":()=>SG,"00053":()=>kG,"00054":()=>CG,"00055":()=>IG,"00056":()=>DG,"00057":()=>TG,"00058":()=>OG,"00059":()=>PG,"00060":()=>NG,"00061":()=>MG,"00062":()=>RG,"00063":()=>AG,"00064":()=>LG,"00065":()=>FG,"00066":()=>jG,"00067":()=>VG,"00068":()=>BG,"00069":()=>zG,"00070":()=>HG,"00071":()=>UG,"00072":()=>GG,"00073":()=>WG,"both-ears":()=>qG,"both-eyes":()=>$G,"both-nostrils":()=>YG,"cutaneous-injection":()=>ZG,default:()=>Dxe,derm:()=>KG,"dermal-injection":()=>JG,"ear-left":()=>XG,"ear-right":()=>QG,"eye-left":()=>eW,"eye-right":()=>tW,hyperdermoclyse:()=>nW,icut:()=>iW,ider:()=>aW,larter:()=>rW,"nose-left":()=>oW,"nose-right":()=>sW,oft:()=>lW,transdermal:()=>cW,"vitreal-injection":()=>uW});var I8="ins Ohr",D8="auf die Haut",T8="derm./rect",O8="derm./vag.",P8="Injektion außerhalb der Hirnhaut",N8="e.dur./i.thec./lokal",M8="p.dur./lokal",R8="in die Luftröhre",A8="in den Gebärmutterhals einführen",L8="Injektion in eine Arterie",F8="Injektion in den Penis",j8="Injektion in die Haut",V8="Injektion in einen Muskel",B8="i.m./i.thec./p.dur./s.c.",z8="i.m./i.v.",H8="i.m./i.v./inf.",U8="i.m./i.v./inf./e.dur./s.c.",G8="i.m./i.v./inf./i.arter./i.thec.",W8="i.m./i.v./perf./i.artér./lokal/s.c.",q8="i.m./i.v./inf./i.thec.",$8="i.m./i.v./inf./rect.",Y8="i.m./i.v./inf./s.c.",Z8="i.m./i.v./inhal.",K8="i.m./i.v./lokal",J8="i.m./i.v./or.",X8="i.m./i.v./rect",Q8="i.m./i.v./s.c.",eG="i.m./inf.",tG="i.m./perf./lokal",nG="i.m./lokal",iG="i.m./lokal/rect.",aG="i.m./s.c.",rG="Injektion ins Rückenmark",oG="in die Gebärmutter einführen",sG="Injektion in eine Vene",lG="i.v./p.dur./lokal",cG="i.v./i.arter./i.ves.",uG="i.v./inf.",dG="i.v./perf./p.dur.",hG="i.v./inf./i.arter.",pG="i.v./inf./i.thec./s.c.",mG="i.v./inf./inhal.",fG="i.v./inf./s.c.",gG="i.v./s.c.",vG="in die Harnblase",yG="Infusion",bG="perf./i.ves.",_G="perf./s.c.",xG="Inhalation",wG="inhal./nas./lokal",EG="Injektion",SG="auf die Lippen",kG="lokal",CG="auf die Schleimhaut",IG="in die Nase",DG="in die Augen",TG="opht./auric.",OG="opht./auric./nas.",PG="opht./auric./nas./lokal",NG="einnehmen",MG="or./orofar./derm.",RG="or./rect.",AG="or./s.l.",LG="durch den Mund",FG="orofar./derm.",jG="durch Mund und Nase",VG="rektal",BG="Spritze unter die Haut",zG="s.c./i.derm.",HG="unter die Zunge",UG="auf die Zähne",GG="in den Harnleiter",WG="vaginal",qG="beide Ohren",$G="beide Augen",YG="beide Nasenlöcher",ZG="kutane Injektion",KG="dermatologisch",JG="dermale Injektion",XG="linkes Ohr",QG="rechtes Ohr",eW="linkes Auge",tW="rechtes Auge",nW="Hyperdermoklyse",iW="intrakutan",aW="intradermal",rW="intraarteriell",oW="linke Nase",sW="rechte Nase",lW="ophthalmologisch",cW="transdermal",uW="vitreale Injektion",Dxe={"00001":I8,"00002":D8,"00003":T8,"00004":O8,"00005":P8,"00006":N8,"00007":M8,"00008":R8,"00009":A8,"00010":L8,"00011":F8,"00012":j8,"00013":V8,"00014":B8,"00015":z8,"00016":H8,"00017":U8,"00018":G8,"00019":W8,"00020":q8,"00021":$8,"00022":Y8,"00023":Z8,"00024":K8,"00025":J8,"00026":X8,"00027":Q8,"00028":eG,"00029":tG,"00030":nG,"00031":iG,"00032":aG,"00033":rG,"00034":oG,"00035":sG,"00036":lG,"00037":cG,"00038":uG,"00039":dG,"00040":hG,"00041":pG,"00042":mG,"00043":fG,"00044":gG,"00045":vG,"00046":yG,"00047":bG,"00048":_G,"00049":xG,"00050":wG,"00051":EG,"00052":SG,"00053":kG,"00054":CG,"00055":IG,"00056":DG,"00057":TG,"00058":OG,"00059":PG,"00060":NG,"00061":MG,"00062":RG,"00063":AG,"00064":LG,"00065":FG,"00066":jG,"00067":VG,"00068":BG,"00069":zG,"00070":HG,"00071":UG,"00072":GG,"00073":WG,"both-ears":qG,"both-eyes":$G,"both-nostrils":YG,"cutaneous-injection":ZG,derm:KG,"dermal-injection":JG,"ear-left":XG,"ear-right":QG,"eye-left":eW,"eye-right":tW,hyperdermoclyse:nW,icut:iW,ider:aW,larter:rW,"nose-left":oW,"nose-right":sW,oft:lW,transdermal:cW,"vitreal-injection":uW},dW={};K(dW,{"00001":()=>hW,"00002":()=>pW,"00003":()=>mW,"00004":()=>fW,"00005":()=>gW,"00006":()=>vW,"00007":()=>yW,"00008":()=>bW,"00009":()=>_W,"00010":()=>xW,"00011":()=>wW,"00012":()=>EW,"00013":()=>SW,"00014":()=>kW,"00015":()=>CW,"00016":()=>IW,"00017":()=>DW,"00018":()=>TW,"00019":()=>OW,"00020":()=>PW,"00021":()=>NW,"00022":()=>MW,"00023":()=>RW,"00024":()=>AW,"00025":()=>LW,"00026":()=>FW,"00027":()=>jW,"00028":()=>VW,"00029":()=>BW,"00030":()=>zW,"00031":()=>HW,"00032":()=>UW,"00033":()=>GW,"00034":()=>WW,"00035":()=>qW,"00036":()=>$W,"00037":()=>YW,"00038":()=>ZW,"00039":()=>KW,"00040":()=>JW,"00041":()=>XW,"00042":()=>QW,"00043":()=>eq,"00044":()=>tq,"00045":()=>nq,"00046":()=>iq,"00047":()=>aq,"00048":()=>rq,"00049":()=>oq,"00050":()=>sq,"00051":()=>lq,"00052":()=>cq,"00053":()=>uq,"00054":()=>dq,"00055":()=>hq,"00056":()=>pq,"00057":()=>mq,"00058":()=>fq,"00059":()=>gq,"00060":()=>vq,"00061":()=>yq,"00062":()=>bq,"00063":()=>_q,"00064":()=>xq,"00065":()=>wq,"00066":()=>Eq,"00067":()=>Sq,"00068":()=>kq,"00069":()=>Cq,"00070":()=>Iq,"00071":()=>Dq,"00072":()=>Tq,"00073":()=>Oq,"both-ears":()=>Pq,"both-eyes":()=>Nq,"both-nostrils":()=>Mq,"cutaneous-injection":()=>Rq,default:()=>Txe,derm:()=>Aq,"dermal-injection":()=>Lq,"ear-left":()=>Fq,"ear-right":()=>jq,"eye-left":()=>Vq,"eye-right":()=>Bq,hyperdermoclyse:()=>zq,icut:()=>Hq,ider:()=>Uq,larter:()=>Gq,"nose-left":()=>Wq,"nose-right":()=>qq,oft:()=>$q,transdermal:()=>Yq,"vitreal-injection":()=>Zq});var hW="auric.",pW="derm.",mW="derm./rect",fW="derm./vag.",gW="e.dur.",vW="e.dur./i.thec./local",yW="e.dur./local",bW="e.trach.",_W="endocerv.",xW="i.arter.",wW="i.cavern.",EW="i.derm.",SW="i.m.",kW="i.m./i.thec./e.dur./s.c.",CW="i.m./i.v.",IW="i.m./i.v./inf.",DW="i.m./i.v./inf./e.dur./s.c.",TW="i.m./i.v./inf./i.arter./i.thec.",OW="i.m./i.v./perf./i.artér./local/s.c.",PW="i.m./i.v./inf./i.thec.",NW="i.m./i.v./inf./rect.",MW="i.m./i.v./inf./s.c.",RW="i.m./i.v./inhal.",AW="i.m./i.v./local",LW="i.m./i.v./or.",FW="i.m./i.v./rect",jW="i.m./i.v./s.c.",VW="i.m./inf.",BW="i.m./perf./local",zW="i.m./local",HW="i.m./local/rect.",UW="i.m./s.c.",GW="i.thec.",WW="i.ut.",qW="i.v.",$W="i.v./p.dur./local",YW="i.v./i.arter./i.ves.",ZW="i.v./inf.",KW="i.v./perf./p.dur.",JW="i.v./perf./i.artér.",XW="i.v./perf./i.théc./s.c.",QW="i.v./perf./inhal.",eq="i.v./perf./s.c.",tq="i.v./s.c.",nq="i.ves.",iq="perf.",aq="perf./i.ves.",rq="perf./s.c.",oq="inhal.",sq="inhal./nas./local",lq="inj.",cq="lip",uq="local",dq="muc.",hq="nas.",pq="opht.",mq="opht./auric.",fq="opht./auric./nas.",gq="opht./auric./nas./local",vq="or.",yq="or./bucco-phar./derm.",bq="or./rect.",_q="or./s.l.",xq="bucco-phar.",wq="bucco-phar./derm.",Eq="bucco-phar./nas.",Sq="rect.",kq="s.c.",Cq="s.c./i.derm.",Iq="s.l.",Dq="teeth",Tq="urethr.",Oq="vag.",Pq="both ears",Nq="both eyes",Mq="both nostrils",Rq="cutaneous injection",Aq="dermatologically",Lq="dermal injection",Fq="ear left",jq="ear right",Vq="eye left",Bq="eye right",zq="hyperdermoclyse",Hq="intracutaneous",Uq="intradermally",Gq="intra-arterial",Wq="nose left",qq="nose right",$q="ophtalmological",Yq="transdermal",Zq="vitreal injection",Txe={"00001":hW,"00002":pW,"00003":mW,"00004":fW,"00005":gW,"00006":vW,"00007":yW,"00008":bW,"00009":_W,"00010":xW,"00011":wW,"00012":EW,"00013":SW,"00014":kW,"00015":CW,"00016":IW,"00017":DW,"00018":TW,"00019":OW,"00020":PW,"00021":NW,"00022":MW,"00023":RW,"00024":AW,"00025":LW,"00026":FW,"00027":jW,"00028":VW,"00029":BW,"00030":zW,"00031":HW,"00032":UW,"00033":GW,"00034":WW,"00035":qW,"00036":$W,"00037":YW,"00038":ZW,"00039":KW,"00040":JW,"00041":XW,"00042":QW,"00043":eq,"00044":tq,"00045":nq,"00046":iq,"00047":aq,"00048":rq,"00049":oq,"00050":sq,"00051":lq,"00052":cq,"00053":uq,"00054":dq,"00055":hq,"00056":pq,"00057":mq,"00058":fq,"00059":gq,"00060":vq,"00061":yq,"00062":bq,"00063":_q,"00064":xq,"00065":wq,"00066":Eq,"00067":Sq,"00068":kq,"00069":Cq,"00070":Iq,"00071":Dq,"00072":Tq,"00073":Oq,"both-ears":Pq,"both-eyes":Nq,"both-nostrils":Mq,"cutaneous-injection":Rq,derm:Aq,"dermal-injection":Lq,"ear-left":Fq,"ear-right":jq,"eye-left":Vq,"eye-right":Bq,hyperdermoclyse:zq,icut:Hq,ider:Uq,larter:Gq,"nose-left":Wq,"nose-right":qq,oft:$q,transdermal:Yq,"vitreal-injection":Zq},Kq={};K(Kq,{"00001":()=>Jq,"00002":()=>Xq,"00003":()=>Qq,"00004":()=>e$,"00005":()=>t$,"00006":()=>n$,"00007":()=>i$,"00008":()=>a$,"00009":()=>r$,"00010":()=>o$,"00011":()=>s$,"00012":()=>l$,"00013":()=>c$,"00014":()=>u$,"00015":()=>d$,"00016":()=>h$,"00017":()=>p$,"00018":()=>m$,"00019":()=>f$,"00020":()=>g$,"00021":()=>v$,"00022":()=>y$,"00023":()=>b$,"00024":()=>_$,"00025":()=>x$,"00026":()=>w$,"00027":()=>E$,"00028":()=>S$,"00029":()=>k$,"00030":()=>C$,"00031":()=>I$,"00032":()=>D$,"00033":()=>T$,"00034":()=>O$,"00035":()=>P$,"00036":()=>N$,"00037":()=>M$,"00038":()=>R$,"00039":()=>A$,"00040":()=>L$,"00041":()=>F$,"00042":()=>j$,"00043":()=>V$,"00044":()=>B$,"00045":()=>z$,"00046":()=>H$,"00047":()=>U$,"00048":()=>G$,"00049":()=>W$,"00050":()=>q$,"00051":()=>$$,"00052":()=>Y$,"00053":()=>Z$,"00054":()=>K$,"00055":()=>J$,"00056":()=>X$,"00057":()=>Q$,"00058":()=>eY,"00059":()=>tY,"00060":()=>nY,"00061":()=>iY,"00062":()=>aY,"00063":()=>rY,"00064":()=>oY,"00065":()=>sY,"00066":()=>lY,"00067":()=>cY,"00068":()=>uY,"00069":()=>dY,"00070":()=>hY,"00071":()=>pY,"00072":()=>mY,"00073":()=>fY,"both-ears":()=>gY,"both-eyes":()=>vY,"both-nostrils":()=>yY,"cutaneous-injection":()=>bY,default:()=>Oxe,derm:()=>_Y,"dermal-injection":()=>xY,"ear-left":()=>wY,"ear-right":()=>EY,"eye-left":()=>SY,"eye-right":()=>kY,hyperdermoclyse:()=>CY,icut:()=>IY,ider:()=>DY,larter:()=>TY,"nose-left":()=>OY,"nose-right":()=>PY,oft:()=>NY,transdermal:()=>MY,"vitreal-injection":()=>RY});var Jq="dans l’oreille",Xq="sur la peau",Qq="derm./rect",e$="derm./vag.",t$="injection en dehors de la méninge",n$="e.dur./i.théc./local",i$="e.dur./local",a$="dans la trachée",r$="introduire dans le col de l’utérus",o$="injection dans l’artère",s$="injection dans le pénis",l$="injection dans la peau",c$="injection dans un muscle",u$="i.m./i.théc./e.dur./s.c.",d$="i.m./i.v.",h$="i.m./i.v./perf.",p$="i.m./i.v./perf./e.dur./s.c.",m$="i.m./i.v./inf./i.arter./i.thec.",f$="i.m./i.v./perf./i.artér./local/s.c.",g$="i.m./i.v./inf./i.thec.",v$="i.m./i.v./perf./rect.",y$="i.m./i.v./perf./s.c.",b$="i.m./i.v./inhal.",_$="i.m./i.v./local",x$="i.m./i.v./or.",w$="i.m./i.v./rect",E$="i.m./i.v./s.c.",S$="i.m./perf.",k$="i.m./perf./local",C$="i.m./local",I$="i.m./local/rect.",D$="i.m./s.c.",T$="injection dans la moelle épinière",O$="introduire dans l’utérus",P$="injection dans une veine",N$="i.v./p.dur./local",M$="i.v./i.arter./i.ves.",R$="i.v./perf.",A$="i.v./perf./p.dur.",L$="i.v./perf./i.artér.",F$="i.v./perf./i.théc./s.c.",j$="i.v./perf./inhal.",V$="i.v./perf./s.c.",B$="i.v./s.c.",z$="dans la vessie",H$="perfusion",U$="perf./i.vés.",G$="perf./s.c.",W$="inhalation",q$="inhal./nas./local",$$="injection",Y$="lèvre",Z$="local",K$="sur la muqueuse",J$="dans le nez",X$="dans les yeux",Q$="opht./auric.",eY="opht./auric./nas.",tY="opht./auric./nas./local",nY="prendre/avaler",iY="or./bucco-phar./derm.",aY="or./rect.",rY="or./s.l.",oY="par la bouche",sY="bucco-phar./derm.",lY="par la bouche et dans le nez",cY="par voie rectale",uY="injection sous-cutanée",dY="s.c./i.derm.",hY="sous la langue",pY="sur les dents",mY="dans l’uretère",fY="par voie vaginale",gY="les deux oreilles",vY="les deux yeux",yY="les deux narines",bY="injection cutanée",_Y="dermatologique",xY="injection dermique",wY="oreille gauche",EY="oreille droite",SY="oeil gauche",kY="oeil droite",CY="hyperdermoclyse",IY="intracutané",DY="intradermique",TY="intra-artérielle",OY="nez gauche",PY="nez droite",NY="ophtalmologique",MY="transdermique",RY="injection vitrale",Oxe={"00001":Jq,"00002":Xq,"00003":Qq,"00004":e$,"00005":t$,"00006":n$,"00007":i$,"00008":a$,"00009":r$,"00010":o$,"00011":s$,"00012":l$,"00013":c$,"00014":u$,"00015":d$,"00016":h$,"00017":p$,"00018":m$,"00019":f$,"00020":g$,"00021":v$,"00022":y$,"00023":b$,"00024":_$,"00025":x$,"00026":w$,"00027":E$,"00028":S$,"00029":k$,"00030":C$,"00031":I$,"00032":D$,"00033":T$,"00034":O$,"00035":P$,"00036":N$,"00037":M$,"00038":R$,"00039":A$,"00040":L$,"00041":F$,"00042":j$,"00043":V$,"00044":B$,"00045":z$,"00046":H$,"00047":U$,"00048":G$,"00049":W$,"00050":q$,"00051":$$,"00052":Y$,"00053":Z$,"00054":K$,"00055":J$,"00056":X$,"00057":Q$,"00058":eY,"00059":tY,"00060":nY,"00061":iY,"00062":aY,"00063":rY,"00064":oY,"00065":sY,"00066":lY,"00067":cY,"00068":uY,"00069":dY,"00070":hY,"00071":pY,"00072":mY,"00073":fY,"both-ears":gY,"both-eyes":vY,"both-nostrils":yY,"cutaneous-injection":bY,derm:_Y,"dermal-injection":xY,"ear-left":wY,"ear-right":EY,"eye-left":SY,"eye-right":kY,hyperdermoclyse:CY,icut:IY,ider:DY,larter:TY,"nose-left":OY,"nose-right":PY,oft:NY,transdermal:MY,"vitreal-injection":RY},AY={};K(AY,{"00001":()=>LY,"00002":()=>FY,"00003":()=>PZ,"00004":()=>NZ,"00005":()=>jY,"00006":()=>MZ,"00007":()=>RZ,"00008":()=>VY,"00009":()=>BY,"00010":()=>zY,"00011":()=>HY,"00012":()=>UY,"00013":()=>GY,"00014":()=>AZ,"00015":()=>LZ,"00016":()=>FZ,"00017":()=>jZ,"00018":()=>VZ,"00019":()=>BZ,"00020":()=>zZ,"00021":()=>HZ,"00022":()=>UZ,"00023":()=>GZ,"00024":()=>WZ,"00025":()=>qZ,"00026":()=>$Z,"00027":()=>YZ,"00028":()=>ZZ,"00029":()=>KZ,"00030":()=>JZ,"00031":()=>XZ,"00032":()=>QZ,"00033":()=>WY,"00034":()=>qY,"00035":()=>$Y,"00036":()=>eK,"00037":()=>tK,"00038":()=>nK,"00039":()=>iK,"00040":()=>aK,"00041":()=>rK,"00042":()=>oK,"00043":()=>sK,"00044":()=>lK,"00045":()=>YY,"00046":()=>ZY,"00047":()=>cK,"00048":()=>uK,"00049":()=>KY,"00050":()=>dK,"00051":()=>JY,"00052":()=>XY,"00053":()=>QY,"00054":()=>eZ,"00055":()=>tZ,"00056":()=>nZ,"00057":()=>hK,"00058":()=>pK,"00059":()=>mK,"00060":()=>iZ,"00061":()=>fK,"00062":()=>gK,"00063":()=>vK,"00064":()=>aZ,"00065":()=>yK,"00066":()=>rZ,"00067":()=>oZ,"00068":()=>sZ,"00069":()=>bK,"00070":()=>lZ,"00071":()=>cZ,"00072":()=>uZ,"00073":()=>dZ,"both-ears":()=>IZ,"both-eyes":()=>SZ,"both-nostrils":()=>xZ,"cutaneous-injection":()=>vZ,default:()=>Pxe,derm:()=>hZ,"dermal-injection":()=>yZ,"ear-left":()=>kZ,"ear-right":()=>CZ,"eye-left":()=>wZ,"eye-right":()=>EZ,hyperdermoclyse:()=>OZ,icut:()=>mZ,ider:()=>fZ,larter:()=>pZ,"nose-left":()=>bZ,"nose-right":()=>_Z,oft:()=>gZ,transdermal:()=>TZ,"vitreal-injection":()=>DZ});var LY="in het oor",FY="op de huid",jY="inspuiting buiten het hersenvlies",VY="in de luchtpijp",BY="inbrengen in de baarmoederhals",zY="inspuiting in een slagader",HY="inspuiting in de penis",UY="inspuiting in de huid",GY="inspuiting in een spier",WY="inspuiting in het ruggenmerg",qY="inbrengen in de baarmoeder",$Y="inspuiting in een ader",YY="in de urineblaas",ZY="infuus",KY="inhalatie",JY="inspuiting",XY="op de lippen",QY="lokaal",eZ="op het slijmvlies",tZ="in de neus",nZ="in de ogen",iZ="innemen",aZ="in de mond",rZ="in de mond en in de neus",oZ="anaal opsteken",sZ="onderhuidse inspuiting",lZ="onder de tong",cZ="op de tanden",uZ="in de urineleider",dZ="vaginaal",hZ="dermatologisch",pZ="intra-arterieel",mZ="intracutaan",fZ="intradermaal",gZ="oftalmologisch",vZ="cutane injectie",yZ="dermale injectie",bZ="neus links",_Z="neus rechts",xZ="beide neusgaten",wZ="oog links",EZ="oog rechts",SZ="beide ogen",kZ="oor links",CZ="oor rechts",IZ="beide oren",DZ="vitreale injectie",TZ="transdermaal",OZ="hyperdermoclyse",PZ="derm./rect",NZ="derm./vag.",MZ="e.dur./i.thec./lokaal",RZ="e.dur./lokaal",AZ="i.m./i.thec./p.dur./s.c.",LZ="i.m./i.v.",FZ="i.m./i.v./inf.",jZ="i.m./i.v./inf./e.dur./s.c.",VZ="i.m./i.v./inf./i.arter./i.thec.",BZ="i.m./i.v./perf./i.artér./lokaal/s.c.",zZ="i.m./i.v./inf./i.thec.",HZ="i.m./i.v./inf./rect.",UZ="i.m./i.v./inf./s.c.",GZ="i.m./i.v./inhal.",WZ="i.m./i.v./lokaal",qZ="i.m./i.v./or.",$Z="i.m./i.v./rect",YZ="i.m./i.v./s.c.",ZZ="i.m./inf.",KZ="i.m./perf./lokaal",JZ="i.m./lokaal",XZ="i.m./lokaal/rect.",QZ="i.m./s.c.",eK="i.v./p.dur./lokaal",tK="i.v./i.arter./i.ves.",nK="i.v./inf.",iK="i.v./perf./p.dur.",aK="i.v./inf./i.arter.",rK="i.v./inf./i.thec./s.c.",oK="i.v./inf./inhal.",sK="i.v./inf./s.c.",lK="i.v./s.c.",cK="perf./i.ves.",uK="perf./s.c.",dK="inhal./nas./lokaal",hK="oft./auric.",pK="oft./auric./nas.",mK="oft./auric./nas./lokaal",fK="or./orofar./derm.",gK="or./rect.",vK="or./s.l.",yK="orofar./derm.",bK="s.c./i.derm.",Pxe={"00001":LY,"00002":FY,"00005":jY,"00008":VY,"00009":BY,"00010":zY,"00011":HY,"00012":UY,"00013":GY,"00033":WY,"00034":qY,"00035":$Y,"00045":YY,"00046":ZY,"00049":KY,"00051":JY,"00052":XY,"00053":QY,"00054":eZ,"00055":tZ,"00056":nZ,"00060":iZ,"00064":aZ,"00066":rZ,"00067":oZ,"00068":sZ,"00070":lZ,"00071":cZ,"00072":uZ,"00073":dZ,derm:hZ,larter:pZ,icut:mZ,ider:fZ,oft:gZ,"cutaneous-injection":vZ,"dermal-injection":yZ,"nose-left":bZ,"nose-right":_Z,"both-nostrils":xZ,"eye-left":wZ,"eye-right":EZ,"both-eyes":SZ,"ear-left":kZ,"ear-right":CZ,"both-ears":IZ,"vitreal-injection":DZ,transdermal:TZ,hyperdermoclyse:OZ,"00003":PZ,"00004":NZ,"00006":MZ,"00007":RZ,"00014":AZ,"00015":LZ,"00016":FZ,"00017":jZ,"00018":VZ,"00019":BZ,"00020":zZ,"00021":HZ,"00022":UZ,"00023":GZ,"00024":WZ,"00025":qZ,"00026":$Z,"00027":YZ,"00028":ZZ,"00029":KZ,"00030":JZ,"00031":XZ,"00032":QZ,"00036":eK,"00037":tK,"00038":nK,"00039":iK,"00040":aK,"00041":rK,"00042":oK,"00043":sK,"00044":lK,"00047":cK,"00048":uK,"00050":dK,"00057":hK,"00058":pK,"00059":mK,"00061":fK,"00062":gK,"00063":vK,"00065":yK,"00069":bK},Nxe={nl:AY,fr:Kq,de:C8,en:dW},_K={};K(_K,{default:()=>Mxe,rsb:()=>EK,rsw:()=>wK,vitalink:()=>xK});var xK="Vitalink",wK="Réseau Santé Wallon",EK="Brüsseler Gesundheitsnetzwerk",Mxe={vitalink:xK,rsw:wK,rsb:EK},SK={};K(SK,{default:()=>Rxe,rsb:()=>IK,rsw:()=>CK,vitalink:()=>kK});var kK="Vitalink",CK="Réseau Santé Wallon",IK="Brussels Health Network",Rxe={vitalink:kK,rsw:CK,rsb:IK},DK={};K(DK,{default:()=>Axe,rsb:()=>PK,rsw:()=>OK,vitalink:()=>TK});var TK="Vitalink",OK="Réseau Santé Wallon",PK="Réseau Santé Bruxellois",Axe={vitalink:TK,rsw:OK,rsb:PK},NK={};K(NK,{default:()=>Lxe,rsb:()=>AK,rsw:()=>RK,vitalink:()=>MK});var MK="Vitalink",RK="Réseau Santé Wallon",AK="Brusselse Gezondheidsnetwerk",Lxe={vitalink:MK,rsw:RK,rsb:AK},Fxe={nl:NK,fr:DK,de:_K,en:SK},LK={};K(LK,{alphabetical:()=>qK,author:()=>VK,date:()=>BK,default:()=>jxe,expiration:()=>WK,medicationName:()=>FK,role:()=>zK,sort:()=>GK,"sorting-ascendant":()=>HK,"sorting-descendent":()=>UK,validityDate:()=>jK});var FK="Arzneimittel",jK="Ablaufdatum",VK="Verfasser",BK="Datum",zK="Benutzerrolle",HK="Aufsteigend sortieren",UK="Absteigend sortieren",GK="Sortieren",WK={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},qK={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},jxe={medicationName:FK,validityDate:jK,author:VK,date:BK,role:zK,"sorting-ascendant":HK,"sorting-descendent":UK,sort:GK,expiration:WK,alphabetical:qK},$K={};K($K,{alphabetical:()=>iJ,author:()=>XK,date:()=>QK,default:()=>Vxe,expiration:()=>nJ,medicationName:()=>YK,role:()=>eJ,sort:()=>tJ,"sorting-ascendant":()=>KK,"sorting-descendent":()=>JK,validityDate:()=>ZK});var YK="Drug",ZK="Validity",KK="Sort by ascending order",JK="Sort by descending order",XK="Author",QK="Date",eJ="Role",tJ="Sort by",nJ={asc:"expires first",desc:"expires last"},iJ={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},Vxe={medicationName:YK,validityDate:ZK,"sorting-ascendant":KK,"sorting-descendent":JK,author:XK,date:QK,role:eJ,sort:tJ,expiration:nJ,alphabetical:iJ},aJ={};K(aJ,{alphabetical:()=>mJ,author:()=>sJ,date:()=>lJ,default:()=>Bxe,expiration:()=>pJ,medicationName:()=>rJ,role:()=>cJ,sort:()=>hJ,"sorting-ascendant":()=>uJ,"sorting-descendent":()=>dJ,validityDate:()=>oJ});var rJ="Médicament",oJ="Validité",sJ="Auteur",lJ="Date",cJ="Qualité",uJ="Trier par ordre croissant",dJ="Trier par ordre décroissant",hJ="Trier",pJ={asc:"expire en premier",desc:"expire en dernier"},mJ={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},Bxe={medicationName:rJ,validityDate:oJ,author:sJ,date:lJ,role:cJ,"sorting-ascendant":uJ,"sorting-descendent":dJ,sort:hJ,expiration:pJ,alphabetical:mJ},fJ={};K(fJ,{alphabetical:()=>kJ,author:()=>yJ,date:()=>bJ,default:()=>zxe,expiration:()=>SJ,medicationName:()=>gJ,role:()=>_J,sort:()=>EJ,"sorting-ascendant":()=>xJ,"sorting-descendent":()=>wJ,validityDate:()=>vJ});var gJ="Geneesmiddel",vJ="Geldigheid",yJ="Auteur",bJ="Datum",_J="Rol",xJ="Oplopend sorteren",wJ="Aflopend sorteren",EJ="Sorteren",SJ={asc:"vervalt eerst",desc:"vervalt laatst"},kJ={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},zxe={medicationName:gJ,validityDate:vJ,author:yJ,date:bJ,role:_J,"sorting-ascendant":xJ,"sorting-descendent":wJ,sort:EJ,expiration:SJ,alphabetical:kJ},Hxe={nl:fJ,fr:aJ,de:LK,en:$K},CJ={};K(CJ,{acute:()=>IJ,chronic:()=>DJ,default:()=>Uxe,ifnecessary:()=>TJ,oneshot:()=>OJ,reactivation:()=>PJ,remission:()=>NJ,subacute:()=>MJ});var IJ="akut",DJ="chronisch",TJ="falls erforderlich",OJ="einmalig",PJ="Reaktivierung",NJ="Remission",MJ="subakut",Uxe={acute:IJ,chronic:DJ,ifnecessary:TJ,oneshot:OJ,reactivation:PJ,remission:NJ,subacute:MJ},RJ={};K(RJ,{acute:()=>AJ,chronic:()=>LJ,default:()=>Gxe,ifnecessary:()=>FJ,oneshot:()=>jJ,reactivation:()=>VJ,remission:()=>BJ,subacute:()=>zJ});var AJ="acute",LJ="chronic",FJ="if necessary",jJ="one shot",VJ="reactivation",BJ="remission",zJ="subacute",Gxe={acute:AJ,chronic:LJ,ifnecessary:FJ,oneshot:jJ,reactivation:VJ,remission:BJ,subacute:zJ},HJ={};K(HJ,{acute:()=>UJ,chronic:()=>GJ,default:()=>Wxe,ifnecessary:()=>WJ,oneshot:()=>qJ,reactivation:()=>$J,remission:()=>YJ,subacute:()=>ZJ});var UJ="aigu",GJ="chronique",WJ="si nécessaire",qJ="une seule fois",$J="réactivation",YJ="rémission",ZJ="suraigu",Wxe={acute:UJ,chronic:GJ,ifnecessary:WJ,oneshot:qJ,reactivation:$J,remission:YJ,subacute:ZJ},KJ={};K(KJ,{acute:()=>JJ,chronic:()=>XJ,default:()=>qxe,ifnecessary:()=>QJ,oneshot:()=>eX,reactivation:()=>tX,remission:()=>nX,subacute:()=>iX});var JJ="tijdelijke medicatie",XJ="chronische medicatie",QJ="indien nodig",eX="eenmalig",tX="reactivatie",nX="remissie",iX="subacuut",qxe={acute:JJ,chronic:XJ,ifnecessary:QJ,oneshot:eX,reactivation:tX,remission:nX,subacute:iX},$xe={nl:KJ,fr:HJ,de:CJ,en:RJ},aX={};K(aX,{author:()=>uX,default:()=>Yxe,profession:()=>dX,source:()=>cX,title:()=>rX,updated:()=>sX,updatedBy:()=>lX,version:()=>oX});var rX="Versionsdetails",oX="Version",sX="Aktualisiert am",lX="Von",cX="Ursprung",uX="Verfasser",dX="Beruf",Yxe={title:rX,version:oX,updated:sX,updatedBy:lX,source:cX,author:uX,profession:dX},hX={};K(hX,{author:()=>yX,default:()=>Zxe,profession:()=>bX,source:()=>vX,title:()=>pX,updated:()=>fX,updatedBy:()=>gX,version:()=>mX});var pX="Version details",mX="Version",fX="Updated on",gX="By",vX="Source",yX="Author",bX="Appeal",Zxe={title:pX,version:mX,updated:fX,updatedBy:gX,source:vX,author:yX,profession:bX},_X={};K(_X,{author:()=>CX,default:()=>Kxe,profession:()=>IX,source:()=>kX,title:()=>xX,updated:()=>EX,updatedBy:()=>SX,version:()=>wX});var xX="Détails de la version",wX="Version",EX="Mis à jour le",SX="Par",kX="Source",CX="Auteur",IX="Profession",Kxe={title:xX,version:wX,updated:EX,updatedBy:SX,source:kX,author:CX,profession:IX},DX={};K(DX,{author:()=>RX,default:()=>Jxe,profession:()=>AX,source:()=>MX,title:()=>TX,updated:()=>PX,updatedBy:()=>NX,version:()=>OX});var TX="Versie details",OX="Versie",PX="Bijgewerkt op",NX="Door",MX="Bron",RX="Auteur",AX="Beroep",Jxe={title:TX,version:OX,updated:PX,updatedBy:NX,source:MX,author:RX,profession:AX},Xxe={nl:DX,fr:_X,de:aX,en:hX},LX={};K(LX,{day:()=>FX,default:()=>Qxe,moreInformations:()=>qX,nextday:()=>GX,nextweek:()=>HX,openCalendar:()=>WX,previousday:()=>UX,previousweek:()=>zX,returnToCurrentWeek:()=>BX,returnToToday:()=>VX,week:()=>jX});var FX="Tagesansicht",jX="Wochenansicht",VX="Zurück zu heute",BX="Diese Woche",zX="Vorige week",HX="Volgende week",UX="Vorige dag",GX="Volgende dag",WX="den Kalender öffnen",qX="Weitere Informationen",Qxe={day:FX,week:jX,returnToToday:VX,returnToCurrentWeek:BX,previousweek:zX,nextweek:HX,previousday:UX,nextday:GX,openCalendar:WX,moreInformations:qX},$X={};K($X,{day:()=>YX,default:()=>ewe,moreInformations:()=>iQ,nextday:()=>tQ,nextweek:()=>QX,openCalendar:()=>nQ,previousday:()=>eQ,previousweek:()=>XX,returnToCurrentWeek:()=>JX,returnToToday:()=>KX,week:()=>ZX});var YX="Day overview",ZX="Week overview",KX="Back to today",JX="Present week",XX="Previous week",QX="Next week",eQ="Previous day",tQ="Next day",nQ="open the calendar",iQ="More information",ewe={day:YX,week:ZX,returnToToday:KX,returnToCurrentWeek:JX,previousweek:XX,nextweek:QX,previousday:eQ,nextday:tQ,openCalendar:nQ,moreInformations:iQ},aQ={};K(aQ,{day:()=>rQ,default:()=>twe,moreInformations:()=>mQ,nextday:()=>hQ,nextweek:()=>uQ,openCalendar:()=>pQ,previousday:()=>dQ,previousweek:()=>cQ,returnToCurrentWeek:()=>lQ,returnToToday:()=>sQ,week:()=>oQ});var rQ="Vue journalière",oQ="Vue semaine",sQ="Revenir à aujourd'hui",lQ="Cette semaine",cQ="Semaine précédente",uQ="Semaine suivante",dQ="Jour précédent",hQ="Jour suivant",pQ="Ouvrir le calendrier",mQ="Plus d'informations",twe={day:rQ,week:oQ,returnToToday:sQ,returnToCurrentWeek:lQ,previousweek:cQ,nextweek:uQ,previousday:dQ,nextday:hQ,openCalendar:pQ,moreInformations:mQ},fQ={};K(fQ,{day:()=>gQ,default:()=>nwe,moreInformations:()=>kQ,nextday:()=>EQ,nextweek:()=>xQ,openCalendar:()=>SQ,previousday:()=>wQ,previousweek:()=>_Q,returnToCurrentWeek:()=>bQ,returnToToday:()=>yQ,week:()=>vQ});var gQ="Dagoverzicht",vQ="Weekoverzicht",yQ="Terug naar vandaag",bQ="Huidige week",_Q="vorherige Woche",xQ="nächste Woche",wQ="vorheriger Tag",EQ="nächster Tag",SQ="de kalender openen",kQ="Meer informatie",nwe={day:gQ,week:vQ,returnToToday:yQ,returnToCurrentWeek:bQ,previousweek:_Q,nextweek:xQ,previousday:wQ,nextday:EQ,openCalendar:SQ,moreInformations:kQ},iwe={nl:fQ,fr:aQ,de:LX,en:$X},CQ={};K(CQ,{comment:()=>zQ,default:()=>awe,end:()=>PQ,endCondition:()=>VQ,indication:()=>DQ,instructions:()=>BQ,medication:()=>IQ,noDetails:()=>HQ,other:()=>UQ,periodicity:()=>RQ,posologie:()=>AQ,prescriber:()=>TQ,quantity:()=>MQ,route:()=>LQ,section:()=>GQ,start:()=>OQ,startCondition:()=>jQ,suspension:()=>NQ,temporality:()=>FQ});var IQ="Arzneimittel",DQ="Grund",TQ="verschreibende Person",OQ="Beginn",PQ="Ende",NQ={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},MQ="Darreichungsform",RQ="Abstand",AQ="Dosierung",LQ="Verabreichung",FQ="Zeitlichkeit",jQ="Anfangszustand",VQ="Endzustand",BQ="Hinweise",zQ="Kommentar",HQ="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",UQ="Andere",GQ={treatment:"Behandlung",intake:"Aufnahme",prescription:"Rezept"},awe={medication:IQ,indication:DQ,prescriber:TQ,start:OQ,end:PQ,suspension:NQ,quantity:MQ,periodicity:RQ,posologie:AQ,route:LQ,temporality:FQ,startCondition:jQ,endCondition:VQ,instructions:BQ,comment:zQ,noDetails:HQ,other:UQ,section:GQ},WQ={};K(WQ,{comment:()=>oee,default:()=>rwe,end:()=>KQ,endCondition:()=>aee,indication:()=>$Q,instructions:()=>ree,medication:()=>qQ,noDetails:()=>see,other:()=>lee,periodicity:()=>QQ,posologie:()=>eee,prescriber:()=>YQ,quantity:()=>XQ,route:()=>tee,section:()=>cee,start:()=>ZQ,startCondition:()=>iee,suspension:()=>JQ,temporality:()=>nee});var qQ="Medication",$Q="Reason",YQ="Prescriber",ZQ="Beginning",KQ="End",JQ={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},XQ="Pharmaceutical form",QQ="Frequency",eee="Dosage",tee="Route of administration",nee="Temporality",iee="Condition at the beginning",aee="Condition at the end",ree="Instructions ",oee="Comments",see="The requested information has been deleted or doesn't exist.",lee="Other",cee={treatment:"Treatment",intake:"Intake",prescription:"Prescription"},rwe={medication:qQ,indication:$Q,prescriber:YQ,start:ZQ,end:KQ,suspension:JQ,quantity:XQ,periodicity:QQ,posologie:eee,route:tee,temporality:nee,startCondition:iee,endCondition:aee,instructions:ree,comment:oee,noDetails:see,other:lee,section:cee},uee={};K(uee,{comment:()=>kee,default:()=>owe,end:()=>fee,endCondition:()=>Eee,indication:()=>hee,instructions:()=>See,medication:()=>dee,noDetails:()=>Cee,other:()=>Iee,periodicity:()=>yee,posologie:()=>bee,prescriber:()=>pee,quantity:()=>vee,route:()=>_ee,section:()=>Dee,start:()=>mee,startCondition:()=>wee,suspension:()=>gee,temporality:()=>xee});var dee="Médicament",hee="Raison",pee="Prescripteur",mee="Début",fee="Fin",gee={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},vee="Forme pharmaceutique",yee="Fréquence",bee="Posologie",_ee="Voie d’administration",xee="Temporalité",wee="Condition de début",Eee="Condition de fin",See="Instructions",kee="Commentaire",Cee="Le médicament demandé a été supprimé ou n'existe pas.",Iee="Autre",Dee={treatment:"Traitement",intake:"Prise",prescription:"Prescription"},owe={medication:dee,indication:hee,prescriber:pee,start:mee,end:fee,suspension:gee,quantity:vee,periodicity:yee,posologie:bee,route:_ee,temporality:xee,startCondition:wee,endCondition:Eee,instructions:See,comment:kee,noDetails:Cee,other:Iee,section:Dee},Tee={};K(Tee,{comment:()=>Gee,default:()=>swe,end:()=>Ree,endCondition:()=>Hee,indication:()=>Pee,instructions:()=>Uee,medication:()=>Oee,noDetails:()=>Wee,other:()=>qee,periodicity:()=>Fee,posologie:()=>jee,prescriber:()=>Nee,quantity:()=>Lee,route:()=>Vee,section:()=>$ee,start:()=>Mee,startCondition:()=>zee,suspension:()=>Aee,temporality:()=>Bee});var Oee="Geneesmiddel",Pee="Reden",Nee="Voorschrijver",Mee="Start",Ree="Einde",Aee={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},Lee="Farmaceutische vorm",Fee="Frequentie",jee="Posologie",Vee="Toedieningsweg",Bee="Temporaliteit",zee="Beginconditie",Hee="Eindconditie",Uee="Instructies",Gee="Commentaar",Wee="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",qee="Andere",$ee={treatment:"Behandeling",intake:"Inname",prescription:"Voorschrift"},swe={medication:Oee,indication:Pee,prescriber:Nee,start:Mee,end:Ree,suspension:Aee,quantity:Lee,periodicity:Fee,posologie:jee,route:Vee,temporality:Bee,startCondition:zee,endCondition:Hee,instructions:Uee,comment:Gee,noDetails:Wee,other:qee,section:$ee},lwe={nl:Tee,fr:uee,de:CQ,en:WQ},Yee={};K(Yee,{all:()=>Zee,atYourConvenienceText:()=>ote,consultDetails:()=>ete,current:()=>Kee,days:()=>ste,default:()=>cwe,future:()=>Jee,headers:()=>Qee,noMedications:()=>cte,posology:()=>ite,prescriber:()=>rte,reason:()=>ate,remarks:()=>tte,return:()=>Xee,toPlan:()=>nte,toTake:()=>lte});var Zee="Vollständige Liste",Kee="Aktuel",Jee="Künftig",Xee="Zurück zur Übersicht",Qee={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},ete="Siehe Details",tte={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspended:"Aussetzen",end:"Ende"},nte="Noch zu vereinbaren",ite="Dosierung",ate="Grund",rte="Verordnende Person",ote="Einige Medikamente wurden vom Arzt keiner bestimmten Tageszeit zugeordnet und werden deshalb unter 'Spezifische Anweisungen' angezeigt. Wenn Ihr Arzt Hinweise zur Einnahme des Arzneimittels gegeben hat, halten Sie diese bitte ein. Wenn dieses Medikament in bestimmten Abständen eingenommen werden muss, halten Sie sich bitte den ganzen Tag daran.",ste={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},lte="am {days} zu nehmen",cte={all:"Es wurden keine Arzneimitteln gefunden",current:"Es wurden keine Aktuelle Arzneimitteln gefunden",future:"Es wurden keine Künftige Arzneimitteln gefunden",day:"Es wurden keine Arzneimitteln für diesen Tag und diese Tageszeit gefunden",week:"Es wurden keine Arzneimitteln für diesen Woche und diese Tageszeit gefunden"},cwe={all:Zee,current:Kee,future:Jee,return:Xee,headers:Qee,consultDetails:ete,remarks:tte,toPlan:nte,posology:ite,reason:ate,prescriber:rte,atYourConvenienceText:ote,days:ste,toTake:lte,noMedications:cte},ute={};K(ute,{all:()=>dte,atYourConvenienceText:()=>Ete,consultDetails:()=>gte,current:()=>hte,days:()=>Ste,default:()=>uwe,future:()=>pte,headers:()=>fte,noMedications:()=>Cte,notSpecified:()=>vte,posology:()=>_te,prescriber:()=>wte,reason:()=>xte,remarks:()=>yte,return:()=>mte,toPlan:()=>bte,toTake:()=>kte});var dte="Complete list",hte="Current",pte="Future",mte="Back to overview",fte={moment:"Moment",medication:"Medication",dose:"Dose",indication:"Reason",dayperiod:"Time",remark:"Note",leaflet:"Leaflet",days:"Number of days",startCondition:"Condition at the beginning",instructions:"Instructions "},gte="See details",vte="Dosage not filled",yte={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspended:"Suspend",end:"End"},bte="Remains to be planned",_te="Dosage",xte="Reason",wte="Prescriber",Ete="Some medications are not assigned to a specific time of day by the doctor and are therefore placed in ‘Specific instructions’. If your doctor gave instructions regarding the moment you must take the medication, follow them up. If the medication must be taken according to a specific scheme, stick to it during the whole day.",Ste={monday:"Mo",tuesday:"Tu",thursday:"Th",wednesday:"We",friday:"Fr",saturday:"Sa",sunday:"Su",allDays:"Every day"},kte="To take on {days}",Cte={all:"No medication was found.",current:"No present medication was found.",future:"No future medication was found.",day:"No medication was found for this day with that moment.",week:"No medication was found for this day week with that moment."},uwe={all:dte,current:hte,future:pte,return:mte,headers:fte,consultDetails:gte,notSpecified:vte,remarks:yte,toPlan:bte,posology:_te,reason:xte,prescriber:wte,atYourConvenienceText:Ete,days:Ste,toTake:kte,noMedications:Cte},Ite={};K(Ite,{all:()=>Dte,atYourConvenienceText:()=>Vte,consultDetails:()=>Mte,current:()=>Tte,days:()=>Bte,default:()=>dwe,future:()=>Ote,headers:()=>Nte,noMedications:()=>Hte,posology:()=>Lte,prescriber:()=>jte,reason:()=>Fte,remarks:()=>Rte,return:()=>Pte,toPlan:()=>Ate,toTake:()=>zte});var Dte="Toute la liste",Tte="En cours",Ote="Futur",Pte="Retour à la vue d'ensemble",Nte={moment:"Moment",medication:"Médicament",dose:"Dose",indication:"Raison",dayperiod:"Période",remark:"Remarque",leaflet:"Notice",days:"Jours",startCondition:"Condition de début",instructions:"Instructions"},Mte="Voir les détails",Rte={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspended:"Suspendre",end:"Fin"},Ate="À convenir",Lte="Posologie",Fte="Raison",jte="Prescripteur",Vte="Quelques médicaments n’ont pas été assignés à une période précise de la journée par le médecin, et sont donc placés dans ‘Instructions spécifiques’. Si votre médecin a donné des instructions pour le moment de la prise du médicament, veuillez les suivre. Si ce médicament doit être pris selon une fréquence horaire précise, veuillez respecter cette consigne tout au long de la journée.",Bte={monday:"Lu",tuesday:"Ma",wednesday:"Me",thursday:"Je",friday:"Ve",saturday:"Sa",sunday:"Di",allDays:"Tous les jours"},zte="À prendre {days}",Hte={all:"Aucun médicament a été trouvé",current:"Aucun médicament actuel a été trouvé",future:"Aucun médicament futur a été trouvé",day:"Aucun médicament a été trouvé pour ce jour avec cette période de la journée",week:"Aucun médicament a été trouvé pour cette semaine avec cette période de la journée"},dwe={all:Dte,current:Tte,future:Ote,return:Pte,headers:Nte,consultDetails:Mte,remarks:Rte,toPlan:Ate,posology:Lte,reason:Fte,prescriber:jte,atYourConvenienceText:Vte,days:Bte,toTake:zte,noMedications:Hte},Ute={};K(Ute,{all:()=>Gte,atYourConvenienceText:()=>nne,consultDetails:()=>Zte,current:()=>Wte,days:()=>ine,default:()=>hwe,future:()=>qte,headers:()=>Yte,noMedications:()=>rne,notSpecified:()=>Kte,posology:()=>Qte,prescriber:()=>tne,reason:()=>ene,remarks:()=>Jte,return:()=>$te,toPlan:()=>Xte,toTake:()=>ane});var Gte="Volledige lijst",Wte="Huidig",qte="Toekomstig",$te="Terug naar overzicht",Yte={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},Zte="Zie details",Kte="Dosering niet ingevuld",Jte={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspended:"Opschorten",end:"Einde"},Xte="Nog in te plannen",Qte="Posologie",ene="Reden",tne="Voorschrijver",nne="Sommige medicijnen zijn door de arts niet aan een bepaald tijdstip van de dag toegewezen en worden daarom in 'Specifieke instructies' geplaatst. Als uw arts instructies heeft gegeven voor wanneer u het geneesmiddel moet innemen, volg die dan op. Als dit medicijn volgens een bepaald schema moet worden ingenomen, houdt u hier dan de hele dag aan.",ine={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Wo",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},ane="Te nemen op {days}",rne={all:"Er werden geneesmiddelen gevonden",current:"Er werden geen huidige geneesmiddelen gevonden",future:"Er werden geen toekomstige geneesmiddelen gevonden",day:"Er werden geen geneesmiddelen voor deze dag met deze tijdstip gevonden",week:"Er werden geen geneesmiddelen voor deze week met deze tijdstip gevonden"},hwe={all:Gte,current:Wte,future:qte,return:$te,headers:Yte,consultDetails:Zte,notSpecified:Kte,remarks:Jte,toPlan:Xte,posology:Qte,reason:ene,prescriber:tne,atYourConvenienceText:nne,days:ine,toTake:ane,noMedications:rne},pwe={nl:Ute,fr:Ite,de:Yee,en:ute},one={};K(one,{default:()=>mwe,flanders:()=>cne,subtitle:()=>lne,title:()=>sne,walloniaBrussels:()=>une});var sne="Medikamentenplan",lne="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",cne={intro:"Ich lebe in Flandern",text:"Es liegt noch kein Medikamentenplan für Sie vor. Sie nehmen Arzneimittel ein, haben aber noch keinen Medikamentenplan? Bitten Sie Ihren behandelnden Arzt, einen zu erstellen.",introPro:"Ihr Patient lebt in Flandern",textPro:"Wenn Ihr Patient seinen Wohnsitz in Flandern hat und Sie sehen kein gemeinsames Medikationsschema auf seinem oder ihrem Namen, dann es gibt keinen Medikamenten-Zeitplan für ihn oder sie. Wenn Ihr Patient Medikamente nimmt, aber noch keinen Medikamentenplan hat, dann können Sie ein Medikationsschema erstellen über über die Software für Arzte oder Apotheker."},une={intro:"Ich lebe in Wallonien oder in Brüssel",text1:"Wenn Sie mit Ihrem Namen angemeldet sind, steht Ihnen noch keine Medikation zur Verfügung. Nehmen Sie Medikamente ein, haben aber noch keine Medikation? Zögern Sie nicht, Ihren Arzt zu bitten, es zu erstellen.",text2:"Wenn Sie als Bevollmächtigter für eine andere Person oder als Elternteil eines minderjährigen Kindes angemeldet sind, haben Sie über diese Anwendung keinen Zugriff auf das Medikamentenplan. Sie können jedoch den Medikamentenplan in den regionalen Gesundheitssafes ‘Réseau Santé Wallon’ oder ‘Réseau Santé Bruxellois’ einsehen.",introPro:"Ihr Patient lebt in Wallonien oder in Brüssel",textPro:'Sie können direkt über das regionale Portal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=de">Réseau Santé Wallon</a> oder das regionale Portal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=en">Brüsseler Gesundheitsnetzwerk</a>'},mwe={title:sne,subtitle:lne,flanders:cne,walloniaBrussels:une},dne={};K(dne,{default:()=>fwe,flanders:()=>mne,subtitle:()=>pne,title:()=>hne,walloniaBrussels:()=>fne});var hne="Medication scheme",pne="What to do if I I don't see any content in this part?",mne={intro:"I live in Flanders",text:"No shared medication scheme has been shared yet. If you use medication you don't have a medication scheme yet, ask your doctor to make create one for you.",introPro:"Your patient lives in Flanders",textPro:"There is no medication schedule for him yet. Is your patient taking medication but doesn't have a medication schedule yet? You can create one using the software for doctors or pharmacists."},fne={intro:"I live in Wallonia or in Brussels",text1:"If you are registered in your own name, then no medication scheme is available for you at the moment. If you use medication while you don't have a medication scheme yet, ask your doctor to make create one for you.",text2:"If you are registered as a mandate holder for another person or as a parent of a minor child, you cannot access the medication scheme by using this application. However, you can view the current medication scheme on the regional health safes ‘Réseau Santé Wallon’ or the ‘Brussels Health Network’.",introPro:"Your patient lives in Wallonia or Brussels",textPro:`You can directly access your patient's medication schedule via the regional portal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=fr">Réseau Santé Wallon</a> or via the regional portal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=fr">Réseau Santé Bruxellois</a>`},fwe={title:hne,subtitle:pne,flanders:mne,walloniaBrussels:fne},gne={};K(gne,{default:()=>gwe,flanders:()=>bne,subtitle:()=>yne,title:()=>vne,walloniaBrussels:()=>_ne});var vne="Schéma de médication",yne="Que faire si je ne vois aucun contenu dans cette partie ?",bne={intro:"J’habite en Flandre",text:"Il n’y a pas encore de schéma de médication à votre nom. Vous prenez des médicaments mais vous n’avez pas encore de schéma de médication ? N’hésitez pas à demander à votre médecin traitant de le créer.",introPro:"Votre patient habite en Flandre",textPro:"Il n’y a pas encore de schéma de médication pour lui. Votre patient prend des médicaments mais n’a pas encore de schéma de médication ? Vous pouvez en créer un via le logiciel pour les médecins ou les pharmaciens"},_ne={intro:"J’habite en Wallonie ou à Bruxelles",text1:"Si vous êtes connecté à votre nom, il n’y a pas encore de schéma de médication disponible pour vous. Vous prenez des médicaments mais vous n’avez pas encore de schéma de médication ? N’hésitez pas à demander à votre médecin traitant de le créer.",text2:"Si vous êtes connecté comme mandataire pour une autre personne ou comme parent d’un enfant mineur, vous n’avez pas accès au schéma de médication via cette application. Vous pouvez toutefois consulter le schéma de médication dans les coffres-forts régionaux de santé via les portails ‘Réseau Santé Wallon’ et du ‘Réseau Santé Bruxellois’",introPro:"Votre patient habite en Wallonie ou à Bruxelles",textPro:'Vous pouvez accéder directement au schéma de médication de votre patient via le portail régional <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=fr">Réseau Santé Wallon</a> ou le portail régional <a class="link" href="https://webapp.abrumet.be/portal/pro?l=fr">Réseau Santé Bruxellois</a>'},gwe={title:vne,subtitle:yne,flanders:bne,walloniaBrussels:_ne},xne={};K(xne,{default:()=>vwe,flanders:()=>Sne,subtitle:()=>Ene,title:()=>wne,walloniaBrussels:()=>kne});var wne="Medicatieschema",Ene="Wat te doen indien ik geen inhoud zie in dit deel?",Sne={intro:"Ik woon in Vlaanderen",text:"Er is voor u nog geen gedeeld medicatieschema beschikbaar. Als u medicijnen gebruikt en nog geen medicatieschema heeft, vraagt u aan uw arts er een aan te maken voor u",introPro:"Uw patiënt woont in Vlaanderen",textPro:"Als uw patiënt gedomicilieerd is in Vlaanderen en u ziet geen gedeeld medicatieschema op zijn of haar naam, dan is er nog geen. Indien uw patiënt wel geneesmiddelen neemt, maar nog geen medicatieschema heeft, dan kan u een medicatieschema aanmaken via de software voor huisartsen of apothekers."},kne={intro:"Ik woon in Wallonië of Brussel",text1:"Indien u aangemeld bent in eigen naam, dan is er voor u nog geen medicatieschema beschikbaar. Als u medicijnen gebruikt en nog geen medicatieschema heeft, vraagt u aan uw arts er een aan te maken voor u.",text2:"Indien u aangemeld bent als mandaathouder voor een andere persoon of als ouder van een minderjarig kind, dan heeft u via deze applicatie geen toegang tot het medicatieschema. U kan wel het actuele medicatieschema bekijken bij de regionale gezondheidskluizen ‘Réseau Santé Wallon’ of het ‘Brusselse Gezondheidsnetwerk’.",introPro:"Uw patiënt woont in Wallonië of Brussel",textPro:'U kan rechtstreeks toegang krijgen tot het medicatieschema van uw patiënt via het regionaal portaal <a class="link" href="https://webapp.reseausantewallon.be/portal/pro?l=nl">Réseau Santé Wallon</a> of het regionaal portaal <a class="link" href="https://webapp.abrumet.be/portal/pro?l=nl">Brusselse Gezondheidsnetwerk</a>'},vwe={title:wne,subtitle:Ene,flanders:Sne,walloniaBrussels:kne},ywe={nl:xne,fr:gne,de:one,en:dne},Cne={};K(Cne,{day:()=>Tne,default:()=>bwe,list:()=>Ine,week:()=>Dne});var Ine="Liste",Dne="Woche",Tne="Tag",bwe={list:Ine,week:Dne,day:Tne},One={};K(One,{day:()=>Mne,default:()=>_we,list:()=>Pne,week:()=>Nne});var Pne="List",Nne="Week",Mne="Day",_we={list:Pne,week:Nne,day:Mne},Rne={};K(Rne,{day:()=>Fne,default:()=>xwe,list:()=>Ane,week:()=>Lne});var Ane="Liste",Lne="Semaine",Fne="Jour",xwe={list:Ane,week:Lne,day:Fne},jne={};K(jne,{day:()=>zne,default:()=>wwe,list:()=>Vne,week:()=>Bne});var Vne="Lijst",Bne="Week",zne="Dag",wwe={list:Vne,week:Bne,day:zne},Ewe={nl:jne,fr:Rne,de:Cne,en:One},Hne={};K(Hne,{default:()=>Swe,evening:()=>qne,ifNeeded:()=>Yne,morning:()=>Gne,night:()=>$ne,noon:()=>Wne,toPlan:()=>Une});var Une="Spezifische Anweisungen",Gne="Morgen",Wne="Mittag und Nachmittag",qne="Abends",$ne="Zubettgehen",Yne="Gegebenenfalls",Swe={toPlan:Une,morning:Gne,noon:Wne,evening:qne,night:$ne,ifNeeded:Yne},Zne={};K(Zne,{default:()=>kwe,evening:()=>Qne,ifNeeded:()=>tie,morning:()=>Jne,night:()=>eie,noon:()=>Xne,toPlan:()=>Kne});var Kne="Specific instructions",Jne="Morning",Xne="Noon and afternoon",Qne="Evening meal",eie="Going to sleep",tie="If necessary",kwe={toPlan:Kne,morning:Jne,noon:Xne,evening:Qne,night:eie,ifNeeded:tie},nie={};K(nie,{default:()=>Cwe,evening:()=>oie,ifNeeded:()=>lie,morning:()=>aie,night:()=>sie,noon:()=>rie,toPlan:()=>iie});var iie="Instructions spécifiques",aie="Matin",rie="Midi et Après-midi",oie="Soir",sie="Au coucher",lie="Si nécessaire",Cwe={toPlan:iie,morning:aie,noon:rie,evening:oie,night:sie,ifNeeded:lie},cie={};K(cie,{default:()=>Iwe,evening:()=>pie,ifNeeded:()=>fie,morning:()=>die,night:()=>mie,noon:()=>hie,toPlan:()=>uie});var uie="Specifieke instructies",die="Ochtend",hie="Middag en namiddag",pie="Avondmaal",mie="Bij het slapen gaan",fie="Indien nodig",Iwe={toPlan:uie,morning:die,noon:hie,evening:pie,night:mie,ifNeeded:fie},Dwe={nl:cie,fr:nie,de:Hne,en:Zne},gie={};K(gie,{collapsed:()=>xie,default:()=>Twe,disclaimer:()=>bie,expanded:()=>_ie,source:()=>wie,subtitle:()=>yie,title:()=>vie});var vie="Version {versionNumber}, aktualisiert am {date} um {hour}",yie="von {authorProfession} {authorFirstName} {authorLastName}",bie="Dies ist ein Medikamentenplan, der von Ihrem Pflegeteam verwaltet und über {safe} geteilt wird. Weitere Informationen finden Sie unter {safe}. Die Informationen im Medikamentenplan, den Sie anfordern möchten, sind möglicherweise nicht vollständig. Denken Sie daran, wenn Sie sich auf diesen Medikamentenplan stützen.",_ie="Warnung einklappen",xie="Warnung ausklappen",wie="Ursprung",Twe={title:vie,subtitle:yie,disclaimer:bie,expanded:_ie,collapsed:xie,source:wie},Eie={};K(Eie,{collapsed:()=>Die,default:()=>Owe,disclaimer:()=>Cie,expanded:()=>Iie,source:()=>Tie,subtitle:()=>kie,title:()=>Sie});var Sie="Version {versionNumber}, updated on {date} at {hour}",kie="by {authorProfession} {authorFirstName} {authorLastName}",Cie="This is a medication scheme managed by your care team and shared via {safe}. More information to be found on {safe}. The information contained in the medication scheme that you wish to question is maybe incomplete. Take that into account if you base yourself on that medication scheme.",Iie="Collapse alert",Die="Expand alert",Tie="Source",Owe={title:Sie,subtitle:kie,disclaimer:Cie,expanded:Iie,collapsed:Die,source:Tie},Oie={};K(Oie,{collapsed:()=>Aie,default:()=>Pwe,disclaimer:()=>Mie,expanded:()=>Rie,source:()=>Lie,subtitle:()=>Nie,title:()=>Pie});var Pie="Version {versionNumber}, mis à jour le {date} à {hour}",Nie="par {authorProfession} {authorFirstName} {authorLastName}",Mie="Il s’agit d’un schéma de médication qui est géré par votre équipe de soins et partagé via le(s) portail(s) {safe}. Plus d’informations peuvent être trouvées sur le(s) portail(s) {safe}. Il est possible que les informations figurant dans le schéma de médication que vous souhaitez demander ne soient pas complètes. Prenez cela en considération lorsque vous vous basez sur ce schéma de médication.",Rie="Réduire l’alerte",Aie="Déplier l’alerte",Lie="Source",Pwe={title:Pie,subtitle:Nie,disclaimer:Mie,expanded:Rie,collapsed:Aie,source:Lie},Fie={};K(Fie,{collapsed:()=>Hie,default:()=>Nwe,disclaimer:()=>Bie,expanded:()=>zie,source:()=>Uie,subtitle:()=>Vie,title:()=>jie});var jie="Versie {versionNumber}, bijgewerkt op {date} om {hour}",Vie="door {authorProfession} {authorFirstName} {authorLastName}",Bie="Dit is een medicatieschema dat wordt beheerd door uw zorgteam en wordt gedeeld via {safe}. Meer informatie te vinden op {safe}. De informatie opgenomen in het medicatieschema dat u wenst op te vragen, is mogelijk niet volledig. Houd hier rekening mee wanneer u zich baseert op dit medicatieschema.",zie="Waarschuwing samenvouwen",Hie="Waarschuwing uitvouwen",Uie="Bron",Nwe={title:jie,subtitle:Vie,disclaimer:Bie,expanded:zie,collapsed:Hie,source:Uie},Mwe={nl:Fie,fr:Oie,de:gie,en:Eie},Rwe=class extends Is{getTranslation(e){return vt({commons:yt(ue({},sxe[e]),{days:J_e[e],errors:nxe[e],roles:Ixe[e],safes:Fxe[e],periodicities:hxe[e],administrationUnits:q_e[e],period:vxe[e],routes:Nxe[e],temporality:$xe[e],posology:wxe[e],sortDropdown:Hxe[e]}),medicationSchemeListView:pwe[e],medicationSchemeOverview:Ewe[e],medicationSchemeMoments:Dwe[e],medicationSchemeNoData:ywe[e],medicationSchemeDateToggler:iwe[e],medicationSchemeCreationDetails:Xxe[e],medicationSchemeDetails:lwe[e],medicationSchemeDisclaimer:Mwe[e]})}},Awe=[A_e,nge({defaultLanguage:"fr",loader:{provide:Is,useClass:Rwe},compiler:{provide:Ts,useClass:V_e}})],im=(()=>{const t=class t{constructor(){s(this,"_vertical",!1);s(this,"_inset",!1)}get vertical(){return this._vertical}set vertical(n){this._vertical=Jf(n)}get inset(){return this._inset}set inset(n){this._inset=Jf(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,a){n&2&&(Vt("aria-orientation",a.vertical?"vertical":"horizontal"),mn("mat-divider-vertical",a.vertical)("mat-divider-horizontal",!a.vertical)("mat-divider-inset",a.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(n,a){},styles:[`.mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}
37
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),am=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Ci]}));let e=t;return e})(),Gie={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(Gie);var Lwe=Gie,Wie={"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(Wie);var Fwe=Wie,Pn=function(e,t,i,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 i==="m"?n:i==="a"?n.call(e):n?n.value:t.get(e)},_r,To,ja,jwe=class{constructor(...e){_r.set(this,new Map),To.set(this,new Map),ja.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[i,n]of Object.entries(e)){i=i.toLowerCase(),n=n.map(o=>o.toLowerCase()),Pn(this,ja,"f").has(i)||Pn(this,ja,"f").set(i,new Set);let a=Pn(this,ja,"f").get(i),r=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),r&&Pn(this,To,"f").set(i,o),r=!1,l)continue;let u=Pn(this,_r,"f").get(o);if(u&&u!=i&&!t)throw new Error(`"${i} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);Pn(this,_r,"f").set(o,i)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),i=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(i.length<t.length-1)&&n?null:Pn(this,_r,"f").get(i)??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&&Pn(this,To,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Pn(this,ja,"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 Pn(this,ja,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Pn(this,_r,"f"),extensions:Pn(this,To,"f")}}};_r=new WeakMap,To=new WeakMap,ja=new WeakMap;var Vwe=jwe;new Vwe(Fwe,Lwe)._freeze();var qie=(()=>{const t=class t{transform(n){return n?"":"no"}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),$ie=(()=>{const t=class t{transform(n){let a="";return Array.isArray(n)&&n.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof n=="string"&&n.split(" ").length>1&&n.split(" ").forEach((r,o)=>{o===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof n=="string"&&n.split(" ").length===1&&(a=n.charAt(0).toUpperCase()+n.slice(1)),a}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),rm=(()=>{const t=class t{transform(n){return o_e(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"fullname",type:t,pure:!0});let e=t;return e})(),Yie=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return n||this.translate.currentLang}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),Zie=(()=>{const t=class t{transform(n){if(n){let a=n%1,r=Math.floor(n)>0?`${Math.floor(n)} + `:"";return a===.25?`${r}¼`:a===.5?`${r}½`:a===.75?`${r}¾`:n.toString()}return""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"quantity",type:t,pure:!0});let e=t;return e})(),Kie=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return l_e(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"translateObject",type:t,pure:!0});let e=t;return e})(),om=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return s_e(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"translateValue",type:t,pure:!0});let e=t;return e})(),Jie=(()=>{const t=class t{transform(n){let a=new Date;return n==null?void 0:n.map((r,o)=>({item:r,originalIndex:o})).filter(r=>r.item.type==="definitive"||r.item.endDate&&!U_(new Date(r.item.endDate),a))}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"activeAndFutureSuspensions",type:t,pure:!0});let e=t;return e})(),gt=function(e){return e.TO_PLAN="toPlan",e.MORNING="morning",e.NOON="noon",e.EVENING="evening",e.NIGHT="night",e.IF_NEEDED="ifNeeded",e}(gt||{}),Xie=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(Xie||{}),Qie=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(Qie||{});function eae(e){switch(e){case ra.MONDAY:return 1;case ra.TUESDAY:return 2;case ra.WEDNESDAY:return 3;case ra.THURSDAY:return 4;case ra.FRIDAY:return 5;case ra.SATURDAY:return 6;case ra.SUNDAY:return 7;default:return}}function Bwe(e){if(!e)return"";let t=Y_(e,"yyyy-MM-dd",new Date);return A_(t)?Ha(t,"EEEE").toLowerCase():""}var zwe="minutes",Nn="hours",Mn="days",yn="weeks",bn="months",vr="years";G.UH,G.U,G.UT,G.UD,G.UV,G.UQ,G.UZ,G.US,G.UA,G.UN,G.UX,G.UE,G.UW,G.D,G.DT,G.O1,G.DD,G.DV,G.DQ,G.DZ,G.DA,G.DN,G.DX,G.DE,G.DW,G.WT,G.WD,G.WV,G.WQ,G.WZ,G.WS,G.WA,G.WN,G.WX,G.WE,G.WW,G.WP,G.W,G.M,G.MT,G.MD,G.MV,G.MQ,G.MZ2,G.MS,G.MA,G.MN,G.MX,G.ME,G.MC,G.JH2,G.J,G.JT,G.JD,G.JV,G.JQ,G.JZ;var Hwe=[G.M,G.MT,G.MD,G.MV,G.MQ,G.MZ2,G.MS,G.MA,G.MN,G.MX,G.ME,G.MC];function Yu(e){return Hwe.includes(e)}var Uwe=[G.J,G.JH2,G.JT,G.JD,G.JV,G.JQ,G.JZ];function Zu(e){return Uwe.includes(e)}function Gwe(e,t){var n;let i=(n=e.suspensions)==null?void 0:n.filter(a=>a.type==="temporary");return i!=null&&i.length?i.some(a=>A1e(t,{start:qr(new Date(a.startDate)),end:Wye(new Date(a.endDate))})):!1}function Wwe(e,t){var i,n;return(n=(i=e.day)==null?void 0:i.weekday)!=null&&n.weekNumber?qwe(e,t):$we(e,t)}function qwe(e,t){let i=new Date(t.treatmentStartDate),n=Xp(i),a=qr(co(Hye(tr(i),e.day.weekday.weekNumber-n),(eae(e.day.weekday.day)||1)-1));return U_(a,i)?Uye(a,1):a}function $we(e,t){var a,r;let i=eae((r=(a=e.day)==null?void 0:a.weekday)==null?void 0:r.day)||0,n=H_(new Date(t.treatmentStartDate));return qr(co(new Date(t.treatmentStartDate),(i-n+7)%7))}function Ywe(e){let t=qr(new Date);return e.treatmentStartDate&&Vbe(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&Gwe(e,t)}function Zwe(e,t,i){if(!(e!=null&&e.length))return!1;let n=new RegExp(`^medications\\[${t}]`);return e.some(a=>n.test(a.field)?i?a.field.includes(`.${i}`):!0:!1)}var Kwe=(()=>{const t=class t{transform(n){return Ywe(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),Jwe=(()=>{const t=class t{constructor(){this.translate=C(li),this.cdRef=C(sr),this.destroyRef=C(ii),this.result="",this.translate.onLangChange.pipe(nm(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology,this.medication),this.cdRef.markForCheck()})}transform(n,a){return(this.posology!==n||this.medication!==a)&&(this.posology=n,this.medication=a,this.result=this.getResult(n,a)),this.result}getResult(n,a){var o,l,u;if(!((o=n.daytime)!=null&&o.dayPeriod)&&!((l=n.daytime)!=null&&l.time))return"";let r=[this.getPosologyDayTimeTranslation(n)];return(u=a.frequency)!=null&&u.periodicity?r.push(...this.getPeriodicityText(n,a.frequency.periodicity,new Date(a.treatmentStartDate))):r.push(...this.getPosologyText(n,a,new Date(a.treatmentStartDate))),r.join(" ").trim()}getPeriodicityText(n,a,r){var o,l,u,c,h;if(((o=n.day)==null?void 0:o.weekday)!=null&&n.daytime!=null&&!Yu(a)&&!Zu(a))return[this.translate.instant("commons.posology.on"),this.translate.instant("commons.days."+n.day.weekday.day).toLowerCase()];if(((l=n.day)==null?void 0:l.dayNumber)!=null&&n.daytime!=null&&!Yu(a)&&!Zu(a))return[this.translate.instant("commons.posology.day"),n.day.dayNumber.toString()];if(Yu(a))return((u=n.day)==null?void 0:u.date)!=null?[this.translate.instant("commons.posology.day"),rl(new Date(n.day.date)).toString()]:((c=n.day)==null?void 0:c.dayNumber)!=null?[this.translate.instant("commons.posology.day"),n.day.dayNumber.toString()]:[this.translate.instant("commons.posology.day"),rl(r).toString()];if(Zu(a)){let m=[this.translate.instant("commons.posology.on")];return(h=n.day)!=null&&h.date?m.push(rl(new Date(n.day.date))+"/"+(jg(n.day.date)+1)):m.push(rl(r)+"/"+(jg(r)+1)),m}return[]}getPosologyText(n,a,r){var l,u,c;let o=[this.translate.instant("commons.posology.on")];return((l=n.day)==null?void 0:l.date)!=null?o.push(Ha(new Date(n.day.date),"dd-MM-yyyy")):((u=n.day)==null?void 0:u.weekday)!=null?o.push(Ha(Wwe(n,a),"dd-MM-yyyy")):((c=n.day)==null?void 0:c.dayNumber)!=null?o.push(Ha(co(r,n.day.dayNumber-1),"dd-MM-yyyy")):o.push(Ha(r,"dd-MM-yyyy")),o}getPosologyDayTimeTranslation(n){var a,r,o;return n&&((a=n.daytime)!=null&&a.dayPeriod)&&Object.values(ct).includes((r=n.daytime)==null?void 0:r.dayPeriod)?this.translate.instant("commons.period."+n.daytime.dayPeriod):(o=n.daytime)!=null&&o.time?n.daytime.time.substring(0,5):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),tae=(()=>{const t=class t{transform(n,a,r){return Zwe(n,a,r)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"hasMedicationError",type:t,pure:!0});let e=t;return e})(),Xwe=(()=>{const t=class t{transform(n){if(!n)return!1;let a=new Date(n);if(isNaN(a.getTime()))return!1;let r=new Date;return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()&&r.getDate()===a.getDate()}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"isToday",type:t,pure:!0});let e=t;return e})(),nae=e=>({posology:e}),Qwe=e=>({count:e});function eEe(e,t){e&1&&(V(0,"span",1),ge(1),A(2,"translate"),z()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function tEe(e,t){if(e&1&&(V(0,"li"),Sa(1,2),z()),e&2){let i=t.$implicit;ae(3);let n=or(3);O(),q("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,nae,i))}}function nEe(e,t){if(e&1&&(V(0,"ul"),oo(1,tEe,2,4,"li",null,ks),z()),e&2){let i=ae(2);O(),so(i.medication().posology)}}function iEe(e,t){if(e&1&&Sa(0,2),e&2){let i=ae(2),n=or(3);q("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,nae,i.medication().posology[0]))}}function aEe(e,t){if(e&1&&oe(0,eEe,3,3,"span",1)(1,nEe,3,0,"ul")(2,iEe,1,4,"ng-container",2),e&2){let i=ae();ee(i.medication().temporality===i.temporalities.ONESHOT?0:-1),O(),ee(i.medication().posology.length>1?1:2)}}function rEe(e,t){e&1&&(ge(0),A(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
38
- `)}function oEe(e,t){e&1&&(V(0,"span"),ge(1),z()),e&2&&(O(),qe(" ",t,""))}function sEe(e,t){if(e&1&&(V(0,"span"),ge(1),A(2,"translate"),z(),oe(3,oEe,2,1,"span"),A(4,"posologySpecification")),e&2){let i,n=ae(2).posology,a=ae();O(),qe(" ",dt(2,2,"commons.administrationUnits."+n.quantity.unit,Cn(8,Qwe,n.quantity.value)),""),O(2),ee((i=dt(4,5,n,a.medication()))?3:-1,i)}}function lEe(e,t){if(e&1&&(V(0,"span"),ge(1),A(2,"quantity"),z(),oe(3,sEe,5,10)),e&2){let i=ae().posology;O(),Nt(Y(2,2,i.quantity.value)),O(2),ee(i.quantity.unit?3:-1)}}function cEe(e,t){if(e&1&&(V(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z()),e&2){let i=ae();q("lang",Y(1,3,i.lang)),Vt("translate",Y(2,5,i.lang)),O(3),qe("  ",t," ")}}function uEe(e,t){if(e&1&&(V(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z(),oe(4,cEe,4,7,"span",3),A(5,"posologySpecification")),e&2){let i,n=t,a=ae().posology,r=ae();q("lang",Y(1,4,n.lang)),Vt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),ee((i=dt(5,8,a,r.medication()))?4:-1,i)}}function dEe(e,t){if(e&1&&(V(0,"div"),oe(1,lEe,4,4)(2,uEe,6,11),A(3,"translateObject"),z()),e&2){let i,n=t.posology;O(),ee(n.quantity?1:-1),O(),ee((i=Y(3,2,n.text))?2:-1,i)}}var hEe=(()=>{const t=class t{constructor(){this.medication=fe.required(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-medication-scheme-posology"]],inputs:{medication:[1,"medication"]},decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(n,a){if(n&1&&oe(0,aEe,3,2)(1,rEe,2,3)(2,dEe,4,4,"ng-template",null,0,Zl),n&2){let r;ee((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Zie,Jwe,Kie,qie,Yie,Ep],styles:[".if-needed[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"],changeDetection:0});let e=t;return e})();u0(Xre());var sl;function pEe(){if(sl===void 0&&(sl=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(sl=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return sl}function So(e){var t;return((t=pEe())==null?void 0:t.createHTML(e))||e}function Bg(e){return Error(`Unable to find icon with the name "${e}"`)}function mEe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function zg(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Hg(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Ra=class{constructor(e,t,i){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=i}},fEe=(()=>{const t=class t{constructor(n,a,r,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=a,this._errorHandler=o,this._document=r}addSvgIcon(n,a,r){return this.addSvgIconInNamespace("",n,a,r)}addSvgIconLiteral(n,a,r){return this.addSvgIconLiteralInNamespace("",n,a,r)}addSvgIconInNamespace(n,a,r,o){return this._addSvgIconConfig(n,a,new Ra(r,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,r,o){let l=this._sanitizer.sanitize(wn.HTML,r);if(!l)throw Hg(r);let u=So(l);return this._addSvgIconConfig(n,a,new Ra("",u,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,r){return this._addSvgIconSetConfig(n,new Ra(a,null,r))}addSvgIconSetLiteralInNamespace(n,a,r){let o=this._sanitizer.sanitize(wn.HTML,a);if(!o)throw Hg(a);let l=So(o);return this._addSvgIconSetConfig(n,new Ra("",l,r))}registerFontClassAlias(n,a=n){return this._fontCssClassesByAlias.set(n,a),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let a=this._sanitizer.sanitize(wn.RESOURCE_URL,n);if(!a)throw zg(n);let r=this._cachedIconsByUrl.get(a);return r?vt(ll(r)):this._loadSvgIconFromConfig(new Ra(n,null)).pipe(hl(o=>this._cachedIconsByUrl.set(a,o)),zt(o=>ll(o)))}getNamedSvgIcon(n,a=""){let r=Ug(a,n),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):Goe(Bg(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?vt(ll(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(zt(a=>ll(a)))}_getSvgFromIconSetConfigs(n,a){let r=this._extractIconWithNameFromAnySet(n,a);if(r)return vt(r);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(nv(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(wn.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),vt(null)})));return ev(o).pipe(zt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw Bg(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let r=a.length-1;r>=0;r--){let o=a[r];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),u=this._extractSvgIconFromSet(l,n,o.options);if(u)return u}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(hl(a=>n.svgText=a),zt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?vt(null):this._fetchIcon(n).pipe(hl(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,r){let o=n.querySelector(`[id="${a}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let u=this._svgElementFromString(So("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,r)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let r=a.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(n){let a=this._svgElementFromString(So("<svg></svg>")),r=n.attributes;for(let o=0;o<r.length;o++){let{name:l,value:u}=r[o];l!=="id"&&a.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&a.appendChild(n.childNodes[o].cloneNode(!0));return a}_setSvgAttributes(n,a){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),a&&a.viewBox&&n.setAttribute("viewBox",a.viewBox),n}_fetchIcon(n){let{url:a,options:r}=n,o=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw mEe();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(wn.RESOURCE_URL,a);if(!l)throw zg(a);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(zt(h=>So(h)),rv(()=>this._inProgressUrlFetches.delete(l)),ov());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,a,r){return this._svgIconConfigs.set(Ug(n,a),r),this}_addSvgIconSetConfig(n,a){let r=this._iconSetConfigs.get(n);return r?r.push(a):this._iconSetConfigs.set(n,[a]),this}_svgElementFromConfig(n){if(!n.svgElement){let a=this._svgElementFromString(n.svgText);this._setSvgAttributes(a,n.options),n.svgElement=a}return n.svgElement}_getIconConfigFromResolvers(n,a){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](a,n);if(o)return gEe(o)?new Ra(o.url,null,o.options):new Ra(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(pe(Cs,8),pe(I1),pe(He,8),pe(ai))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ll(e){return e.cloneNode(!0)}function Ug(e,t){return e+":"+t}function gEe(e){return!!(e.url&&e.options)}var vEe=["*"],yEe=new se("MAT_ICON_DEFAULT_OPTIONS"),bEe=new se("mat-icon-location",{providedIn:"root",factory:_Ee});function _Ee(){let e=C(He),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var iae=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],xEe=iae.map(e=>`[${e}]`).join(", "),wEe=/^url\(['"]?#(.*?)['"]?\)$/,ho=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_iconRegistry",C(fEe));s(this,"_location",C(bEe));s(this,"_errorHandler",C(ai));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",pn.EMPTY);let n=C(new Lle("aria-hidden"),{optional:!0}),a=C(yEe,{optional:!0});a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let a=this._cleanupFontValue(n);a!==this._fontSet&&(this._fontSet=a,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let a=this._cleanupFontValue(n);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let a=n.split(":");switch(a.length){case 1:return["",a[0]];case 2:return a;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let a=this._location.getPathname();a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let a=this._location.getPathname();this._previousPath=a,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(a),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,a=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();a--;){let r=n.childNodes[a];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>n.classList.remove(r)),a.forEach(r=>n.classList.add(r)),this._previousFontSetClass=a,this.fontIcon!==this._previousFontIconClass&&!a.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let a=this._elementsWithExternalReferences;a&&a.forEach((r,o)=>{r.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(xEe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)iae.forEach(l=>{let u=a[o],c=u.getAttribute(l),h=c?c.match(wEe):null;if(h){let m=r.get(u);m||(m=[],r.set(u,m)),m.push({name:l,value:h[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,r]=this._splitIconName(n);a&&(this._svgNamespace=a),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,a).pipe(Vn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(Vt("data-mat-icon-type",a._usingFontIcon()?"font":"svg")("data-mat-icon-name",a._svgName||a.fontIcon)("data-mat-icon-namespace",a._svgNamespace||a.fontSet)("fontIcon",a._usingFontIcon()?a.fontIcon:null),Ss(a.color?"mat-"+a.color:""),mn("mat-icon-inline",a.inline)("mat-icon-no-color",a.color!=="primary"&&a.color!=="accent"&&a.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ei],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:vEe,decls:1,vars:0,template:function(n,a){n&1&&(Dn(),nt(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}
39
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),EEe=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({imports:[Ci,Ci]}));let e=t;return e})(),aae=(()=>{const t=class t{constructor(){this.leaflet=fe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-download-link"]],inputs:{leaflet:[1,"leaflet"]},decls:4,vars:4,consts:[["mat-button","","target","_blank",3,"href"],["fontIcon","download"]],template:function(n,a){n&1&&(V(0,"a",0),le(1,"mat-icon",1),ge(2),A(3,"translate"),z()),n&2&&(q("href",a.leaflet(),By),O(2),qe(" ",Y(3,2,"commons.downloadLeaflet")," "))},dependencies:[Wc,j0e,ho,un],encapsulation:2});let e=t;return e})(),rae=(()=>{const t=class t{constructor(){this.message=fe.required(),this.fontIcon=fe("info"),this.translateParams=fe({})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"],fontIcon:[1,"fontIcon"],translateParams:[1,"translateParams"]},decls:3,vars:5,consts:[[3,"fontIcon"]],template:function(n,a){n&1&&(le(0,"mat-icon",0),ge(1),A(2,"translate")),n&2&&(q("fontIcon",a.fontIcon()),O(),qe(" ",dt(2,2,"commons.errors."+a.message(),a.translateParams())," "))},dependencies:[ho,un],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),SEe=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(e_)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(V(0,"h2",0),ge(1),A(2,"translate"),z(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),A(7,"translate"),z()()(),V(8,"mat-dialog-actions")(9,"button",1),ge(10),A(11,"translate"),z()()),n&2&&(O(),Nt(Y(2,4,"commons.errors.action-not-authorized-title")),O(5),Nt(Y(7,6,"commons.errors."+a.vidisErrorCode)),O(3),q("mat-dialog-close",!1),O(),qe(" ",Y(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[l_,n_,a_,o_,r_,Wc,Gc,un],encapsulation:2});let e=t;return e})(),kEe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(V(0,"h2",0),ge(1),A(2,"translate"),z(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),A(7,"translate"),z()(),V(8,"p")(9,"span"),ge(10),A(11,"translate"),z(),V(12,"a",1),A(13,"translate"),ge(14),A(15,"translate"),z(),ge(16,"."),z()(),V(17,"mat-dialog-actions")(18,"button",2),ge(19),A(20,"translate"),z(),V(21,"button",3),ge(22),A(23,"translate"),z()()),n&2&&(O(),Nt(Y(2,9,"commons.errors.report-message-title")),O(5),Nt(Y(7,11,"commons.errors.report-message-explanation")),O(4),Nt(Y(11,13,"commons.errors.report-message-content")),O(2),q("href",Y(13,15,"commons.errors.report-message-link"),By),O(2),Nt(Y(15,17,"commons.errors.report-message-term-use")),O(4),q("mat-dialog-close",!0),O(),qe(" ",Y(20,19,"commons.errors.report-message-report-button")," "),O(2),q("mat-dialog-close",!1),O(),qe(" ",Y(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[l_,n_,a_,o_,r_,Wc,Gc,un],encapsulation:2});let e=t;return e})(),CEe=(()=>{const t=class t{reportError(n){return vt({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),IEe=(()=>{const t=class t{constructor(){this.http=C(Cs),this.authService=C(ns).getInstance(),this.apiUrl=C(uo).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Ar.userType]:Ga.getUserType({isProfessional:this.authService.isProfessional}),[Ar.clientType]:Q_()?Ga.clientType.mobileApp:Ga.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),DEe=(()=>{const t=class t{constructor(){this.config=C(uo),this.injector=C(st),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(CEe):this.injector.get(IEe)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Gg(e,t,i){let n=z_(),a=PEe(e,i.timeZone,i.locale??n.locale);return"formatToParts"in a?TEe(a,t):OEe(a,t)}function TEe(e,t){let i=e.formatToParts(t);for(let n=i.length-1;n>=0;--n)if(i[n].type==="timeZoneName")return i[n].value}function OEe(e,t){let i=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(i);return n?n[0].substr(1):""}function PEe(e,t,i){return new Intl.DateTimeFormat(i?[i.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function NEe(e,t){let i=FEe(t);return"formatToParts"in i?REe(i,e):AEe(i,e)}var MEe={year:0,month:1,day:2,hour:3,minute:4,second:5};function REe(e,t){try{let i=e.formatToParts(t),n=[];for(let a=0;a<i.length;a++){let r=MEe[i[a].type];r!==void 0&&(n[r]=parseInt(i[a].value,10))}return n}catch(i){if(i instanceof RangeError)return[NaN];throw i}}function AEe(e,t){let i=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(i);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 Ku={},Wg=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")),LEe=Wg==="06/25/2014, 00:00:00"||Wg==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function FEe(e){return Ku[e]||(Ku[e]=LEe?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"})),Ku[e]}function oae(e,t,i,n,a,r,o){let l=new Date(0);return l.setUTCFullYear(e,t,i),l.setUTCHours(n,a,r,o),l}var qg=36e5,jEe=6e4,Ju={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function sae(e,t,i){if(!e)return 0;let n=Ju.timezoneZ.exec(e);if(n)return 0;let a,r;if(n=Ju.timezoneHH.exec(e),n)return a=parseInt(n[1],10),$g(a)?-(a*qg):NaN;if(n=Ju.timezoneHHMM.exec(e),n){a=parseInt(n[2],10);let o=parseInt(n[3],10);return $g(a,o)?(r=Math.abs(a)*qg+o*jEe,n[1]==="+"?-r:r):NaN}if(zEe(e)){t=new Date(t||Date.now());let o=i?t:VEe(t),l=ch(o,e);return-(i?l:BEe(t,l,e))}return NaN}function VEe(e){return oae(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ch(e,t){let i=NEe(e,t),n=oae(i[0],i[1]-1,i[2],i[3]%24,i[4],i[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,n-a}function BEe(e,t,i){let n=e.getTime()-t,a=ch(new Date(n),i);if(t===a)return t;n-=a-t;let r=ch(new Date(n),i);return a===r?a:Math.max(a,r)}function $g(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Yg={};function zEe(e){if(Yg[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Yg[e]=!0,!0}catch{return!1}}var HEe=60*1e3,UEe={X:function(e,t,i){let n=Xu(i.timeZone,e);if(n===0)return"Z";switch(t){case"X":return Zg(n);case"XXXX":case"XX":return xr(n);case"XXXXX":case"XXX":default:return xr(n,":")}},x:function(e,t,i){let n=Xu(i.timeZone,e);switch(t){case"x":return Zg(n);case"xxxx":case"xx":return xr(n);case"xxxxx":case"xxx":default:return xr(n,":")}},O:function(e,t,i){let n=Xu(i.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+GEe(n,":");case"OOOO":default:return"GMT"+xr(n,":")}},z:function(e,t,i){switch(t){case"z":case"zz":case"zzz":return Gg("short",e,i);case"zzzz":default:return Gg("long",e,i)}}};function Xu(e,t){let i=e?sae(e,t,!0)/HEe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(i))throw new RangeError("Invalid time zone specified: "+e);return i}function lc(e,t){let i=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return i+n}function xr(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=lc(Math.floor(n/60),2),r=lc(Math.floor(n%60),2);return i+a+t+r}function Zg(e,t){return e%60===0?(e>0?"-":"+")+lc(Math.abs(e)/60,2):xr(e,t)}function GEe(e,t=""){let i=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),r=n%60;return r===0?i+String(a):i+String(a)+t+lc(r,2)}function Kg(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 WEe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Qu=36e5,Jg=6e4,qEe=2,ln={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:WEe};function $Ee(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 i=t.additionalDigits==null?qEe:Number(t.additionalDigits);if(i!==2&&i!==1&&i!==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=YEe(e),{year:a,restDateString:r}=ZEe(n.date,i),o=KEe(r,a);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=JEe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=sae(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=Kg(new Date(l+u)),c=Kg(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function YEe(e){let t={},i=ln.dateTimePattern.exec(e),n;if(i?(t.date=i[1],n=i[3]):(i=ln.datePattern.exec(e),i?(t.date=i[1],n=i[2]):(t.date=null,n=e)),n){let a=ln.timeZone.exec(n);a?(t.time=n.replace(a[1],""),t.timeZone=a[1].trim()):t.time=n}return t}function ZEe(e,t){if(e){let i=ln.YYY[t],n=ln.YYYYY[t],a=ln.YYYY.exec(e)||n.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=ln.YY.exec(e)||i.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function KEe(e,t){if(t===null)return null;let i,n,a;if(!e||!e.length)return i=new Date(0),i.setUTCFullYear(t),i;let r=ln.MM.exec(e);if(r)return i=new Date(0),n=parseInt(r[1],10)-1,Qg(t,n)?(i.setUTCFullYear(t,n),i):new Date(NaN);if(r=ln.DDD.exec(e),r){i=new Date(0);let o=parseInt(r[1],10);return eSe(t,o)?(i.setUTCFullYear(t,0,o),i):new Date(NaN)}if(r=ln.MMDD.exec(e),r){i=new Date(0),n=parseInt(r[1],10)-1;let o=parseInt(r[2],10);return Qg(t,n,o)?(i.setUTCFullYear(t,n,o),i):new Date(NaN)}if(r=ln.Www.exec(e),r)return a=parseInt(r[1],10)-1,e0(a)?Xg(t,a):new Date(NaN);if(r=ln.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let o=parseInt(r[2],10)-1;return e0(a,o)?Xg(t,a,o):new Date(NaN)}return null}function JEe(e){let t,i,n=ln.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),ed(t)?t%24*Qu:NaN;if(n=ln.HHMM.exec(e),n)return t=parseInt(n[1],10),i=parseFloat(n[2].replace(",",".")),ed(t,i)?t%24*Qu+i*Jg:NaN;if(n=ln.HHMMSS.exec(e),n){t=parseInt(n[1],10),i=parseInt(n[2],10);let a=parseFloat(n[3].replace(",","."));return ed(t,i,a)?t%24*Qu+i*Jg+a*1e3:NaN}return null}function Xg(e,t,i){t=t||0,i=i||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let a=n.getUTCDay()||7,r=t*7+i+1-a;return n.setUTCDate(n.getUTCDate()+r),n}var XEe=[31,28,31,30,31,30,31,31,30,31,30,31],QEe=[31,29,31,30,31,30,31,31,30,31,30,31];function lae(e){return e%400===0||e%4===0&&e%100!==0}function Qg(e,t,i){if(t<0||t>11)return!1;if(i!=null){if(i<1)return!1;let n=lae(e);if(n&&i>QEe[t]||!n&&i>XEe[t])return!1}return!0}function eSe(e,t){if(t<1)return!1;let i=lae(e);return!(i&&t>366||!i&&t>365)}function e0(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function ed(e,t,i){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||i!=null&&(i<0||i>=60))}var tSe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function nSe(e,t,i={}){t=String(t);let n=t.match(tSe);if(n){let a=$Ee(i.originalDate||e,i);t=n.reduce(function(r,o){if(o[0]==="'")return r;let l=r.indexOf(o),u=r[l-1]==="'",c=r.replace(o,"'"+UEe[o[0]](a,o,i)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return Ha(e,t,i)}var iSe=(()=>{const t=class t extends U1e{constructor(){super(...arguments),this.version=sh,this.defaultExtraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"],this.authServiceSelector=C(ns),this.translateService=C(li),this.webComponentConfig=C(uo),this.injector=C(st),this.servicesStore=C($c),this.matDialog=C(Uc),this.destroyRef=C(ii),this.errorServiceSelector=C(DEe),this.snackbarService=C(x_e),this.extraRequiredFields=this.defaultExtraRequiredFields}onInitialized(){return Pt(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(n=>Pt(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)===qi.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===qi.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(kEe,{data:{error:n}}).beforeClosed().pipe(bi(a=>a),nm(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let a={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(n){this.matDialog.open(SEe,{data:n})}formatDateWithZone(){return nSe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵcmp=Re({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Gn],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),aSe=["*"];function rSe(e,t){e&1&&Sa(0)}function oSe(e,t){if(e&1&&(V(0,"div",3),oe(1,rSe,1,0,"ng-container",5),z()),e&2){ae();let i=or(5);O(),q("ngTemplateOutlet",i)}}function sSe(e,t){e&1&&Sa(0)}function lSe(e,t){if(e&1){let i=Ac();V(0,"div",6),Di("click",function(){ya(i);let n=ae();return ba(n.toggleExpanded())})("keydown.enter",function(){ya(i);let n=ae();return ba(n.toggleExpanded())})("keydown.space",function(){ya(i);let n=ae();return ba(n.toggleExpanded())}),oe(1,sSe,1,0,"ng-container",5),z()}if(e&2){let i=ae(),n=or(5);Vt("aria-label",i.currentExpandIconAriaLabel()),O(),q("ngTemplateOutlet",n)}}function cSe(e,t){e&1&&Sa(0)}function uSe(e,t){if(e&1&&oe(0,cSe,1,0,"ng-container",5),e&2){ae();let i=or(7);q("ngTemplateOutlet",i)}}function dSe(e,t){if(e&1&&(V(0,"h2"),ge(1),z()),e&2){let i=ae(3);O(),Nt(i.alertTitle())}}function hSe(e,t){if(e&1&&(V(0,"p"),ge(1),z()),e&2){let i=ae(3);O(),Nt(i.alertSubtitle())}}function pSe(e,t){if(e&1&&(V(0,"div"),oe(1,dSe,2,1,"h2")(2,hSe,2,1,"p"),z()),e&2){let i=ae(2);O(),ee(i.alertTitle()?1:-1),O(),ee(i.alertSubtitle()?2:-1)}}function mSe(e,t){e&1&&Sa(0)}function fSe(e,t){if(e&1&&oe(0,mSe,1,0,"ng-container",5),e&2){ae(2);let i=or(7);q("ngTemplateOutlet",i)}}function gSe(e,t){if(e&1){let i=Ac();V(0,"mat-icon",11),Di("click",function(){ya(i);let n=ae(2);return ba(n.onCloseButtonClick())})("keydown.enter",function(){ya(i);let n=ae(2);return ba(n.onCloseButtonClick())})("keydown.space",function(){ya(i);let n=ae(2);return ba(n.onCloseButtonClick())}),z()}if(e&2){let i=ae(2);Vt("aria-label",i.closeButtonAriaLabel())}}function vSe(e,t){if(e&1&&le(0,"mat-icon",10),e&2){let i=ae(2);q("fontIcon",i.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function ySe(e,t){if(e&1&&(le(0,"mat-icon",7),V(1,"div",8),oe(2,pSe,3,2,"div")(3,fSe,1,1,"ng-container"),z(),oe(4,gSe,1,1,"mat-icon",9)(5,vSe,1,1,"mat-icon",10)),e&2){let i=ae();q("fontIcon",i.fontIcon()),O(2),ee(i.alertTitle()||i.alertSubtitle()?2:i.dismissMode()!=="expandable"?3:-1),O(2),ee(i.dismissMode()==="closable"?4:i.dismissMode()==="expandable"?5:-1)}}function bSe(e,t){if(e&1){let i=Ac();V(0,"button",14),Di("click",function(){ya(i);let n=ae(2);return ba(n.onActionButtonClicked())}),ge(1),z()}if(e&2){let i=ae(2);q("disabled",i.buttonDisabled()),O(),qe(" ",i.buttonLabel()," ")}}function _Se(e,t){if(e&1&&(V(0,"span",12),nt(1),z(),oe(2,bSe,2,2,"button",13)),e&2){let i=ae();O(2),ee(i.actionButton()?2:-1)}}var xSe=(()=>{const t=class t{constructor(){s(this,"usage",fe("info"));s(this,"backgroundColor",fe("color"));s(this,"alertTitle",fe());s(this,"alertSubtitle",fe());s(this,"actionButton",fe(!1));s(this,"buttonDisabled",fe(!1));s(this,"buttonLabel",fe());s(this,"dismissMode",fe("pinned"));s(this,"closeButtonAriaLabel",fe(""));s(this,"startExpanded",fe(!1));s(this,"expandedButtonAriaLabel",fe(""));s(this,"collapsedButtonAriaLabel",fe(""));s(this,"closeButtonClicked",qm());s(this,"actionButtonClicked",qm());s(this,"expanded",eme(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",Gi(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",Gi(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",Gi(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",Gi(()=>({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",Re({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:aSe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(n,a){n&1&&(Dn(),V(0,"div",2),oe(1,oSe,2,1,"div",3)(2,lSe,2,2,"div",4)(3,uSe,1,1,"ng-container"),z(),oe(4,ySe,6,3,"ng-template",null,0,Zl)(6,_Se,3,1,"ng-template",null,1,Zl)),n&2&&(Ss(a.usage()),mn("white",a.backgroundColor()==="white"),O(),ee(a.dismissMode()!=="expandable"?1:2),O(2),ee(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[a1,Ep,ho,Gc],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function wSe(e,t){if(e&1&&(V(0,"mh-alert",0),A(1,"translate"),V(2,"div",1),ge(3),A(4,"translate"),z()()),e&2){let i=ae();q("alertTitle",Y(1,2,"commons.errors.data-not-available-title")),O(3),Nt(Y(4,4,"commons.errors."+i.error().code))}}var ESe=(()=>{const t=class t{constructor(){this.error=fe.required(),this.vidisErrorGroup=qi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,a){n&1&&oe(0,wSe,5,6,"mh-alert",0),n&2&&ee(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[un,xSe],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})();function SSe(e,t){if(e&1&&(V(0,"span"),ge(1),z()),e&2){let i=ae();O(),qe("(",i.idNumber(),")")}}var kSe=(()=>{const t=class t{constructor(){this.fullname=fe.required(),this.idNumber=fe()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(n,a){n&1&&(ge(0),oe(1,SSe,2,1,"span")),n&2&&(qe(" ",a.fullname()," "),O(),ee(a.idNumber()?1:-1))},styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),CSe=[[["vidis-detail-header-left"]],[["vidis-detail-header-right"]],[["vidis-detail-header"]],[["vidis-detail-action-button"]],[["vidis-detail-action-icon"]],"*"],ISe=["vidis-detail-header-left","vidis-detail-header-right","vidis-detail-header","vidis-detail-action-button","vidis-detail-action-icon","*"];function DSe(e,t){if(e&1&&(V(0,"h3"),ge(1),z()),e&2){let i=ae();O(),Nt(i.medicationName())}}function TSe(e,t){e&1&&nt(0,5)}var OSe=(()=>{const t=class t{constructor(){this.medicationName=fe(),this.canDisplayDetails=fe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail"]],inputs:{medicationName:[1,"medicationName"],canDisplayDetails:[1,"canDisplayDetails"]},ngContentSelectors:ISe,decls:14,vars:6,consts:[[1,"detail"],[1,"header-left"],[1,"header-right"],[1,"actions"],[1,"actions-left"],[1,"actions-right"]],template:function(n,a){n&1&&(Dn(CSe),V(0,"div",0)(1,"div",1),nt(2),z(),V(3,"div",2),nt(4,1),z(),oe(5,DSe,2,1,"h3"),nt(6,2),oe(7,TSe,1,0),z(),le(8,"mat-divider"),V(9,"div",3)(10,"div",4),nt(11,3),z(),V(12,"div",5),nt(13,4),z()()),n&2&&(mn("no-medication",!a.medicationName()),O(5),ee(a.medicationName()?5:-1),O(2),ee(a.canDisplayDetails()?7:-1),O(),gp("margin","1rem 0"))},dependencies:[am,im],styles:["div.detail[_ngcontent-%COMP%]{position:relative;padding-top:2.3rem;margin-left:10px;margin-right:10px}div.detail[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{position:absolute;top:0;right:0;display:flex;justify-content:flex-end;align-items:center;gap:.5rem;margin:10px}div.detail[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:flex;justify-content:flex-end;align-items:center;gap:.5rem;margin:10px}div.no-medication[_ngcontent-%COMP%]{padding-top:2.8rem}div.actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}div.actions[_ngcontent-%COMP%] .actions-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;margin-left:10px}div.actions[_ngcontent-%COMP%] .actions-right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin-right:10px}"]});let e=t;return e})();function PSe(e,t){if(e&1&&(V(0,"p",0)(1,"span",1),ge(2),A(3,"translate"),z(),V(4,"span",2),ge(5),z()()),e&2){let i=ae();O(2),Nt(Y(3,2,i.labelKey())),O(3),Nt(i.value())}}var NSe=(()=>{const t=class t{constructor(){this.labelKey=fe.required(),this.value=fe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail-field"]],inputs:{labelKey:[1,"labelKey"],value:[1,"value"]},decls:1,vars:1,consts:[[1,"detail"],[1,"detail__label"],[1,"detail__value"]],template:function(n,a){n&1&&oe(0,PSe,6,4,"p",0),n&2&&ee(a.value()?0:-1)},dependencies:[un],styles:[".detail[_ngcontent-%COMP%]{display:grid;margin:0}.detail__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}.detail__value[_ngcontent-%COMP%]{margin-bottom:10px;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})(),MSe=["*"];function RSe(e,t){if(e&1&&(V(0,"span",1),ge(1),A(2,"translate"),z()),e&2){let i=ae(2);O(),Nt(Y(2,1,i.labelKey()))}}function ASe(e,t){if(e&1&&(V(0,"p",0),oe(1,RSe,3,3,"span",1),V(2,"span",2),nt(3),z()()),e&2){let i=ae();O(),ee(i.labelKey()?1:-1)}}var LSe=(()=>{const t=class t{constructor(){this.labelKey=fe(),this.display=fe(!0)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],display:[1,"display"]},ngContentSelectors:MSe,decls:1,vars:1,consts:[[1,"detail"],[1,"detail__label"],[1,"detail__value"]],template:function(n,a){n&1&&(Dn(),oe(0,ASe,4,1,"p",0)),n&2&&ee(a.display()?0:-1)},dependencies:[un],styles:[".detail[_ngcontent-%COMP%]{display:grid;margin:0}.detail__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}.detail__value[_ngcontent-%COMP%]{margin-bottom:10px;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})(),FSe=["*"],jSe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail-header"]],ngContentSelectors:FSe,decls:1,vars:0,template:function(n,a){n&1&&(Dn(),nt(0))},encapsulation:2});let e=t;return e})(),VSe=[[["vidis-detail-section-header-right"]],"*"],BSe=["vidis-detail-section-header-right","*"];function zSe(e,t){e&1&&le(0,"mat-divider"),e&2&&gp("margin","1rem 0")}function HSe(e,t){if(e&1&&(V(0,"div",0),oe(1,zSe,1,2,"mat-divider",1),V(2,"div",2)(3,"span",3),ge(4),z(),V(5,"div",4),nt(6),z()(),nt(7,1),z()),e&2){let i=ae();O(),ee(i.withDivider()?1:-1),O(3),Nt(i.label())}}var cae=(()=>{const t=class t{constructor(){this.label=fe.required(),this.dispaly=fe(!0),this.withDivider=fe(!0)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail-section"]],inputs:{label:[1,"label"],dispaly:[1,"dispaly"],withDivider:[1,"withDivider"]},ngContentSelectors:BSe,decls:1,vars:1,consts:[[1,"section"],[3,"margin"],[1,"section__header"],[1,"section__label"],[1,"header-right"]],template:function(n,a){n&1&&(Dn(VSe),oe(0,HSe,8,2,"div",0)),n&2&&ee(a.dispaly()?0:-1)},dependencies:[am,im],styles:[".section[_ngcontent-%COMP%]{display:flex;flex-direction:column}.section__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.section__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;color:#1d5caf;margin-bottom:10px}.section[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{display:flex;gap:.5rem;margin-right:16px}"]});let e=t;return e})(),USe=(()=>{const t=class t{constructor(){this.patient=fe.required(),this.prescriber=fe.required(),this.creationDate=fe(),this.patientLabelKey=fe("commons.patient")}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-person-detail-section"]],inputs:{patient:[1,"patient"],prescriber:[1,"prescriber"],creationDate:[1,"creationDate"],patientLabelKey:[1,"patientLabelKey"]},decls:12,vars:22,consts:[[3,"label"],[3,"labelKey"],[3,"fullname","idNumber"],["labelKey","commons.prescribedOn",3,"value"],["labelKey","commons.prescriber"]],template:function(n,a){if(n&1&&(V(0,"vidis-detail-section",0),A(1,"translate"),V(2,"vidis-detail-field-slot",1),le(3,"vidis-person-name",2),A(4,"fullname"),A(5,"mask"),z(),le(6,"vidis-detail-field",3),A(7,"date"),V(8,"vidis-detail-field-slot",4),le(9,"vidis-person-name",2),A(10,"fullname"),A(11,"mask"),z()()),n&2){let r;q("label",Y(1,7,"commons.prescription")),O(2),q("labelKey",a.patientLabelKey()),O(),q("fullname",Y(4,9,a.patient()))("idNumber",dt(5,11,a.patient().ssin,"XXXXXX-XXX.XX")),O(3),q("value",dt(7,14,a.creationDate(),"dd/MM/yyyy")),O(3),q("fullname",Y(10,17,a.prescriber()))("idNumber",dt(11,19,(r=a.prescriber())==null?null:r.nihdi,"X/XXXXX/XX/XXX"))}},dependencies:[cae,LSe,kSe,NSe,un,z1e,Sp,rm],encapsulation:2});let e=t;return e})(),GSe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],WSe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function qSe(e,t){e&1&&(V(0,"span",3),nt(1,1),z())}function $Se(e,t){e&1&&(V(0,"span",6),nt(1,2),z())}var YSe=["*"],t0=new se("MatChipAvatar"),n0=new se("MatChipTrailingIcon"),i0=new se("MatChipRemove"),uae=new se("MatChip"),a0=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_parentChip",C(uae));s(this,"isInteractive",!0);s(this,"_isPrimary",!0);s(this,"_disabled",!1);s(this,"tabIndex",-1);s(this,"_allowFocusWhenDisabled",!1);C(lr).load(Lp),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var n;return this._disabled||((n=this._parentChip)==null?void 0:n.disabled)||!1}set disabled(n){this._disabled=n}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(n){!this.disabled&&this.isInteractive&&this._isPrimary&&(n.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(n.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",rn({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(n,a){n&1&&Di("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),n&2&&(Vt("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),mn("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",ei],tabIndex:[2,"tabIndex","tabIndex",n=>n==null?-1:jc(n)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),dae=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",C(sr));s(this,"_elementRef",C(At));s(this,"_ngZone",C(We));s(this,"_focusMonitor",C(Rp));s(this,"_globalRippleOptions",C(U1,{optional:!0}));s(this,"_document",C(He));s(this,"_onFocus",new be);s(this,"_onBlur",new be);s(this,"_isBasicChip");s(this,"role",null);s(this,"_hasFocusInternal",!1);s(this,"_pendingFocus");s(this,"_actionChanges");s(this,"_animationsDisabled");s(this,"_allLeadingIcons");s(this,"_allTrailingIcons");s(this,"_allRemoveIcons");s(this,"id",C(lo).getId("mat-mdc-chip-"));s(this,"ariaLabel",null);s(this,"ariaDescription",null);s(this,"_ariaDescriptionId",`${this.id}-aria-description`);s(this,"_chipListDisabled",!1);s(this,"_textElement");s(this,"_value");s(this,"color");s(this,"removable",!0);s(this,"highlighted",!1);s(this,"disableRipple",!1);s(this,"_disabled",!1);s(this,"removed",new Ht);s(this,"destroyed",new Ht);s(this,"basicChipAttrName","mat-basic-chip");s(this,"leadingIcon");s(this,"trailingIcon");s(this,"removeIcon");s(this,"primaryAction");s(this,"_rippleLoader",C(G1));s(this,"_injector",C(st));var r;let n=C(lr);n.load(Lp),n.load(L1);let a=C(ir,{optional:!0});this._animationsDisabled=a==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(n){this._value=n}get disabled(){return this._disabled||this._chipListDisabled}set disabled(n){this._disabled=n}ngOnInit(){let n=this._elementRef.nativeElement;this._isBasicChip=n.hasAttribute(this.basicChipAttrName)||n.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=cs(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var n,a;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var n;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((n=this._globalRippleOptions)!=null&&n.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(n){(n.keyCode===8&&!n.repeat||n.keyCode===46)&&(n.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(n){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===n||r.contains(n)})}_getActions(){let n=[];return this.primaryAction&&n.push(this.primaryAction),this.removeIcon&&n.push(this.removeIcon),this.trailingIcon&&n.push(this.trailingIcon),n}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(n=>{let a=n!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,a,r){if(n&1&&(Aa(r,t0,5),Aa(r,n0,5),Aa(r,i0,5),Aa(r,t0,5),Aa(r,n0,5),Aa(r,i0,5)),n&2){let o;Kn(o=Jn())&&(a.leadingIcon=o.first),Kn(o=Jn())&&(a.trailingIcon=o.first),Kn(o=Jn())&&(a.removeIcon=o.first),Kn(o=Jn())&&(a._allLeadingIcons=o),Kn(o=Jn())&&(a._allTrailingIcons=o),Kn(o=Jn())&&(a._allRemoveIcons=o)}},viewQuery:function(n,a){if(n&1&&Yl(a0,5),n&2){let r;Kn(r=Jn())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(n,a){n&1&&Di("keydown",function(r){return a._handleKeydown(r)}),n&2&&(Lc("id",a.id),Vt("role",a.role)("aria-label",a.ariaLabel),Ss("mat-"+(a.color||"primary")),mn("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",ei],highlighted:[2,"highlighted","highlighted",ei],disableRipple:[2,"disableRipple","disableRipple",ei],disabled:[2,"disabled","disabled",ei]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[$b([{provide:uae,useExisting:t}])],ngContentSelectors:WSe,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,a){n&1&&(Dn(GSe),le(0,"span",0),V(1,"span",1)(2,"span",2),oe(3,qSe,2,0,"span",3),V(4,"span",4),nt(5),le(6,"span",5),z()()(),oe(7,$Se,2,0,"span",6)),n&2&&(O(2),q("isInteractive",!1),O(),ee(a.leadingIcon?3:-1),O(4),ee(a._hasTrailingIcon()?7:-1))},dependencies:[a0],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
40
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ZSe=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_changeDetectorRef",C(sr));s(this,"_dir",C(Zo,{optional:!0}));s(this,"_lastDestroyedFocusedChipIndex",null);s(this,"_keyManager");s(this,"_destroyed",new be);s(this,"_defaultRole","presentation");s(this,"_disabled",!1);s(this,"tabIndex",0);s(this,"_explicitRole",null);s(this,"_chips");s(this,"_chipActions",new Hl)}get chipFocusChanges(){return this._getChipStream(n=>n._onFocus)}get chipDestroyedChanges(){return this._getChipStream(n=>n.destroyed)}get chipRemovedChanges(){return this._getChipStream(n=>n.removed)}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(n){this._explicitRole=n}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var n;(n=this._keyManager)==null||n.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(n=>n._hasFocus())}_syncChipsState(){var n;(n=this._chips)==null||n.forEach(a=>{a._chipListDisabled=this._disabled,a._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(n){this._originatesFromChip(n)&&this._keyManager.onKeydown(n)}_isValidIndex(n){return n>=0&&n<this._chips.length}_allowFocusEscape(){let n=this._elementRef.nativeElement.tabIndex;n!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=n))}_getChipStream(n){return this._chips.changes.pipe(Tr(null),zo(()=>cs(...this._chips.map(n))))}_originatesFromChip(n){let a=n.target;for(;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1}_setUpFocusManagement(){var n;this._chips.changes.pipe(Tr(this._chips)).subscribe(a=>{let r=[];a.forEach(o=>o._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new Fge(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(zi(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(n=this._dir)==null||n.change.pipe(zi(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(n){return!n.isInteractive||n.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Tr(null),zi(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(zi(this._destroyed)).subscribe(n=>{let a=this._chips.toArray().indexOf(n.chip);this._isValidIndex(a)&&n.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let n=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),a=this._chips.toArray()[n];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Re({type:t,selectors:[["mat-chip-set"]],contentQueries:function(n,a,r){if(n&1&&Aa(r,dae,5),n&2){let o;Kn(o=Jn())&&(a._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,a){n&1&&Di("keydown",function(r){return a._handleKeydown(r)}),n&2&&Vt("role",a.role)},inputs:{disabled:[2,"disabled","disabled",ei],role:"role",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:jc(n)]},ngContentSelectors:YSe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,a){n&1&&(Dn(),V(0,"div",0),nt(1),z())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}
41
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),KSe=["*"],JSe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail-header-left"]],ngContentSelectors:KSe,decls:2,vars:0,template:function(n,a){n&1&&(Dn(),V(0,"mat-chip-set"),nt(1),z())},dependencies:[ZSe],encapsulation:2});let e=t;return e})(),XSe=e=>({label_error:e}),QSe=e=>({value_error:e});function eke(e,t){e&1&&le(0,"mat-icon",3)}function tke(e,t){if(e&1&&(V(0,"span",0)(1,"span",1),ge(2),A(3,"translate"),z(),V(4,"span",2),oe(5,eke,1,0,"mat-icon",3),ge(6),z()()),e&2){let i=ae();O(),q("ngClass",Cn(7,XSe,i.withError())),O(),qe(" ",Y(3,5,i.labelKey())," "),O(2),q("ngClass",Cn(9,QSe,i.withError())),O(),ee(i.withError()?5:-1),O(),qe(" ",i.value()," ")}}var hae=(()=>{const t=class t{constructor(){this.labelKey=fe.required(),this.value=fe.required(),this.withError=fe(!1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-ms-detail-field"]],inputs:{labelKey:[1,"labelKey"],value:[1,"value"],withError:[1,"withError"]},decls:1,vars:1,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(n,a){n&1&&oe(0,tke,7,11,"span",0),n&2&&ee(a.value()?0:-1)},dependencies:[un,ho,wp],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;width:210px}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),nke=["*"],ike=e=>({label_error:e}),ake=e=>({value_error:e});function rke(e,t){e&1&&le(0,"mat-icon",3)}var pae=(()=>{const t=class t{constructor(){this.labelKey=fe.required(),this.withError=fe(!1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-ms-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],withError:[1,"withError"]},ngContentSelectors:nke,decls:7,vars:10,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(n,a){n&1&&(Dn(),V(0,"span",0)(1,"span",1),ge(2),A(3,"translate"),z(),V(4,"span",2),oe(5,rke,1,0,"mat-icon",3),nt(6),z()()),n&2&&(O(),q("ngClass",Cn(6,ike,a.withError())),O(),qe(" ",Y(3,4,a.labelKey())," "),O(2),q("ngClass",Cn(8,ake,a.withError())),O(),ee(a.withError()?5:-1))},dependencies:[un,ho,wp],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;width:210px}.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;display:flex;align-items:center;gap:6px}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),oke=e=>({prescriber:e}),ske=e=>({count:e});function lke(e,t){if(e&1&&(le(0,"vidis-error-display",0),A(1,"translate"),A(2,"fullname")),e&2){let i=ae();q("message",Y(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,oke,Y(2,4,i.medication().author)))}}function cke(e,t){e&1&&(le(0,"vidis-ms-detail-field",5),A(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function uke(e,t){e&1&&(le(0,"vidis-ms-detail-field",6),A(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function dke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",20),A(1,"date"),A(2,"hasMedicationError")),e&2){let i=ae().$implicit,n=ae(3);q("value",dt(1,2,t,"dd/MM/yyyy"))("withError",fn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function hke(e,t){e&1&&(le(0,"vidis-ms-detail-field",21),A(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function pke(e,t){e&1&&(le(0,"vidis-ms-detail-field",22),A(1,"firstLetterUppercase")),e&2&&q("value",Y(1,1,t))}function mke(e,t){e&1&&le(0,"span",18)(1,"span",23)}function fke(e,t){e&1&&le(0,"mat-divider")}function gke(e,t){if(e&1&&(oe(0,dke,3,9,"vidis-ms-detail-field",20)(1,hke,2,4,"vidis-ms-detail-field",21)(2,pke,2,3,"vidis-ms-detail-field",22),A(3,"translateValue"),oe(4,mke,2,0)(5,fke,1,0,"mat-divider"),le(6,"br")),e&2){let i,n,a,r=t.$implicit,o=t.$index,l=t.$count;ee((i=r.item.startDate)?0:-1,i),O(),ee((n=r.item.endDate)?1:-1,n),O(),ee((a=Y(3,5,r.item.reason))?2:-1,a),O(2),ee(r.item.type==="definitive"?4:-1),O(),ee(o!==l-1?5:-1)}}function vke(e,t){if(e&1&&(V(0,"span",18),ge(1),A(2,"translate"),z(),V(3,"span",19),oo(4,gke,7,7,null,null,ks),z()),e&2){let i=ae();O(),Nt(Y(2,1,"medicationSchemeDetails.suspension.label")),O(3),so(i)}}function yke(e,t){e&1&&oe(0,vke,6,3),e&2&&ee(t.length>0?0:-1)}function bke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",7),A(1,"translate"),A(2,"firstLetterUppercase"),A(3,"hasMedicationError")),e&2){let i,n=ae();q("value",Y(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,ske,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function _ke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",8),A(1,"translate"),A(2,"hasMedicationError")),e&2){let i=ae();q("value",Y(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function xke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",11),A(1,"translate"),A(2,"firstLetterUppercase"),A(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function wke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",12),A(1,"translate"),A(2,"firstLetterUppercase"),A(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function Eke(e,t){e&1&&le(0,"vidis-ms-detail-field",15),e&2&&q("value",t)}function Ske(e,t){e&1&&le(0,"vidis-ms-detail-field",16),e&2&&q("value",t)}function kke(e,t){if(e&1&&le(0,"vidis-ms-detail-field",17),e&2){let i,n=ae();q("value",(i=n.medication().others)==null?null:i.join(", "))("withError",!0)}}var Cke=(()=>{const t=class t{constructor(){this.medication=fe.required(),this.fieldErrors=fe(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"],fieldErrors:[1,"fieldErrors"]},decls:30,vars:45,consts:[["fontIcon","warning",3,"message","translateParams"],[1,"details"],["labelKey","medicationSchemeDetails.medication",3,"value"],["labelKey","medicationSchemeDetails.indication",3,"value"],["labelKey","medicationSchemeDetails.prescriber",3,"value"],["labelKey","medicationSchemeDetails.start",3,"value"],["labelKey","medicationSchemeDetails.end",3,"value"],["labelKey","medicationSchemeDetails.quantity",3,"value","withError"],["labelKey","medicationSchemeDetails.periodicity",3,"value","withError"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication"],["labelKey","medicationSchemeDetails.route",3,"value","withError"],["labelKey","medicationSchemeDetails.temporality",3,"value","withError"],["labelKey","medicationSchemeDetails.startCondition",3,"value"],["labelKey","medicationSchemeDetails.endCondition",3,"value"],["labelKey","medicationSchemeDetails.instructions",3,"value"],["labelKey","medicationSchemeDetails.comment",3,"value"],["labelKey","medicationSchemeDetails.other",3,"value","withError"],[1,"details__label"],[1,"details__value","suspension"],["labelKey","medicationSchemeDetails.suspension.start",3,"value","withError"],["labelKey","medicationSchemeDetails.suspension.end",3,"value"],["labelKey","medicationSchemeDetails.suspension.reason",3,"value"],[1,"details__value"]],template:function(n,a){if(n&1&&(oe(0,lke,3,8,"vidis-error-display",0),A(1,"hasMedicationError"),V(2,"span",1),le(3,"vidis-ms-detail-field",2),A(4,"translateValue"),A(5,"firstLetterUppercase"),le(6,"vidis-ms-detail-field",3),A(7,"translateValue"),A(8,"firstLetterUppercase"),le(9,"vidis-ms-detail-field",4),A(10,"fullname"),oe(11,cke,2,4,"vidis-ms-detail-field",5)(12,uke,2,4,"vidis-ms-detail-field",6)(13,yke,1,1),A(14,"activeAndFutureSuspensions"),oe(15,bke,4,13,"vidis-ms-detail-field",7)(16,_ke,3,8,"vidis-ms-detail-field",8),V(17,"vidis-ms-detail-field-slot",9),A(18,"hasMedicationError"),le(19,"vidis-medication-scheme-posology",10),z(),oe(20,xke,4,10,"vidis-ms-detail-field",11)(21,wke,4,10,"vidis-ms-detail-field",12),le(22,"vidis-ms-detail-field",13)(23,"vidis-ms-detail-field",14),oe(24,Eke,1,1,"vidis-ms-detail-field",15),A(25,"translateValue"),oe(26,Ske,1,1,"vidis-ms-detail-field",16),A(27,"translateValue"),oe(28,kke,1,2,"vidis-ms-detail-field",17),A(29,"hasMedicationError"),z()),n&2){let r,o,l,u,c,h,m,v,g;ee(dt(1,18,a.fieldErrors(),a.medication().index)?0:-1),O(3),q("value",Y(5,23,Y(4,21,a.medication().name))),O(3),q("value",Y(8,27,Y(7,25,a.medication().indication))),O(3),q("value",Y(10,29,a.medication().author)),O(2),ee((r=a.medication().treatmentStartDate)?11:-1,r),O(),ee((o=a.medication().treatmentEndDate)?12:-1,o),O(),ee((l=Y(14,31,a.medication().suspensions))?13:-1,l),O(2),ee(!((u=a.medication().posology)==null||u[0]==null||u[0].quantity==null)&&u[0].quantity.unit?15:-1),O(),ee((c=(c=a.medication().frequency)==null?null:c.periodicity)?16:-1,c),O(),q("withError",fn(18,33,a.fieldErrors(),a.medication().index,"posologies")),O(2),q("medication",a.medication()),O(),ee((h=a.medication().route)?20:-1,h),O(),ee((m=a.medication().temporality)?21:-1,m),O(),q("value",a.medication().treatmentStartCondition),O(),q("value",a.medication().treatmentEndCondition),O(),ee((v=Y(25,37,a.medication().instructions))?24:-1,v),O(2),ee((g=Y(27,39,a.medication().comment))?26:-1,g),O(2),ee(fn(29,41,a.fieldErrors(),a.medication().index,"others")?28:-1)}},dependencies:[Wc,im,un,hEe,rae,hae,pae,Sp,rm,$ie,om,Jie,tae],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{gap:10px 20px}.details[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{display:none}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{grid-template-columns:max-content max-content max-content max-content max-content max-content;column-gap:10px}.details[_ngcontent-%COMP%] .suspension__date[_ngcontent-%COMP%]{margin-right:20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{border:1px solid #8f8f8f;padding:8px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin-top:6px;margin-bottom:6px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__label[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__value[_ngcontent-%COMP%]{margin-bottom:0}}.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}@media only screen and (min-width: 960px){vidis-error-display[_ngcontent-%COMP%]{display:none!important}}"],changeDetection:0});let e=t;return e})(),Ike=(()=>{const t=class t{constructor(){this.translate=C(li),this.cdRef=C(sr),this.destroyRef=C(ii),this.result="",this.translate.onLangChange.pipe(nm(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology,this.medication),this.cdRef.markForCheck()})}transform(n,a){return(this.posology!==n||this.medication!==a)&&(this.posology=n,this.medication=a,this.result=this.getResult(n,a)),this.result}getResult(n,a){var r,o;return!((r=n.daytime)!=null&&r.dayPeriod)&&!((o=n.daytime)!=null&&o.time)?"":[this.getPosologyDayTimeTranslation(n)].join(" ").trim()}getPosologyDayTimeTranslation(n){var a,r,o;return n&&((a=n.daytime)!=null&&a.dayPeriod)&&Object.values(ct).includes((r=n.daytime)==null?void 0:r.dayPeriod)?this.translate.instant("commons.period."+n.daytime.dayPeriod):(o=n.daytime)!=null&&o.time?n.daytime.time.substring(0,5):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"posologyGrouped",type:t,pure:!1});let e=t;return e})(),Dke=e=>({posologies:e}),Tke=e=>({count:e}),Oke=(e,t)=>t.key;function Pke(e,t){e&1&&(V(0,"span",1),ge(1),A(2,"translate"),z()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function Nke(e,t){if(e&1&&(ge(0),Sa(1,2)),e&2){let i=t.$implicit,n=ae(2),a=or(3);qe(" ",n.keyLabel(i.key)," "),O(),q("ngTemplateOutlet",a)("ngTemplateOutletContext",Cn(3,Dke,i.value))}}function Mke(e,t){if(e&1&&(oe(0,Pke,3,3,"span",1),oo(1,Nke,2,5,null,null,Oke),A(3,"keyvalue")),e&2){let i=ae();ee(i.medication().temporality===i.temporalities.ONESHOT?0:-1),O(),so(dt(3,1,i.groupedPosologies,i.compareGroups))}}function Rke(e,t){e&1&&(ge(0),A(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
42
- `)}function Ake(e,t){e&1&&(V(0,"span"),ge(1),z()),e&2&&(O(),qe(" ",t,""))}function Lke(e,t){if(e&1&&(V(0,"span"),ge(1),A(2,"translate"),z(),oe(3,Ake,2,1,"span"),A(4,"posologyGrouped")),e&2){let i,n=ae(2).$implicit,a=ae(2);O(),qe(" ",dt(2,2,"commons.administrationUnits."+n.quantity.unit,Cn(8,Tke,n.quantity.value)),""),O(2),ee((i=dt(4,5,n,a.medication()))?3:-1,i)}}function Fke(e,t){if(e&1&&(V(0,"span"),ge(1),A(2,"quantity"),z(),oe(3,Lke,5,10)),e&2){let i=ae().$implicit;O(),Nt(Y(2,2,i.quantity.value)),O(2),ee(i.quantity.unit?3:-1)}}function jke(e,t){if(e&1&&(V(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z()),e&2){let i=ae();q("lang",Y(1,3,i.lang)),Vt("translate",Y(2,5,i.lang)),O(3),qe("  ",t," ")}}function Vke(e,t){if(e&1&&(V(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z(),oe(4,jke,4,7,"span",3),A(5,"posologyGrouped")),e&2){let i,n=t,a=ae().$implicit,r=ae(2);q("lang",Y(1,4,n.lang)),Vt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),ee((i=dt(5,8,a,r.medication()))?4:-1,i)}}function Bke(e,t){if(e&1&&(V(0,"li"),oe(1,Fke,4,4)(2,Vke,6,11),A(3,"translateObject"),z()),e&2){let i,n=t.$implicit;O(),ee(n.quantity?1:-1),O(),ee((i=Y(3,2,n.text))?2:-1,i)}}function zke(e,t){if(e&1&&(V(0,"ul"),oo(1,Bke,4,4,"li",null,ks),z()),e&2){let i=t.posologies;O(),so(i)}}var Hke=(()=>{const t=class t{constructor(){this.translate=C(li),this.medication=fe.required(),this.date=fe(),this.temporalities=yi,this.groupedPosologies={},this.sortOrder=[],this.orderedWeekdays=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],this.compareGroups=(n,a)=>this.sortOrder.indexOf(n.key)-this.sortOrder.indexOf(a.key),_p(()=>{var a;let n=(a=this.medication())==null?void 0:a.posology;!n||n.length===0||(this.groupedPosologies=this.groupPosologies(n))})}groupPosologies(n){let a={},r=Bwe(this.date());n.forEach(h=>{var v,g,x;let m;(g=(v=h.day)==null?void 0:v.weekday)!=null&&g.day?m=h.day.weekday.day:((x=h.day)==null?void 0:x.dayNumber)!=null?m=`day ${h.day.dayNumber}`:m="other",a[m]||(a[m]=[]),a[m].push(h)});let o={},l=Object.keys(a).filter(h=>this.orderedWeekdays.includes(h)).filter(h=>!r||h===r).sort((h,m)=>this.orderedWeekdays.indexOf(h)-this.orderedWeekdays.indexOf(m)),u=Object.keys(a).filter(h=>h.startsWith("day ")).sort((h,m)=>parseInt(h.split(" ")[1],10)-parseInt(m.split(" ")[1],10)),c=Object.keys(a).filter(h=>h==="other");return[...l,...u,...c].forEach(h=>{o[h]=a[h]}),o}keyLabel(n){return this.orderedWeekdays.includes(n)?this.translate.instant("commons.days."+n):n.startsWith("day ")?this.translate.instant("commons.posology.day")+n.substring(3):""}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-medication-scheme-grouped-posology"]],inputs:{medication:[1,"medication"],date:[1,"date"]},decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(n,a){if(n&1&&oe(0,Mke,4,4)(1,Rke,2,3)(2,zke,3,0,"ng-template",null,0,Zl),n&2){let r;ee((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Zie,Ike,Yme,Kie,qie,Yie,Ep],encapsulation:2,changeDetection:0});let e=t;return e})(),Yc=(()=>{const t=class t{setClientId(n){this.clientId=n}buildClientIdHeader(){return this.clientId&&new er().set(Ar.exchangeClientId,this.clientId)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),mae=(()=>{const t=class t extends Yc{constructor(){super(...arguments),this.http=C(Cs)}find(n){return this.http.post("/v1/medicationscheme",{ssins:n?[n]:[]},{headers:this.buildClientIdHeader()})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Uke={schemes:[{patient:{ssin:"00000000097",firstName:"John",lastName:"Doe"},lastChange:{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000004",role:Jt.PERSPHYSICIAN},date:"2024-10-16T19:59:18.000+0000"},version:"42",medications:[{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000037",role:Jt.PERSPHYSICIAN},identifier:{value:"0041020",type:An.CNK},temporality:yi.CHRONIC,frequency:{periodicity:G.D},route:Rn._00064,name:[{lang:d.FR,value:"Novyra 50 mg"},{lang:d.NL,value:"Novyra 50 mg"},{lang:d.DE,value:"Novyra 50 mg"},{lang:d.EN,value:"Novyra 50 mg"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac66d"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac68a"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc81291e5c015ab30ac650"}],posology:[{quantity:{unit:ft._00005,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:gt.MORNING}],treatmentStartDate:"2025-09-01",treatmentEndCondition:"wanneer niet nodig"},{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000008",role:Jt.PERSPHARMACIST},frequency:{periodicity:G.D},route:Rn._00064,name:[{lang:d.NL,value:"Elenzom 100 ml"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],posology:[{quantity:{unit:ft._00016,value:10},daytime:{dayPeriod:ct.MORNING},dayPart:gt.MORNING},{quantity:{unit:ft._00016,value:10},daytime:{dayPeriod:ct.THEHOUROFSLEEP},dayPart:gt.NIGHT}],treatmentStartDate:"2025-08-15",comment:[{lang:d.NL,value:"magistrale bereiding"}]},{author:{firstName:"Dr.",lastName:"François Dupont",nihdi:"10000000003",role:Jt.PERSPHYSICIAN},identifier:{value:"0039347",type:An.CNK},frequency:{periodicity:G.D},route:Rn._00002,name:[{lang:d.FR,value:"Zypharel 5%"},{lang:d.NL,value:"Zypharel 5%"},{lang:d.DE,value:"Zypharel 5%"},{lang:d.EN,value:"Zypharel 5%"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70ce1e5c015ab3f12a1e"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70d01e5c015ab3f12fb6"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70cd1e5c015ab3f124e4"}],posology:[{quantity:{unit:ft._00003,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:gt.MORNING},{quantity:{unit:ft._00003,value:1},daytime:{dayPeriod:ct.AFTERNOON},dayPart:gt.EVENING}],treatmentStartDate:"2025-07-20"},{author:{firstName:"Dr.",lastName:"Francois Alexandre",nihdi:"10000000027",role:Jt.PERSPHYSICIAN},identifier:{value:"2120046",type:An.CNK},temporality:yi.CHRONIC,frequency:{periodicity:G.D},route:Rn._00064,name:[{lang:d.FR,value:"Trivonex 10 mg"},{lang:d.NL,value:"Trivonex 10 mg"},{lang:d.DE,value:"Trivonex 10 mg"},{lang:d.EN,value:"Trivonex 10 mg"}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5eaeb"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5ecd2"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac11e5c015ab3e5e82d"}],posology:[{quantity:{unit:ft._00005,value:.5},daytime:{dayPeriod:ct.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-09-10"},{author:{firstName:"Dr.",lastName:"Pieter Dumont",nihdi:"10000000005",role:Jt.PERSPHARMACIST},identifier:{value:"0119065",type:An.CNK},frequency:{periodicity:G.D},route:Rn.OFT,instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],name:[{lang:d.FR,value:"Meldiora 10 ml"},{lang:d.NL,value:"Meldiora 10 ml"},{lang:d.DE,value:"Meldiora 10 ml"},{lang:d.EN,value:"Meldiora 10 ml"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f801e5c015ab30e40ab"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f811e5c015ab30e40dd"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f7f1e5c015ab30e4079"}],posology:[{quantity:{unit:ft._00007,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:gt.MORNING},{quantity:{unit:ft._00007,value:1},daytime:{dayPeriod:ct.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:ft._00007,value:1},daytime:{dayPeriod:ct.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-06-30"},{author:{firstName:"Dr.",lastName:"Maxwel Bernard",nihdi:"10000000014",role:Jt.PERSPHARMACIST,organization:{type:Jt.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:An.CNK},frequency:{periodicity:G.ONDEMAND},route:Rn._00064,name:[{lang:d.FR,value:"Praxelin 5 mg"},{lang:d.NL,value:"Praxelin 5 mg"},{lang:d.DE,value:"Praxelin 5 mg"},{lang:d.EN,value:"Praxelin 5 mg"}],posology:[{dayPart:gt.TO_PLAN,quantity:{unit:ft._00005,value:1},daytime:{dayPeriod:ct.AFTERNOON}}],instructions:[{lang:d.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"David Martins",nihdi:"10000000007",role:Jt.PERSPHARMACIST,organization:{type:Jt.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:An.CNK},frequency:{periodicity:G.D},route:Rn._00004,name:[{lang:d.FR,value:"Voralyte 250 mg"},{lang:d.NL,value:"Voralyte 250 mg"},{lang:d.DE,value:"Voralyte 250 mg"},{lang:d.EN,value:"Voralyte 250 mg"}],posology:[{dayPart:gt.MORNING,quantity:{value:1,unit:ft._00004},daytime:{dayPeriod:ct.BEFOREBREAKFAST}},{dayPart:gt.NOON,quantity:{value:1,unit:ft._00004},daytime:{dayPeriod:ct.BEFORELUNCH}},{dayPart:gt.EVENING,quantity:{value:1,unit:ft._00004},daytime:{dayPeriod:ct.BEFOREDINNER}}],instructions:[{lang:d.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"Isabelle Francis",nihdi:"10000000034",role:Jt.PERSPHYSICIAN},identifier:{value:"1557396",type:An.CNK},temporality:yi.ONESHOT,frequency:{periodicity:G.DD},route:Rn.TRANSDERMAL,name:[{lang:d.FR,value:"Syntoril 10 mg/24h"},{lang:d.NL,value:"Syntoril 10 mg/24h"},{lang:d.DE,value:"Syntoril 10 mg/24h"},{lang:d.EN,value:"Syntoril 10 mg/24h"}],posology:[{quantity:{unit:ft._00020,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:gt.MORNING}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:d.FR,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773e1e5c015ab3faf955"},{lang:d.NL,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773f1e5c015ab3fafa9d"},{lang:d.DE,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773d1e5c015ab3faf792"}],treatmentStartDate:"2025-07-01"},{author:{firstName:"Dr.",lastName:"Jane Marchand",nihdi:"10000000009",role:Jt.PERSPHYSICIAN},identifier:{value:"2915353",type:An.CNK},frequency:{periodicity:G.ONDEMAND},route:Rn._00049,name:[{lang:d.FR,value:"Cymelune 200 µg"},{lang:d.NL,value:"Cymelune 200 µg"},{lang:d.DE,value:"Cymelune 200 µg"},{lang:d.EN,value:"Cymelune 200 µg"}],posology:[{quantity:{unit:ft._00011,value:2},dayPart:gt.IF_NEEDED}],instructions:[{lang:d.EN,value:" (max 4/j) - Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc523"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc661"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60881e5c015ab3cfc3ce"}],treatmentStartDate:"2025-09-02"},{author:{firstName:"Dr.",lastName:"Anne Smith",nihdi:"40000000401",role:Jt.PERSNURSE},identifier:{value:"2744753",type:An.CNK},frequency:{periodicity:G.D},route:Rn._00064,name:[{lang:d.FR,value:"Orvexis 25 mg"},{lang:d.NL,value:"Orvexis 25 mg"},{lang:d.DE,value:"Orvexis 25 mg"},{lang:d.EN,value:"Orvexis 25 mg"}],posology:[{quantity:{unit:ft._00005,value:1},daytime:{dayPeriod:ct.THEHOUROFSLEEP},dayPart:gt.NIGHT}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db5fd8"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db604c"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d61e5c015ab3db5fa6"}],treatmentStartDate:"2025-08-22",treatmentStartCondition:"afwisselend: 1/2 per dag, en 2x 1/2 per dag"},{author:{firstName:"Dr.",lastName:"Maurice Antoine",nihdi:"20000000001",role:Jt.PERSPHARMACIST},identifier:{value:"0062521",type:An.CNK},temporality:yi.ONESHOT,frequency:{periodicity:G.D},route:Rn._00055,name:[{lang:d.FR,value:"Beltrion 20 ml"},{lang:d.NL,value:"Beltrion 20 ml"},{lang:d.DE,value:"Beltrion 20 ml"},{lang:d.EN,value:"Beltrion 20 ml"}],posology:[{quantity:{unit:ft._00012,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:gt.MORNING},{quantity:{unit:ft._00012,value:1},daytime:{dayPeriod:ct.NIGHT},dayPart:gt.NIGHT}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:d.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30cc9ac"},{lang:d.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30ccab5"},{lang:d.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c31e5c015ab30cc8ae"}],treatmentStartDate:"2025-07-28"},{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000011",role:Jt.PERSPHYSICIAN},identifier:{value:"3301",type:An.VMP},temporality:yi.CHRONIC,name:[{lang:d.FR,value:"Lumexor 200 mg"},{lang:d.NL,value:"Lumexor 200 mg"}],posology:[{quantity:{unit:ft._00007,value:1},daytime:{dayPeriod:ct.MORNING},dayPart:gt.MORNING},{quantity:{unit:ft._00007,value:1},daytime:{dayPeriod:ct.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:ft._00007,value:1},daytime:{dayPeriod:ct.EVENING},dayPart:gt.EVENING}],instructions:[{lang:d.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:Qie.VITALINK}],errors:[]},fae=(()=>{const t=class t extends Yc{constructor(){super(...arguments),this.demoService=C(X1e)}find(n){return this.demoService.post("/v1/medicationscheme",Uke,this.buildClientIdHeader())}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),wa=class Ln{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,i=!1){return this.onePassHasher.start().appendStr(t).end(i)}static hashAsciiStr(t,i=!1){return this.onePassHasher.start().appendAsciiStr(t).end(i)}static _hex(t){let i=Ln.hexChars,n=Ln.hexOut,a,r,o,l;for(l=0;l<4;l+=1)for(r=l*8,a=t[l],o=0;o<8;o+=2)n[r+1+o]=i.charAt(a&15),a>>>=4,n[r+0+o]=i.charAt(a&15),a>>>=4;return n.join("")}static _md5cycle(t,i){let n=t[0],a=t[1],r=t[2],o=t[3];n+=(a&r|~a&o)+i[0]-680876936|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[1]-389564586|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[2]+606105819|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[3]-1044525330|0,a=(a<<22|a>>>10)+r|0,n+=(a&r|~a&o)+i[4]-176418897|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[5]+1200080426|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[6]-1473231341|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[7]-45705983|0,a=(a<<22|a>>>10)+r|0,n+=(a&r|~a&o)+i[8]+1770035416|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[9]-1958414417|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[10]-42063|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[11]-1990404162|0,a=(a<<22|a>>>10)+r|0,n+=(a&r|~a&o)+i[12]+1804603682|0,n=(n<<7|n>>>25)+a|0,o+=(n&a|~n&r)+i[13]-40341101|0,o=(o<<12|o>>>20)+n|0,r+=(o&n|~o&a)+i[14]-1502002290|0,r=(r<<17|r>>>15)+o|0,a+=(r&o|~r&n)+i[15]+1236535329|0,a=(a<<22|a>>>10)+r|0,n+=(a&o|r&~o)+i[1]-165796510|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[6]-1069501632|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[11]+643717713|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[0]-373897302|0,a=(a<<20|a>>>12)+r|0,n+=(a&o|r&~o)+i[5]-701558691|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[10]+38016083|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[15]-660478335|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[4]-405537848|0,a=(a<<20|a>>>12)+r|0,n+=(a&o|r&~o)+i[9]+568446438|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[14]-1019803690|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[3]-187363961|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[8]+1163531501|0,a=(a<<20|a>>>12)+r|0,n+=(a&o|r&~o)+i[13]-1444681467|0,n=(n<<5|n>>>27)+a|0,o+=(n&r|a&~r)+i[2]-51403784|0,o=(o<<9|o>>>23)+n|0,r+=(o&a|n&~a)+i[7]+1735328473|0,r=(r<<14|r>>>18)+o|0,a+=(r&n|o&~n)+i[12]-1926607734|0,a=(a<<20|a>>>12)+r|0,n+=(a^r^o)+i[5]-378558|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[8]-2022574463|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[11]+1839030562|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[14]-35309556|0,a=(a<<23|a>>>9)+r|0,n+=(a^r^o)+i[1]-1530992060|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[4]+1272893353|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[7]-155497632|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[10]-1094730640|0,a=(a<<23|a>>>9)+r|0,n+=(a^r^o)+i[13]+681279174|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[0]-358537222|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[3]-722521979|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[6]+76029189|0,a=(a<<23|a>>>9)+r|0,n+=(a^r^o)+i[9]-640364487|0,n=(n<<4|n>>>28)+a|0,o+=(n^a^r)+i[12]-421815835|0,o=(o<<11|o>>>21)+n|0,r+=(o^n^a)+i[15]+530742520|0,r=(r<<16|r>>>16)+o|0,a+=(r^o^n)+i[2]-995338651|0,a=(a<<23|a>>>9)+r|0,n+=(r^(a|~o))+i[0]-198630844|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[7]+1126891415|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[14]-1416354905|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[5]-57434055|0,a=(a<<21|a>>>11)+r|0,n+=(r^(a|~o))+i[12]+1700485571|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[3]-1894986606|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[10]-1051523|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[1]-2054922799|0,a=(a<<21|a>>>11)+r|0,n+=(r^(a|~o))+i[8]+1873313359|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[15]-30611744|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[6]-1560198380|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[13]+1309151649|0,a=(a<<21|a>>>11)+r|0,n+=(r^(a|~o))+i[4]-145523070|0,n=(n<<6|n>>>26)+a|0,o+=(a^(n|~r))+i[11]-1120210379|0,o=(o<<10|o>>>22)+n|0,r+=(n^(o|~a))+i[2]+718787259|0,r=(r<<15|r>>>17)+o|0,a+=(o^(r|~n))+i[9]-343485551|0,a=(a<<21|a>>>11)+r|0,t[0]=n+t[0]|0,t[1]=a+t[1]|0,t[2]=r+t[2]|0,t[3]=o+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(Ln.stateIdentity),this}appendStr(t){let i=this._buffer8,n=this._buffer32,a=this._bufferLength,r,o;for(o=0;o<t.length;o+=1){if(r=t.charCodeAt(o),r<128)i[a++]=r;else if(r<2048)i[a++]=(r>>>6)+192,i[a++]=r&63|128;else if(r<55296||r>56319)i[a++]=(r>>>12)+224,i[a++]=r>>>6&63|128,i[a++]=r&63|128;else{if(r=(r-55296)*1024+(t.charCodeAt(++o)-56320)+65536,r>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");i[a++]=(r>>>18)+240,i[a++]=r>>>12&63|128,i[a++]=r>>>6&63|128,i[a++]=r&63|128}a>=64&&(this._dataLength+=64,Ln._md5cycle(this._state,n),a-=64,n[0]=n[16])}return this._bufferLength=a,this}appendAsciiStr(t){let i=this._buffer8,n=this._buffer32,a=this._bufferLength,r,o=0;for(;;){for(r=Math.min(t.length-o,64-a);r--;)i[a++]=t.charCodeAt(o++);if(a<64)break;this._dataLength+=64,Ln._md5cycle(this._state,n),a=0}return this._bufferLength=a,this}appendByteArray(t){let i=this._buffer8,n=this._buffer32,a=this._bufferLength,r,o=0;for(;;){for(r=Math.min(t.length-o,64-a);r--;)i[a++]=t[o++];if(a<64)break;this._dataLength+=64,Ln._md5cycle(this._state,n),a=0}return this._bufferLength=a,this}getState(){let t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){let i=t.buffer,n=t.state,a=this._state,r;for(this._dataLength=t.length,this._bufferLength=t.buflen,a[0]=n[0],a[1]=n[1],a[2]=n[2],a[3]=n[3],r=0;r<i.length;r+=1)this._buffer8[r]=i.charCodeAt(r)}end(t=!1){let i=this._bufferLength,n=this._buffer8,a=this._buffer32,r=(i>>2)+1;this._dataLength+=i;let o=this._dataLength*8;if(n[i]=128,n[i+1]=n[i+2]=n[i+3]=0,a.set(Ln.buffer32Identity.subarray(r),r),i>55&&(Ln._md5cycle(this._state,a),a.set(Ln.buffer32Identity)),o<=4294967295)a[14]=o;else{let l=o.toString(16).match(/(.*?)(.{0,8})$/);if(l===null)return;let u=parseInt(l[2],16),c=parseInt(l[1],16)||0;a[14]=u,a[15]=c}return Ln._md5cycle(this._state,a),t?this._state:Ln._hex(this._state)}};wa.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);wa.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);wa.hexChars="0123456789abcdef";wa.hexOut=[];wa.onePassHasher=new wa;if(wa.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var r0=(()=>{const t=class t extends X_{constructor(n,a){super(n.getServices(),Ua.MEDICATION_SCHEME,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Ua.MEDICATION_SCHEME),this.medicationSchemeApiService=C(Yc),this.authServiceSelector=C(ns),this.medicationSchemeStateSubject$=new vh({status:_a.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(zt(o=>yt(ue({},o),{schemes:o.schemes.map(l=>yt(ue({},l),{medications:l.medications.map((u,c)=>yt(ue({},u),{id:u.id??wa.hashStr(JSON.stringify(u)),index:c}))}))})))}fetchMedicationScheme(n=!0){return Pt(this,null,function*(){return Q1e(this.getData(n),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Ua.MEDICATION_SCHEME_PAGE_STATE)??{filter:Xie.ALL,view:0,date:{displayDate:new Date,startOfWeek:Ki(new Date,this.fnsOptions),endOfWeek:$ye(new Date,this.fnsOptions)}}}setPageState(n){let a=this.getPageState(),r=ue(ue({},a),n);this.services.cacheDataStorage.set(Ua.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return Pt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin();return qoe(this.medicationSchemeApiService.find(n).pipe(this.addIdToMedication()))})}setClientId(n){this.medicationSchemeApiService.setClientId(n)}};t.ɵfac=function(n){return new(n||t)(pe($c),pe(ns))},t.ɵprov=W({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Gke=(e,t)=>e.getEnvironmentVariable("env")===ca.DEMO?t.get(fae):t.get(mae),Wke={provide:Yc,useFactory:Gke,deps:[uo,st]},qke=["*"],$ke=(e,t,i,n,a)=>({"custom-content":e,circle:t,progress:i,"progress-dark":n,pulse:a});function Yke(e,t){e&1&&nt(0)}function Zke(e,t){if(e&1&&(V(0,"div",0),oe(1,Yke,1,0),z()),e&2){let i=ae(),n=xf(0),a=xf(1);q("ngClass",wpe(5,$ke,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",i.styles()),Vt("aria-label",i.ariaLabel())("aria-valuetext",i.loadingText()),O(),ee(n==="custom-content"?1:-1)}}var gae=new se("ngx-skeleton-loader.config"),Kke=(()=>{var t;const i=class i{constructor(){xm(this,t);var a,r,o,l,u,c;wm(this,t,C(gae,{optional:!0})),this.count=fe(((a=ji(this,t))==null?void 0:a.count)||1,{transform:jc}),this.loadingText=fe(((r=ji(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=fe(((o=ji(this,t))==null?void 0:o.appearance)||"line"),this.animation=fe(((l=ji(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=fe(((u=ji(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=fe(((c=ji(this,t))==null?void 0:c.theme)||null),this.items=Gi(()=>{let h=this.count()||1;return this.appearance()==="custom-content"&&Bpe(),[...Array(h)].map((m,v)=>v)}),this.styles=Gi(()=>{var m,v,g;let h=this.theme();return(v=(m=ji(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ue(ue({},(g=ji(this,t))==null?void 0:g.theme),h):h})}};t=new WeakMap,i.ɵfac=function(a){return new(a||i)},i.ɵcmp=Re({type:i,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:qke,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,r){a&1&&(Dn(),Wb(0)(1),oo(2,Zke,2,11,"div",0,ks)),a&2&&(_f(r.appearance()),O(),_f(r.animation()),O(),so(r.items()))},dependencies:[wp,Hme],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=i;return e})(),Jke=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:gae,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=an({type:t}),t.ɵinj=nn({imports:[a1]});let e=t;return e})(),Xke=e=>({prescriber:e}),Qke=e=>({count:e});function eCe(e,t){if(e&1&&(le(0,"vidis-error-display",0),A(1,"translate"),A(2,"fullname")),e&2){let i=ae();q("message",Y(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,Xke,Y(2,4,i.medication().author)))}}function tCe(e,t){e&1&&(V(0,"mat-chip",2),ge(1),A(2,"translate"),z()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.future")," "))}function nCe(e,t){e&1&&(V(0,"mat-chip",3),ge(1),A(2,"translate"),z()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.ifneeded")," "))}function iCe(e,t){e&1&&(V(0,"mat-chip",4),ge(1),A(2,"translate"),z()),e&2&&(q("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.lastDayDefinitive")," "))}function aCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",26),A(1,"firstLetterUppercase")),e&2&&q("value",Y(1,1,t))}function rCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",27),A(1,"date"),A(2,"hasMedicationError")),e&2){let i=ae().$implicit,n=ae(3);q("value",dt(1,2,t,"dd/MM/yyyy"))("withError",fn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function oCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),A(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function sCe(e,t){if(e&1&&(oe(0,aCe,2,3,"vidis-ms-detail-field",26),A(1,"translateValue"),V(2,"div",11),oe(3,rCe,3,9,"vidis-ms-detail-field",27)(4,oCe,2,4,"vidis-ms-detail-field",13),z()),e&2){let i,n,a,r=t.$implicit;ee((i=Y(1,3,r.item.reason))?0:-1,i),O(3),ee((n=r.item.startDate)?3:-1,n),O(),ee((a=r.item.endDate)?4:-1,a)}}function lCe(e,t){if(e&1&&(V(0,"span",23),le(1,"mat-icon",24),ge(2),A(3,"translate"),z(),V(4,"span",25),oo(5,sCe,5,5,null,null,ks),z()),e&2){let i=ae();O(2),Nt(Y(3,1,"medicationSchemeDetails.suspension.label")),O(3),so(i)}}function cCe(e,t){e&1&&oe(0,lCe,7,3),e&2&&ee(t.length>0?0:-1)}function uCe(e,t){e&1&&le(0,"vidis-ms-detail-field",6),e&2&&q("value",t)}function dCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",10),A(1,"translate"),A(2,"hasMedicationError")),e&2){let i=ae();q("value",Y(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function hCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",12),A(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function pCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),A(1,"date")),e&2&&q("value",dt(1,1,t,"dd/MM/yyyy"))}function mCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",16),A(1,"translate"),A(2,"firstLetterUppercase"),A(3,"hasMedicationError")),e&2){let i,n=ae();q("value",Y(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,Qke,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function fCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",17),A(1,"translate"),A(2,"firstLetterUppercase"),A(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function gCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",18),A(1,"translate"),A(2,"firstLetterUppercase"),A(3,"hasMedicationError")),e&2){let i=ae();q("value",Y(2,4,Y(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function vCe(e,t){e&1&&le(0,"vidis-ms-detail-field",19),e&2&&q("value",t)}function yCe(e,t){if(e&1&&le(0,"vidis-ms-detail-field",20),e&2){let i,n=ae();q("value",(i=n.medication().others)==null?null:i.join(", "))("withError",!0)}}function bCe(e,t){e&1&&le(0,"vidis-download-link",21),e&2&&q("leaflet",t)}var _Ce=(()=>{const t=class t{constructor(){this.medication=fe.required(),this.patient=fe.required(),this.fieldErrors=fe(),this.date=fe(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-medication-scheme-details-mobile"]],inputs:{medication:[1,"medication"],patient:[1,"patient"],fieldErrors:[1,"fieldErrors"],date:[1,"date"]},decls:39,vars:58,consts:[["fontIcon","warning",3,"message","translateParams"],[3,"medicationName","canDisplayDetails"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[1,"mh-orange","mh-no-overlay",3,"disableRipple"],[1,"mh-blue","mh-no-overlay",3,"disableRipple"],[3,"label","withDivider","dispaly"],["labelKey","medicationSchemeDetails.indication",3,"value"],[3,"label"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication","date"],["labelKey","medicationSchemeDetails.periodicity",3,"value","withError"],[1,"two-columns"],["labelKey","medicationSchemeDetails.start",3,"value"],["labelKey","medicationSchemeDetails.end",3,"value"],["labelKey","medicationSchemeDetails.startCondition",3,"value"],["labelKey","medicationSchemeDetails.endCondition",3,"value"],["labelKey","medicationSchemeDetails.quantity",3,"value","withError"],["labelKey","medicationSchemeDetails.route",3,"value","withError"],["labelKey","medicationSchemeDetails.temporality",3,"value","withError"],["labelKey","medicationSchemeDetails.instructions",3,"value"],["labelKey","medicationSchemeDetails.other",3,"value","withError"],[3,"leaflet"],[3,"patient","prescriber"],[1,"suspension_label"],["fontIcon","hourglass_empty"],[1,"details__value","suspension"],["labelKey","medicationSchemeDetails.suspension.reason",3,"value"],["labelKey","medicationSchemeDetails.start",3,"value","withError"]],template:function(n,a){if(n&1&&(oe(0,eCe,3,8,"vidis-error-display",0),A(1,"hasMedicationError"),V(2,"vidis-detail",1),A(3,"translateValue"),A(4,"firstLetterUppercase"),V(5,"vidis-detail-header-left"),oe(6,tCe,3,4,"mat-chip",2),A(7,"isFutureMedication"),oe(8,nCe,3,4,"mat-chip",3),A(9,"isToday"),oe(10,iCe,3,4,"mat-chip",4),z(),V(11,"vidis-detail-header"),oe(12,cCe,1,1),A(13,"activeAndFutureSuspensions"),z(),V(14,"vidis-detail-section",5),A(15,"translate"),oe(16,uCe,1,1,"vidis-ms-detail-field",6),A(17,"translateValue"),z(),V(18,"vidis-detail-section",7),A(19,"translate"),V(20,"vidis-ms-detail-field-slot",8),A(21,"hasMedicationError"),le(22,"vidis-medication-scheme-grouped-posology",9),z(),oe(23,dCe,3,8,"vidis-ms-detail-field",10),V(24,"div",11),oe(25,hCe,2,4,"vidis-ms-detail-field",12)(26,pCe,2,4,"vidis-ms-detail-field",13),z(),le(27,"vidis-ms-detail-field",14)(28,"vidis-ms-detail-field",15),oe(29,mCe,4,13,"vidis-ms-detail-field",16)(30,fCe,4,10,"vidis-ms-detail-field",17)(31,gCe,4,10,"vidis-ms-detail-field",18)(32,vCe,1,1,"vidis-ms-detail-field",19),A(33,"translateValue"),oe(34,yCe,1,2,"vidis-ms-detail-field",20),A(35,"hasMedicationError"),oe(36,bCe,1,1,"vidis-download-link",21),A(37,"translateValue"),z(),le(38,"vidis-person-detail-section",22),z()),n&2){let r,o,l,u,c,h,m,v,g,x;ee(dt(1,27,a.fieldErrors(),a.medication().index)?0:-1),O(2),q("medicationName",Y(4,32,Y(3,30,a.medication().name)))("canDisplayDetails",!0),O(4),ee(Y(7,34,a.medication())?6:-1),O(2),ee(a.medication().temporality===a.temporalities.ONESHOT?8:Y(9,36,a.medication().treatmentEndDate)?10:-1),O(4),ee((r=Y(13,38,a.medication().suspensions))?12:-1,r),O(2),q("label",Y(15,40,"medicationSchemeDetails.section.treatment"))("withDivider",!1)("dispaly",!!a.medication().indication),O(2),ee((o=Y(17,42,a.medication().indication))?16:-1,o),O(2),q("label",Y(19,44,"medicationSchemeDetails.section.intake")),O(2),q("withError",fn(21,46,a.fieldErrors(),a.medication().index,"posologies")),O(2),q("medication",a.medication())("date",a.date()),O(),ee((l=(l=a.medication().frequency)==null?null:l.periodicity)?23:-1,l),O(2),ee((u=a.medication().treatmentStartDate)?25:-1,u),O(),ee((c=a.medication().treatmentEndDate)?26:-1,c),O(),q("value",a.medication().treatmentStartCondition),O(),q("value",a.medication().treatmentEndCondition),O(),ee(!((h=a.medication().posology)==null||h[0]==null||h[0].quantity==null)&&h[0].quantity.unit?29:-1),O(),ee((m=a.medication().route)?30:-1,m),O(),ee((v=a.medication().temporality)?31:-1,v),O(),ee((g=Y(33,50,a.medication().instructions))?32:-1,g),O(2),ee(fn(35,52,a.fieldErrors(),a.medication().index,"others")?34:-1),O(2),ee((x=Y(37,56,a.medication().leaflet))?36:-1,x),O(2),q("patient",a.patient())("prescriber",a.medication().author)}},dependencies:[dae,am,EEe,ho,OSe,rae,hae,pae,cae,USe,aae,Hke,jSe,JSe,un,om,$ie,tae,rm,Sp,Jie,Kwe,Xwe],styles:[".two-columns[_ngcontent-%COMP%]{display:flex}.two-columns[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column}.suspension_label[_ngcontent-%COMP%]{border:1px solid #f44336;padding:3px}mat-icon[_ngcontent-%COMP%]{vertical-align:sub}"]});let e=t;return e})(),xCe=()=>({width:"40%",height:"20px"});function wCe(e,t){e&1&&(V(0,"div"),ge(1,"Component not properly initialized!"),z())}function ECe(e,t){if(e&1&&le(0,"vidis-status-message",0),e&2){let i=ae();q("error",i.error)}}function SCe(e,t){e&1&&le(0,"ngx-skeleton-loader",1),e&2&&q("count",10)("theme",xpe(2,xCe))}function kCe(e,t){e&1&&le(0,"vidis-download-link",4),e&2&&q("leaflet",t)}function CCe(e,t){if(e&1&&(le(0,"vidis-medication-scheme-details-row",3),oe(1,kCe,1,1,"vidis-download-link",4),A(2,"translateValue"),le(3,"vidis-medication-scheme-details-mobile",5)),e&2){let i,n,a,r=ae(2),o=ae(2);q("medication",r.data)("fieldErrors",(i=o.medicationSchemeState().data.schemes[0])==null?null:i.fieldErrors),O(),ee((n=Y(2,7,r.data.leaflet))?1:-1,n),O(2),q("medication",r.data)("patient",o.patient())("fieldErrors",(a=o.medicationSchemeState().data.schemes[0])==null?null:a.fieldErrors)("date",o.detail.date)}}function ICe(e,t){e&1&&(V(0,"div",2)(1,"h3"),ge(2),A(3,"translate"),z()()),e&2&&(O(2),Nt(Y(3,1,"medicationSchemeDetails.noDetails")))}function DCe(e,t){if(e&1&&oe(0,SCe,1,3,"ngx-skeleton-loader",1)(1,CCe,4,9)(2,ICe,4,3,"div",2),e&2){let i=ae(),n=ae(2);ee(i.status===n.loadingStatus.LOADING?0:i.data?1:2)}}function TCe(e,t){if(e&1&&oe(0,ECe,1,1,"vidis-status-message",0)(1,DCe,3,1),e&2){let i=ae(2);ee(t.status===i.loadingStatus.ERROR?0:1)}}function OCe(e,t){if(e&1&&oe(0,TCe,2,1),e&2){let i,n=ae();ee((i=n.medicationDetail())?0:-1,i)}}var PCe=(()=>{const t=class t extends iSe{constructor(){super(...arguments),this.extraRequiredFields=[...this.defaultExtraRequiredFields,"detail","exchangeClientId"],this.medicationDetail=Gi(()=>{let n=this.medicationSchemeState();return yt(ue({},n),{data:n.status===_a.SUCCESS?n.data.schemes[0].medications.find(a=>a.id===this.detail.id):void 0})}),this.patient=Gi(()=>{let n=this.medicationSchemeState();return n.status===_a.SUCCESS?n.data.schemes[0].patient:void 0}),this.loadingStatus=_a}fetchData(n){return Pt(this,null,function*(){return this.medicationSchemeService.setClientId(this.exchangeClientId),this.medicationSchemeService.fetchMedicationScheme(n)})}injectService(){wc(this.injector,()=>{this.medicationSchemeService=C(r0),this.medicationSchemeState=a_e(this.medicationSchemeService.medicationSchemeState$),_p(()=>{let n=this.medicationDetail();this.checkError(n.error)})})}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})(),t.ɵcmp=Re({type:t,selectors:[["vidis-medication-scheme-detail"]],inputs:{detail:"detail",exchangeClientId:"exchangeClientId"},features:[$b([r0,mae,fae,Wke]),Gn],decls:2,vars:1,consts:[[3,"error"],["appearance","line",3,"count","theme"],[1,"center"],[3,"medication","fieldErrors"],[3,"leaflet"],[3,"medication","patient","fieldErrors","date"]],template:function(n,a){n&1&&oe(0,wCe,2,0,"div")(1,OCe,1,1),n&2&&ee(a.isCorrectlySetup()?1:0)},dependencies:[Jke,Kke,Cke,aae,ESe,_Ce,om,un],styles:["@media only screen and (max-width: 960px){vidis-medication-scheme-details-row[_ngcontent-%COMP%], vidis-download-link[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 960px){vidis-medication-scheme-details-mobile[_ngcontent-%COMP%]{display:none}}"]});let e=t;return e})();pfe({providers:[Awe]}).then(e=>{let t=pme(PCe,{injector:e.injector});customElements.define("vidis-medication-scheme-detail",t)}).catch(e=>console.error(e));