@smals-belgium-shared/vidis-medication-scheme-detail 3.4.2 → 3.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,42 +0,0 @@
1
- var tre=Object.defineProperty;var bm=e=>{throw TypeError(e)};var nre=(e,t,i)=>t in e?tre(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var s=(e,t,i)=>nre(e,typeof t!="symbol"?t+"":t,i),_m=(e,t,i)=>t.has(e)||bm("Cannot "+i);var Vi=(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 ire=Object.create,cc=Object.defineProperty,are=Object.defineProperties,rre=Object.getOwnPropertyDescriptor,ore=Object.getOwnPropertyDescriptors,sre=Object.getOwnPropertyNames,Cl=Object.getOwnPropertySymbols,lre=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)=>are(e,ore(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})},cre=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of sre(t))!uh.call(e,a)&&a!==i&&cc(e,a,{get:()=>t[a],enumerable:!(n=rre(t,a))||n.enumerable});return e},u0=(e,t,i)=>(i=e!=null?ire(lre(e)):{},cre(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())}),ure=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 V 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:Vt,maxSignificant:on,source:qn}=k;typeof tt=="number"&&(ne.minimumFractionDigits=tt,typeof Vt=="number"&&Ae()),typeof wt=="number"&&(ne.maximumFractionDigits=wt),typeof Vt=="number"&&(ne.minimumSignificantDigits=Vt),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:Vt,style:on}=E;ne.notation=on;break}}if(_){let{min:tt,max:wt,source:Vt}=_;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 V("¤",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 V("'",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 V("#",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 V("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 V(".",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 V("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 V("¤",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 pae(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 mae(p){return p in lm}function fae(p){return p in cm}function gae(p,f,y){if(mae(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(fae(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 vae(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 yae{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(!gae(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":{pae(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=vae(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 yae(f);for(let{stem:_,options:E}of y)b.parseToken(_,E);return b.skeleton}function bae(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 _ae(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 xae(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 q=new RegExp("|"+M);return q.exec("").length-1}function P(M){return"("+M+")"}function B(M){if(!M.length)return"(?!)";var q=M.map(function(ce){return"(?:"+ce+")"}).join("|");return"(?:"+q+")"}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,q){return M.length>q?M:Array(q-M.length+1).join(" ")+M}function Ae(M,q){for(var ce=M.length,he=0;;){var Ce=M.lastIndexOf(`
6
- `,ce-1);if(Ce===-1||(he++,ce=Ce,he===q)||ce===0)break}var ye=he<q?0:ce+1;return M.substring(ye).split(`
7
- `)}function ne(M){for(var q=Object.getOwnPropertyNames(M),ce=[],he=0;he<q.length;he++){var Ce=q[he],ye=M[Ce],Ve=[].concat(ye);if(Ce==="include"){for(var ot=0;ot<Ve.length;ot++)ce.push({include:Ve[ot]});continue}var Ye=[];Ve.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 q=[],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++)q.push({include:Ce[ye]});continue}if(!he.type)throw new Error("Rule has no type: "+JSON.stringify(he));q.push(wt(he.type,he))}return q}function wt(M,q){if(E(q)||(q={match:q}),q.include)throw new Error("Matching rules cannot also include states");var ce={defaultType:M,lineBreaks:!!q.error||!!q.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var he in q)f.call(q,he)&&(ce[he]=q[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,Ve){return _(ye)&&_(Ve)?0:_(Ve)?-1:_(ye)?1:Ve.length-ye.length}),ce}function Vt(M){return Array.isArray(M)?tt(M):ne(M)}var on=wt("error",{lineBreaks:!0,shouldThrow:!0});function qn(M,q){for(var ce=null,he=Object.create(null),Ce=!0,ye=null,Ve=[],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(!q)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,Ve.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",Vs=b||pr?"":"|";ye===!0&&(go+="u");var ere=new RegExp(B(ot)+Vs,go);return{regexp:ere,groups:Ve,fast:he,error:ce||on}}function ia(M){var q=qn(Vt(M));return new mt({start:q},"start")}function Ri(M,q,ce){var he=M&&(M.push||M.next);if(he&&!ce[he])throw new Error("Missing state '"+he+"' (in token '"+M.defaultType+"' of state '"+q+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+q+"')")}function Ai(M,q){var ce=M.$all?Vt(M.$all):[];delete M.$all;var he=Object.getOwnPropertyNames(M);q||(q=he[0]);for(var Ce=Object.create(null),ye=0;ye<he.length;ye++){var Ve=he[ye];Ce[Ve]=Vt(M[Ve]).concat(ce)}for(var ye=0;ye<he.length;ye++)for(var Ve=he[ye],ot=Ce[Ve],Ye=Object.create(null),Ee=0;Ee<ot.length;Ee++){var Dt=ot[Ee];if(Dt.include){var dr=[Ee,1];if(Dt.include!==Ve&&!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 '"+Ve+"')");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 Ve=he[ye];$n[Ve]=qn(Ce[Ve],!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 Vs=Object.getOwnPropertyNames(pr.fast),Ee=0;Ee<Vs.length;Ee++)Ri(pr.fast[Vs[Ee]],fo,$n)}return new mt($n,q)}function Li(M){for(var q=typeof Map<"u",ce=q?new Map:Object.create(null),he=Object.getOwnPropertyNames(M),Ce=0;Ce<he.length;Ce++){var ye=he[Ce],Ve=M[ye],ot=Array.isArray(Ve)?Ve:[Ve];ot.forEach(function(Ye){if(typeof Ye!="string")throw new Error("keyword must be string (in keyword '"+ye+"')");q?ce.set(Ye,ye):ce[Ye]=ye})}return function(Ye){return q?ce.get(Ye):ce[Ye]}}var mt=function(M,q){this.startState=q,this.states=M,this.buffer="",this.stack=[],this.reset()};mt.prototype.reset=function(M,q){return this.buffer=M||"",this.index=0,this.line=q?q.line:1,this.col=q?q.col:1,this.queuedToken=q?q.queuedToken:null,this.queuedText=q?q.queuedText:"",this.queuedThrow=q?q.queuedThrow:null,this.setState(q?q.state:this.startState),this.stack=q&&q.stack?q.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 q=this.states[M];this.groups=q.groups,this.error=q.error,this.re=q.regexp,this.fast=q.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,q){return M.exec(q)}:function(M,q){var ce=M.exec(q);return ce[0].length===0?null:ce};mt.prototype._getGroup=function(M){for(var q=this.groups.length,ce=0;ce<q;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 q=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",q}var ce=this.buffer;if(M!==ce.length){var Ve=this.fast[ce.charCodeAt(M)];if(Ve)return this._token(Ve,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 Ve=this._getGroup(Ce),ot=Ce[0];return ye.fallback&&Ce.index!==M?(this.queuedGroup=Ve,this.queuedText=ot,this._token(ye,ce.slice(M,Ce.index),M)):this._token(Ve,ot,M)}},mt.prototype._token=function(M,q,ce){var he=0;if(M.lineBreaks){var Ce=/\n/g,ye=1;if(q===`
10
- `)he=1;else for(;Ce.exec(q);)he++,ye=Ce.lastIndex}var Ve={type:typeof M.type=="function"&&M.type(q)||M.defaultType,value:typeof M.value=="function"?M.value(q):q,text:q,toString:Fs,offset:ce,lineBreaks:he,line:this.line,col:this.col},ot=q.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(Ve,"invalid syntax"));throw Ye}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ve},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,q){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),Ve=he.line+Ce,ot=String(Ve).length,Ye=Ae(this.buffer,this.line-he.line+Ce+1).slice(0,5),Ee=[];Ee.push(q+" 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 wae=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(wae);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 Eae(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 Sae=["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 kae{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")&&!Sae.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=Eae(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 Cae(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new kae(p,f).parse()}pm=po.parse=Cae;function mo(p){return mo[p]||(mo[p]=new Intl.NumberFormat(p))}function Iae(p,f,y){return mo(p).format(f-y)}function Dae(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 Tae(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 Oae(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Pae(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 Nae=Object.freeze({__proto__:null,_nf:mo,number:Iae,plural:Tae,reqArgs:Pae,select:Oae,strictNumber:Dae});function Mae(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 Rae(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 Aae(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 Lae=function(p,f,y){return Ms(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Fae=function(p,f){return Ms(f,{maximumFractionDigits:0}).format(p)},Vae=function(p,f){return Ms(f,{style:"percent"}).format(p)};function jae(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:Mae,duration:Rae,numberCurrency:Lae,numberFmt:Aae,numberInteger:Fae,numberPercent:Vae,time:jae}),Bae={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=xae(Bae);function zae(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+=" "+zae(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 Hae=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Uae=new RegExp("^"+Hae.join("|^"));function Gae(p,f){var y=Uae.test(f),b=JSON.stringify(y?"‏":"‎");return"".concat(b," + ").concat(p," + ").concat(b)}var Wae="@messageformat/runtime",qae="@messageformat/runtime/lib/cardinals",gm="@messageformat/runtime/lib/plurals",$ae="@messageformat/runtime/lib/formatters",Yae=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,Vt=P?P(wt):wt,on=b&&Vt&&b[Vt]||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?Gae(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=qae,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(Nae[f],{id:f,module:Wae,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 Vt={};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)Vt[ia.trim()]=null;else{var Ai=ia.substring(0,Ri).trim(),Li=ia.substring(Ri+1).trim();if(Li==="true")Vt[Ai]=!0;else if(Li==="false")Vt[Ai]=!1;else if(Li==="null")Vt[Ai]=null;else{var mt=Number(Li);Vt[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(Vt)}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:$ae});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=bae(k,D,de);this.runtime[B]=Object.assign(xe,{id:null,module:null,toString:function(){return _ae(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"},je=p=>"other",Oi=p=>p==1?"one":p==2?"two":"other";var Zae=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:je,bn:ui,bo:je,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:je,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:je,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:je,ig:je,ii:je,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:je,jbo:je,jgo:U,jmc:U,jv:je,jw:je,ka:U,kab:p=>p>=0&&p<2?"one":"other",kaj:U,kcg:U,kde:je,kea:je,kk:U,kkj:U,kl:U,km:je,kn:ui,ko:je,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:je,ln:Ti,lo:je,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:je,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:je,nah:U,naq:Oi,nb:U,nd:U,ne:U,nl:Wt,nn:U,nnh:U,no:U,nqo:je,nr:U,nso:Ti,ny:U,nyn:U,om:U,or:U,os:U,osa:je,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:je,saq:U,sat:Oi,sc:Wt,scn:Wt,sd:U,sdh:U,se:Oi,seh:U,ses:je,sg:je,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:je,sv:Wt,sw:Wt,syr:U,ta:U,te:U,teo:U,th:je,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:je,tpi:je,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:je,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:je,vo:U,vun:U,wa:Ti,wae:U,wo:je,xh:U,xog:U,yi:Wt,yo:je,yue:je,zh:je,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 Xae(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:Zae[b],getPlural:Rs[b],cardinals:ym[b].cardinal,ordinals:ym[b].ordinal}:null}function Kae(p){var f=Object.keys(Rs).filter(function(y){return y!==p});return f.unshift(p),f.map(As)}function Jae(p){var f=nu(p);return na(f)in Rs}function Xae(p){return p in Rs}var Qae=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=Kae(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(Jae)},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 Yae(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 Qae})}),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}),dre=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}),hre=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})}}),pre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uc(),i=r(t),n=hre(),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}),mre=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}),fre=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}),gre=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}),vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=pre(),i=c(t),n=mre(),a=c(n),r=fre(),o=c(r),l=gre(),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}),yre=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}),bre=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}),_re=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}),xre=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}),wre=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}),Ere=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=yre(),i=g(t),n=bre(),a=g(n),r=_re(),o=g(r),l=xre(),u=g(l),c=h0(),h=g(c),m=wre(),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}),Sre=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=Sre(),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}),kre=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}),Cre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=p0(),i=r(t),n=kre(),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}}),Ire=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}),Dre=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}),Tre=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}),Ore=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}),Pre=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=Ire(),a=m(n),r=Dre(),o=m(r),l=Tre(),u=m(l),c=Ore(),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}),Nre=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}),Mre=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}),Rre=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=Rre(),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}),Are=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}),Lre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=m0(),i=r(t),n=Are(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=i.default,e.CODE93FullASCII=a.default}),Fre=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}),Vre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=dre(),i=vre(),n=Ere(),a=Cre(),r=Pre(),o=Nre(),l=Mre(),u=Lre(),c=Fre();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)}}),jre=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}}),Bre=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}),zre=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}),Hre=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}),Ure=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("style","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("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),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"),v.setAttribute("style","transform: translate(0,0)")}},{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("style","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}),Gre=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}),Wre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Hre(),i=l(t),n=Ure(),a=l(n),r=Gre(),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}),qre=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=zre(),n=l(i),a=Wre(),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}),$re=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}),Yre=me((e,t)=>{var i=Vre(),n=N(i),a=hc(),r=N(a),o=jre(),l=N(o),u=Bre(),c=N(u),h=qre(),m=N(h),v=f0(),g=N(v),x=$re(),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 V=new re;if(typeof ie>"u")throw Error("No element to render on was provided.");return V._renderProperties=(0,m.default)(ie),V._encodings=[],V._options=L.default,V._errorHandler=new w.default(V),typeof J<"u"&&(Ie=Ie||{},Ie.format||(Ie.format=Qe()),V.options(Ie)[Ie.format](J,Ie).render()),V};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,V){var H=this;return H._errorHandler.wrapBarcodeCall(function(){V.text=typeof V.text>"u"?void 0:""+V.text;var te=(0,r.default)(H._options,V);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 V=new J(ie,Ie);if(!V.valid())throw new S.InvalidInputException(V.constructor.name,ie);var H=V.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 V=Ie.value,H=n.default[Ie.format.toUpperCase()],te=xt(V,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 V=0;V<J.length;V++)J[V].options=(0,r.default)(Ie,J[V].options),(0,c.default)(J[V].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 Zre(){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 Kre(){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||Jre(i)}finally{cl=t}}function _0(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function Jre(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 Xre(e,t){let i=Object.create(Qre);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 ja=Symbol("UNSET"),Ir=Symbol("COMPUTING"),ma=Symbol("ERRORED"),Qre=yt(ue({},$r),{value:ja,dirty:!0,error:null,equal:dh,kind:"computed",producerMustRecompute(e){return e.value===ja||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!==ja&&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 eoe(){throw new Error}var S0=eoe;function k0(e){S0(e)}function toe(e){S0=e}function noe(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,ioe(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 ioe(e){e.version++,Kre(),b0(e)}function Sm(e,t,i){let n=Object.create(ooe);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 aoe(e,t){ss(e),yc(e,t),Il(e)}function roe(e,t){ss(e),C0(e,t),Il(e)}var ooe=yt(ue({},$r),{value:ja,dirty:!0,error:null,equal:dh,kind:"linkedSignal",producerMustRecompute(e){return e.value===ja||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===ja||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!==ja&&n!==ma&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function soe(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 loe={Promise:void 0},coe={setTimeout(e,t,...i){return setTimeout(e,t,...i)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function P0(e){coe.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=hoe}static create(e,t,i){return new Vo(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()}}},uoe=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){js(i)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){js(i)}else js(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){js(t)}}},Vo=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 uoe(n)}};function js(e){P0(e)}function doe(e){throw e}var hoe={closed:!0,next:rd,error:doe,complete:rd},gh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Yr(e){return e}function poe(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=foe(i)?i:new Vo(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 Vo({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 poe(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??loe.Promise)!==null&&t!==void 0?t:Promise}function moe(e){return e&&it(e.next)&&it(e.error)&&it(e.complete)}function foe(e){return e&&e instanceof fh||moe(e)&&O0(e)}function goe(e){return it(e==null?void 0:e.lift)}function tn(e){return t=>{if(goe(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 voe(e,t,i,n,a)}var voe=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))}}},yoe=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 yoe}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)}}},boe=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},_oe=class extends boe{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 xoe=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 xoe(_oe),woe=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 Eoe(e,t){return typeof _h(e)=="number"?e.pop():t}function Soe(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 koe(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 Coe(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 V0(e){return it(e==null?void 0:e.then)}function j0(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 Ioe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var H0=Ioe();function U0(e){return it(e==null?void 0:e[H0])}function G0(e){return koe(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(j0(e))return Doe(e);if(F0(e))return Toe(e);if(V0(e))return Ooe(e);if(B0(e))return q0(e);if(U0(e))return Poe(e);if(W0(e))return Noe(e)}throw z0(e)}function Doe(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 Toe(e){return new ht(t=>{for(let i=0;i<e.length&&!t.closed;i++)t.next(e[i]);t.complete()})}function Ooe(e){return new ht(t=>{e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,P0)})}function Poe(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=>{Moe(e,t).catch(i=>t.error(i))})}function Noe(e){return q0(G0(e))}function Moe(e,t){var i,n,a,r;return Soe(this,void 0,void 0,function*(){try{for(i=Coe(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 Roe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Aoe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Loe(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 Foe(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 Voe(e,t){return Z0(G0(e),t)}function joe(e,t){if(e!=null){if(j0(e))return Roe(e,t);if(F0(e))return Loe(e,t);if(V0(e))return Aoe(e,t);if(B0(e))return Z0(e,t);if(U0(e))return Foe(e,t);if(W0(e))return Voe(e,t)}throw z0(e)}function nr(e,t){return t?joe(e,t):gn(e)}function vt(...e){let t=ls(e);return nr(e,t)}function Boe(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 zoe=mh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Hoe(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 zoe)}})})}function Uoe(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:Goe}=Array;function Woe(e,t){return Goe(t)?e(...t):e(t)}function K0(e){return zt(t=>Woe(e,t))}var{isArray:qoe}=Array,{getPrototypeOf:$oe,prototype:Yoe,keys:Zoe}=Object;function J0(e){if(e.length===1){let t=e[0];if(qoe(t))return{args:t,keys:null};if(Koe(t)){let i=Zoe(t);return{args:i.map(n=>t[n]),keys:i}}}return{args:e,keys:null}}function Koe(e){return e&&typeof e=="object"&&$oe(e)===Yoe}function X0(e,t){return e.reduce((i,n,a)=>(i[n]=t[a],i),{})}function Joe(...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(Xoe(n,t,a?o=>X0(a,o):Yr));return i?r.pipe(K0(i)):r}function Xoe(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 Qoe(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 jo(e,t,i=1/0){return it(t)?jo((n,a)=>zt((r,o)=>t(n,r,a,o))(gn(e(n,a))),i):(typeof t=="number"&&(i=t),tn((n,a)=>Qoe(n,a,e,i)))}function Q0(e=1/0){return jo(Yr,e)}function ese(){return Q0(1)}function Bo(...e){return ese()(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 tse(e=0,t,i=woe){let n=-1;return t!=null&&(A0(t)?i=t:n=t),new ht(a=>{let r=Uoe(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=Eoe(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 nse(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 nse(()=>tse(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)?jo(e,t,1):jo(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 jn(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 ise(e,t=Yr){return e=e??ase,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 ase(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 Vo({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 Vo({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 rse(e){return`NG0${Math.abs(e)}`}function cv(e,t){return`${rse(e)}${t?": "+t:""}`}var uv=Symbol("InputSignalNode#UNSET"),ose=yt(ue({},I0),{transformFn:void 0,applyValueToInputSignal(e,t){yc(e,t)}});function dv(e,t){let i=Object.create(ose);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 sse(e){return function(...t){}}function hv(e,t,i){return us(()=>{let n=sse();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 lse(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 cse=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(cse)&&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 use(e){return e&&(e[fv]||e[gv])||null}function Nm(e){return e&&(e.hasOwnProperty(Mm)||e.hasOwnProperty(dse))?e[Mm]:null}var fv=at({ɵprov:at}),Mm=at({ɵinj:at}),gv=at({ngInjectableDef:at}),dse=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 hse=at({ɵcmp:at}),pse=at({ɵdir:at}),mse=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 fse(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 gse={},Wa=gse,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",vse="ngTokenPath",yse=/\n/gm,bse="ɵ",Am="__source";function _se(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()||_se)(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=xse(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 xse(e){return e[ud]}function wse(e,t,i,n){let a=e[Pl];throw t[Am]&&a.unshift(t[Am]),e.message=Ese(`
16
- `+e.message,a,i,n),e[vse]=a,e[Pl]=null,e}function Ese(e,t,i,n=null){e=e&&e.charAt(0)===`
17
- `&&e.charAt(1)==bse?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(yse,`
18
- `)}`}var Sse=wv(hv("Optional"),8),kse=wv(hv("SkipSelf"),4);function qa(e,t){return e.hasOwnProperty(Ol)?e[Ol]:null}function Cse(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 Ise(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 Dse(e,t){let i=[];for(let n=0;n<e;n++)i.push(t);return i}function Tse(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,Tse(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 Ose(e,t,1)}function Ose(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[hse]||null}function Iv(e){return e[pse]||null}function Pse(e){return e[mse]||null}function kh(e){return{ɵproviders:e}}function Nse(...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 Mse=at({provide:String,useValue:at});function Ov(e){return e!==null&&typeof e=="object"&&Mse in e}function Rse(e){return!!(e&&e.useExisting)}function Ase(e){return!!(e&&e.useFactory)}function Fr(e){return typeof e=="function"}function Lse(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=zse(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 wse(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=Vse(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&&Bse(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 Fse(e);throw new Z(204,!1)}function Fse(e){if(e.length>0)throw new Z(204,!1);let t=use(e);return t!==null?()=>t.factory(e):()=>new e}function Vse(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(Ase(e))n=()=>e.useFactory(...dd(e.deps||[]));else if(Rse(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(jse(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 jse(e){return!!e.deps}function Bse(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function zse(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 Hse(e){return typeof e=="function"}var Ji=0,Se=1,_e=2,en=3,ti=4,vn=5,Vr=6,Or=7,Ut=8,jr=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 Use=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=Wse),Gse}function Gse(){let e=Vv(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 Wse(e,t,i,n,a){let r=this.declaredInputs[n],o=Vv(e)||qse(e,{previous:xi,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new Use(c&&c.currentValue,i,u===xi),Av(e,t,a,i)}var Fv="__ngSimpleChanges__";function Vv(e){return e[Fv]||null}function qse(e,t){return e[Fv]=t}var Za=function(e,t=null,i){},$se="svg",Yse="math";function Si(e){for(;Array.isArray(e);)e=e[Ji];return e}function jv(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 Zse(e){return(e[_e]&4)===4}function Mh(e){return(e[_e]&128)===128}function Kse(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 Jse(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 Xse(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 Qse(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 ele(){return Pe.lFrame.elementDepthCount}function tle(){Pe.lFrame.elementDepthCount++}function nle(){Pe.lFrame.elementDepthCount--}function ile(){return Pe.bindingsEnabled}function Hv(){return Pe.skipHydrationRootTNode!==null}function ale(e){return Pe.skipHydrationRootTNode===e}function rle(){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 ole(){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 Vh(){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 sle(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 lle(){return Pe.lFrame.inI18n}function cle(e,t){let i=Pe.lFrame;i.bindingIndex=i.bindingRootIndex=e,vd(t)}function ule(){return Pe.lFrame.currentDirectiveIndex}function vd(e){Pe.lFrame.currentDirectiveIndex=e}function dle(e){let t=Pe.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $v(){return Pe.lFrame.currentQueryIndex}function jh(e){Pe.lFrame.currentQueryIndex=e}function hle(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=hle(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 ple(e){return(Pe.lFrame.contextLView=Jse(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 mle(){return Pe.lFrame.currentNamespace}var Qv=!0;function kc(){return Qv}function Cc(e){Qv=e}function fle(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)&&(gle(e,i,t,u),e[Sr]=(e[Sr]&4294901760)+u+2),u++}function Vm(e,t){let i=Oe(null);try{t.call(e)}finally{Oe(i)}}function gle(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,Vm(l,r)):Vm(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 vle(e){return(e.flags&8)!==0}function yle(e){return(e.flags&16)!==0}function ble(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];_le(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 _le(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?jm(e,i,a,null,t[++n]):jm(e,i,a,null,null))}}return e}function jm(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 xle(e){return e>>16}function Vl(e,t){let i=xle(e),n=t;for(;i>0;)n=n[Zr],i--;return n}var yd=!0;function jl(e){let t=yd;return yd=e,t}var wle=256,iy=wle-1,ay=5,Ele=0,_i={};function Sle(e,t,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Po)&&(n=i[Po]),n==null&&(n=i[Po]=Ele++);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=Vl(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){Sle(e,t,i)}function kle(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[jr],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=Tle(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=Ile(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=Vl(u,t)));l!==-1;){let h=t[Se];if(Bm(r,l,h.data)){let m=Cle(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=Vl(u,t)):l=-1}}return a}function Cle(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(fse(o[i]));let u=jl(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&&fle(i,o[i],t)}finally{c!==null&&dn(c),jl(u),l.resolving=!1,Xv()}}return r}function Ile(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:Dle: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 Dle(){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 Tle(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 Ole(e){return kle(cn(),e)}function Hm(e,t=null,i=null,n){let a=Ple(e,t,i,n);return a.resolveInjectorInitializers(),a}function Ple(e,t=null,i=null,n,a=new Set){let r=[i||hn,Nse(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),Nle=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>Ole(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},Mle=new se("");Mle.__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__",Rle),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),()=>Xse(i,t))}};function Rle(){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})(),Ale=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=Ale;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",Lle=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,jle(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,Fle,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)}},Fle={};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 Vle(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 jle(e){let t=()=>{Vle(e)},i=Lle++;e._inner=e._inner.fork({name:"angular",properties:{[Wh]:!0,[zl]:i,[zl+i]:!0},onInvokeTask:(n,a,r,o,l,u)=>{if(zle(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&&!Hle(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 Ble=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 zle(e){return vy(e,"__ignore_ng_zone__")}function Hle(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)}},Ule=new se("",{providedIn:"root",factory:()=>{let e=C(We),t=C(ai);return i=>e.runOutsideAngular(()=>t.handleError(i))}}),Gle=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 Gle}function $m(e,t){return dv(e,t)}function Wle(e){return dv(uv,e)}var fe=($m.required=Wle,$m);function qle(){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__",qle),e})();function $le(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=noe(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 Yle(){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,Yle);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=Ise(e);(this._changesDetected=!Cse(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,Zle=0;function Kle(){return Zle++}function Jle(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],Jle(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 Xle(e){kd=e}function Qle(){if(kd!==void 0)return kd;if(typeof document<"u")return document;throw new Z(210,!1)}var $h=new se("",{providedIn:"root",factory:()=>ece}),ece="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=Qle().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Cy=!1,tce=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__",nce),e})();function nce(){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})(),ice=[kr.EarlyRead,kr.Write,kr.MixedReadWrite,kr.Read],ace=(()=>{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 ice)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})(),rce=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 oce(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(ace));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 rce(a.impl,oce(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return a.impl.register(c),c}var sce=()=>null;function Oy(e,t,i=!1){return sce()}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];jh(r),l.contentQueries(2,t[o],o)}}}finally{Oe(n)}}}function Cd(e,t,i){jh(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 lce(){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=lce())==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})`}},cce=class extends rr{getTypeName(){return"HTML"}},uce=class extends rr{getTypeName(){return"Style"}},dce=class extends rr{getTypeName(){return"Script"}},hce=class extends rr{getTypeName(){return"URL"}},pce=class extends rr{getTypeName(){return"ResourceURL"}};function sa(e){return e instanceof rr?e.changingThisBreaksApplicationSecurity:e}function yr(e,t){let i=mce(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 mce(e){return e instanceof rr&&e.getTypeName()||null}function fce(e){return new cce(e)}function gce(e){return new uce(e)}function vce(e){return new dce(e)}function yce(e){return new hce(e)}function bce(e){return new pce(e)}function _ce(e){let t=new wce(e);return Ece()?new xce(t):t}var xce=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}}},wce=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 Ece(){try{return!!new window.DOMParser().parseFromString(Dc(""),"text/html")}catch{return!1}}var Sce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qh(e){return e=String(e),e.match(Sce)?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"),kce=ys(Ry,My),Cce=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")),Ice=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,Cce,Ice,kce),Ay=ea("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dce=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"),Tce=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"),Oce=ys(Ay,Dce,Tce),Pce=ea("script,style,template"),Nce=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=Ace(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=Rce(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,!Pce.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(!Oce.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 Mce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Rce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ly(t);return t}function Ace(e){let t=e.firstChild;if(t&&Mce(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 Lce=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fce=/([^\#-~ |!])/g;function Qm(e){return e.replace(/&/g,"&amp;").replace(Lce,function(t){let i=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(Fce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hs;function Vce(e,t){let i=null;try{Hs=Hs||_ce(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 Nce().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&&jce(e)?e.content:null}function jce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Bce=/^>|^->|<!--|-->|--!>|<!-$/g,zce=/(<|>)/g,Hce="​$1​";function Uce(e){return e.replace(Bce,t=>t.replace(zce,Hce))}function Gce(e,t){return e.createText(t)}function Wce(e,t,i){e.setValue(t,i)}function qce(e,t){return e.createComment(Uce(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 Vy(e,t,i){e.appendChild(t,i)}function tf(e,t,i,n,a){n!==null?Ul(e,t,i,n,a):Vy(e,t,i)}function $ce(e,t,i){e.removeChild(null,t,i)}function Yce(e,t,i){e.setAttribute(t,"style",i)}function Zce(e,t,i){i===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function jy(e,t,i){let{mergedAttrs:n,classes:a,styles:r}=i;n!==null&&ble(e,t,n),a!==null&&Zce(e,t,a),r!==null&&Yce(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=Kce();return t?t.sanitize(wn.URL,e)||"":yr(e,"URL")?sa(e):Qh(bc(e))}function Kce(){let e=we();return e&&e[Zi].sanitizer}function Jce(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 Xce(e,t,i,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&Jce(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 Qce(e,t,i){let n=e.type===4&&!i?zy:e.value;return t===n}function eue(e,t,i){let n=4,a=e.attrs,r=a!==null?iue(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!==""&&!Qce(e,u,i)||u===""&&t.length===1){if(Yn(n))return!1;o=!0}}else if(n&8){if(a===null||!Xce(e,a,u,i)){if(Yn(n))return!1;o=!0}}else{let c=t[++l],h=tue(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 tue(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 aue(t,e)}function Hy(e,t,i=!1){for(let n=0;n<t.length;n++)if(eue(e,t[n],i))return!0;return!1}function nue(e){let t=e.attrs;if(t!=null){let i=t.indexOf(5);if(!(i&1))return t[i+1]}return null}function iue(e){for(let t=0;t<e.length;t++){let i=e[t];if(ty(i))return t}return e.length}function aue(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 rue(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 oue(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 sue(e){return e.map(oue).join(",")}function lue(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=cue(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 cue(e,t){let i=[];for(let n=0;n<t;n++)i.push(n<e?null:ri);return i}function uue(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[jr]=u||e&&e[jr]||null,m[vn]=r,m[Ec]=Kle(),m[Vr]=h,m[Mv]=c,m[Hn]=t.type==2?e[Hn]:m,m}function due(e,t,i){let n=Ii(t,e),a=uue(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){fue(e,t,i),(i.flags&64)===64&&gue(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 hue(e,t,i,n){let a=n.get(tce,Cy)||i===Ui.ShadowDom;return e.selectRootElement(t,a)}function pue(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)&&mue(i,t.index);return}if(t.type&3){let u=Ii(t,i);n=pue(n),a=o!=null?o(a,t.value||"",n):a,r.setProperty(u,n,a)}else t.type&12}function mue(e,t){let i=ki(t,e);i[_e]&16||(i[_e]|=64)}function fue(e,t,i){let n=i.directiveStart,a=i.directiveEnd;Kr(i)&&due(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&&_ue(t,o-n,u,l,i,r),Ei(l)){let c=ki(i.index,t);c[Ut]=Uo(t,e,o,i)}}}function gue(e,t,i){let n=i.directiveStart,a=i.directiveEnd,r=i.index,o=ule();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)&&vue(u,c)}}finally{Xa(-1),vd(o)}}function vue(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 yue(e,t,i,n,a,r){let o=Ii(e,t);bue(t[Ct],o,r,e.value,i,n,a)}function bue(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 _ue(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 xue(e,t){let i=e[jr],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 wue(e,t){let i=ki(t,e),n=i[Se];Eue(n,i);let a=i[Ji];a!==null&&i[Vr]===null&&(i[Vr]=Oy(a,i[jr])),sp(n,i,i[Ut]),Za(19,i[Ut])}function Eue(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&&Sue(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,zh()}}function Sue(e,t){for(let i=0;i<t.length;i++)wue(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 kue;function lp(e,t){return kue(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?Vy(t,i,l):Ul(t,i,l,a||null,!0):e===1&&i!==null?Ul(t,i,l,a||null,!0):e===2?$ce(t,l,o):e===3&&t.destroyNode(l),r!=null&&Aue(t,e,r,i,a)}}function Cue(e,t){Yy(e,t),t[Ji]=null,t[vn]=null}function Iue(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 Due(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),Due(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]),Oue(e,t),Tue(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 Tue(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 Oue(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 Pue(e,t.parent,i)}function Pue(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 Mue(e,t,i)}function Nue(e,t,i){return e.type&40?Ii(e,i):null}var Mue=Nue;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 Rue(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 Aue(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 Lue(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)&&Fue(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 Fue(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 Vue(e){return e[zn]??jue(e)}function jue(e){let t=eb.pop()??Object.create(zue);return t.lView=e,t}function Bue(e){e.lView[zn]!==e&&(e.lView=null,eb.push(e))}var zue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Xr(e.lView)},consumerOnSignalRead(){this.lView[zn]=this}});function Hue(e){let t=e[zn]??Object.create(Uue);return t.lView=e,t}var Uue=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 Gue=100;function ib(e,t=!0,i=0){var a,r;let n=e[Zi].rendererFactory;(a=n.begin)==null||a.call(n);try{Wue(e,i)}catch(o){throw t&&xue(e,o),o}finally{(r=n.end)==null||r.call(n)}}function Wue(e,t){let i=Wv();try{Ll(!0),Td(e,t);let n=0;for(;ms(e);){if(n===Gue)throw new Z(103,!1);n++,Td(e,1)}}finally{Ll(i)}}function que(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=Vue(t),u=Lo(c)):Zre()===null?(l=!1,c=Hue(t),u=Lo(c)):t[zn]&&(fc(t[zn]),t[zn]=null);try{Bv(t),sle(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||$ue(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)}Zue(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&&Bue(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 $ue(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 Yue(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)que(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++)Yue(e,t[n],i)}function Zue(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];cle(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(Kue(a,t,e,i),n){let o=Dd(i,e),l=t[Ct],u=l.parentNode(e[Ya]);u!==null&&Iue(a,e[vn],l,t,u,o)}let r=t[Vr];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);Cue(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 Kue(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 Jue(e){return ms(e._lView)||!!(e._lView[_e]&64)}function Xue(e){Rh(e._cdRefInjectingView||e._lView)}var Ur=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",tde),e})(),Que=Ur,ede=class extends Que{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 tde(){return Rc(cn(),we())}function Rc(e,t){return e.type&4?new ede(t,e,no(e,t)):null}function ao(e,t,i,n,a){let r=e.data[t];if(r===null)r=nde(e,t,i,n,a),lle()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=a;let o=ole();r.injectorIndex=o===null?-1:o.injectorIndex}return Ea(r,!0),r}function nde(e,t,i,n,a){let r=Uv(),o=Fh(),l=o?r:r&&r.parent,u=e.data[t]=ade(e,l,i,t,n,a);return ide(e,u,r,o),u}function ide(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 ade(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 rde=()=>null;function Gr(e,t){return rde()}var ode=class{},db=class{},sde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Bn(e)}.`)}},td,xs=(td=class{},s(td,"NULL",new sde),td),oi=class{},ro=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>lde()),e})();function lde(){let e=we(),t=cn(),i=ki(t.index,e);return(va(i)?i:e)[Ct]}var cde=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),du={},ude=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=hde(o);h===null?l=o:[l,u,c]=h,fde(e,t,i,l,r,u,c)}r!==null&&n!==null&&dde(i,n,r)}function dde(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 hde(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),pde(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 pde(e,t,i,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),i.set(e,[a,t.length-1])}function mde(e,t,i){t.componentOffset=i,(e.components??(e.components=[])).push(t.index)}function fde(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,mde(e,i,v)),bd(Bl(i,t),e,g.type)}xde(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),vde(e,i,t,m,g),_de(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++}gde(e,i,r)}function gde(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 vde(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,yde(e,t,n,Gy(e,i,a.hostVars,ri),a)}function yde(e,t,i,n,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;bde(o)!=l&&o.push(l),o.push(i,n,r)}}function bde(e){let t=e.length;for(;t>0;){let i=e[--t];if(typeof i=="number"&&i<0)return i}return 0}function _de(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 xde(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 wde=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 Ede(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 Sde(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function kde(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 ude(i,n):i}function Cde(e){let t=e.get(oi,null);if(t===null)throw new Z(407,!1);let i=e.get(cde,null),n=e.get(to,null);return{rendererFactory:t,sanitizer:i,changeDetectionScheduler:n}}function Ide(e,t){let i=(e.selectors[0][0]||"div").toLowerCase();return Fy(t,i,i==="svg"?$se:i==="math"?Yse: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=sue(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}get inputs(){return this.cachedInputs??(this.cachedInputs=Ede(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=Sde(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.17"]:lue(this.componentDef.selectors[0]),u=tp(0,null,null,1,0,null,null,null,null,[l],null),c=kde(o,a||this.ngModule,t),h=Cde(c),m=h.rendererFactory.createRenderer(null,o),v=n?hue(m,n,o.encapsulation,c):Ide(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&&(jy(m,v,w),io(v,g)),Oc(u,g,w),Xh(u,w,g),mb(u,w),i!==void 0&&Tde(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 Dde(this.componentType,g)}finally{Oe(r)}}},Dde=class extends ode{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 Tde(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__",Ode),e})();function Ode(){let e=cn();return gb(e,we())}var Pde=ws,fb=class extends Pde{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=Vl(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&&!Hse(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(Kse(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)),Mde(i,t,e,n),new fb(i,e,t)}function Nde(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 Mde=Rde;function Rde(e,t,i,n){if(e[Ya])return;let a;i.type&8?a=Si(n):a=Nde(t,i),e[Ya]=a}var Ade=class vb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new vb(this.queryList)}setDirty(){this.queryList.setDirty()}},Lde=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=qde(e):this.predicate=e}},Fde=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)}},Vde=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,jde(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 jde(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 Bde(e,t){return e.type&11?no(e,t):e.type&4?Rc(e,t):null}function zde(e,t,i,n){return i===-1?Bde(t,e):i===-2?Hde(e,t,n):Uo(e,e[Se],i,t)}function Hde(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(zde(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 Ude(e,t){return e[ni].queries[t].queryList}function Eb(e,t,i){let n=new Hl((i&4)===4);return Qse(e,t,n,n.destroy),(t[ni]??(t[ni]=new Lde)).queries.push(new Ade(n))-1}function Gde(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 Wde(e,t,i,n){let a=pt();if(a.firstCreatePass){let r=cn();Sb(a,new bb(t,i,n),r.index),$de(a,e)}return Eb(a,we(),i)}function qde(e){return e.split(",").map(t=>t.trim())}function Sb(e,t,i){e.queries===null&&(e.queries=new Fde),e.queries.track(new Vde(t,i))}function $de(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 Yde(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 wde(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 Zde(e,t,i=null){return new kb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}var Kde=(()=>{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?Zde([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(Kde).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=the(i),i})}function Jde(e){return Lr(e)||Iv(e)}function Xde(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 Qde(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 ehe(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:Qde(e.inputs,t),outputs:ehe(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?Pse:Jde;return()=>(typeof e=="function"?e():e).map(n=>i(n)).filter(Xde)}function the(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 nhe(e){return Object.getPrototypeOf(e.prototype).constructor}function Gn(e){let t=nhe(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&&she(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&rhe(e,u),c&&ohe(e,c),ihe(e,a),lse(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)}ahe(n)}function ihe(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 ahe(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 rhe(e,t){let i=e.viewQuery;i?e.viewQuery=(n,a)=>{t(n,a),i(n,a)}:e.viewQuery=t}function ohe(e,t){let i=e.contentQueries;i?e.contentQueries=(n,a,r)=>{t(n,a,r),i(n,a,r)}:e.contentQueries=t}function she(e,t){let i=e.hostBindings;i?e.hostBindings=(n,a)=>{t(n,a),i(n,a)}:e.hostBindings=t}function lhe(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);che(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 che(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 uhe(e,t,i,n,a){let r=Wl(e,t,i,n);return kn(e,t+2,a)||r}function dhe(e,t,i,n,a,r){let o=Wl(e,t,i,n);return Wl(e,t+2,a,r)||o}function hhe(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?hhe(h,t,e,n,a,r,o,l,u):t.data[h];Ea(m,!1);let v=phe(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 phe=mhe;function mhe(e,t,i,n){return Cc(!0),t[Ct].createComment("")}var fhe=new se(""),Nb=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new ghe}));let e=t;return e})(),ghe=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 vhe(e){return!!e&&typeof e.subscribe=="function"}var yhe=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(yhe,{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(vhe(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})(),bhe=new se("");function _he(){toe(()=>{throw new Z(600,!1)})}function xhe(e){return e.isBoundToModule}var whe=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(Ule));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=xhe(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(fhe,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++<whe;)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)Ehe(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(bhe,[]).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 Ehe(e,t,i,n){!i&&!ms(e)||ib(e,t,i&&!n?0:1)}function jt(e,t,i,n){let a=we(),r=eo();if(kn(a,r,t)){pt();let o=Hh();yue(o,a,e,t,i,n)}return jt}function She(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 khe(e){return(e&2)==2}function Che(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 Ihe(e){return(e&1)===1}function Rd(e){return e|1}function Dhe(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]=Che(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),The(t,h,e,n,r),o=Us(l,u),r?t.classBindings=o:t.styleBindings=o}function The(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];Ohe(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 Ohe(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 Phe(e){return e.substring(Qn.key,Qn.keyEnd)}function Nhe(e){return Mhe(e),Ab(e,Lb(e,0,Qn.textEnd))}function Ab(e,t){let i=Qn.textEnd;return i===t?-1:(t=Qn.keyEnd=Rhe(e,Qn.key=t,i),Lb(e,t,i))}function Mhe(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 Rhe(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}function $(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 $}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){Lhe(Hhe,Ahe,e,!0)}function Ahe(e,t){for(let i=Nhe(t);i>=0;i=Ab(t,i))Sh(e,Phe(t),!0)}function Fb(e,t,i,n){let a=we(),r=pt(),o=qv(2);if(r.firstUpdatePass&&jb(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]=Ghe(t,i),n,o)}}function Lhe(e,t,i,n){let a=pt(),r=qv(2);a.firstUpdatePass&&jb(a,null,r,n);let o=we();if(i!==ri&&kn(o,r,i)){let l=a.data[Qi()];if(zb(l,n)&&!Vb(a,r)){let u=l.classesWithoutHost;u!==null&&(i=ld(u,i||"")),Ad(a,l,o,i,n)}else Uhe(a,l,o,o[Ct],o[r+1],o[r+1]=zhe(e,t,i),n,r)}}function Vb(e,t){return t>=e.expandoStartIndex}function jb(e,t,i,n){let a=e.data;if(a[i+1]===null){let r=a[Qi()],o=Vb(e,i);zb(r,n)&&t===null&&!o&&(t=!1),t=Fhe(a,r,t,n),Dhe(a,r,t,i,o,n)}}function Fhe(e,t,i,n){let a=dle(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=Vhe(e,t,n);l!==void 0&&Array.isArray(l)&&(l=fu(null,e,t,l[1],n),l=Yo(l,t.attrs,n),jhe(e,t,n,l))}else r=Bhe(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),i}function Vhe(e,t,i){let n=i?t.classBindings:t.styleBindings;if(Wr(n)!==0)return e[Qa(n)]}function jhe(e,t,i,n){let a=i?t.classBindings:t.styleBindings;e[Qa(a)]=n}function Bhe(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 zhe(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 Hhe(e,t,i){let n=String(t);n!==""&&!n.includes(" ")&&Sh(e,n,i)}function Uhe(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=Ihe(c)?hf(u,t,i,a,Wr(c),o):void 0;if(!ql(h)){ql(r)||khe(c)&&(r=hf(u,null,i,a,l,o));let m=jv(Qi(),i);Lue(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 Ghe(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 Whe=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 qhe(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 $he=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 Yhe=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 Yhe(w,T);S[bt+e]=L,Pb(g,x,e+1,t,i,n,a,Ka(x.consts,r))}var Zhe=class extends Whe{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[Vr];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),Khe(this.lContainer,t)}create(t,i){var r;let n=Gr(this.lContainer,this.templateTNode.tView.ssrId),a=bs(this.hostLView,this.templateTNode,new $he(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 Jhe(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 Zhe(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(qhe(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 Khe(e,t){return Wo(e,t)}function Jhe(e,t){return lb(e,t)}function Fd(e,t){return Ph(e,t)}function j(e,t,i,n){let a=we(),r=pt(),o=bt+e,l=a[Ct],u=r.firstCreatePass?pb(o,r,a,t,rp,ile(),i,n):r.data[o],c=Xhe(r,a,u,l,t);a[o]=c;let h=Sc(u);return Ea(u,!0),jy(l,c,u),!cp(u)&&kc()&&Nc(r,a,c,u),(ele()===0||h)&&io(c,a),tle(),h&&(Oc(r,a,u),Xh(r,u,a)),n!==null&&ap(a,u),j}function z(){let e=cn();Fh()?Vh():(e=e.parent,Ea(e,!1));let t=e;ale(t)&&rle(),nle();let i=pt();return i.firstCreatePass&&mb(i,t),t.classesWithoutHost!=null&&vle(t)&&Ad(i,t,we(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yle(t)&&Ad(i,t,we(),t.stylesWithoutHost,!1),z}function le(e,t,i,n){return j(e,t,i,n),z(),le}var Xhe=(e,t,i,n,a,r)=>(Cc(!0),Fy(n,a,mle()));function Qhe(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?Qhe(r,a,n,t,i):a.data[r];Ea(o,!0);let l=epe(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()?Vh():(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 epe=(e,t,i,n)=>(Cc(!0),qce(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 tpe(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var npe=["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",tpe],Mo={};function ipe(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=ape(e),i=gf(t);if(i)return i;let n=t.split("-")[0];if(i=gf(n),i)return i;if(n==="en")return npe;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 ape(e){return e.toLowerCase().replace(/_/g,"-")}var Vd="en-US";function rpe(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 ope(e,r),!1}finally{Oe(a)}}function ope(e,t){let i=e[jr],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 lpe(r,a,a[Ct],o,e,t,n),Di}function spe(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 lpe(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=spe(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 ple(e)}function cpe(e,t){let i=null,n=nue(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):rue(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=Dse(i,null),a=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?cpe(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),Vh();let h=!o[Vr]||Hv();o[Hn][vn].projection[c.projection]===null&&u!==null?upe(o,l,u):h&&!cp(c)&&Rue(l,o,c)}function upe(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){Wde(e,t,i,n)}function Yl(e,t,i){Gde(e,t,i)}function Kn(e){let t=we(),i=pt(),n=$v();jh(n+1);let a=fp(i,n);if(e.dirty&&Zse(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Yde(t,n);e.reset(r,$le),e.notifyOnChanges()}return!0}return!1}function Jn(){return Ude(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=dpe(n,i,r,t);i[a]=o,kc()&&Nc(n,i,o,r),Ea(r,!1)}var dpe=(e,t,i,n,a)=>(Cc(!0),Gce(t[Ct],n));function Nt(e){return qe("",e,""),Nt}function qe(e,t,i){let n=we(),a=She(n,e,t,i);return a!==ri&&hpe(n,Qi(),a),qe}function hpe(e,t,i){let n=jv(t,e);Wce(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 ppe(e,t,i){let n=pt();if(n.firstCreatePass){let a=Ei(e);jd(i,n.data,n.blueprint,a,!0),jd(t,n.data,n.blueprint,a,!1)}}function jd(e,t,i,n,a){if(e=qt(e),Array.isArray(e))for(let r=0;r<e.length;r++)jd(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=gpe(a?fpe:mpe,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=Lse(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 mpe(e,t,i,n,a){return Bd(this.multi,[])}function fpe(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 gpe(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)=>ppe(n,a?a(e):e,t)}}function vpe(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 ype(e,t,i,n,a,r,o,l){let u=Qr()+e,c=we(),h=dhe(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 bpe(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 _pe(e,t,i,n,a,r,o,l){let u=t+i;return uhe(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=xpe(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=jl(!1),u=r();return jl(l),Nh(i,we(),a,u),u}finally{dn(o)}}function xpe(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)?bpe(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)?_pe(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 wpe=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 wpe("19.2.17"),Epe=(()=>{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 Spe({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??(e=()=>new We(yt(ue({},kpe()),{scheduleInRootZone:i}))),[{provide:We,useFactory:e},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Epe,{optional:!0});return()=>n.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Cpe);return()=>{n.initialize()}}},t===!0?{provide:my,useValue:!0}:[],{provide:fy,useValue:i??dy}]}function kpe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Cpe=(()=>{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})(),Ipe=(()=>{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 Ble||!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 Dpe(){return typeof $localize<"u"&&$localize.locale||Vd}var Fc=new se("",{providedIn:"root",factory:()=>C(Fc,Me.Optional|Me.SkipSelf)||Dpe()}),zd=new se(""),Tpe=new se("");function vo(e){return!e.moduleRef}function Ope(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 Npe(n,i,()=>{let r=t.get(Rb);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Fc,Vd);if(rpe(o||Vd),!t.get(Tpe,!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 Ppe(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Ppe(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 Npe(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 Mpe(e=[],t){return st.create({name:t,providers:[{provide:Ih,useValue:"platform"},{provide:zd,useValue:new Set([()=>yl=null])},...e]})}function Rpe(e=[]){if(yl)return yl;let t=Mpe(e);return yl=t,_he(),Ape(t),t}function Ape(e){let t=e.get(ky,null);wc(e,()=>{t==null||t.forEach(i=>i())})}function Lpe(){return!1}var sr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Fpe),e})();function Fpe(e){return Vpe(cn(),we(),(e&16)===16)}function Vpe(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 jpe=class{constructor(){}supports(e){return e instanceof Map||Tb(e)}create(){return new Bpe}},Bpe=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 zpe(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))}},zpe=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 jpe])}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 kse,new Sse]]}}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 Hpe(e){let{rootComponent:t,appProviders:i,platformProviders:n,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Rpe(n),o=[Spe({}),{provide:to,useExisting:Ipe},...i||[]],l=new kb({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Ope({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 Vc(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Upe(e){return soe(e)}function Gi(e,t){return Xre(e,t==null?void 0:t.equal)}var s0,Gpe=(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=$pe(r.view,o,e),n instanceof hy&&n._lView===r.view&&(n=null)):a=Ype(e,i.get(Nb),o),a.injector=i,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new Gpe(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=[]}}}),Wpe=yt(ue({},Zb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){fc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),qpe=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 $pe(e,t,i){let n=Object.create(qpe);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 Ype(e,t,i){let n=Object.create(Wpe);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 Zpe=e=>e;function Kpe(e,t){if(typeof e=="function"){let i=Sm(e,Zpe,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=>aoe(t,n),i.update=n=>roe(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 Jpe={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function Xpe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Qpe(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var bu;function eme(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 tme(e){let t={};return e.forEach(({propName:i,templateName:n,transform:a})=>{t[Xpe(n)]=[i,a]}),t}function nme(e,t){return t.get(xs).resolveComponentFactory(e).inputs}function ime(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=ame(l,t,a);u!==-1&&n[u].push(l)}return n}function ame(e,t,i){let n=i;return Qpe(e)&&t.some((a,r)=>a!=="*"&&eme(e,a)?(n=r,!0):!1),n}var rme=10,ome=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 sme(this.componentFactory,e,this.inputMap)}},sme=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=Jpe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},rme))})}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),Jue(this.componentRef.hostView)&&(Xue(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=st.create({providers:[],parent:this.injector}),i=ime(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()}},lme=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function cme(e,t){let i=nme(e,t.injector),n=t.strategyFactory||new ome(e,t.injector),a=tme(i);class r extends lme{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 ume(e){Jb??(Jb=e)}var dme=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(hme),providedIn:"platform"}));let e=t;return e})(),hme=(()=>{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(mme),providedIn:"root"}));let e=t;return e})(),pme=new se(""),mme=(()=>{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(pme,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=vme(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(gme(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:()=>fme(),providedIn:"root"}));let e=t;return e})();function fme(){return new e1(pe(xp))}function gme(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 vme(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||{}),jc={MinusSign:5};function yme(e){return si(e)[Mt.LocaleId]}function bme(e,t,i){let n=si(e),a=[n[Mt.DayPeriodsFormat],n[Mt.DayPeriodsStandalone]],r=Un(a,t);return Un(r,i)}function _me(e,t,i){let n=si(e),a=[n[Mt.DaysFormat],n[Mt.DaysStandalone]],r=Un(a,t);return Un(r,i)}function xme(e,t,i){let n=si(e),a=[n[Mt.MonthsFormat],n[Mt.MonthsStandalone]],r=Un(a,t);return Un(r,i)}function wme(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 Eme(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 Sme(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 kme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,mr={},Cme=/((?:[^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 Ime(e,t,i,n){let a=Lme(e);t=ji(i,t)||t;let r=[],o;for(;t;)if(o=Cme.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=Ame(a,n));let u="";return r.forEach(c=>{let h=Mme(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 ji(e,t){let i=yme(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=ji(e,"shortTime"),r=ji(e,"shortDate");n=$s(qs(e,_n.Short),[a,r]);break;case"medium":let o=ji(e,"mediumTime"),l=ji(e,"mediumDate");n=$s(qs(e,_n.Medium),[o,l]);break;case"long":let u=ji(e,"longTime"),c=ji(e,"longDate");n=$s(qs(e,_n.Long),[u,c]);break;case"full":let h=ji(e,"fullTime"),m=ji(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 Dme(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=Tme(e,r);if((i>0||l>-i)&&(l+=i),e===3)l===0&&i===-12&&(l=12);else if(e===6)return Dme(l,t);let u=Bc(o,jc.MinusSign);return Xn(l,t,u,n,a)}}function Tme(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 Ome(a,r,e,t,i,n)}}function Ome(e,t,i,n,a,r){switch(i){case 2:return xme(t,a,n)[e.getMonth()];case 1:return _me(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=Eme(t),h=Sme(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 bme(t,a,n)[o<12?0:1];case 3:return wme(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,jc.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 Pme=0,bl=4;function Nme(e){let t=Kl(e,Pme,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=Nme(r.getFullYear()),l=r.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return Xn(a,e,Bc(n,jc.MinusSign))}}function Zs(e,t=!1){return function(i,n){let a=n1(i).getFullYear();return Xn(a,e,Bc(n,jc.MinusSign),t)}}var wu={};function Mme(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 Rme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Ame(e,t,i){let n=e.getTimezoneOffset(),a=i1(t,n);return Rme(e,-1*(a-n))}function Lme(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(kme))return Fme(n)}let t=new Date(e);if(!If(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Fme(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})(),Vme=(()=>{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 jme(e,t){return new Z(2100,!1)}var Bme="mediumDate",zme=new se(""),Hme=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)??Bme,h=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return Ime(n,c,o||this.locale,h)}catch(c){throw jme(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Qt(Fc,16),Qt(zme,24),Qt(Hme,24))}),s(t,"ɵpipe",Yt({name:"date",type:t,pure:!0}));let e=t;return e})();function Ume(e,t){return{key:e,value:t}}var Gme=(()=>{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(Ume(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",Wme="server";function qme(e){return e===o1}function s1(e){return e===Wme}var l1=class{};function zc(e,t,i){return ipe(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 $me(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),$me(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%",Yme=`_nghost-${h1}`,Zme=`_ngcontent-${h1}`,Kme=!0,Jme=new se("",{providedIn:"root",factory:()=>Kme});function Xme(e){return Zme.replace(kp,e)}function Qme(e){return Yme.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 efe(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(Jme),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 efe=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=Xme(h),this.hostAttr=Qme(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}},tfe=class m1 extends dme{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){ume(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=nfe();return n==null?null:ife(n)}resetBaseElement(){Io=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return r1(document.cookie,i)}},Io=null;function nfe(){return Io=Io||document.head.querySelector("base"),Io?Io.getAttribute("href"):null}function ife(e){return new URL(e,document.baseURI).pathname}var afe=(()=>{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})(),rfe=(()=>{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"],ofe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sfe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},lfe=(()=>{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=ofe[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=sfe[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 cfe(e){return Hpe(ufe(e))}function ufe(e){return{appProviders:[...ffe,...(e==null?void 0:e.providers)??[]],platformProviders:mfe}}function dfe(){tfe.makeCurrent()}function hfe(){return new ai}function pfe(){return Xle(document),document}var mfe=[{provide:Ic,useValue:o1},{provide:ky,useValue:dfe,multi:!0},{provide:He,useFactory:pfe}],ffe=[{provide:Ih,useValue:"root"},{provide:ai,useFactory:hfe},{provide:Hd,useClass:rfe,multi:!0,deps:[He]},{provide:Hd,useClass:lfe,multi:!0,deps:[He]},Gd,d1,c1,{provide:oi,useExisting:Gd},{provide:l1,useClass:afe},[]],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)))}},gfe=class{encodeKey(e){return Af(e)}encodeValue(e){return Af(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function vfe(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 yfe=/%(\d[a-f0-9])/gi,bfe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Af(e){return encodeURIComponent(e).replace(yfe,(t,i)=>bfe[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 gfe,t.fromString){if(t.fromObject)throw new Z(2805,!1);this.map=vfe(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)}},_fe=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 xfe(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 Vf(e){return typeof FormData<"u"&&e instanceof FormData}function wfe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var jf="Content-Type",Bf="Accept",v1="X-Request-URL",y1="text/plain",b1="application/json",Efe=`${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(xfe(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 _fe),!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)||Vf(this.body)||wfe(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||Vf(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}},Sfe=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}},kfe=200,Cfe=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})(),Ife=new se("");function Dfe(e,t){return t(e)}function Tfe(e,t,i){return(n,a)=>wc(i,()=>t(n,r=>e(r,a)))}var Tp=new se(""),Ofe=new se(""),Pfe=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(Pfe));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(Ofe,[])]));this.chain=r.reduceRight((o,l)=>Tfe(o,l,this.injector),Dfe)}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})(),Nfe=/^\)\]\}',?\n/,Mfe=RegExp(`^${v1}:`,"m");function Rfe(e){return"responseURL"in e&&e.responseURL?e.responseURL:Mfe.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,Efe),!n.headers.has(jf)){let w=n.detectContentTypeHeader();w!==null&&o.setRequestHeader(jf,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=Rfe(o)||n.url;return u=new Sfe({headers:S,status:o.status,statusText:w,url:T}),u},h=()=>{let{headers:w,status:S,statusText:T,url:L}=c(),N=null;S!==Cfe&&(N=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=N?kfe:0);let re=S>=200&&S<300;if(n.responseType==="json"&&typeof N=="string"){let ve=N;N=N.replace(Nfe,"");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(""),Afe="XSRF-TOKEN",Lfe=new se("",{providedIn:"root",factory:()=>Afe}),Ffe="X-XSRF-TOKEN",Vfe=new se("",{providedIn:"root",factory:()=>Ffe}),k1=class{},jfe=(()=>{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(Lfe))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Bfe=/^(?:https?:)?\/\//i;function zfe(e,t){if(!C(S1)||e.method==="GET"||e.method==="HEAD"||Bfe.test(e.url))return t(e);let i=C(k1).getToken(),n=C(Vfe);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 Hfe(e,t){return{ɵkind:e,ɵproviders:t}}function Ufe(...e){let t=[Cs,Uf,Hf,{provide:Ip,useExisting:Hf},{provide:f1,useFactory:()=>C(Ife,{optional:!0})??C(Uf)},{provide:Tp,useValue:zfe,multi:!0},{provide:S1,useValue:!0},{provide:k1,useClass:jfe}];for(let i of e)t.push(...i.ɵproviders);return kh(t)}function Gfe(e){return Hfe(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(Wfe),a},providedIn:"root"}));let e=t;return e})(),Wfe=(()=>{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):Vce(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 fce(a)}bypassSecurityTrustStyle(a){return gce(a)}bypassSecurityTrustScript(a){return vce(a)}bypassSecurityTrustUrl(a){return yce(a)}bypassSecurityTrustResourceUrl(a){return bce(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{},qfe=(()=>{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{},$fe=(()=>{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 Yfe(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 Zfe(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{},Kfe=(()=>{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(Yfe(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{},Jfe=(()=>{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(jn(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(jn(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),jn(1));return this.loadingTranslations=a.pipe(zt(r=>this.compiler.compileTranslations(r,n)),Om(1),jn(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){Zfe(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})(),Xfe=(e={})=>kh([e.loader||{provide:Is,useClass:qfe},e.compiler||{provide:Ts,useClass:Jfe},e.parser||{provide:Np,useClass:Kfe},e.missingTranslationHandler||{provide:D1,useClass:$fe},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 Qfe(){if(Iu==null){let e=typeof document<"u"?document.head:null;Iu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Iu}function ege(e){if(Qfe()){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?qme(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 tge(){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 tge()?e:!!e.capture}function Gf(e,t=0){return nge(e)?Number(e):arguments.length===2?t:0}function nge(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Rr(e){return e instanceof At?e.nativeElement:e}var ige=new se("cdk-input-modality-detector-options"),age={ignoreKeys:[18,17,224,91,16]},A1=650,Tu={passive:!0,capture:!0},rge=(()=>{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(ige,{optional:!0});if(this._options=ue(ue({},age),r),this.modalityDetected=this._modality.pipe(sv(1)),this.modalityChanged=this.modalityDetected.pipe(ise()),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||{}),oge=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(rge));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(oge,{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=ege(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,sge=(()=>{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):cge}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&lge(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 lge(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 cge(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var F1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(sge));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=Joe(a);return r=Bo(r.pipe(jn(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 uge=(()=>{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})(),dge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",an({type:t})),s(t,"ɵinj",nn({providers:[uge]}));let e=t;return e})(),V1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return pge(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=hge(xge(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&&!bge(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 _ge(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 hge(e){try{return e.frameElement}catch{return null}}function pge(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function mge(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function fge(e){return vge(e)&&e.type=="hidden"}function gge(e){return yge(e)&&e.hasAttribute("href")}function vge(e){return e.nodeName.toLowerCase()=="input"}function yge(e){return e.nodeName.toLowerCase()=="a"}function j1(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(!j1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function bge(e){let t=e.nodeName.toLowerCase(),i=t==="input"&&e.type;return i==="text"||i==="password"||t==="select"||t==="textarea"}function _ge(e){return fge(e)?!1:mge(e)||gge(e)||e.hasAttribute("contenteditable")||j1(e)}function xge(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var wge=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)}},Ege=(()=>{const t=class t{constructor(){s(this,"_checker",C(V1));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 wge(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})(),Sge=new se("liveAnnouncerElement",{providedIn:"root",factory:kge});function kge(){return null}var Cge=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Ige=0,Dge=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(We));s(this,"_defaultOptions",C(Cge,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(He));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(Sge,{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-${Ige++}`,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})(),Tge=(()=>{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:[dge]}));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})(),Oge=200,Pge=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:Oge;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 Nge=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 Pge(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))}}},Mge=class extends Nge{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)}},Rge=new se("cdk-dir-doc",{providedIn:"root",factory:Age});function Age(){return C(He)}var Lge=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Fge(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?Lge.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(Rge,{optional:!0});if(n){let a=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=Fge(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:Vge});function Vge(){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}},jge=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||{}),Bge=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}),zge=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},Hge=800,Qf=Mp({passive:!0,capture:!0}),eg=["mousedown","touchstart"],tg=["mouseup","mouseleave","touchend","touchcancel"],Uge=(()=>{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,Gge=(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(Uge)}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||Wge(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 Bge(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+Hge;!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 zge),pa);function Wge(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"),qge=(()=>{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})(),$ge={capture:!0},Yge=["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(()=>Yge.map(a=>ha(n,this._document,a,this._onInteraction,$ge)))}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 Gge(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})(),Zge=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,Kge=/^(\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 Jge=(()=>{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(Zge.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(Kge);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}},Vp=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()}},Xge=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 Vp)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Xge)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)}},Qge=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})(),e0e=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=e0e){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})(),t0e=(()=>{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})(),n0e=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=n0e){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(),i0e=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}},a0e=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 r0e=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}},o0e=(()=>{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 a0e(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new i0e(this._viewportRuler,this._document));s(this,"reposition",n=>new r0e(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})(),jp=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])}}},s0e=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})(),l0e=(()=>{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})(),c0e=(()=>{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})(),u0e=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=Upe(()=>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 u0e(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",d0e=/([A-Za-z%]+)$/,h0e=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||!p0e(this._lastScrollVisibility,i)){let n=new s0e(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(d0e);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 p0e(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",m0e=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}},f0e=(()=>{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 m0e}flexibleConnectedTo(n){return new h0e(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(o0e));s(this,"_overlayContainer",C(Bp));s(this,"_positionBuilder",C(f0e));s(this,"_keyboardDispatcher",C(l0e));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(c0e));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 jp(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 Qge(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})(),g0e=new se("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(ka);return()=>e.scrollStrategies.reposition()}});function v0e(e){return()=>e.scrollStrategies.reposition()}var y0e={provide:g0e,deps:[ka],useFactory:v0e},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,y0e],imports:[Ko,ec,ag,ag]}));let e=t;return e})();function b0e(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(Ege));s(this,"_config");s(this,"_interactivityChecker",C(V1));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&&jt("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,b0e,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}},_0e=new se("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=C(ka);return()=>e.scrollStrategies.block()}}),x0e=new se("DialogData"),w0e=new se("DefaultDialogConfig"),X1=(()=>{const t=class t{constructor(){s(this,"_overlay",C(ka));s(this,"_injector",C(st));s(this,"_defaultOptions",C(w0e,{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(_0e));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(jn(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 jp({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 Vp(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:x0e,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 E0e=(()=>{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,Tge,ec]}));let e=t;return e})();function S0e(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")}},Vu="mdc-dialog--open",pg="mdc-dialog--opening",mg="mdc-dialog--closing",k0e=150,C0e=75,I0e=(()=>{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)??k0e:0);s(this,"_exitAnimationDuration",this._animationsEnabled?gg(this._config.exitAnimationDuration)??C0e: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,Vu)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Vu),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Vu),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),jt("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&&(j(0,"div",0)(1,"div",1),oe(2,S0e,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"),jn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(bi(n=>n.state==="closed"),jn(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"),jn(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"),D0e=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(D0e));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=I0e,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&&jt("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:[lhe([t0e])]}));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:[E0e,K1,ec,Ci,Ci]}));let e=t;return e})(),T0e=new se("MAT_BUTTON_CONFIG"),O0e=[{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(T0e,{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 O0e)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})(),P0e=(()=>{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:Vc(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]"],N0e=`.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
- `,M0e=`@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&&(jt("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),j(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})(),R0e=(()=>{const t=class t extends P0e{};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&&(jt("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),j(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:[N0e,M0e],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,qge,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 A0e(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 L0e(){return new Z(3100,!1)}function F0e(){return new Z(3101,!1)}function V0e(e){return new Z(3001,!1)}function j0e(e){return new Z(3003,!1)}function B0e(e){return new Z(3004,!1)}function z0e(e,t){return new Z(3005,!1)}function H0e(){return new Z(3006,!1)}function U0e(){return new Z(3007,!1)}function G0e(e,t){return new Z(3008,!1)}function W0e(e){return new Z(3002,!1)}function q0e(e,t,i,n,a){return new Z(3010,!1)}function $0e(){return new Z(3011,!1)}function Y0e(){return new Z(3012,!1)}function Z0e(){return new Z(3200,!1)}function K0e(){return new Z(3202,!1)}function J0e(){return new Z(3013,!1)}function X0e(e){return new Z(3014,!1)}function Q0e(e){return new Z(3015,!1)}function eve(e){return new Z(3016,!1)}function tve(e,t){return new Z(3404,!1)}function nve(e){return new Z(3502,!1)}function ive(e){return new Z(3503,!1)}function ave(){return new Z(3300,!1)}function rve(e){return new Z(3504,!1)}function ove(e){return new Z(3301,!1)}function sve(e,t){return new Z(3302,!1)}function lve(e){return new Z(3303,!1)}function cve(e,t){return new Z(3400,!1)}function uve(e){return new Z(3401,!1)}function dve(e){return new Z(3402,!1)}function hve(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 nve();return r}function Gp(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&ju(i,"start",e)));break;case"done":e.onDone(()=>n(i&&ju(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&ju(i,"destroy",e)));break}}function ju(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 pve=typeof document>"u"?null:document.documentElement;function qp(e){let t=e.parentNode||e.host||null;return t===pve?null:t}function mve(e){return e.substring(1,6)=="ebkit"}var Na=null,_g=!1;function fve(e){Na||(Na=gve()||{},_g=Na.style?"WebkitAppearance"in Na.style:!1);let t=!0;return Na.style&&!mve(e)&&(t=e in Na.style,!t&&_g&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Na.style)),t}function gve(){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 vve=1e3,v_="{{",yve="}}",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*vve;default:return e}}function nc(e,t,i){return e.hasOwnProperty("duration")?e:bve(e,t,i)}function bve(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(L0e()),l=!0),r<0&&(t.push(F0e()),l=!0),l&&t.splice(u,0,yg())}return{duration:a,delay:r,easing:o}}function _ve(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]:A0e(e):e}function xve(e,t,i){let n=t.params||{},a=b_(e);a.length&&a.forEach(r=>{n.hasOwnProperty(r)||i.push(V0e())})}var th=new RegExp(`${v_}\\s*(.+?)\\s*${yve}`,"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(j0e()),l=""),l.toString()});return a==n?e:a}var wve=/-+([a-z0-9])/g;function $p(e){return e.replace(wve,(...t)=>t[1].toUpperCase())}function Eve(e,t){return e===0||t===0}function Sve(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 B0e(t.type)}}function Yp(e,t){return window.getComputedStyle(e)[t]}var kve=(()=>{const t=class t{validateStyleProperty(n){return fve(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 kve),nd),Zp=class{},Cve=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"]),Ive=class extends Zp{normalizePropertyName(e,t){return $p(e)}normalizeStyleValue(e,t,i,n){let a="",r=i.toString().trim();if(Cve.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(z0e())}return r+a}},ic="*";function Dve(e,t){let i=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Tve(n,i,t)):i.push(e),i}function Tve(e,t,i){if(e[0]==":"){let u=Ove(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(Q0e()),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 Ove(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(eve()),"* => *"}}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",Pve=new RegExp(`s*${x_}s*,?`,"g");function w_(e,t,i,n){return new Nve(e).build(t,i,n)}var Eg="",Nve=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,i){let n=new Ave(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(H0e()),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(U0e())}),{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(G0e(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=Dve(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=Fve(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(W0e()):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(q0e(l,c.startTime,c.endTime)),h=!1),a=c.startTime),h&&u.set(l,{startTime:a,endTime:n}),t.options&&xve(o,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:Le.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push($0e()),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:Lve(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(Y0e()),o&&t.errors.push(Z0e());let h=e.steps.length,m=0;a>0&&a<h?t.errors.push(K0e()):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]=Mve(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(J0e());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 Mve(e){let t=!!e.split(/\s*,\s*/).find(i=>i==x_);return t&&(e=e.replace(Pve,"")),e=e.replace(/@\*/g,tc).replace(/@\w+/g,i=>tc+"-"+i.slice(1)).replace(/:animating/g,Qd),[e,t]}function Rve(e){return e?ue({},e):null}var Ave=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 Lve(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 Fve(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=Rve(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()}},Vve=1,jve=":enter",Bve=new RegExp(jve,"g"),zve=":leave",Hve=new RegExp(zve,"g");function E_(e,t,i,n,a,r=new Map,o=new Map,l,u,c=[]){return new Uve().buildKeyframes(e,t,i,n,a,r,o,l,u,c)}var Uve=class{buildKeyframes(e,t,i,n,a,r,o,l,u,c=[]){u=u||new Jp;let h=new Gve(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={},Gve=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 Wve(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(Bve,"."+this._enterClassName),t=t.replace(Hve,"."+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(X0e()),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+=Vve,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=qve(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)}},Wve=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 qve(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 $ve(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 $ve(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 Yve=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 Zve(e,t,i){return new Kve(e,t,i)}var Kve=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 Yve(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=Jve(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 Jve(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 Xve=new Jp,Qve=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 ive();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,Xve,n),r.forEach(c=>{let h=En(o,c.element,new Map);c.postStyleProps.forEach(m=>h.set(m,null))})):(n.push(ave()),r=[]),n.length)throw rve();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 ove();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",eye=".ng-animate-queued",Hu="ng-animate-disabled",tye=".ng-animate-disabled",nye="ng-star-inserted",iye=".ng-star-inserted",aye=[],T_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},rye={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=cye(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),oye=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,Vn(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.has(t))throw sve();if(i==null||i.length==0)throw lve();if(!uye(i))throw cve();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)||(Vn(e,tl),Vn(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 uve();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||(Vn(e,tl),Vn(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(!pye(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||(Vn(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){Vn(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)}},sye=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 oye(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),Vn(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,tye,!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];Vn(n,nye)}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 dve()}_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(V=>{c.add(V);let H=this.driver.query(V,eye,!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((V,H)=>{let te=y_+x++;g.set(H,te),V.forEach(Ne=>Vn(Ne,te))});let w=[],S=new Set,T=new Set;for(let V=0;V<this.collectedLeaveElements.length;V++){let H=this.collectedLeaveElements[V],te=H[Zn];te&&te.setForRemoval&&(w.push(H),S.add(H),te.hasAnimation?this.driver.query(H,iye,!0).forEach(Ne=>S.add(Ne)):T.add(H))}let L=new Map,N=Og(m,Array.from(S));N.forEach((V,H)=>{let te=Xd+x++;L.set(H,te),V.forEach(Ne=>Vn(Ne,te))}),e.push(()=>{v.forEach((V,H)=>{let te=g.get(H);V.forEach(Ne=>br(Ne,te))}),N.forEach((V,H)=>{let te=L.get(H);V.forEach(Ne=>br(Ne,te))}),w.forEach(V=>{this.processLeaveNode(V)})});let re=[],ve=[];for(let V=this._namespaceList.length-1;V>=0;V--)this._namespaceList[V].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 V=[];ve.forEach(H=>{V.push(hve(H.triggerName,H.errors))}),re.forEach(H=>H.destroy()),this.reportError(V)}let ke=new Map,Lt=new Map;r.forEach(V=>{let H=V.element;i.has(H)&&(Lt.set(H,H),this._beforeAnimationBuild(V.player.namespaceId,V.instruction,ke))}),n.forEach(V=>{let H=V.element;this._getPreviousPlayers(H,!1,V.namespaceId,V.triggerName,null).forEach(te=>{En(ke,H,[]).push(te),te.destroy()})});let xt=w.filter(V=>Pg(V,l,u)),Qe=new Map;Tg(Qe,this.driver,T,u,Wi).forEach(V=>{Pg(V,l,u)&&xt.push(V)});let It=new Map;v.forEach((V,H)=>{Tg(It,this.driver,new Set(V),l,Up)}),xt.forEach(V=>{let H=Qe.get(V),te=It.get(V);Qe.set(V,new Map([...(H==null?void 0:H.entries())??[],...(te==null?void 0:te.entries())??[]]))});let ie=[],J=[],Ie={};r.forEach(V=>{let{element:H,player:te,instruction:Ne}=V;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(V=>{let H=a.get(V.element);if(H&&H.length){let te=la(H);V.setRealPlayer(te)}}),n.forEach(V=>{V.parentPlayer?V.syncPlayerEvents(V.parentPlayer):V.destroy()});for(let V=0;V<w.length;V++){let H=w[V],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?dye(this,H,Je):this.processLeaveNode(H)}return w.length=0,ie.forEach(V=>{this.players.push(V),V.onDone(()=>{V.destroy();let H=this.players.indexOf(V);this.players.splice(H,1)}),V.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=hye((i.get(x)||aye).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(()=>lye(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Vn(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 lye(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 cye(e){return e??null}function al(e){return e&&e.nodeType===1}function uye(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]=rye,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 Vn(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 dye(e,t,i){la(i).onDone(()=>e.processLeaveNode(t))}function hye(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 pye(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 sye(e.body,t,i),this._timelineEngine=new Qve(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 tve();o=Zve(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 mye(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 fye(e,i,n):null}var fye=(()=>{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)=>{gye(n)&&(t=t||new Map,t.set(n,i))}),t}function gye(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}},vye=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);Eve(i,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,x)=>u.set(x,g))});let h=_ve(t).map(v=>new Map(v));h=Sve(e,h,u);let m=mye(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)}},yye=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=bye(t),o=i.slice(1),l="";return o.charAt(0)!=kl&&([o,l]=_ye(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 bye(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function _ye(e){let t=e.indexOf("."),i=e.substring(0,t),n=e.slice(t+1);return[i,n]}var xye=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 yye(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)}},wye=(()=>{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 Eye(){return new Ive}function Sye(e,t,i){return new xye(e,t,i)}var kye=[{provide:Zp,useFactory:Eye},{provide:ah,useClass:wye},{provide:oi,useFactory:Sye,deps:[Gd,ah,We]}],Cye=[{provide:__,useFactory:()=>new vye},{provide:ir,useFactory:()=>"BrowserAnimations"},...kye];function Iye(){return ar("NgEagerAnimations"),[...Cye]}var Dye=(()=>{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,Tye=864e5,Oye=6e4,Pye=36e5,Nye=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 Mye(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 Rye={};function cr(){return Rye}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 Aye(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 Lye(e,t,i){let[n,a]=Aye(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)/Tye)}function Fye(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 Vye(e,t,i){return co(e,t*7,i)}function jye(e,t,i){return Mye(e,t*12,i)}function Bye(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function A_(e){return!(!Bye(e)&&typeof e!="number"||isNaN(+ze(e)))}function zye(e,t){let i=ze(e,t==null?void 0:t.in);return i.setHours(23,59,59,999),i}function Hye(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 Uye(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 Gye={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"}},Wye=(e,t,i)=>{let n,a=Gye[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 qye={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$ye={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Yye={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Zye={date:Wu({formats:qye,defaultWidth:"full"}),time:Wu({formats:$ye,defaultWidth:"full"}),dateTime:Wu({formats:Yye,defaultWidth:"full"})},Kye={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Jye=(e,t,i,n)=>Kye[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 Xye={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Qye={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ebe={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"]},tbe={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"]},nbe={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"}},ibe={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"}},abe=(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"},rbe={ordinalNumber:abe,era:wo({values:Xye,defaultWidth:"wide"}),quarter:wo({values:Qye,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wo({values:ebe,defaultWidth:"wide"}),day:wo({values:tbe,defaultWidth:"wide"}),dayPeriod:wo({values:nbe,defaultWidth:"wide",formattingValues:ibe,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)?sbe(l,m=>m.test(o)):obe(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 obe(e,t){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return i}function sbe(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return i}function lbe(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 cbe=/^(\d+)(th|st|nd|rd)?/i,ube=/\d+/i,dbe={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},hbe={any:[/^b/i,/^(a|c)/i]},pbe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},mbe={any:[/1/i,/2/i,/3/i,/4/i]},fbe={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},gbe={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]},vbe={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},ybe={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]},bbe={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},_be={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}},xbe={ordinalNumber:lbe({matchPattern:cbe,parsePattern:ube,valueCallback:e=>parseInt(e,10)}),era:Eo({matchPatterns:dbe,defaultMatchWidth:"wide",parsePatterns:hbe,defaultParseWidth:"any"}),quarter:Eo({matchPatterns:pbe,defaultMatchWidth:"wide",parsePatterns:mbe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Eo({matchPatterns:fbe,defaultMatchWidth:"wide",parsePatterns:gbe,defaultParseWidth:"any"}),day:Eo({matchPatterns:vbe,defaultMatchWidth:"wide",parsePatterns:ybe,defaultParseWidth:"any"}),dayPeriod:Eo({matchPatterns:bbe,defaultMatchWidth:"any",parsePatterns:_be,defaultParseWidth:"any"})},L_={code:"en-US",formatDistance:Wye,formatLong:Zye,formatRelative:Jye,localize:rbe,match:xbe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function wbe(e,t){let i=ze(e,t==null?void 0:t.in);return Lye(i,Hye(i))+1}function Xp(e,t){let i=ze(e,t==null?void 0:t.in),n=+tr(i)-+Fye(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 Ebe(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)-+Ebe(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=wbe(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"})}},V_=(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"})}},Sbe=(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}}",V_(a,t))},rh={p:V_,P:Sbe},kbe=/^D+$/,Cbe=/^Y+$/,Ibe=["D","DD","YY","YYYY"];function j_(e){return kbe.test(e)}function B_(e){return Cbe.test(e)}function oh(e,t,i){let n=Dbe(e,t,i);if(console.warn(n),Ibe.includes(e))throw new RangeError(n)}function Dbe(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 Tbe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Obe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pbe=/^'([^]*?)'?$/,Nbe=/''/g,Mbe=/[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(Obe).map(L=>{let N=L[0];if(N==="p"||N==="P"){let re=rh[N];return re(L,a.formatLong)}return L}).join("").match(Tbe).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let N=L[0];if(N==="'")return{isToken:!1,value:Rbe(L)};if(Rg[N])return{isToken:!0,value:L};if(N.match(Mbe))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)&&j_(N))&&oh(N,t,String(e));let re=Rg[N[0]];return re(l,N,a.localize,c)}).join("")}function Rbe(e){let t=e.match(Pbe);return t?t[1].replace(Nbe,"'"):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 Vg(e,t){return ze(e,t==null?void 0:t.in).getMonth()}function Abe(e,t){return+ze(e)>+ze(t)}function U_(e,t){return+ze(e)<+ze(t)}function Lbe(e,t){let i=Fbe(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 Fbe(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Vbe=10,G_=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},jbe=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)}},Bbe=class extends G_{constructor(t,i){super();s(this,"priority",Vbe);s(this,"subPriority",-1);this.context=t||(n=>Rt(i,n))}set(t,i){return i.timestampIsSet?t:Rt(t,Lbe(t,this.context))}},$e=class{run(e,t,i,n){let a=this.parse(e,t,i,n);return a?{setter:new jbe(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,i){return!0}},zbe=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*Pye+r*Oye+o*Nye),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 Hbe=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}},Ube=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)}},Gbe=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)}},Wbe=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}},qbe=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}},$be=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}},Ybe=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}},Zbe=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 Kbe(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 Jbe=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(Kbe(t,n,a),a)}};function Xbe(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 Qbe=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(Xbe(t,n))}},e1e=[31,28,31,30,31,30,31,31,30,31,30,31],t1e=[31,29,31,30,31,30,31,31,30,31,30,31],n1e=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<=t1e[r]:i>=1&&i<=e1e[r]}set(t,i,n){return t.setDate(n),t.setHours(0,0,0,0),t}},i1e=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 a1e=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}},r1e=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}},o1e=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 s1e(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 l1e=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=s1e(t,n),t.setHours(0,0,0,0),t}},c1e=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}},u1e=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}},d1e=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}},h1e=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}},p1e=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}},m1e=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}},f1e=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}},g1e=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}},v1e=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}},y1e=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}},b1e=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)}},_1e=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)}},x1e=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}]}},w1e=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}]}},E1e={G:new zbe,y:new Hbe,Y:new Ube,R:new Gbe,u:new Wbe,Q:new qbe,q:new $be,M:new Ybe,L:new Zbe,w:new Jbe,I:new Qbe,d:new n1e,D:new i1e,E:new a1e,e:new r1e,c:new o1e,i:new l1e,a:new c1e,b:new u1e,B:new d1e,h:new h1e,H:new p1e,K:new m1e,k:new f1e,m:new g1e,s:new v1e,S:new y1e,X:new b1e,x:new _1e,t:new x1e,T:new w1e},S1e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,k1e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,C1e=/^'([^]*?)'?$/,I1e=/''/g,D1e=/\S/,T1e=/[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 Bbe(n==null?void 0:n.in,i)],m=t.match(k1e).map(re=>{let ve=re[0];if(ve in rh){let ke=rh[ve];return ke(re,o.formatLong)}return re}).join("").match(S1e),v=[];for(let re of m){B_(re)&&oh(re,t,e),j_(re)&&oh(re,t,e);let ve=re[0],ke=E1e[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(T1e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ve+"`");if(re==="''"?re="'":ve==="'"&&(re=O1e(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&D1e.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 O1e(e){return e.match(C1e)[1].replace(I1e,"'")}function P1e(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"),N1e={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 M1e=(()=>{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),V='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ie,"");if(Array.isArray(this.decimalMarker))for(let Fe of this.decimalMarker)V=V.replace(this._charToRegExpExpression(Fe),I.EMPTY_STRING);else V=V.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+V+"]");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 V=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)>V||Number(Be)>V||this.specialCharacters.includes(te))||(Kt?Number(Be)>V||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Ne)||this.specialCharacters.includes(H):Number(lt)>V||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)<=V&&!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)>V&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(Wn)&&Number(Wn)>12&&a.includes("d0"),Ps=Number(Fe)<=V&&!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 M1e{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 R1e(){let e=C(K_),t=C(Z_);return t instanceof Function?ue(ue({},e),t()):ue(ue({},e),t)}function A1e(e){return[{provide:Z_,useValue:e},{provide:K_,useValue:N1e},{provide:qc,useFactory:R1e},J_]}function L1e(e){return kh(A1e(e))}var F1e=(()=>{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})(),V1e="4.0",sh=V1e,ca=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ca||{}),j1e=(()=>{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 B1e(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 z1e(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 B1e(t)}catch{return atob(t)}}function H1e(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=z1e(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 U1e=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 H1e(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 G1e(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 W1e(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 q1e=(()=>{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 G1e(n)})}resolvePatientInfo(){return Pt(this,null,function*(){let n=yield this.fetchUserProfileToken();return W1e(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 U1e(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})(),$1e=(()=>{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})(),Y1e=(()=>{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 Z1e(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:X1e(i)};return t.next(n),n}})}var jg={[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 K1e(e){for(let t of Object.keys(jg))if(jg[t].includes(e))return t;return qi.OTHER}function J1e(e,t,i){let n=e||"UNKNOWN",a=K1e(n);return{code:n,message:i??"An unexpected error occurred",group:a,traceId:t}}function X1e(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 J1e(t,n,i)}var Q1e={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 e_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=t_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 t_e(e=Object.is){return(t,i)=>t.kind===1&&i.kind===1&&e(t.value,i.value)}function n_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 i_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 a_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($1e):this.injector.get(q1e)}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 r_e(e,t){if(e&1){let i=Ac();j(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 o_e=["label"];function s_e(e,t){}var l_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,l_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")}},c_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})(),u_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})(),d_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})(),h_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&&(j(0,"div",0),ge(1),z(),oe(2,r_e,3,1,"div",1)),n&2&&(O(),qe(" ",a.data.message,`
30
- `),O(),ee(a.hasAction?2:-1))},dependencies:[Gc,c_e,u_e,d_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",p_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(jn(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(jn(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(o_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&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),oe(4,s_e,0,0,"ng-template",4),z(),le(5,"div"),z()()),a&2&&(O(5),jt("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 m_e(){return new sc}var f_e=new se("mat-snack-bar-default-options",{providedIn:"root",factory:m_e}),g_e=(()=>{const t=class t{constructor(){s(this,"_overlay",C(ka));s(this,"_live",C(Dge));s(this,"_injector",C(st));s(this,"_breakpointObserver",C(F1));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(f_e));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",h_e);s(this,"snackBarContainerComponent",p_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 Vp(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(Q1e.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 jp;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})(),v_e=(()=>{const t=class t{constructor(){this.snackbar=C(g_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})(),y_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=y_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})(),b_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(jo(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 __e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var x_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",__e];function w_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var E_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",w_e];function S_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 k_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",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=["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",C_e];zc(x_e,"de");zc(I_e,"nl");zc(k_e,"fr");zc(E_e,"en");var D_e=class{handleError(e){throw new Error(e)}},T_e=class extends Jge{getFirstDayOfWeek(){return 1}format(e){return Ha(e,"dd/MM/yyyy")}parse(e){return Y_(e,"dd/MM/yyyy",new Date)}},O_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"}}},P_e=[Iye(),Ufe(Gfe([b_e])),L1e(),{provide:ai,useClass:D_e},{provide:z1,useClass:T_e,deps:[Kd]},{provide:jge,useValue:O_e},{provide:h_,useClass:Dye},{provide:t_,useValue:{panelClass:"mh-dialog-container"}}],N_e=u0(ure(),1),M_e=new se("MESSAGE_FORMAT_CONFIG"),R_e={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},A_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({},R_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=F_e(n,a)}return this.throwOnError||(r=L_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 N_e.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(pe(M_e,8))},t.ɵprov=W({token:t,factory:t.ɵfac});let e=t;return e})();function L_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 F_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:()=>V_e,dropsperminute:()=>Ax,"effervescent-tablet":()=>Xx,gm:()=>Lx,internationalunits:()=>Fx,iu:()=>Kx,liter:()=>iw,"mck/h":()=>Vx,"mck/kg/minute":()=>jx,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}}",Vx="Mikrogramm pro Stunde",jx="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}}",V_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":Vx,"mck/kg/minute":jx,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":()=>Vw,ampoule:()=>uE,bandage:()=>rE,bottle:()=>dE,box:()=>sE,cm:()=>jw,default:()=>j_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}}",Vw="{count, plural, one{small bag} other{small bags}}",jw="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}}",j_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":Vw,cm:jw,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":()=>VE,"00026":()=>jE,"00027":()=>BE,"00028":()=>zE,"00029":()=>HE,"00030":()=>UE,ampoule:()=>fS,bandage:()=>uS,bottle:()=>gS,box:()=>hS,cm:()=>GE,default:()=>B_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}}",VE="{count, plural, one{stylo} other{stylos}}",jE="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}}",B_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":VE,"00026":jE,"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":()=>VS,"00021":()=>jS,"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:()=>z_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}}",VS="{count, plural, one{pleister} other{pleisters}}",jS="{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}}",z_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":VS,"00021":jS,"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},H_e={nl:yS,fr:pE,de:ix,en:lw},Ek={};K(Ek,{default:()=>U_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",U_e={monday:Sk,tuesday:kk,wednesday:Ck,thursday:Ik,friday:Dk,saturday:Tk,sunday:Ok},Pk={};K(Pk,{default:()=>G_e,friday:()=>Lk,monday:()=>Nk,saturday:()=>Fk,sunday:()=>Vk,thursday:()=>Ak,tuesday:()=>Mk,wednesday:()=>Rk});var Nk="Monday",Mk="Tuesday",Rk="Wednesday",Ak="Thursday",Lk="Friday",Fk="Saturday",Vk="Sunday",G_e={monday:Nk,tuesday:Mk,wednesday:Rk,thursday:Ak,friday:Lk,saturday:Fk,sunday:Vk},jk={};K(jk,{default:()=>W_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",W_e={monday:Bk,tuesday:zk,wednesday:Hk,thursday:Uk,friday:Gk,saturday:Wk,sunday:qk},$k={};K($k,{default:()=>q_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",q_e={monday:Yk,tuesday:Zk,wednesday:Kk,thursday:Jk,friday:Xk,saturday:Qk,sunday:eC},$_e={nl:$k,fr:jk,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:()=>VC,VIDIS_0341:()=>jC,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:()=>Y_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.",VC="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.",jC="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.",Y_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:VC,VIDIS_0341:jC,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:()=>j2,VIDIS_3120:()=>B2,VIDIS_3140:()=>V2,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:()=>Z_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.",V2="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.",j2="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.",Z_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:V2,VIDIS_3100:j2,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:()=>VI,VIDIS_0290:()=>jI,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:()=>K_e,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)",VI="L’opération n’est pas valide. (VIDIS_0230)",jI="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.",K_e={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:VI,VIDIS_0290:jI,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:()=>VD,VIDIS_0132:()=>jD,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:()=>J_e,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.",VD="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",jD="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.",J_e={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:VD,VIDIS_0132:jD,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},X_e={nl:DD,fr:bI,de:tC,en:u2},FT={};K(FT,{close:()=>VT,default:()=>Q_e,downloadLeaflet:()=>jT,file:()=>BT,notSpecified:()=>zT,patient:()=>UT,prescribedOn:()=>WT,prescriber:()=>GT,prescription:()=>HT});var VT="Schließen",jT="Download Packungsbeilage (pdf)",BT="feile",zT="Nicht angegeben",HT="Rezept",UT="Patient",GT="Verordnende Person",WT="Drucken",Q_e={close:VT,downloadLeaflet:jT,file:BT,notSpecified:zT,prescription:HT,patient:UT,prescriber:GT,prescribedOn:WT},qT={};K(qT,{close:()=>$T,default:()=>exe,downloadLeaflet:()=>YT,file:()=>ZT,notSpecified:()=>KT,patient:()=>XT,prescribedOn:()=>eO,prescriber:()=>QT,prescription:()=>JT});var $T="Close",YT="Download leaflet (pdf)",ZT="file",KT="Not specified",JT="Prescription",XT="Patient",QT="Prescriber",eO="Prescribed on",exe={close:$T,downloadLeaflet:YT,file:ZT,notSpecified:KT,prescription:JT,patient:XT,prescriber:QT,prescribedOn:eO},tO={};K(tO,{close:()=>nO,default:()=>txe,downloadLeaflet:()=>iO,file:()=>aO,notSpecified:()=>rO,patient:()=>sO,prescribedOn:()=>cO,prescriber:()=>lO,prescription:()=>oO});var nO="Fermer",iO="Télécharger la notice (pdf)",aO="fichier",rO="Non spécifié",oO="Prescription",sO="Patient",lO="Prescripteur",cO="Prescrit le",txe={close:nO,downloadLeaflet:iO,file:aO,notSpecified:rO,prescription:oO,patient:sO,prescriber:lO,prescribedOn:cO},uO={};K(uO,{close:()=>dO,default:()=>nxe,downloadLeaflet:()=>hO,file:()=>pO,notSpecified:()=>mO,patient:()=>gO,prescribedOn:()=>yO,prescriber:()=>vO,prescription:()=>fO});var dO="Sluiten",hO="Download bijsluiter (pdf)",pO="bestand",mO="Niet gespecificeerd",fO="Voorschrift",gO="Patiënt",vO="Voorschrijver",yO="Voorgeschreven op",nxe={close:dO,downloadLeaflet:hO,file:pO,notSpecified:mO,prescription:fO,patient:gO,prescriber:vO,prescribedOn:yO},ixe={nl:uO,fr:tO,de:FT,en:qT},bO={};K(bO,{D:()=>_O,DA:()=>xO,DD:()=>wO,DE:()=>EO,DN:()=>SO,DQ:()=>kO,DT:()=>CO,DV:()=>IO,DW:()=>DO,DX:()=>TO,DZ:()=>OO,J:()=>PO,JD:()=>NO,JH2:()=>MO,JQ:()=>RO,JT:()=>AO,JV:()=>LO,JZ:()=>FO,M:()=>VO,MA:()=>jO,MC:()=>BO,MD:()=>zO,ME:()=>HO,MN:()=>UO,MQ:()=>GO,MS:()=>WO,MT:()=>qO,MV:()=>$O,MX:()=>YO,MZ2:()=>ZO,O1:()=>KO,U:()=>XO,UA:()=>rP,UD:()=>eP,UE:()=>lP,UH:()=>JO,UN:()=>oP,UQ:()=>nP,US:()=>aP,UT:()=>QO,UV:()=>tP,UW:()=>cP,UX:()=>sP,UZ:()=>iP,W:()=>uP,WA:()=>dP,WD:()=>hP,WE:()=>pP,WN:()=>mP,WP:()=>fP,WQ:()=>gP,WS:()=>vP,WT:()=>yP,WV:()=>bP,WW:()=>_P,WX:()=>xP,WZ:()=>wP,default:()=>axe,ondemand:()=>EP});var _O="Pro Tag",xO="Pro 8 Tagen",wO="Pro 3 Tagen",EO="Pro 11 Tagen",SO="Pro 9 Tagen",kO="Pro 5 Tagen",CO="Pro 2 Tagen",IO="Pro 4 Tagen",DO="Pro 12 Tagen",TO="Pro 10 Tagen",OO="Pro 6 Tagen",PO="Pro Jahre",NO="Pro 3 Jahren",MO="Pro halbes Jahre",RO="Pro 5 Jahren",AO="Pro 2 Jahren",LO="Pro 4 Jahren",FO="Pro 6 Jahren",VO="Pro Monat",jO="Pro 8 Monaten",BO="Pro 18 Monaten",zO="Pro 3 Monaten",HO="Pro 11 Monaten",UO="Pro 9 Monaten",GO="Pro 5 Monaten",WO="Pro 7 Monaten",qO="Pro 2 Monaten",$O="Pro 4 Monaten",YO="Pro 10 Monaten",ZO="Pro 6 Monaten",KO="Jeden 2 Tagen",JO="Pro halbe Stunde",XO="Pro Uhr",QO="Pro 2 Uhren",eP="Pro 3 Uhren",tP="Pro 4 Uhren",nP="Pro 5 Uhren",iP="Pro 6 Uhren",aP="Pro 7 Uhren",rP="Pro 8 Uhren",oP="Pro 9 Uhren",sP="Pro 10 Uhren",lP="Pro 11 Uhren",cP="Pro 12 Uhren",uP="Pro Woche",dP="Pro 8 Wochen",hP="Pro 3 Wochen",pP="Pro 11 Wochen",mP="Pro 9 Wochen",fP="Pro 24 Wochen",gP="Pro 5 Wochen",vP="Pro 7 Wochen",yP="Pro 2 Wochen",bP="Pro 4 Wochen",_P="Pro 12 Wochen",xP="Pro 10 Wochen",wP="Pro 6 Wochen",EP="Auf Nachfrage",axe={D:_O,DA:xO,DD:wO,DE:EO,DN:SO,DQ:kO,DT:CO,DV:IO,DW:DO,DX:TO,DZ:OO,J:PO,JD:NO,JH2:MO,JQ:RO,JT:AO,JV:LO,JZ:FO,M:VO,MA:jO,MC:BO,MD:zO,ME:HO,MN:UO,MQ:GO,MS:WO,MT:qO,MV:$O,MX:YO,MZ2:ZO,O1:KO,UH:JO,U:XO,UT:QO,UD:eP,UV:tP,UQ:nP,UZ:iP,US:aP,UA:rP,UN:oP,UX:sP,UE:lP,UW:cP,W:uP,WA:dP,WD:hP,WE:pP,WN:mP,WP:fP,WQ:gP,WS:vP,WT:yP,WV:bP,WW:_P,WX:xP,WZ:wP,ondemand:EP},SP={};K(SP,{D:()=>VP,DA:()=>qP,DD:()=>zP,DE:()=>ZP,DN:()=>$P,DQ:()=>UP,DT:()=>jP,DV:()=>HP,DW:()=>KP,DX:()=>YP,DZ:()=>GP,J:()=>xN,JD:()=>SN,JH2:()=>mN,JQ:()=>CN,JT:()=>EN,JV:()=>kN,JZ:()=>IN,M:()=>eN,MA:()=>vN,MC:()=>wN,MD:()=>uN,ME:()=>_N,MN:()=>yN,MQ:()=>hN,MS:()=>gN,MT:()=>rN,MV:()=>dN,MX:()=>bN,MZ2:()=>fN,O1:()=>BP,U:()=>CP,UA:()=>MP,UD:()=>DP,UE:()=>LP,UH:()=>kP,UN:()=>RP,UQ:()=>OP,US:()=>NP,UT:()=>IP,UV:()=>TP,UW:()=>FP,UX:()=>AP,UZ:()=>PP,W:()=>WP,WA:()=>aN,WD:()=>XP,WE:()=>lN,WN:()=>oN,WP:()=>pN,WQ:()=>tN,WS:()=>iN,WT:()=>JP,WV:()=>QP,WW:()=>cN,WX:()=>sN,WZ:()=>nN,default:()=>rxe,ondemand:()=>DN});var kP="Per half hour",CP="Per hour",IP="Per 2 hours",DP="Per 3 hours",TP="Per 4 hours",OP="Per 5 hours",PP="Per 6 hours",NP="Per 7 hours",MP="Per 8 hours",RP="Per 9 hours",AP="Per 10 hours",LP="Per11 hours",FP="Per 12 hours",VP="Per day",jP="Per 2 days",BP="Every 2 days",zP="Per 3 days",HP="Per 4 days",UP="Per 5 days",GP="Per 6 days",WP="Per 7 days",qP="Per 8 days",$P="Per 9 days",YP="Per 10 days",ZP="Per 11 days",KP="Per 12 days",JP="Per 2 weeks",XP="Per 3 weeks",QP="Per 4 weeks",eN="Per month",tN="Per 5 weeks",nN="Per 6 weeks",iN="Per 7 weeks",aN="Per 8 weeks",rN="Per 2 months",oN="Per 9 weeks",sN="Per 10 weeks",lN="Per 11 weeks",cN="Per 12 weeks",uN="Per 3 months",dN="Per 4 months",hN="Per 5 months",pN="Per 24 weeks",mN="Per half year",fN="Per 6 months",gN="Per 7 months",vN="Per 8 months",yN="Per 9 months",bN="Per 10 months",_N="Per 11 months",xN="Per Year",wN="Per 18 months",EN="Per 2 years",SN="Per 3 years",kN="Per 4 years",CN="Per 5 years",IN="Per 6 years",DN="On demand",rxe={UH:kP,U:CP,UT:IP,UD:DP,UV:TP,UQ:OP,UZ:PP,US:NP,UA:MP,UN:RP,UX:AP,UE:LP,UW:FP,D:VP,DT:jP,O1:BP,DD:zP,DV:HP,DQ:UP,DZ:GP,W:WP,DA:qP,DN:$P,DX:YP,DE:ZP,DW:KP,WT:JP,WD:XP,WV:QP,M:eN,WQ:tN,WZ:nN,WS:iN,WA:aN,MT:rN,WN:oN,WX:sN,WE:lN,WW:cN,MD:uN,MV:dN,MQ:hN,WP:pN,JH2:mN,MZ2:fN,MS:gN,MA:vN,MN:yN,MX:bN,ME:_N,J:xN,MC:wN,JT:EN,JD:SN,JV:kN,JQ:CN,JZ:IN,ondemand:DN},TN={};K(TN,{D:()=>ON,DA:()=>PN,DD:()=>NN,DE:()=>MN,DN:()=>RN,DQ:()=>AN,DT:()=>LN,DV:()=>FN,DW:()=>VN,DX:()=>jN,DZ:()=>BN,J:()=>zN,JD:()=>HN,JH2:()=>UN,JQ:()=>GN,JT:()=>WN,JV:()=>qN,JZ:()=>$N,M:()=>YN,MA:()=>ZN,MC:()=>KN,MD:()=>JN,ME:()=>XN,MN:()=>QN,MQ:()=>eM,MS:()=>tM,MT:()=>nM,MV:()=>iM,MX:()=>aM,MZ2:()=>rM,O1:()=>oM,U:()=>lM,UA:()=>fM,UD:()=>uM,UE:()=>yM,UH:()=>sM,UN:()=>gM,UQ:()=>hM,US:()=>mM,UT:()=>cM,UV:()=>dM,UW:()=>bM,UX:()=>vM,UZ:()=>pM,W:()=>_M,WA:()=>xM,WD:()=>wM,WE:()=>EM,WN:()=>SM,WP:()=>kM,WQ:()=>CM,WS:()=>IM,WT:()=>DM,WV:()=>TM,WW:()=>OM,WX:()=>PM,WZ:()=>NM,default:()=>oxe,ondemand:()=>MM});var ON="Par jour",PN="Par 8 jours",NN="Par 3 jours",MN="Par 11 jours",RN="Par 9 jours",AN="Par 5 jours",LN="Par 2 jours",FN="Par 4 jours",VN="Par 12 jours",jN="Par 10 jours",BN="Par 6 jours",zN="Par an",HN="Par 3 années",UN="Par demi-années",GN="Par 5 années",WN="Par 2 années",qN="Par 4 années",$N="Par 6 années",YN="Par mois",ZN="Par 8 mois",KN="Par 18 mois",JN="Par 3 mois",XN="Par 11 mois",QN="Par 9 mois",eM="Par 5 mois",tM="Par 7 mois",nM="Par 2 mois",iM="Par 4 mois",aM="Par 10 mois",rM="Par 6 mois",oM="Tous les 2 jours",sM="Par demi-heure",lM="Par heure",cM="Par 2 heures",uM="Par 3 heures",dM="Par 4 heures",hM="Par 5 heures",pM="Par 6 heures",mM="Par 7 heures",fM="Par 8 heures",gM="Par 9 heures",vM="Par 10 heures",yM="Par 11 heures",bM="Par 12 heures",_M="Par semaine",xM="Par 8 semaines",wM="Par 3 semaines",EM="Par 11 semaines",SM="Par 9 semaines",kM="Par 24 semaines",CM="Par 5 semaines",IM="Par 7 semaines",DM="Par 2 semaines",TM="Par 4 semaines",OM="Par 12 semaines",PM="Par 10 semaines",NM="Par 6 semaines",MM="Sur demande",oxe={D:ON,DA:PN,DD:NN,DE:MN,DN:RN,DQ:AN,DT:LN,DV:FN,DW:VN,DX:jN,DZ:BN,J:zN,JD:HN,JH2:UN,JQ:GN,JT:WN,JV:qN,JZ:$N,M:YN,MA:ZN,MC:KN,MD:JN,ME:XN,MN:QN,MQ:eM,MS:tM,MT:nM,MV:iM,MX:aM,MZ2:rM,O1:oM,UH:sM,U:lM,UT:cM,UD:uM,UV:dM,UQ:hM,UZ:pM,US:mM,UA:fM,UN:gM,UX:vM,UE:yM,UW:bM,W:_M,WA:xM,WD:wM,WE:EM,WN:SM,WP:kM,WQ:CM,WS:IM,WT:DM,WV:TM,WW:OM,WX:PM,WZ:NM,ondemand:MM},RM={};K(RM,{D:()=>AM,DA:()=>LM,DD:()=>FM,DE:()=>VM,DN:()=>jM,DQ:()=>BM,DT:()=>zM,DV:()=>HM,DW:()=>UM,DX:()=>GM,DZ:()=>WM,J:()=>qM,JD:()=>$M,JH2:()=>YM,JQ:()=>ZM,JT:()=>KM,JV:()=>JM,JZ:()=>XM,M:()=>QM,MA:()=>eR,MC:()=>tR,MD:()=>nR,ME:()=>iR,MN:()=>aR,MQ:()=>rR,MS:()=>oR,MT:()=>sR,MV:()=>lR,MX:()=>cR,MZ2:()=>uR,O1:()=>dR,U:()=>pR,UA:()=>_R,UD:()=>fR,UE:()=>ER,UH:()=>hR,UN:()=>xR,UQ:()=>vR,US:()=>bR,UT:()=>mR,UV:()=>gR,UW:()=>SR,UX:()=>wR,UZ:()=>yR,W:()=>kR,WA:()=>CR,WD:()=>IR,WE:()=>DR,WN:()=>TR,WP:()=>OR,WQ:()=>PR,WS:()=>NR,WT:()=>MR,WV:()=>RR,WW:()=>AR,WX:()=>LR,WZ:()=>FR,default:()=>sxe,ondemand:()=>VR});var AM="Dagelijks",LM="Om de 8 dagen",FM="Om de 3 dagen",VM="Om de 11 dagen",jM="Om de 9 dagen",BM="Om de 5 dagen",zM="Om de 2 dagen",HM="Om de 4 dagen",UM="Om de 12 dagen",GM="Om de 10 dagen",WM="Om de 6 dagen",qM="Jaarlijks",$M="Om de 3 jaar",YM="Halfjaarlijks",ZM="Om de 5 jaar",KM="Om de 2 jaar",JM="Om de 4 jaar",XM="Om de 6 jaar",QM="Maandelijks",eR="Om de 8 maanden",tR="Om de 18 maanden",nR="Om de 3 maanden",iR="Om de 11 maanden",aR="Om de 9 maanden",rR="Om de 5 maanden",oR="Om de 7 maanden",sR="Om de 2 maanden",lR="Om de 4 maanden",cR="Om de 10 maanden",uR="Om de 6 maanden",dR="Om de 2 dagen",hR="Om het half uur",pR="Om het uur",mR="Om de 2 uren",fR="Om de 3 uren",gR="Om de 4 uren",vR="Om de 5 uren",yR="Om de 6 uren",bR="Om de 7 uren",_R="Om de 8 uren",xR="Om de 9 uren",wR="Om de 10 uren",ER="Om de 11 uren",SR="Om de 12 uren",kR="Wekelijks",CR="Om de 8 weken",IR="Om de 3 weken",DR="Om de 11 weken",TR="Om de 9 weken",OR="Om de 24 weken",PR="Om de 5 weken",NR="Om de 7 weken",MR="Om de 2 weken",RR="Om de 4 weken",AR="Om de 12 weken",LR="Om de 10 weken",FR="Om de 6 weken",VR="Op aanvraag",sxe={D:AM,DA:LM,DD:FM,DE:VM,DN:jM,DQ:BM,DT:zM,DV:HM,DW:UM,DX:GM,DZ:WM,J:qM,JD:$M,JH2:YM,JQ:ZM,JT:KM,JV:JM,JZ:XM,M:QM,MA:eR,MC:tR,MD:nR,ME:iR,MN:aR,MQ:rR,MS:oR,MT:sR,MV:lR,MX:cR,MZ2:uR,O1:dR,UH:hR,U:pR,UT:mR,UD:fR,UV:gR,UQ:vR,UZ:yR,US:bR,UA:_R,UN:xR,UX:wR,UE:ER,UW:SR,W:kR,WA:CR,WD:IR,WE:DR,WN:TR,WP:OR,WQ:PR,WS:NR,WT:MR,WV:RR,WW:AR,WX:LR,WZ:FR,ondemand:VR},lxe={nl:RM,fr:TN,de:bO,en:SP},jR={};K(jR,{afterbreakfast:()=>BR,afterdinner:()=>zR,afterlunch:()=>HR,aftermeal:()=>UR,afternoon:()=>GR,beforebreakfast:()=>WR,beforedinner:()=>qR,beforelunch:()=>$R,betweenbreakfastandlunch:()=>YR,betweendinnerandsleep:()=>ZR,betweenlunchanddinner:()=>KR,betweenmeals:()=>JR,breakfast:()=>XR,default:()=>cxe,dinner:()=>QR,duringbreakfast:()=>eA,duringdinner:()=>tA,duringlunch:()=>nA,evening:()=>iA,lunch:()=>aA,morning:()=>rA,night:()=>oA,thehourofsleep:()=>sA});var BR="nach dem Frühstück",zR="nach dem Abendessen",HR="nach dem Mittagessen",UR="nach dem Essen",GR="Nachmittag",WR="vor dem Frühstück",qR="vor dem Abendessen",$R="vor dem Mittagessen",YR="zwischen Frühstück und Mittagessen",ZR="zwischen Abendessen und Nachtruhe",KR="zwischen Mittagessen und Abendessen",JR="zwischen den Mahlzeiten",XR="Frühstück",QR="Abendessen",eA="zum Frühstück",tA="zum Abendessen",nA="zum Mittagessen",iA="Abend",aA="Mittagessen",rA="Vormittag",oA="Nacht",sA="Nachtruhe",cxe={afterbreakfast:BR,afterdinner:zR,afterlunch:HR,aftermeal:UR,afternoon:GR,beforebreakfast:WR,beforedinner:qR,beforelunch:$R,betweenbreakfastandlunch:YR,betweendinnerandsleep:ZR,betweenlunchanddinner:KR,betweenmeals:JR,breakfast:XR,dinner:QR,duringbreakfast:eA,duringdinner:tA,duringlunch:nA,evening:iA,lunch:aA,morning:rA,night:oA,thehourofsleep:sA},lA={};K(lA,{afterbreakfast:()=>cA,afterdinner:()=>uA,afterlunch:()=>dA,aftermeal:()=>hA,afternoon:()=>pA,beforebreakfast:()=>mA,beforedinner:()=>fA,beforelunch:()=>gA,betweenbreakfastandlunch:()=>vA,betweendinnerandsleep:()=>yA,betweenlunchanddinner:()=>bA,betweenmeals:()=>_A,breakfast:()=>xA,default:()=>uxe,dinner:()=>wA,duringbreakfast:()=>EA,duringdinner:()=>SA,duringlunch:()=>kA,evening:()=>CA,lunch:()=>IA,morning:()=>DA,night:()=>TA,thehourofsleep:()=>OA});var cA="after breakfast",uA="after dinner",dA="after lunch",hA="after meal",pA="afternoon",mA="before breakfast",fA="before dinner",gA="before lunch",vA="between breakfast and lunch",yA="between dinner and the hour of sleep",bA="between lunch and dinner",_A="between meals",xA="breakfast",wA="dinner",EA="during breakfast",SA="during dinner",kA="during lunch",CA="evening",IA="lunch",DA="morning",TA="night",OA="the hour of sleep",uxe={afterbreakfast:cA,afterdinner:uA,afterlunch:dA,aftermeal:hA,afternoon:pA,beforebreakfast:mA,beforedinner:fA,beforelunch:gA,betweenbreakfastandlunch:vA,betweendinnerandsleep:yA,betweenlunchanddinner:bA,betweenmeals:_A,breakfast:xA,dinner:wA,duringbreakfast:EA,duringdinner:SA,duringlunch:kA,evening:CA,lunch:IA,morning:DA,night:TA,thehourofsleep:OA},PA={};K(PA,{afterbreakfast:()=>NA,afterdinner:()=>MA,afterlunch:()=>RA,aftermeal:()=>AA,afternoon:()=>LA,beforebreakfast:()=>FA,beforedinner:()=>VA,beforelunch:()=>jA,betweenbreakfastandlunch:()=>BA,betweendinnerandsleep:()=>zA,betweenlunchanddinner:()=>HA,betweenmeals:()=>UA,breakfast:()=>GA,default:()=>dxe,dinner:()=>WA,duringbreakfast:()=>qA,duringdinner:()=>$A,duringlunch:()=>YA,evening:()=>ZA,lunch:()=>KA,morning:()=>JA,night:()=>XA,thehourofsleep:()=>QA});var NA="après le petit-déjeuner",MA="après le repas du soir",RA="après le repas du midi",AA="après le repas",LA="après-midi",FA="avant le petit-déjeuner",VA="avant le repas du soir",jA="avant le repas du midi",BA="entre le petit-déjeuner et le repas du midi",zA="entre le repas du soir et l’heure du coucher",HA="entre le repas du midi et le repas du soir",UA="entre les repas",GA="petit-déjeuner",WA="repas du soir",qA="pendant le petit-déjeuner",$A="pendant le repas du soir",YA="pendant le repas du midi",ZA="soir",KA="repas du midi",JA="matin",XA="nuit",QA="heure du coucher",dxe={afterbreakfast:NA,afterdinner:MA,afterlunch:RA,aftermeal:AA,afternoon:LA,beforebreakfast:FA,beforedinner:VA,beforelunch:jA,betweenbreakfastandlunch:BA,betweendinnerandsleep:zA,betweenlunchanddinner:HA,betweenmeals:UA,breakfast:GA,dinner:WA,duringbreakfast:qA,duringdinner:$A,duringlunch:YA,evening:ZA,lunch:KA,morning:JA,night:XA,thehourofsleep:QA},eL={};K(eL,{afterbreakfast:()=>tL,afterdinner:()=>nL,afterlunch:()=>iL,aftermeal:()=>aL,afternoon:()=>rL,beforebreakfast:()=>oL,beforedinner:()=>sL,beforelunch:()=>lL,betweenbreakfastandlunch:()=>cL,betweendinnerandsleep:()=>uL,betweenlunchanddinner:()=>dL,betweenmeals:()=>hL,breakfast:()=>pL,default:()=>hxe,dinner:()=>mL,duringbreakfast:()=>fL,duringdinner:()=>gL,duringlunch:()=>vL,evening:()=>yL,lunch:()=>bL,morning:()=>_L,night:()=>xL,thehourofsleep:()=>wL});var tL="na het ontbijt",nL="na het avondmaal",iL="na het middagmaal",aL="na de maaltijd",rL="namiddag",oL="voor het ontbijt",sL="voor het avondmaal",lL="voor het middagmaal",cL="tussen het ontbijt en het middagmaal",uL="tussen het avondmaal en het slapen gaan",dL="tussen het middagmaal en het avondmaal",hL="tussen de maaltijden",pL="ontbijt",mL="avondmaal",fL="tijdens het ontbijt",gL="tijdens het avondmaal",vL="tijdens het middagmaal",yL="'s avonds",bL="middagmaal",_L="'s ochtends",xL="'s nachts",wL="voor het slapen gaan",hxe={afterbreakfast:tL,afterdinner:nL,afterlunch:iL,aftermeal:aL,afternoon:rL,beforebreakfast:oL,beforedinner:sL,beforelunch:lL,betweenbreakfastandlunch:cL,betweendinnerandsleep:uL,betweenlunchanddinner:dL,betweenmeals:hL,breakfast:pL,dinner:mL,duringbreakfast:fL,duringdinner:gL,duringlunch:vL,evening:yL,lunch:bL,morning:_L,night:xL,thehourofsleep:wL},pxe={nl:eL,fr:PA,de:jR,en:lA},EL={};K(EL,{day:()=>SL,default:()=>mxe,during:()=>IL,on:()=>CL,week:()=>kL});var SL="Tag",kL="Woche",CL="am",IL="für",mxe={day:SL,week:kL,on:CL,during:IL},DL={};K(DL,{day:()=>TL,default:()=>fxe,during:()=>NL,on:()=>PL,week:()=>OL});var TL="day",OL="week",PL="on",NL="during",fxe={day:TL,week:OL,on:PL,during:NL},ML={};K(ML,{day:()=>RL,default:()=>gxe,during:()=>FL,on:()=>LL,week:()=>AL});var RL="jour",AL="semaine",LL="le",FL="durant",gxe={day:RL,week:AL,on:LL,during:FL},VL={};K(VL,{day:()=>jL,default:()=>vxe,during:()=>HL,on:()=>zL,week:()=>BL});var jL="dag",BL="week",zL="op",HL="gedurende",vxe={day:jL,week:BL,on:zL,during:HL},yxe={nl:VL,fr:ML,de:EL,en:DL},UL={};K(UL,{ambulance_driver:()=>GL,ambulance_first_aid:()=>WL,ambulance_rescuer:()=>qL,application:()=>$L,applied_psychology_bachelor:()=>YL,audician:()=>ZL,audiologist:()=>KL,biologist_pharmacist:()=>JL,care_giver:()=>XL,certificateholder:()=>QL,citizen:()=>eF,clinical_orthopedic_pedagogue:()=>tF,clinical_psychologist:()=>nF,default:()=>bxe,dental_hygienist:()=>iF,dentist:()=>aF,deptalgology:()=>rF,deptanatomopathology:()=>oF,deptanesthesiology:()=>sF,deptbacteriology:()=>lF,deptcardiacsurgery:()=>cF,deptcardiology:()=>uF,deptchildandadolescentpsychiatry:()=>dF,deptdentistry:()=>hF,deptdermatology:()=>pF,deptdiabetology:()=>mF,deptdietetics:()=>fF,deptemergency:()=>gF,deptendocrinology:()=>vF,deptgastroenterology:()=>yF,deptgeneralpractice:()=>bF,deptgenetics:()=>_F,deptgeriatry:()=>xF,deptgynecology:()=>wF,depthandsurgery:()=>EF,depthematology:()=>SF,deptinfectiousdisease:()=>kF,deptintensivecare:()=>CF,deptkinesitherapy:()=>IF,deptlaboratory:()=>DF,deptmajorburns:()=>TF,deptmaxillofacialsurgery:()=>OF,deptmedicine:()=>PF,deptmolecularbiology:()=>NF,deptneonatalogy:()=>MF,deptnephrology:()=>RF,deptneurology:()=>AF,deptneurosurgery:()=>LF,deptnte:()=>FF,deptnuclear:()=>VF,deptnursing:()=>jF,deptnutritiondietetics:()=>BF,deptobstetrics:()=>zF,deptoccupationaltherapy:()=>HF,deptoncology:()=>UF,deptophtalmology:()=>GF,deptorthopedy:()=>WF,deptpalliativecare:()=>qF,deptpediatricintensivecare:()=>$F,deptpediatricsurgery:()=>YF,deptpediatry:()=>ZF,deptpharmacy:()=>KF,deptphysicalmedecine:()=>JF,deptphysiotherapy:()=>XF,deptplasticandreparatorysurgery:()=>QF,deptpneumology:()=>e3,deptpodiatry:()=>t3,deptpodology:()=>n3,deptpsychiatry:()=>i3,deptpsychogeriatry:()=>a3,deptpsychology:()=>r3,deptradiology:()=>o3,deptradiotherapy:()=>s3,deptrevalidation:()=>l3,deptrheumatology:()=>c3,deptrhumatology:()=>u3,deptsenology:()=>d3,deptsocialservice:()=>h3,deptspeechtherapy:()=>p3,deptsportsmedecine:()=>m3,deptstomatology:()=>f3,deptsurgery:()=>g3,deptthoracicsurgery:()=>v3,depttoxicology:()=>y3,depttropicalmedecine:()=>b3,depturology:()=>_3,deptvascularsurgery:()=>x3,deptvisceraldigestiveabdominalsurgery:()=>w3,diabete_equipment_supplier:()=>E3,dietician:()=>S3,doctor:()=>k3,family_science_bachelor:()=>C3,gerontology_master:()=>I3,groupofnurses:()=>D3,groupofphysiciansdifferentaddress:()=>T3,groupofphysicianssameaddress:()=>O3,guardpost:()=>P3,hub:()=>N3,imaging_technologist:()=>M3,implantprovider:()=>R3,lab_technologist:()=>A3,logopedist:()=>L3,midwife:()=>F3,nurse:()=>V3,occupational_therapist:()=>j3,optician:()=>B3,orghospital:()=>z3,orginsurance:()=>H3,orglaboratory:()=>U3,orgpharmacy:()=>G3,orgpharmacyinvoicingoffice:()=>W3,orgpolyclinic:()=>q3,orgpractice:()=>$3,orgprevention:()=>Y3,orgprimaryhealthcarecenter:()=>Z3,orgpsychiatriccarehome:()=>K3,orgpublichealth:()=>J3,orgretirementhome:()=>X3,orgrevalidationcenter:()=>Q3,orgshelteredliving:()=>e5,orthopedagogist_master:()=>t5,orthopedist:()=>n5,orthoptist:()=>i5,orthotist:()=>a5,patient:()=>r5,pediatric_nurse:()=>o5,persadministrative:()=>s5,persambulancefirstaid:()=>l5,persappliedpsychbachelor:()=>c5,persaudician:()=>u5,persaudiologist:()=>d5,persbandagistorthosiologist:()=>h5,persbiologist:()=>p5,perscaregiver:()=>m5,persclinicalorthopedagogist:()=>f5,persclinicalpsychologist:()=>g5,persdentist:()=>v5,persdietician:()=>y5,perseducator:()=>b5,persfamilysciencebachelor:()=>_5,persgerontologymaster:()=>x5,perslogopedist:()=>w5,persmidwife:()=>E5,persmobilityimprover:()=>S5,persnurse:()=>k5,persoccupationaltherapist:()=>C5,persoptician:()=>I5,persoptometrist:()=>D5,persoraldentalhygienist:()=>T5,persorthopedagogistmaster:()=>O5,persorthopedist:()=>P5,persorthoptist:()=>N5,persorthotist:()=>M5,persparamedical:()=>R5,perspatientdriver:()=>A5,perspharmacist:()=>L5,perspharmacistclinicalbiologist:()=>F5,perspharmacyassistant:()=>V5,persphysician:()=>j5,persphysiotherapist:()=>B5,perspodologist:()=>z5,perspracticalnurse:()=>H5,persprosthesiologist:()=>U5,perspsychologist:()=>G5,perspsychomotortherapymaster:()=>W5,persreadaptationbachelor:()=>q5,persshoetechnologist:()=>$5,perssocialworker:()=>Y5,perstechnician:()=>Z5,perstrussmaker:()=>K5,pharmacist:()=>J5,pharmacist_assistant:()=>X5,physician:()=>Q5,physiotherapist:()=>eV,podologist:()=>tV,practical_nurse:()=>nV,prosthetist:()=>iV,psychologist:()=>aV,psychomotor_therapy_master:()=>rV,readaptaion_bachelor:()=>oV,social_worker:()=>sV,specialized_educator:()=>lV,truss_maker:()=>cV});var GL="Rettungswagenfahrer",WL="Rettungssanitäter",qL="Rettungssanitäter",$L="Softwareapplikation",YL="Bachelor der angewandten Psychologie",ZL="Hörgeräteakustiker",KL="Audiologe",JL="Fachapotheker für klinische Chemie",XL="Pflegekräfte",QL="Zertifikatinhaber",eF="Bürger",tF="Klinischer Heilpädagoge",nF="Klinischer Psychologe",iF="Dentalhygieniker",aF="Zahnarzt",rF="Algologie",oF="pathologische Anatomie",sF="Anästhesiologie",lF="Bakteriologie",cF="Herzchirurgie",uF="Kardiologie",dF="Kinder-und Jugendpsychiatrie",hF="Zahnheilkunde",pF="Dermatologie",mF="Diabetologie",fF="Diätetik",gF="Notaufnahme",vF="Endokrinologie",yF="Gastroenterologie",bF="Allgemeinmedizin",_F="Genetik",xF="Geriatrie",wF="Gynäkologie",EF="Handchirurgie",SF="Hämatologie",kF="Infektionskrankheit",CF="Intensivmedizin",IF="Physiotherapie",DF="Labordienst/-abteilung einer Einrichtung",TF="Schwerbrandverletztenzentrum",OF="Mund-Kiefer-Gesichtschirurgie",PF="Innere Medizin",NF="Molekularbiologie",MF="Neonatologie",RF="Nephrologie",AF="Neurologie",LF="Neurologie",FF="Hals-Nasen-Ohren-Heilkunde (HNO)",VF="Nuklearmedizin",jF="Krankenpflege",BF="Diätetik",zF="Geburtshilfe",HF="Ergotherapie",UF="Onkologie",GF="Augenheilkunde",WF="Orthopädie",qF="Palliativpflege",$F="Kinder-Intensivstation",YF="Kinderchirurgie",ZF="Pädiatrie",KF="Apothekendienst/-abteilung einer Einrichtung",JF="physikalische Medizin",XF="Physiotherapie",QF="plastische Chirurgie und rekonstruktive Chirurgie",e3="Pneumologie",t3="Podiatrie",n3="",i3="Psychiatrie",a3="Psychogeriatrie",r3="Psychologie",o3="Radiologie",s3="Strahlentherapie",l3="Rehabilitation",c3="Rheumatologie",u3="",d3="Senologie",h3="Sozialdienst",p3="Logopädie",m3="Sportmedizin",f3="Stomatologie",g3="Chirurgie",v3="Thoraxchirurgie",y3="Toxikologie",b3="Tropenmedizin",_3="Urologie",x3="Vaskuläre Chirurgie",w3="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",E3="Lieferant von Material für Diabetesselbstverwaltung ",S3="Diätassistent",k3="Arzt",C3="Bachelor der Familienwissenschaften",I3="Master der Gerontologie",D3="Krankenpflegeverband",T3="Zusammenschluss von Ärzten, unterschiedliche Adresse",O3="Zusammenschluss von Ärzten, gleiche Adresse",P3="Schwesternstützpunkt",N3="Hub",M3="Technologe im bildgebenden Diagnoseverfahren",R3="Lieferant von Implantaten",A3="Labortechniker",L3="Logopäde",F3="Hebamme",V3="Fachkraft für Krankenpflege",j3="Ergotherapeut",B3="Optiker",z3="Krankenhaus",H3="Versicherung",U3="Unabhängiges Labor",G3="Unabhängige Apotheke",W3="Rechnungstelle für Apotheken",q3="Poliklinik",$3="Praxis",Y3="Präventionsdienst",Z3="Gesundheits- und Sozialzentrum",K3="psychiatrische Klinik",J3="Gesundheitsbehörde",X3="Altenheim",Q3="Reha-Klinik",e5="Initiative für begleitetes Wohnen",t5="Master der Heilpädagogik",n5="Orthopäde",i5="Orthoptist-Optometrist",a5="Orthopädietechniker",r5="Patient",o5="Kinderkrankenschwester",s5="Büroangestellter",l5="Rettungswagen",c5="Bachelor in angewandter Psychologie",u5="Hörgeräteakustiker",d5="Audiologe",h5="Bandagist Orthosiologe (Orthopädietechniker)",p5="medizinischer Labortechniker",m5="informelle Pflegeperson",f5="Klinischer Heilpädagoge",g5="Klinischer Psychologe",v5="Zahnarzt",y5="Diätassistent",b5="Erzieher",_5="Bachelor in Familienwissenschaften",x5="Master in Gerontologie",w5="Logopäde",E5="Hebamme",S5="Mobilitätsverbesserer (Orthopädietechniker)",k5="Krankenpfleger",C5="Ergotherapeut",I5="Optiker",D5="Optometrist",T5="Dentalhygieniker",O5="Master in Heilpädagogik",P5="Orthopädist",N5="Orthoptist",M5="Orthopädietechniker/Prothesenbauer",R5="medizinische Hilfskraft",A5="Fahrdienst",L5="Apotheker",F5="Fachapotheker für klinische Chemie",V5="Apothekenhelfer",j5="Arzt",B5="Physiotherapeut",z5="Podologe",H5="Pfleger",U5="Orthopädietechniker (Orthopädietechniker)",G5="Psychologe",W5="Master in Psychomotorik",q5="Bachelor in Rehabilitation",$5="Schuhtechniker (Orthopädietechniker)",Y5="Sozialarbeiter",Z5="Techniker für medizinische Bildgebung",K5="Bandagist",J5="Apotheker",X5="Pharmazeutisch-technischer Assistent ",Q5="Arzt",eV="Physiotherapeut",tV="Podologe",nV="Pflegehelfer",iV="Prothesenhersteller",aV="Psychologe",rV="Master der psychomotorischen Therapie",oV="Bachelor der Rehabilitationswissenschaften",sV="Sozialassistent",lV="Bachelor der Erziehungswissenschaften",cV="Bandagist",bxe={ambulance_driver:GL,ambulance_first_aid:WL,ambulance_rescuer:qL,application:$L,applied_psychology_bachelor:YL,audician:ZL,audiologist:KL,biologist_pharmacist:JL,care_giver:XL,certificateholder:QL,citizen:eF,clinical_orthopedic_pedagogue:tF,clinical_psychologist:nF,dental_hygienist:iF,dentist:aF,deptalgology:rF,deptanatomopathology:oF,deptanesthesiology:sF,deptbacteriology:lF,deptcardiacsurgery:cF,deptcardiology:uF,deptchildandadolescentpsychiatry:dF,deptdentistry:hF,deptdermatology:pF,deptdiabetology:mF,deptdietetics:fF,deptemergency:gF,deptendocrinology:vF,deptgastroenterology:yF,deptgeneralpractice:bF,deptgenetics:_F,deptgeriatry:xF,deptgynecology:wF,depthandsurgery:EF,depthematology:SF,deptinfectiousdisease:kF,deptintensivecare:CF,deptkinesitherapy:IF,deptlaboratory:DF,deptmajorburns:TF,deptmaxillofacialsurgery:OF,deptmedicine:PF,deptmolecularbiology:NF,deptneonatalogy:MF,deptnephrology:RF,deptneurology:AF,deptneurosurgery:LF,deptnte:FF,deptnuclear:VF,deptnursing:jF,deptnutritiondietetics:BF,deptobstetrics:zF,deptoccupationaltherapy:HF,deptoncology:UF,deptophtalmology:GF,deptorthopedy:WF,deptpalliativecare:qF,deptpediatricintensivecare:$F,deptpediatricsurgery:YF,deptpediatry:ZF,deptpharmacy:KF,deptphysicalmedecine:JF,deptphysiotherapy:XF,deptplasticandreparatorysurgery:QF,deptpneumology:e3,deptpodiatry:t3,deptpodology:n3,deptpsychiatry:i3,deptpsychogeriatry:a3,deptpsychology:r3,deptradiology:o3,deptradiotherapy:s3,deptrevalidation:l3,deptrheumatology:c3,deptrhumatology:u3,deptsenology:d3,deptsocialservice:h3,deptspeechtherapy:p3,deptsportsmedecine:m3,deptstomatology:f3,deptsurgery:g3,deptthoracicsurgery:v3,depttoxicology:y3,depttropicalmedecine:b3,depturology:_3,deptvascularsurgery:x3,deptvisceraldigestiveabdominalsurgery:w3,diabete_equipment_supplier:E3,dietician:S3,doctor:k3,family_science_bachelor:C3,gerontology_master:I3,groupofnurses:D3,groupofphysiciansdifferentaddress:T3,groupofphysicianssameaddress:O3,guardpost:P3,hub:N3,imaging_technologist:M3,implantprovider:R3,lab_technologist:A3,logopedist:L3,midwife:F3,nurse:V3,occupational_therapist:j3,optician:B3,orghospital:z3,orginsurance:H3,orglaboratory:U3,orgpharmacy:G3,orgpharmacyinvoicingoffice:W3,orgpolyclinic:q3,orgpractice:$3,orgprevention:Y3,orgprimaryhealthcarecenter:Z3,orgpsychiatriccarehome:K3,orgpublichealth:J3,orgretirementhome:X3,orgrevalidationcenter:Q3,orgshelteredliving:e5,orthopedagogist_master:t5,orthopedist:n5,orthoptist:i5,orthotist:a5,patient:r5,pediatric_nurse:o5,persadministrative:s5,persambulancefirstaid:l5,persappliedpsychbachelor:c5,persaudician:u5,persaudiologist:d5,persbandagistorthosiologist:h5,persbiologist:p5,perscaregiver:m5,persclinicalorthopedagogist:f5,persclinicalpsychologist:g5,persdentist:v5,persdietician:y5,perseducator:b5,persfamilysciencebachelor:_5,persgerontologymaster:x5,perslogopedist:w5,persmidwife:E5,persmobilityimprover:S5,persnurse:k5,persoccupationaltherapist:C5,persoptician:I5,persoptometrist:D5,persoraldentalhygienist:T5,persorthopedagogistmaster:O5,persorthopedist:P5,persorthoptist:N5,persorthotist:M5,persparamedical:R5,perspatientdriver:A5,perspharmacist:L5,perspharmacistclinicalbiologist:F5,perspharmacyassistant:V5,persphysician:j5,persphysiotherapist:B5,perspodologist:z5,perspracticalnurse:H5,persprosthesiologist:U5,perspsychologist:G5,perspsychomotortherapymaster:W5,persreadaptationbachelor:q5,persshoetechnologist:$5,perssocialworker:Y5,perstechnician:Z5,perstrussmaker:K5,pharmacist:J5,pharmacist_assistant:X5,physician:Q5,physiotherapist:eV,podologist:tV,practical_nurse:nV,prosthetist:iV,psychologist:aV,psychomotor_therapy_master:rV,readaptaion_bachelor:oV,social_worker:sV,specialized_educator:lV,truss_maker:cV},uV={};K(uV,{ambulance_driver:()=>dV,ambulance_first_aid:()=>hV,ambulance_rescuer:()=>pV,application:()=>mV,applied_psychology_bachelor:()=>fV,audician:()=>gV,audiologist:()=>vV,biologist_pharmacist:()=>yV,care_giver:()=>bV,certificateholder:()=>_V,citizen:()=>xV,clinical_orthopedic_pedagogue:()=>wV,clinical_psychologist:()=>EV,default:()=>_xe,dental_hygienist:()=>SV,dentist:()=>kV,deptalgology:()=>CV,deptanatomopathology:()=>IV,deptanesthesiology:()=>DV,deptbacteriology:()=>TV,deptcardiacsurgery:()=>OV,deptcardiology:()=>PV,deptchildandadolescentpsychiatry:()=>NV,deptdentistry:()=>MV,deptdermatology:()=>RV,deptdiabetology:()=>AV,deptdietetics:()=>LV,deptemergency:()=>FV,deptendocrinology:()=>VV,deptgastroenterology:()=>jV,deptgeneralpractice:()=>BV,deptgenetics:()=>zV,deptgeriatry:()=>HV,deptgynecology:()=>UV,depthandsurgery:()=>GV,depthematology:()=>WV,deptinfectiousdisease:()=>qV,deptintensivecare:()=>$V,deptkinesitherapy:()=>YV,deptlaboratory:()=>ZV,deptmajorburns:()=>KV,deptmaxillofacialsurgery:()=>JV,deptmedicine:()=>XV,deptmolecularbiology:()=>QV,deptneonatalogy:()=>e4,deptnephrology:()=>t4,deptneurology:()=>n4,deptneurosurgery:()=>i4,deptnte:()=>a4,deptnuclear:()=>r4,deptnursing:()=>o4,deptnutritiondietetics:()=>s4,deptobstetrics:()=>l4,deptoccupationaltherapy:()=>c4,deptoncology:()=>u4,deptophtalmology:()=>d4,deptorthopedy:()=>h4,deptpalliativecare:()=>p4,deptpediatricintensivecare:()=>m4,deptpediatricsurgery:()=>f4,deptpediatry:()=>g4,deptpharmacy:()=>v4,deptphysicalmedecine:()=>y4,deptphysiotherapy:()=>b4,deptplasticandreparatorysurgery:()=>_4,deptpneumology:()=>x4,deptpodiatry:()=>w4,deptpodology:()=>E4,deptpsychiatry:()=>S4,deptpsychogeriatry:()=>k4,deptpsychology:()=>C4,deptradiology:()=>I4,deptradiotherapy:()=>D4,deptrevalidation:()=>T4,deptrheumatology:()=>O4,deptrhumatology:()=>P4,deptsenology:()=>N4,deptsocialservice:()=>M4,deptspeechtherapy:()=>R4,deptsportsmedecine:()=>A4,deptstomatology:()=>L4,deptsurgery:()=>F4,deptthoracicsurgery:()=>V4,depttoxicology:()=>j4,depttropicalmedecine:()=>B4,depturology:()=>z4,deptvascularsurgery:()=>H4,deptvisceraldigestiveabdominalsurgery:()=>U4,diabete_equipment_supplier:()=>G4,dietician:()=>W4,doctor:()=>q4,family_science_bachelor:()=>$4,gerontology_master:()=>Y4,groupofnurses:()=>Z4,groupofphysiciansdifferentaddress:()=>K4,groupofphysicianssameaddress:()=>J4,guardpost:()=>X4,hub:()=>Q4,imaging_technologist:()=>ej,implantprovider:()=>tj,lab_technologist:()=>nj,logopedist:()=>ij,midwife:()=>aj,nurse:()=>rj,occupational_therapist:()=>oj,optician:()=>sj,orghospital:()=>lj,orginsurance:()=>cj,orglaboratory:()=>uj,orgpharmacy:()=>dj,orgpharmacyinvoicingoffice:()=>hj,orgpolyclinic:()=>pj,orgpractice:()=>mj,orgprevention:()=>fj,orgprimaryhealthcarecenter:()=>gj,orgpsychiatriccarehome:()=>vj,orgpublichealth:()=>yj,orgretirementhome:()=>bj,orgrevalidationcenter:()=>_j,orgshelteredliving:()=>xj,orthopedagogist_master:()=>wj,orthopedist:()=>Ej,orthoptist:()=>Sj,orthotist:()=>kj,patient:()=>Cj,pediatric_nurse:()=>Ij,persadministrative:()=>Dj,persambulancefirstaid:()=>Tj,persappliedpsychbachelor:()=>Oj,persaudician:()=>Pj,persaudiologist:()=>Nj,persbandagistorthosiologist:()=>Mj,persbiologist:()=>Rj,perscaregiver:()=>Aj,persclinicalorthopedagogist:()=>Lj,persclinicalpsychologist:()=>Fj,persdentist:()=>Vj,persdietician:()=>jj,perseducator:()=>Bj,persfamilysciencebachelor:()=>zj,persgerontologymaster:()=>Hj,perslogopedist:()=>Uj,persmidwife:()=>Gj,persmobilityimprover:()=>Wj,persnurse:()=>qj,persoccupationaltherapist:()=>$j,persoptician:()=>Yj,persoptometrist:()=>Zj,persoraldentalhygienist:()=>Kj,persorthopedagogistmaster:()=>Jj,persorthopedist:()=>Xj,persorthoptist:()=>Qj,persorthotist:()=>e9,persparamedical:()=>t9,perspatientdriver:()=>n9,perspharmacist:()=>i9,perspharmacistclinicalbiologist:()=>a9,perspharmacyassistant:()=>r9,persphysician:()=>o9,persphysiotherapist:()=>s9,perspodologist:()=>l9,perspracticalnurse:()=>c9,persprosthesiologist:()=>u9,perspsychologist:()=>d9,perspsychomotortherapymaster:()=>h9,persreadaptationbachelor:()=>p9,persshoetechnologist:()=>m9,perssocialworker:()=>f9,perstechnician:()=>g9,perstrussmaker:()=>v9,pharmacist:()=>y9,pharmacist_assistant:()=>b9,physician:()=>_9,physiotherapist:()=>x9,podologist:()=>w9,practical_nurse:()=>E9,prosthetist:()=>S9,psychologist:()=>k9,psychomotor_therapy_master:()=>C9,readaptaion_bachelor:()=>I9,social_worker:()=>D9,specialized_educator:()=>T9,truss_maker:()=>O9});var dV="Ambulance Driver",hV="Ambulance First Aider",pV="Ambulance Rescuer",mV="Software application",fV="Bachelor in Applied Psychology",gV="Audician",vV="Audiologist",yV="Biologist Pharmacist",bV="Caregiver",_V="Certificate holder",xV="Citizen",wV="Clinical Orthopedic Pedagogue",EV="Clinical Psychologist",SV="Dental Hygienist",kV="Dentist",CV="Algology",IV="Anatomopathology",DV="Anesthesiology",TV="Bacteriology",OV="Cardiac surgery",PV="Cardiology",NV="Child and adolescent psychiatry",MV="Dentistry",RV="Dermatology",AV="Diabetology",LV="Dietetics",FV="Emergency",VV="Endocrinology",jV="Gastroenterology",BV="General practice",zV="Genetics",HV="Geriatry",UV="Gynecology",GV="Hand surgery",WV="Hematology",qV="Infectious disease",$V="Intensive care",YV="Kinesitherapy",ZV="Laboratory service or department within an organisation",KV="Major burns",JV="Maxillofacial surgery",XV="Internal medecine",QV="Molecular biology",e4="Neonatalogy",t4="Nephrology",n4="Neurology",i4="Neurology",a4="Nose-throat-ear",r4="Nuclear",o4="Nursing",s4="Nutritional dietetics",l4="Obstetrics",c4="Occupational therapy",u4="Oncology",d4="Ophthalmology",h4="Orthopedy",p4="Palliative care",m4="Pediatric intensive care",f4="Pediatric surgery",g4="Pediatry",v4="Pharmacy Service/Department within an organization",y4="Physical medecine",b4="Physiotherapy",_4="Plastic and reparatory surgery",x4="Pneumology",w4="Podiatry",E4="Podiatry",S4="Psychiatry",k4="Psychogeriatry",C4="Psychology",I4="Radiology",D4="Radiotherapy",T4="Revalidation",O4="Rheumatology",P4="Rhumatology",N4="Senology",M4="Social service",R4="Speech therapy",A4="Sports medecine",L4="Stomatology",F4="Surgery",V4="Thoracic surgery",j4="Toxicology",B4="Tropical medecine",z4="Urology",H4="Vascular surgery",U4="Visceral digestive abdominal surgery",G4="Diabetes Management Equipment Supplier",W4="Dietitian",q4="Doctor",$4="Bachelor in Family Science",Y4="Master in Gerontology",Z4="Group of nurses",K4="Group of physicians different address",J4="Group of physicians same address",X4="Guard post",Q4="Hub",ej="Medical Imaging Technologist",tj="Implant Provider",nj="Laboratory Technologist",ij="Logopedist",aj="Midwife",rj="Nurse",oj="Occupational Therapist",sj="Optician",lj="Hospital",cj="Insurance",uj="Independent laboratory",dj="Independent pharmacy",hj="Pharmacy invoicing office",pj="Polyclinic",mj="Practice organisation",fj="Prevention Service",gj="Primary health care center",vj="Psychiatric care home",yj="Public health organisation",bj="Retirementhome",_j="Revalidation center",xj="Sheltered living",wj="Master's in Orthopedagogy",Ej="Orthopedist",Sj="Orthoptist-Optometrist",kj="Orthotist",Cj="Patient",Ij="Pediatric Nurse",Dj="Administrative",Tj="Ambulance first aid",Oj="Bachelor in Applied psychology",Pj="Audician",Nj="Audiologist",Mj="Bandagist orthosiologist (orthopedic technologist)",Rj="Medical laboratory technician",Aj="Informal Caregiver",Lj="Clinical orthopedagogist",Fj="Clinical psychologist",Vj="Dentist",jj="Dietician",Bj="Educator",zj="Bachelor in Family sciences",Hj="Master in Gerontological sciences",Uj="Logopedist",Gj="Midwife",Wj="Mobility improver (orthopedic technologist)",qj="Nurse",$j="Occupational therapist",Yj="Optician",Zj="Optometrist",Kj="Oral Dental Hygienist",Jj="Master of orthopedagogist",Xj="Orthopedist",Qj="Orthoptist",e9="Orthotist/Prosthetist",t9="Paramedical staff",n9="Patient Transporter (non-urgent)",i9="Pharmacist",a9="Pharmacist-clinical biologist",r9="Pharmacy assistant",o9="Physician",s9="Physiotherapist",l9="Podiologist",c9="Practical nurse",u9="prosthesiologist (orthopedic technologist)",d9="Psychologist",h9="Master in Psychomotor Therapy",p9="Bachelor in Physiotherapy and Rehabilitation",m9="shoe technologist (orthopedic technologist)",f9="Social worker",g9="Medical Imaging Technician",v9="Truss maker",y9="Pharmacist",b9="Pharmaceutical Technician Assistant",_9="Physician",x9="Physiotherapist",w9="Podiatrist",E9="Practical Nurse",S9="Prosthetist",k9="Clinical Psychologist",C9="Master's in Psychomotor Therapy",I9="Bachelor in Rehabilitation",D9="Social Worker",T9="Specialized Educator",O9="Truss Maker",_xe={ambulance_driver:dV,ambulance_first_aid:hV,ambulance_rescuer:pV,application:mV,applied_psychology_bachelor:fV,audician:gV,audiologist:vV,biologist_pharmacist:yV,care_giver:bV,certificateholder:_V,citizen:xV,clinical_orthopedic_pedagogue:wV,clinical_psychologist:EV,dental_hygienist:SV,dentist:kV,deptalgology:CV,deptanatomopathology:IV,deptanesthesiology:DV,deptbacteriology:TV,deptcardiacsurgery:OV,deptcardiology:PV,deptchildandadolescentpsychiatry:NV,deptdentistry:MV,deptdermatology:RV,deptdiabetology:AV,deptdietetics:LV,deptemergency:FV,deptendocrinology:VV,deptgastroenterology:jV,deptgeneralpractice:BV,deptgenetics:zV,deptgeriatry:HV,deptgynecology:UV,depthandsurgery:GV,depthematology:WV,deptinfectiousdisease:qV,deptintensivecare:$V,deptkinesitherapy:YV,deptlaboratory:ZV,deptmajorburns:KV,deptmaxillofacialsurgery:JV,deptmedicine:XV,deptmolecularbiology:QV,deptneonatalogy:e4,deptnephrology:t4,deptneurology:n4,deptneurosurgery:i4,deptnte:a4,deptnuclear:r4,deptnursing:o4,deptnutritiondietetics:s4,deptobstetrics:l4,deptoccupationaltherapy:c4,deptoncology:u4,deptophtalmology:d4,deptorthopedy:h4,deptpalliativecare:p4,deptpediatricintensivecare:m4,deptpediatricsurgery:f4,deptpediatry:g4,deptpharmacy:v4,deptphysicalmedecine:y4,deptphysiotherapy:b4,deptplasticandreparatorysurgery:_4,deptpneumology:x4,deptpodiatry:w4,deptpodology:E4,deptpsychiatry:S4,deptpsychogeriatry:k4,deptpsychology:C4,deptradiology:I4,deptradiotherapy:D4,deptrevalidation:T4,deptrheumatology:O4,deptrhumatology:P4,deptsenology:N4,deptsocialservice:M4,deptspeechtherapy:R4,deptsportsmedecine:A4,deptstomatology:L4,deptsurgery:F4,deptthoracicsurgery:V4,depttoxicology:j4,depttropicalmedecine:B4,depturology:z4,deptvascularsurgery:H4,deptvisceraldigestiveabdominalsurgery:U4,diabete_equipment_supplier:G4,dietician:W4,doctor:q4,family_science_bachelor:$4,gerontology_master:Y4,groupofnurses:Z4,groupofphysiciansdifferentaddress:K4,groupofphysicianssameaddress:J4,guardpost:X4,hub:Q4,imaging_technologist:ej,implantprovider:tj,lab_technologist:nj,logopedist:ij,midwife:aj,nurse:rj,occupational_therapist:oj,optician:sj,orghospital:lj,orginsurance:cj,orglaboratory:uj,orgpharmacy:dj,orgpharmacyinvoicingoffice:hj,orgpolyclinic:pj,orgpractice:mj,orgprevention:fj,orgprimaryhealthcarecenter:gj,orgpsychiatriccarehome:vj,orgpublichealth:yj,orgretirementhome:bj,orgrevalidationcenter:_j,orgshelteredliving:xj,orthopedagogist_master:wj,orthopedist:Ej,orthoptist:Sj,orthotist:kj,patient:Cj,pediatric_nurse:Ij,persadministrative:Dj,persambulancefirstaid:Tj,persappliedpsychbachelor:Oj,persaudician:Pj,persaudiologist:Nj,persbandagistorthosiologist:Mj,persbiologist:Rj,perscaregiver:Aj,persclinicalorthopedagogist:Lj,persclinicalpsychologist:Fj,persdentist:Vj,persdietician:jj,perseducator:Bj,persfamilysciencebachelor:zj,persgerontologymaster:Hj,perslogopedist:Uj,persmidwife:Gj,persmobilityimprover:Wj,persnurse:qj,persoccupationaltherapist:$j,persoptician:Yj,persoptometrist:Zj,persoraldentalhygienist:Kj,persorthopedagogistmaster:Jj,persorthopedist:Xj,persorthoptist:Qj,persorthotist:e9,persparamedical:t9,perspatientdriver:n9,perspharmacist:i9,perspharmacistclinicalbiologist:a9,perspharmacyassistant:r9,persphysician:o9,persphysiotherapist:s9,perspodologist:l9,perspracticalnurse:c9,persprosthesiologist:u9,perspsychologist:d9,perspsychomotortherapymaster:h9,persreadaptationbachelor:p9,persshoetechnologist:m9,perssocialworker:f9,perstechnician:g9,perstrussmaker:v9,pharmacist:y9,pharmacist_assistant:b9,physician:_9,physiotherapist:x9,podologist:w9,practical_nurse:E9,prosthetist:S9,psychologist:k9,psychomotor_therapy_master:C9,readaptaion_bachelor:I9,social_worker:D9,specialized_educator:T9,truss_maker:O9},P9={};K(P9,{ambulance_driver:()=>N9,ambulance_first_aid:()=>M9,ambulance_rescuer:()=>R9,application:()=>A9,applied_psychology_bachelor:()=>L9,audician:()=>F9,audiologist:()=>V9,biologist_pharmacist:()=>j9,care_giver:()=>B9,certificateholder:()=>z9,citizen:()=>H9,clinical_orthopedic_pedagogue:()=>U9,clinical_psychologist:()=>G9,default:()=>xxe,dental_hygienist:()=>W9,dentist:()=>q9,deptalgology:()=>$9,deptanatomopathology:()=>Y9,deptanesthesiology:()=>Z9,deptbacteriology:()=>K9,deptcardiacsurgery:()=>J9,deptcardiology:()=>X9,deptchildandadolescentpsychiatry:()=>Q9,deptdentistry:()=>eB,deptdermatology:()=>tB,deptdiabetology:()=>nB,deptdietetics:()=>iB,deptemergency:()=>aB,deptendocrinology:()=>rB,deptgastroenterology:()=>oB,deptgeneralpractice:()=>sB,deptgenetics:()=>lB,deptgeriatry:()=>cB,deptgynecology:()=>uB,depthandsurgery:()=>dB,depthematology:()=>hB,deptinfectiousdisease:()=>pB,deptintensivecare:()=>mB,deptkinesitherapy:()=>fB,deptlaboratory:()=>gB,deptmajorburns:()=>vB,deptmaxillofacialsurgery:()=>yB,deptmedicine:()=>bB,deptmolecularbiology:()=>_B,deptneonatalogy:()=>xB,deptnephrology:()=>wB,deptneurology:()=>EB,deptneurosurgery:()=>SB,deptnte:()=>kB,deptnuclear:()=>CB,deptnursing:()=>IB,deptnutritiondietetics:()=>DB,deptobstetrics:()=>TB,deptoccupationaltherapy:()=>OB,deptoncology:()=>PB,deptophtalmology:()=>NB,deptorthopedy:()=>MB,deptpalliativecare:()=>RB,deptpediatricintensivecare:()=>AB,deptpediatricsurgery:()=>LB,deptpediatry:()=>FB,deptpharmacy:()=>VB,deptphysicalmedecine:()=>jB,deptphysiotherapy:()=>BB,deptplasticandreparatorysurgery:()=>zB,deptpneumology:()=>HB,deptpodiatry:()=>UB,deptpodology:()=>GB,deptpsychiatry:()=>WB,deptpsychogeriatry:()=>qB,deptpsychology:()=>$B,deptradiology:()=>YB,deptradiotherapy:()=>ZB,deptrevalidation:()=>KB,deptrheumatology:()=>JB,deptrhumatology:()=>XB,deptsenology:()=>QB,deptsocialservice:()=>ez,deptspeechtherapy:()=>tz,deptsportsmedecine:()=>nz,deptstomatology:()=>iz,deptsurgery:()=>az,deptthoracicsurgery:()=>rz,depttoxicology:()=>oz,depttropicalmedecine:()=>sz,depturology:()=>lz,deptvascularsurgery:()=>cz,deptvisceraldigestiveabdominalsurgery:()=>uz,diabete_equipment_supplier:()=>dz,dietician:()=>hz,doctor:()=>pz,family_science_bachelor:()=>mz,gerontology_master:()=>fz,groupofnurses:()=>gz,groupofphysiciansdifferentaddress:()=>vz,groupofphysicianssameaddress:()=>yz,guardpost:()=>bz,hub:()=>_z,imaging_technologist:()=>xz,implantprovider:()=>wz,lab_technologist:()=>Ez,logopedist:()=>Sz,midwife:()=>kz,nurse:()=>Cz,occupational_therapist:()=>Iz,optician:()=>Dz,orghospital:()=>Tz,orginsurance:()=>Oz,orglaboratory:()=>Pz,orgpharmacy:()=>Nz,orgpharmacyinvoicingoffice:()=>Mz,orgpolyclinic:()=>Rz,orgpractice:()=>Az,orgprevention:()=>Lz,orgprimaryhealthcarecenter:()=>Fz,orgpsychiatriccarehome:()=>Vz,orgpublichealth:()=>jz,orgretirementhome:()=>Bz,orgrevalidationcenter:()=>zz,orgshelteredliving:()=>Hz,orthopedagogist_master:()=>Uz,orthopedist:()=>Gz,orthoptist:()=>Wz,orthotist:()=>qz,patient:()=>$z,pediatric_nurse:()=>Yz,persadministrative:()=>Zz,persambulancefirstaid:()=>Kz,persappliedpsychbachelor:()=>Jz,persaudician:()=>Xz,persaudiologist:()=>Qz,persbandagistorthosiologist:()=>e7,persbiologist:()=>t7,perscaregiver:()=>n7,persclinicalorthopedagogist:()=>i7,persclinicalpsychologist:()=>a7,persdentist:()=>r7,persdietician:()=>o7,perseducator:()=>s7,persfamilysciencebachelor:()=>l7,persgerontologymaster:()=>c7,perslogopedist:()=>u7,persmidwife:()=>d7,persmobilityimprover:()=>h7,persnurse:()=>p7,persoccupationaltherapist:()=>m7,persoptician:()=>f7,persoptometrist:()=>g7,persoraldentalhygienist:()=>v7,persorthopedagogistmaster:()=>y7,persorthopedist:()=>b7,persorthoptist:()=>_7,persorthotist:()=>x7,persparamedical:()=>w7,perspatientdriver:()=>E7,perspharmacist:()=>S7,perspharmacistclinicalbiologist:()=>k7,perspharmacyassistant:()=>C7,persphysician:()=>I7,persphysiotherapist:()=>D7,perspodologist:()=>T7,perspracticalnurse:()=>O7,persprosthesiologist:()=>P7,perspsychologist:()=>N7,perspsychomotortherapymaster:()=>M7,persreadaptationbachelor:()=>R7,persshoetechnologist:()=>A7,perssocialworker:()=>L7,perstechnician:()=>F7,perstrussmaker:()=>V7,pharmacist:()=>j7,pharmacist_assistant:()=>B7,physician:()=>z7,physiotherapist:()=>H7,podologist:()=>U7,practical_nurse:()=>G7,prosthetist:()=>W7,psychologist:()=>q7,psychomotor_therapy_master:()=>$7,readaptaion_bachelor:()=>Y7,social_worker:()=>Z7,specialized_educator:()=>K7,truss_maker:()=>J7});var N9="Ambulancier",M9="Ambulancier secouriste",R9="Ambulancier secouriste",A9="application logicielle",L9="Bachelier en psychologie appliquée",F9="Audicien",V9="Audiologue",j9="Pharmacien biologiste",B9="Personnel soignant",z9="Titulaire du certificat",H9="Citoyen",U9="Orthopédagogue clinicien",G9="Psychologue clinicien",W9="Hygiéniste bucco-dentaire",q9="Dentiste",$9="algologie",Y9="anatomopathologie",Z9="anesthésiologie",K9="bactériologie",J9="chirurgie cardiaque",X9="cardiologie",Q9="psychiatrie de l’enfant et de l’adolescent",eB="dentisterie",tB="dermatologie",nB="diabétologie",iB="diététique",aB="services d’urgence",rB="endocrinologie",oB="gastroentérologie",sB="médecine générale",lB="génétique",cB="gériatrie",uB="gynécologie",dB="chirurgie de la main",hB="hématologie",pB="maladie infectieuse",mB="soins intensifs",fB="kinésithérapie",gB="Service/Département laboratoire au sein d’une organisation",vB="grands brûlés",yB="chirurgie maxillo-faciale",bB="médecine interne",_B="biologie moléculaire",xB="néonatologie",wB="néphrologie",EB="neurologie",SB="neurologie",kB="oto-rhino-laryngologie",CB="médecine nucléaire",IB="soins infirmiers",DB="diététique nutritionnelle",TB="obstétrique",OB="ergothérapie",PB="oncologie",NB="ophtalmologie",MB="orthopédie",RB="soins palliatifs",AB="soins intensifs pédiatriques",LB="chirurgie pédiatrique",FB="pédiatrie",VB="Service/Département pharmacie au sein d’une organisation",jB="médecine physique",BB="physiothérapie",zB="chirurgie esthétique et réparatrice",HB="pneumologie",UB="podiatrie",GB="",WB="psychiatrie",qB="Psychogériatrie",$B="psychologie",YB="radiologie",ZB="radiothérapie",KB="rééducation",JB="rhumatologie",XB="",QB="sénologie",ez="service social",tz="logopédie",nz="médecine des sports",iz="stomatologie",az="chirurgie",rz="chirurgie thoracique",oz="toxicologie",sz="médecine tropicale",lz="urologie",cz="chirurgie vasculaire",uz="chirurgie abdominale, digestive et viscérale",dz="Fournisseur de matériel d’autogestion diabétique",hz="Diététicien",pz="Médecin",mz="Bachelier en science de la famille",fz="Master en gérontologie",gz="Regroupement d’infirmiers",vz="Regroupement de médecins adresse différente",yz="regroupement de médecins même adresse",bz="poste de garde",_z="hub",xz="Technologue en imagerie médicale",wz="Dispensateur d’implants",Ez="Technologue de labo",Sz="Logopède",kz="Sage-femme",Cz="Infirmier\\Infirmière",Iz="Ergothérapeute",Dz="Opticien",Tz="hôpital",Oz="assurance",Pz="laboratoire indépendant",Nz="Pharmacie indépendante",Mz="office de tarification",Rz="polyclinique",Az="cabinet",Lz="Service de prévention",Fz="Maison médicale",Vz="maison de soins psychiatriques",jz="service public de santé",Bz="maison de repos",zz="centre de revalidation",Hz="initiative d’habitation protégée",Uz="Master en Orthopédagogie",Gz="Orthopédiste",Wz="Orthoptiste-Optométriste",qz="Orthésiste",$z="Patient",Yz="Puéricultrice",Zz="personnel admistratif",Kz="ambulance premier secours",Jz="Bachelier en psychologie",Xz="audicien",Qz="audiologue",e7="orthosiologue bandagiste (technologue en orthopédie)",t7="technicien de laboratoire médical",n7="soignant informel",i7="Orthopédagogue clinicien",a7="Psychologue clinicien",r7="dentiste",o7="diététicien",s7="éducateur",l7="Bachelier en sciences de la famille",c7="Master en gérontologie",u7="logopède",d7="sage-femme",h7="améliorateur de mobilité (technologue en orthopédie)",p7="infirmier",m7="ergothérapeute",f7="opticien",g7="optométriste",v7="Hygiéniste bucco-dentaire",y7="Master en orthopédagogie",b7="orthopédiste",_7="orthoptiste",x7="Orthésiste/Prothésiste",w7="personnel paramédical",E7="Transporteur de patient (non urgent)",S7="pharmacien",k7="pharmacien-biologiste clinicien",C7="assistant en pharmacie",I7="médecin",D7="kinésithérapeute",T7="podologue",O7="aide-soignante",P7="prothésiste (technologue en orthopédie)",N7="psychologue",M7="Master en thérapie psychomotrice",R7="Bachelier en kinésithérapie et réadaptation",A7="technicien de chaussures (technologue en orthopédie)",L7="travailleur social",F7="Technicien d’imagerie médicale",V7="Bandagiste",j7="Pharmacien",B7="Assistant Pharmaceutico-Technique",z7="Médecin",H7="Physiothérapeute",U7="Podologue",G7="Aide-soignant",W7="Prothésiste",q7="Psychologue clinicien",$7="Master en thérapie psychomotrice",Y7="Bachelier en réadaptation",Z7="Assistant social",K7="Educateur spécialisé",J7="Bandagiste",xxe={ambulance_driver:N9,ambulance_first_aid:M9,ambulance_rescuer:R9,application:A9,applied_psychology_bachelor:L9,audician:F9,audiologist:V9,biologist_pharmacist:j9,care_giver:B9,certificateholder:z9,citizen:H9,clinical_orthopedic_pedagogue:U9,clinical_psychologist:G9,dental_hygienist:W9,dentist:q9,deptalgology:$9,deptanatomopathology:Y9,deptanesthesiology:Z9,deptbacteriology:K9,deptcardiacsurgery:J9,deptcardiology:X9,deptchildandadolescentpsychiatry:Q9,deptdentistry:eB,deptdermatology:tB,deptdiabetology:nB,deptdietetics:iB,deptemergency:aB,deptendocrinology:rB,deptgastroenterology:oB,deptgeneralpractice:sB,deptgenetics:lB,deptgeriatry:cB,deptgynecology:uB,depthandsurgery:dB,depthematology:hB,deptinfectiousdisease:pB,deptintensivecare:mB,deptkinesitherapy:fB,deptlaboratory:gB,deptmajorburns:vB,deptmaxillofacialsurgery:yB,deptmedicine:bB,deptmolecularbiology:_B,deptneonatalogy:xB,deptnephrology:wB,deptneurology:EB,deptneurosurgery:SB,deptnte:kB,deptnuclear:CB,deptnursing:IB,deptnutritiondietetics:DB,deptobstetrics:TB,deptoccupationaltherapy:OB,deptoncology:PB,deptophtalmology:NB,deptorthopedy:MB,deptpalliativecare:RB,deptpediatricintensivecare:AB,deptpediatricsurgery:LB,deptpediatry:FB,deptpharmacy:VB,deptphysicalmedecine:jB,deptphysiotherapy:BB,deptplasticandreparatorysurgery:zB,deptpneumology:HB,deptpodiatry:UB,deptpodology:GB,deptpsychiatry:WB,deptpsychogeriatry:qB,deptpsychology:$B,deptradiology:YB,deptradiotherapy:ZB,deptrevalidation:KB,deptrheumatology:JB,deptrhumatology:XB,deptsenology:QB,deptsocialservice:ez,deptspeechtherapy:tz,deptsportsmedecine:nz,deptstomatology:iz,deptsurgery:az,deptthoracicsurgery:rz,depttoxicology:oz,depttropicalmedecine:sz,depturology:lz,deptvascularsurgery:cz,deptvisceraldigestiveabdominalsurgery:uz,diabete_equipment_supplier:dz,dietician:hz,doctor:pz,family_science_bachelor:mz,gerontology_master:fz,groupofnurses:gz,groupofphysiciansdifferentaddress:vz,groupofphysicianssameaddress:yz,guardpost:bz,hub:_z,imaging_technologist:xz,implantprovider:wz,lab_technologist:Ez,logopedist:Sz,midwife:kz,nurse:Cz,occupational_therapist:Iz,optician:Dz,orghospital:Tz,orginsurance:Oz,orglaboratory:Pz,orgpharmacy:Nz,orgpharmacyinvoicingoffice:Mz,orgpolyclinic:Rz,orgpractice:Az,orgprevention:Lz,orgprimaryhealthcarecenter:Fz,orgpsychiatriccarehome:Vz,orgpublichealth:jz,orgretirementhome:Bz,orgrevalidationcenter:zz,orgshelteredliving:Hz,orthopedagogist_master:Uz,orthopedist:Gz,orthoptist:Wz,orthotist:qz,patient:$z,pediatric_nurse:Yz,persadministrative:Zz,persambulancefirstaid:Kz,persappliedpsychbachelor:Jz,persaudician:Xz,persaudiologist:Qz,persbandagistorthosiologist:e7,persbiologist:t7,perscaregiver:n7,persclinicalorthopedagogist:i7,persclinicalpsychologist:a7,persdentist:r7,persdietician:o7,perseducator:s7,persfamilysciencebachelor:l7,persgerontologymaster:c7,perslogopedist:u7,persmidwife:d7,persmobilityimprover:h7,persnurse:p7,persoccupationaltherapist:m7,persoptician:f7,persoptometrist:g7,persoraldentalhygienist:v7,persorthopedagogistmaster:y7,persorthopedist:b7,persorthoptist:_7,persorthotist:x7,persparamedical:w7,perspatientdriver:E7,perspharmacist:S7,perspharmacistclinicalbiologist:k7,perspharmacyassistant:C7,persphysician:I7,persphysiotherapist:D7,perspodologist:T7,perspracticalnurse:O7,persprosthesiologist:P7,perspsychologist:N7,perspsychomotortherapymaster:M7,persreadaptationbachelor:R7,persshoetechnologist:A7,perssocialworker:L7,perstechnician:F7,perstrussmaker:V7,pharmacist:j7,pharmacist_assistant:B7,physician:z7,physiotherapist:H7,podologist:U7,practical_nurse:G7,prosthetist:W7,psychologist:q7,psychomotor_therapy_master:$7,readaptaion_bachelor:Y7,social_worker:Z7,specialized_educator:K7,truss_maker:J7},X7={};K(X7,{ambulance_driver:()=>Q7,ambulance_first_aid:()=>eH,ambulance_rescuer:()=>tH,application:()=>nH,applied_psychology_bachelor:()=>iH,audician:()=>aH,audiologist:()=>rH,biologist_pharmacist:()=>oH,care_giver:()=>sH,certificateholder:()=>lH,citizen:()=>cH,clinical_orthopedic_pedagogue:()=>uH,clinical_psychologist:()=>dH,default:()=>wxe,dental_hygienist:()=>hH,dentist:()=>pH,deptalgology:()=>mH,deptanatomopathology:()=>fH,deptanesthesiology:()=>gH,deptbacteriology:()=>vH,deptcardiacsurgery:()=>yH,deptcardiology:()=>bH,deptchildandadolescentpsychiatry:()=>_H,deptdentistry:()=>xH,deptdermatology:()=>wH,deptdiabetology:()=>EH,deptdietetics:()=>SH,deptemergency:()=>kH,deptendocrinology:()=>CH,deptgastroenterology:()=>IH,deptgeneralpractice:()=>DH,deptgenetics:()=>TH,deptgeriatry:()=>OH,deptgynecology:()=>PH,depthandsurgery:()=>NH,depthematology:()=>MH,deptinfectiousdisease:()=>RH,deptintensivecare:()=>AH,deptkinesitherapy:()=>LH,deptlaboratory:()=>FH,deptmajorburns:()=>VH,deptmaxillofacialsurgery:()=>jH,deptmedicine:()=>BH,deptmolecularbiology:()=>zH,deptneonatalogy:()=>HH,deptnephrology:()=>UH,deptneurology:()=>GH,deptneurosurgery:()=>WH,deptnte:()=>qH,deptnuclear:()=>$H,deptnursing:()=>YH,deptnutritiondietetics:()=>ZH,deptobstetrics:()=>KH,deptoccupationaltherapy:()=>JH,deptoncology:()=>XH,deptophtalmology:()=>QH,deptorthopedy:()=>e6,deptpalliativecare:()=>t6,deptpediatricintensivecare:()=>n6,deptpediatricsurgery:()=>i6,deptpediatry:()=>a6,deptpharmacy:()=>r6,deptphysicalmedecine:()=>o6,deptphysiotherapy:()=>s6,deptplasticandreparatorysurgery:()=>l6,deptpneumology:()=>c6,deptpodiatry:()=>u6,deptpodology:()=>d6,deptpsychiatry:()=>h6,deptpsychogeriatry:()=>p6,deptpsychology:()=>m6,deptradiology:()=>f6,deptradiotherapy:()=>g6,deptrevalidation:()=>v6,deptrheumatology:()=>y6,deptsenology:()=>b6,deptsocialservice:()=>_6,deptspeechtherapy:()=>x6,deptsportsmedecine:()=>w6,deptstomatology:()=>E6,deptsurgery:()=>S6,deptthoracicsurgery:()=>k6,depttoxicology:()=>C6,depttropicalmedecine:()=>I6,depturology:()=>D6,deptvascularsurgery:()=>T6,deptvisceraldigestiveabdominalsurgery:()=>O6,diabete_equipment_supplier:()=>P6,dietician:()=>N6,doctor:()=>M6,family_science_bachelor:()=>R6,gerontology_master:()=>A6,groupofnurses:()=>L6,groupofphysiciansdifferentaddress:()=>F6,groupofphysicianssameaddress:()=>V6,guardpost:()=>j6,hub:()=>B6,imaging_technologist:()=>z6,implantprovider:()=>H6,lab_technologist:()=>U6,logopedist:()=>G6,midwife:()=>W6,nurse:()=>q6,occupational_therapist:()=>$6,optician:()=>Y6,orghospital:()=>Z6,orginsurance:()=>K6,orglaboratory:()=>J6,orgpharmacy:()=>X6,orgpharmacyinvoicingoffice:()=>Q6,orgpolyclinic:()=>eU,orgpractice:()=>tU,orgprevention:()=>nU,orgprimaryhealthcarecenter:()=>iU,orgpsychiatriccarehome:()=>aU,orgpublichealth:()=>rU,orgretirementhome:()=>oU,orgrevalidationcenter:()=>sU,orgshelteredliving:()=>lU,orthopedagogist_master:()=>cU,orthopedist:()=>uU,orthoptist:()=>dU,orthotist:()=>hU,patient:()=>pU,pediatric_nurse:()=>mU,persadministrative:()=>fU,persambulancefirstaid:()=>gU,persappliedpsychbachelor:()=>vU,persaudician:()=>yU,persaudiologist:()=>bU,persbandagistorthosiologist:()=>_U,persbiologist:()=>xU,perscaregiver:()=>wU,persclinicalorthopedagogist:()=>EU,persclinicalpsychologist:()=>SU,persdentist:()=>kU,persdietician:()=>CU,perseducator:()=>IU,persfamilysciencebachelor:()=>DU,persgerontologymaster:()=>TU,perslogopedist:()=>OU,persmidwife:()=>PU,persmobilityimprover:()=>NU,persnurse:()=>MU,persoccupationaltherapist:()=>RU,persoptician:()=>AU,persoptometrist:()=>LU,persoraldentalhygienist:()=>FU,persorthopedagogistmaster:()=>VU,persorthopedist:()=>jU,persorthoptist:()=>BU,persorthotist:()=>zU,persparamedical:()=>HU,perspatientdriver:()=>UU,perspharmacist:()=>GU,perspharmacistclinicalbiologist:()=>WU,perspharmacyassistant:()=>qU,persphysician:()=>$U,persphysiotherapist:()=>YU,perspodologist:()=>ZU,perspracticalnurse:()=>KU,persprosthesiologist:()=>JU,perspsychologist:()=>XU,perspsychomotortherapymaster:()=>QU,persreadaptationbachelor:()=>e8,persshoetechnologist:()=>t8,perssocialworker:()=>n8,perstechnician:()=>i8,perstrussmaker:()=>a8,pharmacist:()=>r8,pharmacist_assistant:()=>o8,physician:()=>s8,physiotherapist:()=>l8,podologist:()=>c8,practical_nurse:()=>u8,prosthetist:()=>d8,psychologist:()=>h8,psychomotor_therapy_master:()=>p8,readaptaion_bachelor:()=>m8,social_worker:()=>f8,specialized_educator:()=>g8,truss_maker:()=>v8});var Q7="Ambulancebestuurder",eH="Ambulancier eerste hulp",tH="Amublancier eerste hulp",nH="softwaretoepassing",iH="Bachelor toegepaste psychologie",aH="Audicien",rH="Audioloog",oH="Apotheker-bioloog",sH="Verzorgingspersoneel",lH="Houder van certificaat",cH="Burger",uH="Klinische orthopedagoog",dH="Klinische psycholoog",hH="Mondhygiënist",pH="Tandarts",mH="algologie",fH="anatomo-pathologie",gH="anesthesiologie",vH="bacteriologie",yH="hartchirurgie",bH="cardiologie",_H="kinder- en jeugdpsychiatrie",xH="tandheelkunde",wH="dermatologie",EH="diabetologie",SH="diëtetiek",kH="spoeddiensten",CH="endocrinologie/hormonenleer",IH="gastro-enterologie",DH="algemene geneeskunde",TH="genetica",OH="geriatrie",PH="gynaecologie",NH="handchirurgie",MH="hematologie",RH="infectieziekte",AH="intensieve zorgen",LH="kinesitherapie",FH="Laboratoriumdienst of -afdeling binnen een organisatie",VH="brandwondencentrum",jH="mond-, kaak- en aangezichtschirurgie",BH="interne geneeskunde",zH="moleculaire biologie",HH="neonatologie",UH="nefrologie",GH="neurologie",WH="neurologie",qH="oto-rhino-laryngologie",$H="nucleaire geneeskunde",YH="verpleegkunde",ZH="diëtetiek",KH="verloskunde",JH="ergotherapie",XH="oncologie",QH="oftalmologie",e6="orthopedie",t6="palliatieve zorg",n6="intensieve zorg voor kinderen",i6="kinderchirurgie",a6="pediatrie",r6="Apotheekdienst of -afdeling binnen een organisatie",o6="fysische geneeskunde",s6="fysiotherapie",l6="plastische en reconstructieve chirurgie",c6="pulmonologie",u6="podiatrie",d6="",h6="psychiatrie",p6="Psychogeriatrie",m6="psychologie",f6="radiologie",g6="radiotherapie",v6="revalidatie",y6="reumatologie",b6="senologie",_6="sociale dienst",x6="logopedie",w6="sportgeneeskunde",E6="stomatologie",S6="chirurgie",k6="thoraxchirurgie",C6="toxicologie",I6="tropische geneeskunde",D6="urologie",T6="vasculaire chirurgie",O6="digestieve/viscerale chirurgie/buikchirurgie",P6="Leverancier van materiaal voor diabetische zelfzorg ",N6="Diëtist",M6="Arts",R6="Bachelor gezinswetenschappen",A6="Master gerontologie",L6="Groepering van verplegers",F6="Groepering van artsen verschillend adres",V6="groepering van artsen zelfde adres",j6="wachtpost",B6="hub",z6="Technoloog medische beeldvorming",H6="Leverancier implantaten",U6="Laboratoriumtechnoloog",G6="Logopedist",W6="Vroedvrouw",q6="verpleegkundige",$6="Ergotherapeut",Y6="Opticien",Z6="ziekenhuis",K6="verzekering",J6="Onafhankelijk laboratorium",X6="Onafhankelijke apotheek",Q6="Facturatie kantoor apotheek",eU="polikliniek",tU="praktijk",nU="Preventiedienst",iU="medisch huis",aU="psychiatrisch verzorgingstehuis",rU="openbare gezondheidsdienst",oU="woonzorgcentrum",sU="revalidatiecentrum",lU="initiatief voor beschut wonen",cU="Master orthopedagogie",uU="Orthopedist",dU="Orthoptist-optometrist",hU="Orthesist",pU="Patiënt",mU="Kinderverzorgsters",fU="administratief medewerker",gU="ambulance eerste hulp",vU="Bachelor in de toegepaste psychologie",yU="audicien",bU="audioloog",_U="Bandagist orthosioloog (orthopedisch technoloog)",xU="medisch laboratoriumtechnoloog",wU="mantelzorger",EU="Klinisch orthopedagoog",SU="Klinisch psycholoog",kU="tandarts",CU="diëtist",IU="opvoeder",DU="Bachelor in de gezinswetenschappen",TU="Master in de gerontologie",OU="logopedist",PU="vroedvrouw",NU="mobiliteitsverbeteraar (orthopedisch technoloog)",MU="verpleegkundige",RU="ergotherapeut",AU="opticien",LU="optometrist",FU="Mondhygiënist",VU="Master in de orthopedagogie",jU="orthopedist",BU="orthoptist",zU="Orthopedisch technicus",HU="paramedisch personeel",UU="Ziekenvervoerder (niet urgent)",GU="apotheker",WU="apotheker-klinisch bioloog",qU="apothekersassistent",$U="arts",YU="kinesitherapeut",ZU="podologist",KU="verzorgende",JU="prothesemaker (orthopedisch technoloog)",XU="psycholoog",QU="Master in de psychomotorische therapie",e8="Bachelor in de readaptatiewetenschappen",t8="schoentechnicus (orthopedisch technoloog)",n8="maatschappelijk werker",i8="Technicus medische beeldvorming",a8="Bandagist",r8="Apotheker",o8="Farmaceutisch-technisch assistent",s8="Arts",l8="Fysiotherapeut",c8="Podoloog",u8="Zorgkundige",d8="Prothesist",h8="Psycholoog",p8="Master psychomotorische therapie",m8="Bachelor readaptatiewetenschappen",f8="Sociaal assistent",g8="Bachelor opvoedkunde",v8="Bandagist",wxe={ambulance_driver:Q7,ambulance_first_aid:eH,ambulance_rescuer:tH,application:nH,applied_psychology_bachelor:iH,audician:aH,audiologist:rH,biologist_pharmacist:oH,care_giver:sH,certificateholder:lH,citizen:cH,clinical_orthopedic_pedagogue:uH,clinical_psychologist:dH,dental_hygienist:hH,dentist:pH,deptalgology:mH,deptanatomopathology:fH,deptanesthesiology:gH,deptbacteriology:vH,deptcardiacsurgery:yH,deptcardiology:bH,deptchildandadolescentpsychiatry:_H,deptdentistry:xH,deptdermatology:wH,deptdiabetology:EH,deptdietetics:SH,deptemergency:kH,deptendocrinology:CH,deptgastroenterology:IH,deptgeneralpractice:DH,deptgenetics:TH,deptgeriatry:OH,deptgynecology:PH,depthandsurgery:NH,depthematology:MH,deptinfectiousdisease:RH,deptintensivecare:AH,deptkinesitherapy:LH,deptlaboratory:FH,deptmajorburns:VH,deptmaxillofacialsurgery:jH,deptmedicine:BH,deptmolecularbiology:zH,deptneonatalogy:HH,deptnephrology:UH,deptneurology:GH,deptneurosurgery:WH,deptnte:qH,deptnuclear:$H,deptnursing:YH,deptnutritiondietetics:ZH,deptobstetrics:KH,deptoccupationaltherapy:JH,deptoncology:XH,deptophtalmology:QH,deptorthopedy:e6,deptpalliativecare:t6,deptpediatricintensivecare:n6,deptpediatricsurgery:i6,deptpediatry:a6,deptpharmacy:r6,deptphysicalmedecine:o6,deptphysiotherapy:s6,deptplasticandreparatorysurgery:l6,deptpneumology:c6,deptpodiatry:u6,deptpodology:d6,deptpsychiatry:h6,deptpsychogeriatry:p6,deptpsychology:m6,deptradiology:f6,deptradiotherapy:g6,deptrevalidation:v6,deptrheumatology:y6,deptsenology:b6,deptsocialservice:_6,deptspeechtherapy:x6,deptsportsmedecine:w6,deptstomatology:E6,deptsurgery:S6,deptthoracicsurgery:k6,depttoxicology:C6,depttropicalmedecine:I6,depturology:D6,deptvascularsurgery:T6,deptvisceraldigestiveabdominalsurgery:O6,diabete_equipment_supplier:P6,dietician:N6,doctor:M6,family_science_bachelor:R6,gerontology_master:A6,groupofnurses:L6,groupofphysiciansdifferentaddress:F6,groupofphysicianssameaddress:V6,guardpost:j6,hub:B6,imaging_technologist:z6,implantprovider:H6,lab_technologist:U6,logopedist:G6,midwife:W6,nurse:q6,occupational_therapist:$6,optician:Y6,orghospital:Z6,orginsurance:K6,orglaboratory:J6,orgpharmacy:X6,orgpharmacyinvoicingoffice:Q6,orgpolyclinic:eU,orgpractice:tU,orgprevention:nU,orgprimaryhealthcarecenter:iU,orgpsychiatriccarehome:aU,orgpublichealth:rU,orgretirementhome:oU,orgrevalidationcenter:sU,orgshelteredliving:lU,orthopedagogist_master:cU,orthopedist:uU,orthoptist:dU,orthotist:hU,patient:pU,pediatric_nurse:mU,persadministrative:fU,persambulancefirstaid:gU,persappliedpsychbachelor:vU,persaudician:yU,persaudiologist:bU,persbandagistorthosiologist:_U,persbiologist:xU,perscaregiver:wU,persclinicalorthopedagogist:EU,persclinicalpsychologist:SU,persdentist:kU,persdietician:CU,perseducator:IU,persfamilysciencebachelor:DU,persgerontologymaster:TU,perslogopedist:OU,persmidwife:PU,persmobilityimprover:NU,persnurse:MU,persoccupationaltherapist:RU,persoptician:AU,persoptometrist:LU,persoraldentalhygienist:FU,persorthopedagogistmaster:VU,persorthopedist:jU,persorthoptist:BU,persorthotist:zU,persparamedical:HU,perspatientdriver:UU,perspharmacist:GU,perspharmacistclinicalbiologist:WU,perspharmacyassistant:qU,persphysician:$U,persphysiotherapist:YU,perspodologist:ZU,perspracticalnurse:KU,persprosthesiologist:JU,perspsychologist:XU,perspsychomotortherapymaster:QU,persreadaptationbachelor:e8,persshoetechnologist:t8,perssocialworker:n8,perstechnician:i8,perstrussmaker:a8,pharmacist:r8,pharmacist_assistant:o8,physician:s8,physiotherapist:l8,podologist:c8,practical_nurse:u8,prosthetist:d8,psychologist:h8,psychomotor_therapy_master:p8,readaptaion_bachelor:m8,social_worker:f8,specialized_educator:g8,truss_maker:v8},Exe={nl:X7,fr:P9,de:UL,en:uV},y8={};K(y8,{"00001":()=>b8,"00002":()=>_8,"00003":()=>x8,"00004":()=>w8,"00005":()=>E8,"00006":()=>S8,"00007":()=>k8,"00008":()=>C8,"00009":()=>I8,"00010":()=>D8,"00011":()=>T8,"00012":()=>O8,"00013":()=>P8,"00014":()=>N8,"00015":()=>M8,"00016":()=>R8,"00017":()=>A8,"00018":()=>L8,"00019":()=>F8,"00020":()=>V8,"00021":()=>j8,"00022":()=>B8,"00023":()=>z8,"00024":()=>H8,"00025":()=>U8,"00026":()=>G8,"00027":()=>W8,"00028":()=>q8,"00029":()=>$8,"00030":()=>Y8,"00031":()=>Z8,"00032":()=>K8,"00033":()=>J8,"00034":()=>X8,"00035":()=>Q8,"00036":()=>eG,"00037":()=>tG,"00038":()=>nG,"00039":()=>iG,"00040":()=>aG,"00041":()=>rG,"00042":()=>oG,"00043":()=>sG,"00044":()=>lG,"00045":()=>cG,"00046":()=>uG,"00047":()=>dG,"00048":()=>hG,"00049":()=>pG,"00050":()=>mG,"00051":()=>fG,"00052":()=>gG,"00053":()=>vG,"00054":()=>yG,"00055":()=>bG,"00056":()=>_G,"00057":()=>xG,"00058":()=>wG,"00059":()=>EG,"00060":()=>SG,"00061":()=>kG,"00062":()=>CG,"00063":()=>IG,"00064":()=>DG,"00065":()=>TG,"00066":()=>OG,"00067":()=>PG,"00068":()=>NG,"00069":()=>MG,"00070":()=>RG,"00071":()=>AG,"00072":()=>LG,"00073":()=>FG,"both-ears":()=>VG,"both-eyes":()=>jG,"both-nostrils":()=>BG,"cutaneous-injection":()=>zG,default:()=>Sxe,derm:()=>HG,"dermal-injection":()=>UG,"ear-left":()=>GG,"ear-right":()=>WG,"eye-left":()=>qG,"eye-right":()=>$G,hyperdermoclyse:()=>YG,icut:()=>ZG,ider:()=>KG,larter:()=>JG,"nose-left":()=>XG,"nose-right":()=>QG,oft:()=>eW,transdermal:()=>tW,"vitreal-injection":()=>nW});var b8="ins Ohr",_8="auf die Haut",x8="derm./rect",w8="derm./vag.",E8="Injektion außerhalb der Hirnhaut",S8="e.dur./i.thec./lokal",k8="p.dur./lokal",C8="in die Luftröhre",I8="in den Gebärmutterhals einführen",D8="Injektion in eine Arterie",T8="Injektion in den Penis",O8="Injektion in die Haut",P8="Injektion in einen Muskel",N8="i.m./i.thec./p.dur./s.c.",M8="i.m./i.v.",R8="i.m./i.v./inf.",A8="i.m./i.v./inf./e.dur./s.c.",L8="i.m./i.v./inf./i.arter./i.thec.",F8="i.m./i.v./perf./i.artér./lokal/s.c.",V8="i.m./i.v./inf./i.thec.",j8="i.m./i.v./inf./rect.",B8="i.m./i.v./inf./s.c.",z8="i.m./i.v./inhal.",H8="i.m./i.v./lokal",U8="i.m./i.v./or.",G8="i.m./i.v./rect",W8="i.m./i.v./s.c.",q8="i.m./inf.",$8="i.m./perf./lokal",Y8="i.m./lokal",Z8="i.m./lokal/rect.",K8="i.m./s.c.",J8="Injektion ins Rückenmark",X8="in die Gebärmutter einführen",Q8="Injektion in eine Vene",eG="i.v./p.dur./lokal",tG="i.v./i.arter./i.ves.",nG="i.v./inf.",iG="i.v./perf./p.dur.",aG="i.v./inf./i.arter.",rG="i.v./inf./i.thec./s.c.",oG="i.v./inf./inhal.",sG="i.v./inf./s.c.",lG="i.v./s.c.",cG="in die Harnblase",uG="Infusion",dG="perf./i.ves.",hG="perf./s.c.",pG="Inhalation",mG="inhal./nas./lokal",fG="Injektion",gG="auf die Lippen",vG="lokal",yG="auf die Schleimhaut",bG="in die Nase",_G="in die Augen",xG="opht./auric.",wG="opht./auric./nas.",EG="opht./auric./nas./lokal",SG="einnehmen",kG="or./orofar./derm.",CG="or./rect.",IG="or./s.l.",DG="durch den Mund",TG="orofar./derm.",OG="durch Mund und Nase",PG="rektal",NG="Spritze unter die Haut",MG="s.c./i.derm.",RG="unter die Zunge",AG="auf die Zähne",LG="in den Harnleiter",FG="vaginal",VG="beide Ohren",jG="beide Augen",BG="beide Nasenlöcher",zG="kutane Injektion",HG="dermatologisch",UG="dermale Injektion",GG="linkes Ohr",WG="rechtes Ohr",qG="linkes Auge",$G="rechtes Auge",YG="Hyperdermoklyse",ZG="intrakutan",KG="intradermal",JG="intraarteriell",XG="linke Nase",QG="rechte Nase",eW="ophthalmologisch",tW="transdermal",nW="vitreale Injektion",Sxe={"00001":b8,"00002":_8,"00003":x8,"00004":w8,"00005":E8,"00006":S8,"00007":k8,"00008":C8,"00009":I8,"00010":D8,"00011":T8,"00012":O8,"00013":P8,"00014":N8,"00015":M8,"00016":R8,"00017":A8,"00018":L8,"00019":F8,"00020":V8,"00021":j8,"00022":B8,"00023":z8,"00024":H8,"00025":U8,"00026":G8,"00027":W8,"00028":q8,"00029":$8,"00030":Y8,"00031":Z8,"00032":K8,"00033":J8,"00034":X8,"00035":Q8,"00036":eG,"00037":tG,"00038":nG,"00039":iG,"00040":aG,"00041":rG,"00042":oG,"00043":sG,"00044":lG,"00045":cG,"00046":uG,"00047":dG,"00048":hG,"00049":pG,"00050":mG,"00051":fG,"00052":gG,"00053":vG,"00054":yG,"00055":bG,"00056":_G,"00057":xG,"00058":wG,"00059":EG,"00060":SG,"00061":kG,"00062":CG,"00063":IG,"00064":DG,"00065":TG,"00066":OG,"00067":PG,"00068":NG,"00069":MG,"00070":RG,"00071":AG,"00072":LG,"00073":FG,"both-ears":VG,"both-eyes":jG,"both-nostrils":BG,"cutaneous-injection":zG,derm:HG,"dermal-injection":UG,"ear-left":GG,"ear-right":WG,"eye-left":qG,"eye-right":$G,hyperdermoclyse:YG,icut:ZG,ider:KG,larter:JG,"nose-left":XG,"nose-right":QG,oft:eW,transdermal:tW,"vitreal-injection":nW},iW={};K(iW,{"00001":()=>aW,"00002":()=>rW,"00003":()=>oW,"00004":()=>sW,"00005":()=>lW,"00006":()=>cW,"00007":()=>uW,"00008":()=>dW,"00009":()=>hW,"00010":()=>pW,"00011":()=>mW,"00012":()=>fW,"00013":()=>gW,"00014":()=>vW,"00015":()=>yW,"00016":()=>bW,"00017":()=>_W,"00018":()=>xW,"00019":()=>wW,"00020":()=>EW,"00021":()=>SW,"00022":()=>kW,"00023":()=>CW,"00024":()=>IW,"00025":()=>DW,"00026":()=>TW,"00027":()=>OW,"00028":()=>PW,"00029":()=>NW,"00030":()=>MW,"00031":()=>RW,"00032":()=>AW,"00033":()=>LW,"00034":()=>FW,"00035":()=>VW,"00036":()=>jW,"00037":()=>BW,"00038":()=>zW,"00039":()=>HW,"00040":()=>UW,"00041":()=>GW,"00042":()=>WW,"00043":()=>qW,"00044":()=>$W,"00045":()=>YW,"00046":()=>ZW,"00047":()=>KW,"00048":()=>JW,"00049":()=>XW,"00050":()=>QW,"00051":()=>eq,"00052":()=>tq,"00053":()=>nq,"00054":()=>iq,"00055":()=>aq,"00056":()=>rq,"00057":()=>oq,"00058":()=>sq,"00059":()=>lq,"00060":()=>cq,"00061":()=>uq,"00062":()=>dq,"00063":()=>hq,"00064":()=>pq,"00065":()=>mq,"00066":()=>fq,"00067":()=>gq,"00068":()=>vq,"00069":()=>yq,"00070":()=>bq,"00071":()=>_q,"00072":()=>xq,"00073":()=>wq,"both-ears":()=>Eq,"both-eyes":()=>Sq,"both-nostrils":()=>kq,"cutaneous-injection":()=>Cq,default:()=>kxe,derm:()=>Iq,"dermal-injection":()=>Dq,"ear-left":()=>Tq,"ear-right":()=>Oq,"eye-left":()=>Pq,"eye-right":()=>Nq,hyperdermoclyse:()=>Mq,icut:()=>Rq,ider:()=>Aq,larter:()=>Lq,"nose-left":()=>Fq,"nose-right":()=>Vq,oft:()=>jq,transdermal:()=>Bq,"vitreal-injection":()=>zq});var aW="auric.",rW="derm.",oW="derm./rect",sW="derm./vag.",lW="e.dur.",cW="e.dur./i.thec./local",uW="e.dur./local",dW="e.trach.",hW="endocerv.",pW="i.arter.",mW="i.cavern.",fW="i.derm.",gW="i.m.",vW="i.m./i.thec./e.dur./s.c.",yW="i.m./i.v.",bW="i.m./i.v./inf.",_W="i.m./i.v./inf./e.dur./s.c.",xW="i.m./i.v./inf./i.arter./i.thec.",wW="i.m./i.v./perf./i.artér./local/s.c.",EW="i.m./i.v./inf./i.thec.",SW="i.m./i.v./inf./rect.",kW="i.m./i.v./inf./s.c.",CW="i.m./i.v./inhal.",IW="i.m./i.v./local",DW="i.m./i.v./or.",TW="i.m./i.v./rect",OW="i.m./i.v./s.c.",PW="i.m./inf.",NW="i.m./perf./local",MW="i.m./local",RW="i.m./local/rect.",AW="i.m./s.c.",LW="i.thec.",FW="i.ut.",VW="i.v.",jW="i.v./p.dur./local",BW="i.v./i.arter./i.ves.",zW="i.v./inf.",HW="i.v./perf./p.dur.",UW="i.v./perf./i.artér.",GW="i.v./perf./i.théc./s.c.",WW="i.v./perf./inhal.",qW="i.v./perf./s.c.",$W="i.v./s.c.",YW="i.ves.",ZW="perf.",KW="perf./i.ves.",JW="perf./s.c.",XW="inhal.",QW="inhal./nas./local",eq="inj.",tq="lip",nq="local",iq="muc.",aq="nas.",rq="opht.",oq="opht./auric.",sq="opht./auric./nas.",lq="opht./auric./nas./local",cq="or.",uq="or./bucco-phar./derm.",dq="or./rect.",hq="or./s.l.",pq="bucco-phar.",mq="bucco-phar./derm.",fq="bucco-phar./nas.",gq="rect.",vq="s.c.",yq="s.c./i.derm.",bq="s.l.",_q="teeth",xq="urethr.",wq="vag.",Eq="both ears",Sq="both eyes",kq="both nostrils",Cq="cutaneous injection",Iq="dermatologically",Dq="dermal injection",Tq="ear left",Oq="ear right",Pq="eye left",Nq="eye right",Mq="hyperdermoclyse",Rq="intracutaneous",Aq="intradermally",Lq="intra-arterial",Fq="nose left",Vq="nose right",jq="ophtalmological",Bq="transdermal",zq="vitreal injection",kxe={"00001":aW,"00002":rW,"00003":oW,"00004":sW,"00005":lW,"00006":cW,"00007":uW,"00008":dW,"00009":hW,"00010":pW,"00011":mW,"00012":fW,"00013":gW,"00014":vW,"00015":yW,"00016":bW,"00017":_W,"00018":xW,"00019":wW,"00020":EW,"00021":SW,"00022":kW,"00023":CW,"00024":IW,"00025":DW,"00026":TW,"00027":OW,"00028":PW,"00029":NW,"00030":MW,"00031":RW,"00032":AW,"00033":LW,"00034":FW,"00035":VW,"00036":jW,"00037":BW,"00038":zW,"00039":HW,"00040":UW,"00041":GW,"00042":WW,"00043":qW,"00044":$W,"00045":YW,"00046":ZW,"00047":KW,"00048":JW,"00049":XW,"00050":QW,"00051":eq,"00052":tq,"00053":nq,"00054":iq,"00055":aq,"00056":rq,"00057":oq,"00058":sq,"00059":lq,"00060":cq,"00061":uq,"00062":dq,"00063":hq,"00064":pq,"00065":mq,"00066":fq,"00067":gq,"00068":vq,"00069":yq,"00070":bq,"00071":_q,"00072":xq,"00073":wq,"both-ears":Eq,"both-eyes":Sq,"both-nostrils":kq,"cutaneous-injection":Cq,derm:Iq,"dermal-injection":Dq,"ear-left":Tq,"ear-right":Oq,"eye-left":Pq,"eye-right":Nq,hyperdermoclyse:Mq,icut:Rq,ider:Aq,larter:Lq,"nose-left":Fq,"nose-right":Vq,oft:jq,transdermal:Bq,"vitreal-injection":zq},Hq={};K(Hq,{"00001":()=>Uq,"00002":()=>Gq,"00003":()=>Wq,"00004":()=>qq,"00005":()=>$q,"00006":()=>Yq,"00007":()=>Zq,"00008":()=>Kq,"00009":()=>Jq,"00010":()=>Xq,"00011":()=>Qq,"00012":()=>e$,"00013":()=>t$,"00014":()=>n$,"00015":()=>i$,"00016":()=>a$,"00017":()=>r$,"00018":()=>o$,"00019":()=>s$,"00020":()=>l$,"00021":()=>c$,"00022":()=>u$,"00023":()=>d$,"00024":()=>h$,"00025":()=>p$,"00026":()=>m$,"00027":()=>f$,"00028":()=>g$,"00029":()=>v$,"00030":()=>y$,"00031":()=>b$,"00032":()=>_$,"00033":()=>x$,"00034":()=>w$,"00035":()=>E$,"00036":()=>S$,"00037":()=>k$,"00038":()=>C$,"00039":()=>I$,"00040":()=>D$,"00041":()=>T$,"00042":()=>O$,"00043":()=>P$,"00044":()=>N$,"00045":()=>M$,"00046":()=>R$,"00047":()=>A$,"00048":()=>L$,"00049":()=>F$,"00050":()=>V$,"00051":()=>j$,"00052":()=>B$,"00053":()=>z$,"00054":()=>H$,"00055":()=>U$,"00056":()=>G$,"00057":()=>W$,"00058":()=>q$,"00059":()=>$$,"00060":()=>Y$,"00061":()=>Z$,"00062":()=>K$,"00063":()=>J$,"00064":()=>X$,"00065":()=>Q$,"00066":()=>eY,"00067":()=>tY,"00068":()=>nY,"00069":()=>iY,"00070":()=>aY,"00071":()=>rY,"00072":()=>oY,"00073":()=>sY,"both-ears":()=>lY,"both-eyes":()=>cY,"both-nostrils":()=>uY,"cutaneous-injection":()=>dY,default:()=>Cxe,derm:()=>hY,"dermal-injection":()=>pY,"ear-left":()=>mY,"ear-right":()=>fY,"eye-left":()=>gY,"eye-right":()=>vY,hyperdermoclyse:()=>yY,icut:()=>bY,ider:()=>_Y,larter:()=>xY,"nose-left":()=>wY,"nose-right":()=>EY,oft:()=>SY,transdermal:()=>kY,"vitreal-injection":()=>CY});var Uq="dans l’oreille",Gq="sur la peau",Wq="derm./rect",qq="derm./vag.",$q="injection en dehors de la méninge",Yq="e.dur./i.théc./local",Zq="e.dur./local",Kq="dans la trachée",Jq="introduire dans le col de l’utérus",Xq="injection dans l’artère",Qq="injection dans le pénis",e$="injection dans la peau",t$="injection dans un muscle",n$="i.m./i.théc./e.dur./s.c.",i$="i.m./i.v.",a$="i.m./i.v./perf.",r$="i.m./i.v./perf./e.dur./s.c.",o$="i.m./i.v./inf./i.arter./i.thec.",s$="i.m./i.v./perf./i.artér./local/s.c.",l$="i.m./i.v./inf./i.thec.",c$="i.m./i.v./perf./rect.",u$="i.m./i.v./perf./s.c.",d$="i.m./i.v./inhal.",h$="i.m./i.v./local",p$="i.m./i.v./or.",m$="i.m./i.v./rect",f$="i.m./i.v./s.c.",g$="i.m./perf.",v$="i.m./perf./local",y$="i.m./local",b$="i.m./local/rect.",_$="i.m./s.c.",x$="injection dans la moelle épinière",w$="introduire dans l’utérus",E$="injection dans une veine",S$="i.v./p.dur./local",k$="i.v./i.arter./i.ves.",C$="i.v./perf.",I$="i.v./perf./p.dur.",D$="i.v./perf./i.artér.",T$="i.v./perf./i.théc./s.c.",O$="i.v./perf./inhal.",P$="i.v./perf./s.c.",N$="i.v./s.c.",M$="dans la vessie",R$="perfusion",A$="perf./i.vés.",L$="perf./s.c.",F$="inhalation",V$="inhal./nas./local",j$="injection",B$="lèvre",z$="local",H$="sur la muqueuse",U$="dans le nez",G$="dans les yeux",W$="opht./auric.",q$="opht./auric./nas.",$$="opht./auric./nas./local",Y$="prendre/avaler",Z$="or./bucco-phar./derm.",K$="or./rect.",J$="or./s.l.",X$="par la bouche",Q$="bucco-phar./derm.",eY="par la bouche et dans le nez",tY="par voie rectale",nY="injection sous-cutanée",iY="s.c./i.derm.",aY="sous la langue",rY="sur les dents",oY="dans l’uretère",sY="par voie vaginale",lY="les deux oreilles",cY="les deux yeux",uY="les deux narines",dY="injection cutanée",hY="dermatologique",pY="injection dermique",mY="oreille gauche",fY="oreille droite",gY="oeil gauche",vY="oeil droite",yY="hyperdermoclyse",bY="intracutané",_Y="intradermique",xY="intra-artérielle",wY="nez gauche",EY="nez droite",SY="ophtalmologique",kY="transdermique",CY="injection vitrale",Cxe={"00001":Uq,"00002":Gq,"00003":Wq,"00004":qq,"00005":$q,"00006":Yq,"00007":Zq,"00008":Kq,"00009":Jq,"00010":Xq,"00011":Qq,"00012":e$,"00013":t$,"00014":n$,"00015":i$,"00016":a$,"00017":r$,"00018":o$,"00019":s$,"00020":l$,"00021":c$,"00022":u$,"00023":d$,"00024":h$,"00025":p$,"00026":m$,"00027":f$,"00028":g$,"00029":v$,"00030":y$,"00031":b$,"00032":_$,"00033":x$,"00034":w$,"00035":E$,"00036":S$,"00037":k$,"00038":C$,"00039":I$,"00040":D$,"00041":T$,"00042":O$,"00043":P$,"00044":N$,"00045":M$,"00046":R$,"00047":A$,"00048":L$,"00049":F$,"00050":V$,"00051":j$,"00052":B$,"00053":z$,"00054":H$,"00055":U$,"00056":G$,"00057":W$,"00058":q$,"00059":$$,"00060":Y$,"00061":Z$,"00062":K$,"00063":J$,"00064":X$,"00065":Q$,"00066":eY,"00067":tY,"00068":nY,"00069":iY,"00070":aY,"00071":rY,"00072":oY,"00073":sY,"both-ears":lY,"both-eyes":cY,"both-nostrils":uY,"cutaneous-injection":dY,derm:hY,"dermal-injection":pY,"ear-left":mY,"ear-right":fY,"eye-left":gY,"eye-right":vY,hyperdermoclyse:yY,icut:bY,ider:_Y,larter:xY,"nose-left":wY,"nose-right":EY,oft:SY,transdermal:kY,"vitreal-injection":CY},IY={};K(IY,{"00001":()=>DY,"00002":()=>TY,"00003":()=>EZ,"00004":()=>SZ,"00005":()=>OY,"00006":()=>kZ,"00007":()=>CZ,"00008":()=>PY,"00009":()=>NY,"00010":()=>MY,"00011":()=>RY,"00012":()=>AY,"00013":()=>LY,"00014":()=>IZ,"00015":()=>DZ,"00016":()=>TZ,"00017":()=>OZ,"00018":()=>PZ,"00019":()=>NZ,"00020":()=>MZ,"00021":()=>RZ,"00022":()=>AZ,"00023":()=>LZ,"00024":()=>FZ,"00025":()=>VZ,"00026":()=>jZ,"00027":()=>BZ,"00028":()=>zZ,"00029":()=>HZ,"00030":()=>UZ,"00031":()=>GZ,"00032":()=>WZ,"00033":()=>FY,"00034":()=>VY,"00035":()=>jY,"00036":()=>qZ,"00037":()=>$Z,"00038":()=>YZ,"00039":()=>ZZ,"00040":()=>KZ,"00041":()=>JZ,"00042":()=>XZ,"00043":()=>QZ,"00044":()=>eK,"00045":()=>BY,"00046":()=>zY,"00047":()=>tK,"00048":()=>nK,"00049":()=>HY,"00050":()=>iK,"00051":()=>UY,"00052":()=>GY,"00053":()=>WY,"00054":()=>qY,"00055":()=>$Y,"00056":()=>YY,"00057":()=>aK,"00058":()=>rK,"00059":()=>oK,"00060":()=>ZY,"00061":()=>sK,"00062":()=>lK,"00063":()=>cK,"00064":()=>KY,"00065":()=>uK,"00066":()=>JY,"00067":()=>XY,"00068":()=>QY,"00069":()=>dK,"00070":()=>eZ,"00071":()=>tZ,"00072":()=>nZ,"00073":()=>iZ,"both-ears":()=>bZ,"both-eyes":()=>gZ,"both-nostrils":()=>pZ,"cutaneous-injection":()=>cZ,default:()=>Ixe,derm:()=>aZ,"dermal-injection":()=>uZ,"ear-left":()=>vZ,"ear-right":()=>yZ,"eye-left":()=>mZ,"eye-right":()=>fZ,hyperdermoclyse:()=>wZ,icut:()=>oZ,ider:()=>sZ,larter:()=>rZ,"nose-left":()=>dZ,"nose-right":()=>hZ,oft:()=>lZ,transdermal:()=>xZ,"vitreal-injection":()=>_Z});var DY="in het oor",TY="op de huid",OY="inspuiting buiten het hersenvlies",PY="in de luchtpijp",NY="inbrengen in de baarmoederhals",MY="inspuiting in een slagader",RY="inspuiting in de penis",AY="inspuiting in de huid",LY="inspuiting in een spier",FY="inspuiting in het ruggenmerg",VY="inbrengen in de baarmoeder",jY="inspuiting in een ader",BY="in de urineblaas",zY="infuus",HY="inhalatie",UY="inspuiting",GY="op de lippen",WY="lokaal",qY="op het slijmvlies",$Y="in de neus",YY="in de ogen",ZY="innemen",KY="in de mond",JY="in de mond en in de neus",XY="anaal opsteken",QY="onderhuidse inspuiting",eZ="onder de tong",tZ="op de tanden",nZ="in de urineleider",iZ="vaginaal",aZ="dermatologisch",rZ="intra-arterieel",oZ="intracutaan",sZ="intradermaal",lZ="oftalmologisch",cZ="cutane injectie",uZ="dermale injectie",dZ="neus links",hZ="neus rechts",pZ="beide neusgaten",mZ="oog links",fZ="oog rechts",gZ="beide ogen",vZ="oor links",yZ="oor rechts",bZ="beide oren",_Z="vitreale injectie",xZ="transdermaal",wZ="hyperdermoclyse",EZ="derm./rect",SZ="derm./vag.",kZ="e.dur./i.thec./lokaal",CZ="e.dur./lokaal",IZ="i.m./i.thec./p.dur./s.c.",DZ="i.m./i.v.",TZ="i.m./i.v./inf.",OZ="i.m./i.v./inf./e.dur./s.c.",PZ="i.m./i.v./inf./i.arter./i.thec.",NZ="i.m./i.v./perf./i.artér./lokaal/s.c.",MZ="i.m./i.v./inf./i.thec.",RZ="i.m./i.v./inf./rect.",AZ="i.m./i.v./inf./s.c.",LZ="i.m./i.v./inhal.",FZ="i.m./i.v./lokaal",VZ="i.m./i.v./or.",jZ="i.m./i.v./rect",BZ="i.m./i.v./s.c.",zZ="i.m./inf.",HZ="i.m./perf./lokaal",UZ="i.m./lokaal",GZ="i.m./lokaal/rect.",WZ="i.m./s.c.",qZ="i.v./p.dur./lokaal",$Z="i.v./i.arter./i.ves.",YZ="i.v./inf.",ZZ="i.v./perf./p.dur.",KZ="i.v./inf./i.arter.",JZ="i.v./inf./i.thec./s.c.",XZ="i.v./inf./inhal.",QZ="i.v./inf./s.c.",eK="i.v./s.c.",tK="perf./i.ves.",nK="perf./s.c.",iK="inhal./nas./lokaal",aK="oft./auric.",rK="oft./auric./nas.",oK="oft./auric./nas./lokaal",sK="or./orofar./derm.",lK="or./rect.",cK="or./s.l.",uK="orofar./derm.",dK="s.c./i.derm.",Ixe={"00001":DY,"00002":TY,"00005":OY,"00008":PY,"00009":NY,"00010":MY,"00011":RY,"00012":AY,"00013":LY,"00033":FY,"00034":VY,"00035":jY,"00045":BY,"00046":zY,"00049":HY,"00051":UY,"00052":GY,"00053":WY,"00054":qY,"00055":$Y,"00056":YY,"00060":ZY,"00064":KY,"00066":JY,"00067":XY,"00068":QY,"00070":eZ,"00071":tZ,"00072":nZ,"00073":iZ,derm:aZ,larter:rZ,icut:oZ,ider:sZ,oft:lZ,"cutaneous-injection":cZ,"dermal-injection":uZ,"nose-left":dZ,"nose-right":hZ,"both-nostrils":pZ,"eye-left":mZ,"eye-right":fZ,"both-eyes":gZ,"ear-left":vZ,"ear-right":yZ,"both-ears":bZ,"vitreal-injection":_Z,transdermal:xZ,hyperdermoclyse:wZ,"00003":EZ,"00004":SZ,"00006":kZ,"00007":CZ,"00014":IZ,"00015":DZ,"00016":TZ,"00017":OZ,"00018":PZ,"00019":NZ,"00020":MZ,"00021":RZ,"00022":AZ,"00023":LZ,"00024":FZ,"00025":VZ,"00026":jZ,"00027":BZ,"00028":zZ,"00029":HZ,"00030":UZ,"00031":GZ,"00032":WZ,"00036":qZ,"00037":$Z,"00038":YZ,"00039":ZZ,"00040":KZ,"00041":JZ,"00042":XZ,"00043":QZ,"00044":eK,"00047":tK,"00048":nK,"00050":iK,"00057":aK,"00058":rK,"00059":oK,"00061":sK,"00062":lK,"00063":cK,"00065":uK,"00069":dK},Dxe={nl:IY,fr:Hq,de:y8,en:iW},hK={};K(hK,{default:()=>Txe,rsb:()=>fK,rsw:()=>mK,vitalink:()=>pK});var pK="Vitalink",mK="Réseau Santé Wallon",fK="Brüsseler Gesundheitsnetzwerk",Txe={vitalink:pK,rsw:mK,rsb:fK},gK={};K(gK,{default:()=>Oxe,rsb:()=>bK,rsw:()=>yK,vitalink:()=>vK});var vK="Vitalink",yK="Réseau Santé Wallon",bK="Brussels Health Network",Oxe={vitalink:vK,rsw:yK,rsb:bK},_K={};K(_K,{default:()=>Pxe,rsb:()=>EK,rsw:()=>wK,vitalink:()=>xK});var xK="Vitalink",wK="Réseau Santé Wallon",EK="Réseau Santé Bruxellois",Pxe={vitalink:xK,rsw:wK,rsb:EK},SK={};K(SK,{default:()=>Nxe,rsb:()=>IK,rsw:()=>CK,vitalink:()=>kK});var kK="Vitalink",CK="Réseau Santé Wallon",IK="Brusselse Gezondheidsnetwerk",Nxe={vitalink:kK,rsw:CK,rsb:IK},Mxe={nl:SK,fr:_K,de:hK,en:gK},DK={};K(DK,{alphabetical:()=>VK,author:()=>PK,date:()=>NK,default:()=>Rxe,expiration:()=>FK,medicationName:()=>TK,role:()=>MK,sort:()=>LK,"sorting-ascendant":()=>RK,"sorting-descendent":()=>AK,validityDate:()=>OK});var TK="Arzneimittel",OK="Ablaufdatum",PK="Verfasser",NK="Datum",MK="Benutzerrolle",RK="Aufsteigend sortieren",AK="Absteigend sortieren",LK="Sortieren",FK={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},VK={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},Rxe={medicationName:TK,validityDate:OK,author:PK,date:NK,role:MK,"sorting-ascendant":RK,"sorting-descendent":AK,sort:LK,expiration:FK,alphabetical:VK},jK={};K(jK,{alphabetical:()=>ZK,author:()=>GK,date:()=>WK,default:()=>Axe,expiration:()=>YK,medicationName:()=>BK,role:()=>qK,sort:()=>$K,"sorting-ascendant":()=>HK,"sorting-descendent":()=>UK,validityDate:()=>zK});var BK="Drug",zK="Validity",HK="Sort by ascending order",UK="Sort by descending order",GK="Author",WK="Date",qK="Role",$K="Sort by",YK={asc:"expires first",desc:"expires last"},ZK={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},Axe={medicationName:BK,validityDate:zK,"sorting-ascendant":HK,"sorting-descendent":UK,author:GK,date:WK,role:qK,sort:$K,expiration:YK,alphabetical:ZK},KK={};K(KK,{alphabetical:()=>oJ,author:()=>QK,date:()=>eJ,default:()=>Lxe,expiration:()=>rJ,medicationName:()=>JK,role:()=>tJ,sort:()=>aJ,"sorting-ascendant":()=>nJ,"sorting-descendent":()=>iJ,validityDate:()=>XK});var JK="Médicament",XK="Validité",QK="Auteur",eJ="Date",tJ="Qualité",nJ="Trier par ordre croissant",iJ="Trier par ordre décroissant",aJ="Trier",rJ={asc:"expire en premier",desc:"expire en dernier"},oJ={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},Lxe={medicationName:JK,validityDate:XK,author:QK,date:eJ,role:tJ,"sorting-ascendant":nJ,"sorting-descendent":iJ,sort:aJ,expiration:rJ,alphabetical:oJ},sJ={};K(sJ,{alphabetical:()=>vJ,author:()=>uJ,date:()=>dJ,default:()=>Fxe,expiration:()=>gJ,medicationName:()=>lJ,role:()=>hJ,sort:()=>fJ,"sorting-ascendant":()=>pJ,"sorting-descendent":()=>mJ,validityDate:()=>cJ});var lJ="Geneesmiddel",cJ="Geldigheid",uJ="Auteur",dJ="Datum",hJ="Rol",pJ="Oplopend sorteren",mJ="Aflopend sorteren",fJ="Sorteren",gJ={asc:"vervalt eerst",desc:"vervalt laatst"},vJ={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},Fxe={medicationName:lJ,validityDate:cJ,author:uJ,date:dJ,role:hJ,"sorting-ascendant":pJ,"sorting-descendent":mJ,sort:fJ,expiration:gJ,alphabetical:vJ},Vxe={nl:sJ,fr:KK,de:DK,en:jK},yJ={};K(yJ,{acute:()=>bJ,chronic:()=>_J,default:()=>jxe,ifnecessary:()=>xJ,oneshot:()=>wJ,reactivation:()=>EJ,remission:()=>SJ,subacute:()=>kJ});var bJ="akut",_J="chronisch",xJ="falls erforderlich",wJ="einmalig",EJ="Reaktivierung",SJ="Remission",kJ="subakut",jxe={acute:bJ,chronic:_J,ifnecessary:xJ,oneshot:wJ,reactivation:EJ,remission:SJ,subacute:kJ},CJ={};K(CJ,{acute:()=>IJ,chronic:()=>DJ,default:()=>Bxe,ifnecessary:()=>TJ,oneshot:()=>OJ,reactivation:()=>PJ,remission:()=>NJ,subacute:()=>MJ});var IJ="acute",DJ="chronic",TJ="if necessary",OJ="one shot",PJ="reactivation",NJ="remission",MJ="subacute",Bxe={acute:IJ,chronic:DJ,ifnecessary:TJ,oneshot:OJ,reactivation:PJ,remission:NJ,subacute:MJ},RJ={};K(RJ,{acute:()=>AJ,chronic:()=>LJ,default:()=>zxe,ifnecessary:()=>FJ,oneshot:()=>VJ,reactivation:()=>jJ,remission:()=>BJ,subacute:()=>zJ});var AJ="aigu",LJ="chronique",FJ="si nécessaire",VJ="une seule fois",jJ="réactivation",BJ="rémission",zJ="suraigu",zxe={acute:AJ,chronic:LJ,ifnecessary:FJ,oneshot:VJ,reactivation:jJ,remission:BJ,subacute:zJ},HJ={};K(HJ,{acute:()=>UJ,chronic:()=>GJ,default:()=>Hxe,ifnecessary:()=>WJ,oneshot:()=>qJ,reactivation:()=>$J,remission:()=>YJ,subacute:()=>ZJ});var UJ="tijdelijke medicatie",GJ="chronische medicatie",WJ="indien nodig",qJ="eenmalig",$J="reactivatie",YJ="remissie",ZJ="subacuut",Hxe={acute:UJ,chronic:GJ,ifnecessary:WJ,oneshot:qJ,reactivation:$J,remission:YJ,subacute:ZJ},Uxe={nl:HJ,fr:RJ,de:yJ,en:CJ},KJ={};K(KJ,{author:()=>nX,default:()=>Gxe,profession:()=>iX,source:()=>tX,title:()=>JJ,updated:()=>QJ,updatedBy:()=>eX,version:()=>XJ});var JJ="Versionsdetails",XJ="Version",QJ="Aktualisiert am",eX="Von",tX="Ursprung",nX="Verfasser",iX="Beruf",Gxe={title:JJ,version:XJ,updated:QJ,updatedBy:eX,source:tX,author:nX,profession:iX},aX={};K(aX,{author:()=>uX,default:()=>Wxe,profession:()=>dX,source:()=>cX,title:()=>rX,updated:()=>sX,updatedBy:()=>lX,version:()=>oX});var rX="Version details",oX="Version",sX="Updated on",lX="By",cX="Source",uX="Author",dX="Appeal",Wxe={title:rX,version:oX,updated:sX,updatedBy:lX,source:cX,author:uX,profession:dX},hX={};K(hX,{author:()=>yX,default:()=>qxe,profession:()=>bX,source:()=>vX,title:()=>pX,updated:()=>fX,updatedBy:()=>gX,version:()=>mX});var pX="Détails de la version",mX="Version",fX="Mis à jour le",gX="Par",vX="Source",yX="Auteur",bX="Profession",qxe={title:pX,version:mX,updated:fX,updatedBy:gX,source:vX,author:yX,profession:bX},_X={};K(_X,{author:()=>CX,default:()=>$xe,profession:()=>IX,source:()=>kX,title:()=>xX,updated:()=>EX,updatedBy:()=>SX,version:()=>wX});var xX="Versie details",wX="Versie",EX="Bijgewerkt op",SX="Door",kX="Bron",CX="Auteur",IX="Beroep",$xe={title:xX,version:wX,updated:EX,updatedBy:SX,source:kX,author:CX,profession:IX},Yxe={nl:_X,fr:hX,de:KJ,en:aX},DX={};K(DX,{day:()=>TX,default:()=>Zxe,moreInformations:()=>VX,nextday:()=>LX,nextweek:()=>RX,openCalendar:()=>FX,previousday:()=>AX,previousweek:()=>MX,returnToCurrentWeek:()=>NX,returnToToday:()=>PX,week:()=>OX});var TX="Tagesansicht",OX="Wochenansicht",PX="Zurück zu heute",NX="Diese Woche",MX="Vorige week",RX="Volgende week",AX="Vorige dag",LX="Volgende dag",FX="den Kalender öffnen",VX="Weitere Informationen",Zxe={day:TX,week:OX,returnToToday:PX,returnToCurrentWeek:NX,previousweek:MX,nextweek:RX,previousday:AX,nextday:LX,openCalendar:FX,moreInformations:VX},jX={};K(jX,{day:()=>BX,default:()=>Kxe,moreInformations:()=>ZX,nextday:()=>$X,nextweek:()=>WX,openCalendar:()=>YX,previousday:()=>qX,previousweek:()=>GX,returnToCurrentWeek:()=>UX,returnToToday:()=>HX,week:()=>zX});var BX="Day overview",zX="Week overview",HX="Back to today",UX="Present week",GX="Previous week",WX="Next week",qX="Previous day",$X="Next day",YX="open the calendar",ZX="More information",Kxe={day:BX,week:zX,returnToToday:HX,returnToCurrentWeek:UX,previousweek:GX,nextweek:WX,previousday:qX,nextday:$X,openCalendar:YX,moreInformations:ZX},KX={};K(KX,{day:()=>JX,default:()=>Jxe,moreInformations:()=>oQ,nextday:()=>aQ,nextweek:()=>nQ,openCalendar:()=>rQ,previousday:()=>iQ,previousweek:()=>tQ,returnToCurrentWeek:()=>eQ,returnToToday:()=>QX,week:()=>XX});var JX="Vue journalière",XX="Vue semaine",QX="Revenir à aujourd'hui",eQ="Cette semaine",tQ="Semaine précédente",nQ="Semaine suivante",iQ="Jour précédent",aQ="Jour suivant",rQ="Ouvrir le calendrier",oQ="Plus d'informations",Jxe={day:JX,week:XX,returnToToday:QX,returnToCurrentWeek:eQ,previousweek:tQ,nextweek:nQ,previousday:iQ,nextday:aQ,openCalendar:rQ,moreInformations:oQ},sQ={};K(sQ,{day:()=>lQ,default:()=>Xxe,moreInformations:()=>vQ,nextday:()=>fQ,nextweek:()=>pQ,openCalendar:()=>gQ,previousday:()=>mQ,previousweek:()=>hQ,returnToCurrentWeek:()=>dQ,returnToToday:()=>uQ,week:()=>cQ});var lQ="Dagoverzicht",cQ="Weekoverzicht",uQ="Terug naar vandaag",dQ="Huidige week",hQ="vorherige Woche",pQ="nächste Woche",mQ="vorheriger Tag",fQ="nächster Tag",gQ="de kalender openen",vQ="Meer informatie",Xxe={day:lQ,week:cQ,returnToToday:uQ,returnToCurrentWeek:dQ,previousweek:hQ,nextweek:pQ,previousday:mQ,nextday:fQ,openCalendar:gQ,moreInformations:vQ},Qxe={nl:sQ,fr:KX,de:DX,en:jX},yQ={};K(yQ,{comment:()=>MQ,default:()=>ewe,end:()=>EQ,endCondition:()=>PQ,indication:()=>_Q,instructions:()=>NQ,medication:()=>bQ,noDetails:()=>RQ,other:()=>AQ,periodicity:()=>CQ,posologie:()=>IQ,prescriber:()=>xQ,quantity:()=>kQ,route:()=>DQ,section:()=>LQ,start:()=>wQ,startCondition:()=>OQ,suspension:()=>SQ,temporality:()=>TQ});var bQ="Arzneimittel",_Q="Grund",xQ="verschreibende Person",wQ="Beginn",EQ="Ende",SQ={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},kQ="Darreichungsform",CQ="Abstand",IQ="Dosierung",DQ="Verabreichung",TQ="Zeitlichkeit",OQ="Anfangszustand",PQ="Endzustand",NQ="Hinweise",MQ="Kommentar",RQ="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",AQ="Andere",LQ={treatment:"Behandlung",intake:"Aufnahme",prescription:"Rezept"},ewe={medication:bQ,indication:_Q,prescriber:xQ,start:wQ,end:EQ,suspension:SQ,quantity:kQ,periodicity:CQ,posologie:IQ,route:DQ,temporality:TQ,startCondition:OQ,endCondition:PQ,instructions:NQ,comment:MQ,noDetails:RQ,other:AQ,section:LQ},FQ={};K(FQ,{comment:()=>XQ,default:()=>twe,end:()=>HQ,endCondition:()=>KQ,indication:()=>jQ,instructions:()=>JQ,medication:()=>VQ,noDetails:()=>QQ,other:()=>eee,periodicity:()=>WQ,posologie:()=>qQ,prescriber:()=>BQ,quantity:()=>GQ,route:()=>$Q,section:()=>tee,start:()=>zQ,startCondition:()=>ZQ,suspension:()=>UQ,temporality:()=>YQ});var VQ="Medication",jQ="Reason",BQ="Prescriber",zQ="Beginning",HQ="End",UQ={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},GQ="Pharmaceutical form",WQ="Frequency",qQ="Dosage",$Q="Route of administration",YQ="Temporality",ZQ="Condition at the beginning",KQ="Condition at the end",JQ="Instructions ",XQ="Comments",QQ="The requested information has been deleted or doesn't exist.",eee="Other",tee={treatment:"Treatment",intake:"Intake",prescription:"Prescription"},twe={medication:VQ,indication:jQ,prescriber:BQ,start:zQ,end:HQ,suspension:UQ,quantity:GQ,periodicity:WQ,posologie:qQ,route:$Q,temporality:YQ,startCondition:ZQ,endCondition:KQ,instructions:JQ,comment:XQ,noDetails:QQ,other:eee,section:tee},nee={};K(nee,{comment:()=>vee,default:()=>nwe,end:()=>see,endCondition:()=>fee,indication:()=>aee,instructions:()=>gee,medication:()=>iee,noDetails:()=>yee,other:()=>bee,periodicity:()=>uee,posologie:()=>dee,prescriber:()=>ree,quantity:()=>cee,route:()=>hee,section:()=>_ee,start:()=>oee,startCondition:()=>mee,suspension:()=>lee,temporality:()=>pee});var iee="Médicament",aee="Raison",ree="Prescripteur",oee="Début",see="Fin",lee={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},cee="Forme pharmaceutique",uee="Fréquence",dee="Posologie",hee="Voie d’administration",pee="Temporalité",mee="Condition de début",fee="Condition de fin",gee="Instructions",vee="Commentaire",yee="Le médicament demandé a été supprimé ou n'existe pas.",bee="Autre",_ee={treatment:"Traitement",intake:"Prise",prescription:"Prescription"},nwe={medication:iee,indication:aee,prescriber:ree,start:oee,end:see,suspension:lee,quantity:cee,periodicity:uee,posologie:dee,route:hee,temporality:pee,startCondition:mee,endCondition:fee,instructions:gee,comment:vee,noDetails:yee,other:bee,section:_ee},xee={};K(xee,{comment:()=>Lee,default:()=>iwe,end:()=>Cee,endCondition:()=>Ree,indication:()=>Eee,instructions:()=>Aee,medication:()=>wee,noDetails:()=>Fee,other:()=>Vee,periodicity:()=>Tee,posologie:()=>Oee,prescriber:()=>See,quantity:()=>Dee,route:()=>Pee,section:()=>jee,start:()=>kee,startCondition:()=>Mee,suspension:()=>Iee,temporality:()=>Nee});var wee="Geneesmiddel",Eee="Reden",See="Voorschrijver",kee="Start",Cee="Einde",Iee={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},Dee="Farmaceutische vorm",Tee="Frequentie",Oee="Posologie",Pee="Toedieningsweg",Nee="Temporaliteit",Mee="Beginconditie",Ree="Eindconditie",Aee="Instructies",Lee="Commentaar",Fee="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",Vee="Andere",jee={treatment:"Behandeling",intake:"Inname",prescription:"Voorschrift"},iwe={medication:wee,indication:Eee,prescriber:See,start:kee,end:Cee,suspension:Iee,quantity:Dee,periodicity:Tee,posologie:Oee,route:Pee,temporality:Nee,startCondition:Mee,endCondition:Ree,instructions:Aee,comment:Lee,noDetails:Fee,other:Vee,section:jee},awe={nl:xee,fr:nee,de:yQ,en:FQ},Bee={};K(Bee,{all:()=>zee,atYourConvenienceText:()=>Qee,consultDetails:()=>qee,current:()=>Hee,days:()=>ete,default:()=>rwe,future:()=>Uee,headers:()=>Wee,noMedications:()=>nte,posology:()=>Zee,prescriber:()=>Jee,reason:()=>Kee,remarks:()=>$ee,return:()=>Gee,seeDetails:()=>Xee,toPlan:()=>Yee,toTake:()=>tte});var zee="Vollständige Liste",Hee="Aktuel",Uee="Künftig",Gee="Zurück zur Übersicht",Wee={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},qee="Siehe Details",$ee={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspended:"Aussetzen",end:"Ende"},Yee="Noch zu vereinbaren",Zee="Dosierung",Kee="Grund",Jee="Verordnende Person",Xee="Details anzeigen",Qee="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.",ete={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},tte="am {days} zu nehmen",nte={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"},rwe={all:zee,current:Hee,future:Uee,return:Gee,headers:Wee,consultDetails:qee,remarks:$ee,toPlan:Yee,posology:Zee,reason:Kee,prescriber:Jee,seeDetails:Xee,atYourConvenienceText:Qee,days:ete,toTake:tte,noMedications:nte},ite={};K(ite,{all:()=>ate,atYourConvenienceText:()=>vte,consultDetails:()=>cte,current:()=>rte,days:()=>yte,default:()=>owe,future:()=>ote,headers:()=>lte,noMedications:()=>_te,notSpecified:()=>ute,posology:()=>pte,prescriber:()=>fte,reason:()=>mte,remarks:()=>dte,return:()=>ste,seeDetails:()=>gte,toPlan:()=>hte,toTake:()=>bte});var ate="Complete list",rte="Current",ote="Future",ste="Back to overview",lte={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 "},cte="See details",ute="Dosage not filled",dte={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspended:"Suspend",end:"End"},hte="Remains to be planned",pte="Dosage",mte="Reason",fte="Prescriber",gte="View details",vte="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.",yte={monday:"Mo",tuesday:"Tu",thursday:"Th",wednesday:"We",friday:"Fr",saturday:"Sa",sunday:"Su",allDays:"Every day"},bte="To take on {days}",_te={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."},owe={all:ate,current:rte,future:ote,return:ste,headers:lte,consultDetails:cte,notSpecified:ute,remarks:dte,toPlan:hte,posology:pte,reason:mte,prescriber:fte,seeDetails:gte,atYourConvenienceText:vte,days:yte,toTake:bte,noMedications:_te},xte={};K(xte,{all:()=>wte,atYourConvenienceText:()=>Rte,consultDetails:()=>Ite,current:()=>Ete,days:()=>Ate,default:()=>swe,future:()=>Ste,headers:()=>Cte,noMedications:()=>Fte,posology:()=>Ote,prescriber:()=>Nte,reason:()=>Pte,remarks:()=>Dte,return:()=>kte,seeDetails:()=>Mte,toPlan:()=>Tte,toTake:()=>Lte});var wte="Toute la liste",Ete="En cours",Ste="Futur",kte="Retour à la vue d'ensemble",Cte={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"},Ite="Voir les détails",Dte={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspended:"Suspendre",end:"Fin"},Tte="À convenir",Ote="Posologie",Pte="Raison",Nte="Prescripteur",Mte="Voir détails",Rte="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.",Ate={monday:"Lu",tuesday:"Ma",wednesday:"Me",thursday:"Je",friday:"Ve",saturday:"Sa",sunday:"Di",allDays:"Tous les jours"},Lte="À prendre {days}",Fte={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"},swe={all:wte,current:Ete,future:Ste,return:kte,headers:Cte,consultDetails:Ite,remarks:Dte,toPlan:Tte,posology:Ote,reason:Pte,prescriber:Nte,seeDetails:Mte,atYourConvenienceText:Rte,days:Ate,toTake:Lte,noMedications:Fte},Vte={};K(Vte,{all:()=>jte,atYourConvenienceText:()=>Xte,consultDetails:()=>Gte,current:()=>Bte,days:()=>Qte,default:()=>lwe,future:()=>zte,headers:()=>Ute,noMedications:()=>tne,notSpecified:()=>Wte,posology:()=>Yte,prescriber:()=>Kte,reason:()=>Zte,remarks:()=>qte,return:()=>Hte,seeDetails:()=>Jte,toPlan:()=>$te,toTake:()=>ene});var jte="Volledige lijst",Bte="Huidig",zte="Toekomstig",Hte="Terug naar overzicht",Ute={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},Gte="Zie details",Wte="Dosering niet ingevuld",qte={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspended:"Opschorten",end:"Einde"},$te="Nog in te plannen",Yte="Posologie",Zte="Reden",Kte="Voorschrijver",Jte="Details bekijken",Xte="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.",Qte={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Wo",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},ene="Te nemen op {days}",tne={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"},lwe={all:jte,current:Bte,future:zte,return:Hte,headers:Ute,consultDetails:Gte,notSpecified:Wte,remarks:qte,toPlan:$te,posology:Yte,reason:Zte,prescriber:Kte,seeDetails:Jte,atYourConvenienceText:Xte,days:Qte,toTake:ene,noMedications:tne},cwe={nl:Vte,fr:xte,de:Bee,en:ite},nne={};K(nne,{default:()=>uwe,flanders:()=>rne,subtitle:()=>ane,title:()=>ine,walloniaBrussels:()=>one});var ine="Medikamentenplan",ane="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",rne={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."},one={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>'},uwe={title:ine,subtitle:ane,flanders:rne,walloniaBrussels:one},sne={};K(sne,{default:()=>dwe,flanders:()=>une,subtitle:()=>cne,title:()=>lne,walloniaBrussels:()=>dne});var lne="Medication scheme",cne="What to do if I I don't see any content in this part?",une={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."},dne={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>`},dwe={title:lne,subtitle:cne,flanders:une,walloniaBrussels:dne},hne={};K(hne,{default:()=>hwe,flanders:()=>fne,subtitle:()=>mne,title:()=>pne,walloniaBrussels:()=>gne});var pne="Schéma de médication",mne="Que faire si je ne vois aucun contenu dans cette partie ?",fne={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"},gne={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>'},hwe={title:pne,subtitle:mne,flanders:fne,walloniaBrussels:gne},vne={};K(vne,{default:()=>pwe,flanders:()=>_ne,subtitle:()=>bne,title:()=>yne,walloniaBrussels:()=>xne});var yne="Medicatieschema",bne="Wat te doen indien ik geen inhoud zie in dit deel?",_ne={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."},xne={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>'},pwe={title:yne,subtitle:bne,flanders:_ne,walloniaBrussels:xne},mwe={nl:vne,fr:hne,de:nne,en:sne},wne={};K(wne,{day:()=>kne,default:()=>fwe,list:()=>Ene,week:()=>Sne});var Ene="Liste",Sne="Woche",kne="Tag",fwe={list:Ene,week:Sne,day:kne},Cne={};K(Cne,{day:()=>Tne,default:()=>gwe,list:()=>Ine,week:()=>Dne});var Ine="List",Dne="Week",Tne="Day",gwe={list:Ine,week:Dne,day:Tne},One={};K(One,{day:()=>Mne,default:()=>vwe,list:()=>Pne,week:()=>Nne});var Pne="Liste",Nne="Semaine",Mne="Jour",vwe={list:Pne,week:Nne,day:Mne},Rne={};K(Rne,{day:()=>Fne,default:()=>ywe,list:()=>Ane,week:()=>Lne});var Ane="Lijst",Lne="Week",Fne="Dag",ywe={list:Ane,week:Lne,day:Fne},bwe={nl:Rne,fr:One,de:wne,en:Cne},Vne={};K(Vne,{default:()=>_we,evening:()=>Hne,ifNeeded:()=>Gne,morning:()=>Bne,night:()=>Une,noon:()=>zne,toPlan:()=>jne});var jne="Spezifische Anweisungen",Bne="Morgen",zne="Mittag und Nachmittag",Hne="Abends",Une="Zubettgehen",Gne="Gegebenenfalls",_we={toPlan:jne,morning:Bne,noon:zne,evening:Hne,night:Une,ifNeeded:Gne},Wne={};K(Wne,{default:()=>xwe,evening:()=>Zne,ifNeeded:()=>Jne,morning:()=>$ne,night:()=>Kne,noon:()=>Yne,toPlan:()=>qne});var qne="Specific instructions",$ne="Morning",Yne="Noon and afternoon",Zne="Evening meal",Kne="Going to sleep",Jne="If necessary",xwe={toPlan:qne,morning:$ne,noon:Yne,evening:Zne,night:Kne,ifNeeded:Jne},Xne={};K(Xne,{default:()=>wwe,evening:()=>nie,ifNeeded:()=>aie,morning:()=>eie,night:()=>iie,noon:()=>tie,toPlan:()=>Qne});var Qne="Instructions spécifiques",eie="Matin",tie="Midi et Après-midi",nie="Soir",iie="Au coucher",aie="Si nécessaire",wwe={toPlan:Qne,morning:eie,noon:tie,evening:nie,night:iie,ifNeeded:aie},rie={};K(rie,{default:()=>Ewe,evening:()=>cie,ifNeeded:()=>die,morning:()=>sie,night:()=>uie,noon:()=>lie,toPlan:()=>oie});var oie="Specifieke instructies",sie="Ochtend",lie="Middag en namiddag",cie="Avondmaal",uie="Bij het slapen gaan",die="Indien nodig",Ewe={toPlan:oie,morning:sie,noon:lie,evening:cie,night:uie,ifNeeded:die},Swe={nl:rie,fr:Xne,de:Vne,en:Wne},hie={};K(hie,{collapsed:()=>vie,default:()=>kwe,disclaimer:()=>fie,expanded:()=>gie,source:()=>yie,subtitle:()=>mie,title:()=>pie});var pie="Version {versionNumber}, aktualisiert am {date} um {hour}",mie="von {authorProfession} {authorFirstName} {authorLastName}",fie="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.",gie="Warnung einklappen",vie="Warnung ausklappen",yie="Ursprung",kwe={title:pie,subtitle:mie,disclaimer:fie,expanded:gie,collapsed:vie,source:yie},bie={};K(bie,{collapsed:()=>Sie,default:()=>Cwe,disclaimer:()=>wie,expanded:()=>Eie,source:()=>kie,subtitle:()=>xie,title:()=>_ie});var _ie="Version {versionNumber}, updated on {date} at {hour}",xie="by {authorProfession} {authorFirstName} {authorLastName}",wie="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.",Eie="Collapse alert",Sie="Expand alert",kie="Source",Cwe={title:_ie,subtitle:xie,disclaimer:wie,expanded:Eie,collapsed:Sie,source:kie},Cie={};K(Cie,{collapsed:()=>Pie,default:()=>Iwe,disclaimer:()=>Tie,expanded:()=>Oie,source:()=>Nie,subtitle:()=>Die,title:()=>Iie});var Iie="Version {versionNumber}, mis à jour le {date} à {hour}",Die="par {authorProfession} {authorFirstName} {authorLastName}",Tie="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.",Oie="Réduire l’alerte",Pie="Déplier l’alerte",Nie="Source",Iwe={title:Iie,subtitle:Die,disclaimer:Tie,expanded:Oie,collapsed:Pie,source:Nie},Mie={};K(Mie,{collapsed:()=>Vie,default:()=>Dwe,disclaimer:()=>Lie,expanded:()=>Fie,source:()=>jie,subtitle:()=>Aie,title:()=>Rie});var Rie="Versie {versionNumber}, bijgewerkt op {date} om {hour}",Aie="door {authorProfession} {authorFirstName} {authorLastName}",Lie="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.",Fie="Waarschuwing samenvouwen",Vie="Waarschuwing uitvouwen",jie="Bron",Dwe={title:Rie,subtitle:Aie,disclaimer:Lie,expanded:Fie,collapsed:Vie,source:jie},Twe={nl:Mie,fr:Cie,de:hie,en:bie},Owe=class extends Is{getTranslation(e){return vt({commons:yt(ue({},ixe[e]),{days:$_e[e],errors:X_e[e],roles:Exe[e],safes:Mxe[e],periodicities:lxe[e],administrationUnits:H_e[e],period:pxe[e],routes:Dxe[e],temporality:Uxe[e],posology:yxe[e],sortDropdown:Vxe[e]}),medicationSchemeListView:cwe[e],medicationSchemeOverview:bwe[e],medicationSchemeMoments:Swe[e],medicationSchemeNoData:mwe[e],medicationSchemeDateToggler:Qxe[e],medicationSchemeCreationDetails:Yxe[e],medicationSchemeDetails:awe[e],medicationSchemeDisclaimer:Twe[e]})}},Pwe=[P_e,Xfe({defaultLanguage:"fr",loader:{provide:Is,useClass:Owe},compiler:{provide:Ts,useClass:A_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&&(jt("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})(),Bie={"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(Bie);var Nwe=Bie,zie={"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(zie);var Mwe=zie,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,Va,Rwe=class{constructor(...e){_r.set(this,new Map),To.set(this,new Map),Va.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,Va,"f").has(i)||Pn(this,Va,"f").set(i,new Set);let a=Pn(this,Va,"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,Va,"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,Va,"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,Va=new WeakMap;var Awe=Rwe;new Awe(Mwe,Nwe)._freeze();var Hie=(()=>{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})(),Uie=(()=>{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 n_e(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"fullname",type:t,pure:!0});let e=t;return e})(),Gie=(()=>{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})(),Wie=(()=>{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})(),qie=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return a_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 i_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})(),$ie=(()=>{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||{}),Yie=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(Yie||{}),Zie=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(Zie||{});function Kie(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 Lwe(e){if(!e)return"";let t=Y_(e,"yyyy-MM-dd",new Date);return A_(t)?Ha(t,"EEEE").toLowerCase():""}var Fwe="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 Vwe=[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 Vwe.includes(e)}var jwe=[G.J,G.JH2,G.JT,G.JD,G.JV,G.JQ,G.JZ];function Zu(e){return jwe.includes(e)}function Bwe(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=>P1e(t,{start:qr(new Date(a.startDate)),end:zye(new Date(a.endDate))})):!1}function zwe(e,t){var i,n;return(n=(i=e.day)==null?void 0:i.weekday)!=null&&n.weekNumber?Hwe(e,t):Uwe(e,t)}function Hwe(e,t){let i=new Date(t.treatmentStartDate),n=Xp(i),a=qr(co(Vye(tr(i),e.day.weekday.weekNumber-n),(Kie(e.day.weekday.day)||1)-1));return U_(a,i)?jye(a,1):a}function Uwe(e,t){var a,r;let i=Kie((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 Gwe(e){let t=qr(new Date);return e.treatmentStartDate&&Abe(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&Bwe(e,t)}function Wwe(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 qwe=(()=>{const t=class t{transform(n){return Gwe(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Yt({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),$we=(()=>{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))+"/"+(Vg(n.day.date)+1)):m.push(rl(r)+"/"+(Vg(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(zwe(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})(),Jie=(()=>{const t=class t{transform(n,a,r){return Wwe(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})(),Ywe=(()=>{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})(),Xie=e=>({posology:e}),Zwe=e=>({count:e});function Kwe(e,t){e&1&&(j(0,"span",1),ge(1),A(2,"translate"),z()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function Jwe(e,t){if(e&1&&(j(0,"li"),Sa(1,2),z()),e&2){let i=t.$implicit;ae(3);let n=or(3);O(),$("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,Xie,i))}}function Xwe(e,t){if(e&1&&(j(0,"ul"),oo(1,Jwe,2,4,"li",null,ks),z()),e&2){let i=ae(2);O(),so(i.medication().posology)}}function Qwe(e,t){if(e&1&&Sa(0,2),e&2){let i=ae(2),n=or(3);$("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,Xie,i.medication().posology[0]))}}function eEe(e,t){if(e&1&&oe(0,Kwe,3,3,"span",1)(1,Xwe,3,0,"ul")(2,Qwe,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 tEe(e,t){e&1&&(ge(0),A(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
38
- `)}function nEe(e,t){e&1&&(j(0,"span"),ge(1),z()),e&2&&(O(),qe(" ",t,""))}function iEe(e,t){if(e&1&&(j(0,"span"),ge(1),A(2,"translate"),z(),oe(3,nEe,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,Zwe,n.quantity.value)),""),O(2),ee((i=dt(4,5,n,a.medication()))?3:-1,i)}}function aEe(e,t){if(e&1&&(j(0,"span"),ge(1),A(2,"quantity"),z(),oe(3,iEe,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 rEe(e,t){if(e&1&&(j(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z()),e&2){let i=ae();$("lang",Y(1,3,i.lang)),jt("translate",Y(2,5,i.lang)),O(3),qe("  ",t," ")}}function oEe(e,t){if(e&1&&(j(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z(),oe(4,rEe,4,7,"span",3),A(5,"posologySpecification")),e&2){let i,n=t,a=ae().posology,r=ae();$("lang",Y(1,4,n.lang)),jt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),ee((i=dt(5,8,a,r.medication()))?4:-1,i)}}function sEe(e,t){if(e&1&&(j(0,"div"),oe(1,aEe,4,4)(2,oEe,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 lEe=(()=>{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,eEe,3,2)(1,tEe,2,3)(2,sEe,4,4,"ng-template",null,0,Zl),n&2){let r;ee((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Wie,$we,qie,Hie,Gie,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(Yre());var sl;function cEe(){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=cEe())==null?void 0:t.createHTML(e))||e}function Bg(e){return Error(`Unable to find icon with the name "${e}"`)}function uEe(){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}},dEe=(()=>{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):Boe(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 uEe();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 hEe(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 hEe(e){return!!(e.url&&e.options)}var pEe=["*"],mEe=new se("MAT_ICON_DEFAULT_OPTIONS"),fEe=new se("mat-icon-location",{providedIn:"root",factory:gEe});function gEe(){let e=C(He),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var Qie=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],vEe=Qie.map(e=>`[${e}]`).join(", "),yEe=/^url\(['"]?#(.*?)['"]?\)$/,ho=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_iconRegistry",C(dEe));s(this,"_location",C(fEe));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 Nle("aria-hidden"),{optional:!0}),a=C(mEe,{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(vEe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)Qie.forEach(l=>{let u=a[o],c=u.getAttribute(l),h=c?c.match(yEe):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(jn(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&&(jt("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:pEe,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})(),bEe=(()=>{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})(),eae=(()=>{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&&(j(0,"a",0),le(1,"mat-icon",1),ge(2),A(3,"translate"),z()),n&2&&($("href",a.leaflet(),By),O(2),qe(" ",Y(3,2,"commons.downloadLeaflet")," "))},dependencies:[Wc,R0e,ho,un],encapsulation:2});let e=t;return e})(),tae=(()=>{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&&($("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})(),_Ee=(()=>{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&&(j(0,"h2",0),ge(1),A(2,"translate"),z(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),A(7,"translate"),z()(),j(8,"p")(9,"span"),ge(10),A(11,"translate"),z(),j(12,"a",1),A(13,"translate"),ge(14),A(15,"translate"),z(),ge(16,"."),z()(),j(17,"mat-dialog-actions")(18,"button",2),ge(19),A(20,"translate"),z(),j(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),$("href",Y(13,15,"commons.errors.report-message-link"),By),O(2),Nt(Y(15,17,"commons.errors.report-message-term-use")),O(4),$("mat-dialog-close",!0),O(),qe(" ",Y(20,19,"commons.errors.report-message-report-button")," "),O(2),$("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})(),xEe=(()=>{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&&(j(0,"h2",0),ge(1),A(2,"translate"),z(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ge(6),A(7,"translate"),z()()(),j(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),$("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})();function Gg(e,t,i){let n=z_(),a=SEe(e,i.timeZone,i.locale??n.locale);return"formatToParts"in a?wEe(a,t):EEe(a,t)}function wEe(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 EEe(e,t){let i=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(i);return n?n[0].substr(1):""}function SEe(e,t,i){return new Intl.DateTimeFormat(i?[i.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function kEe(e,t){let i=OEe(t);return"formatToParts"in i?IEe(i,e):DEe(i,e)}var CEe={year:0,month:1,day:2,hour:3,minute:4,second:5};function IEe(e,t){try{let i=e.formatToParts(t),n=[];for(let a=0;a<i.length;a++){let r=CEe[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 DEe(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")),TEe=Wg==="06/25/2014, 00:00:00"||Wg==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function OEe(e){return Ku[e]||(Ku[e]=TEe?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 nae(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,PEe=6e4,Ju={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function iae(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*PEe,n[1]==="+"?-r:r):NaN}if(REe(e)){t=new Date(t||Date.now());let o=i?t:NEe(t),l=ch(o,e);return-(i?l:MEe(t,l,e))}return NaN}function NEe(e){return nae(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ch(e,t){let i=kEe(e,t),n=nae(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 MEe(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 REe(e){if(Yg[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Yg[e]=!0,!0}catch{return!1}}var AEe=60*1e3,LEe={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"+FEe(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?iae(e,t,!0)/AEe:(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 FEe(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 VEe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Qu=36e5,Jg=6e4,jEe=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:VEe};function BEe(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?jEe: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=zEe(e),{year:a,restDateString:r}=HEe(n.date,i),o=UEe(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=GEe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=iae(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 zEe(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 HEe(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 UEe(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 $Ee(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 GEe(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 WEe=[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 aae(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=aae(e);if(n&&i>qEe[t]||!n&&i>WEe[t])return!1}return!0}function $Ee(e,t){if(t<1)return!1;let i=aae(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 YEe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function ZEe(e,t,i={}){t=String(t);let n=t.match(YEe);if(n){let a=BEe(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,"'"+LEe[o[0]](a,o,i)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return Ha(e,t,i)}var KEe=(()=>{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})(),JEe=(()=>{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})(),XEe=(()=>{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(KEe):this.injector.get(JEe)}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})(),QEe=(()=>{const t=class t extends j1e{constructor(){super(...arguments),this.version=sh,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(XEe),this.snackbarService=C(v_e),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}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(_Ee,{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(xEe,{data:n})}formatDateWithZone(){return ZEe(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})(),eSe=["*"];function tSe(e,t){e&1&&Sa(0)}function nSe(e,t){if(e&1&&(j(0,"div",3),oe(1,tSe,1,0,"ng-container",5),z()),e&2){ae();let i=or(5);O(),$("ngTemplateOutlet",i)}}function iSe(e,t){e&1&&Sa(0)}function aSe(e,t){if(e&1){let i=Ac();j(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,iSe,1,0,"ng-container",5),z()}if(e&2){let i=ae(),n=or(5);jt("aria-label",i.currentExpandIconAriaLabel()),O(),$("ngTemplateOutlet",n)}}function rSe(e,t){e&1&&Sa(0)}function oSe(e,t){if(e&1&&oe(0,rSe,1,0,"ng-container",5),e&2){ae();let i=or(7);$("ngTemplateOutlet",i)}}function sSe(e,t){if(e&1&&(j(0,"h2"),ge(1),z()),e&2){let i=ae(3);O(),Nt(i.alertTitle())}}function lSe(e,t){if(e&1&&(j(0,"p"),ge(1),z()),e&2){let i=ae(3);O(),Nt(i.alertSubtitle())}}function cSe(e,t){if(e&1&&(j(0,"div"),oe(1,sSe,2,1,"h2")(2,lSe,2,1,"p"),z()),e&2){let i=ae(2);O(),ee(i.alertTitle()?1:-1),O(),ee(i.alertSubtitle()?2:-1)}}function uSe(e,t){e&1&&Sa(0)}function dSe(e,t){if(e&1&&oe(0,uSe,1,0,"ng-container",5),e&2){ae(2);let i=or(7);$("ngTemplateOutlet",i)}}function hSe(e,t){if(e&1){let i=Ac();j(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);jt("aria-label",i.closeButtonAriaLabel())}}function pSe(e,t){if(e&1&&le(0,"mat-icon",10),e&2){let i=ae(2);$("fontIcon",i.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function mSe(e,t){if(e&1&&(le(0,"mat-icon",7),j(1,"div",8),oe(2,cSe,3,2,"div")(3,dSe,1,1,"ng-container"),z(),oe(4,hSe,1,1,"mat-icon",9)(5,pSe,1,1,"mat-icon",10)),e&2){let i=ae();$("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 fSe(e,t){if(e&1){let i=Ac();j(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);$("disabled",i.buttonDisabled()),O(),qe(" ",i.buttonLabel()," ")}}function gSe(e,t){if(e&1&&(j(0,"span",12),nt(1),z(),oe(2,fSe,2,2,"button",13)),e&2){let i=ae();O(2),ee(i.actionButton()?2:-1)}}var vSe=(()=>{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",Kpe(()=>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:eSe,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(),j(0,"div",2),oe(1,nSe,2,1,"div",3)(2,aSe,2,2,"div",4)(3,oSe,1,1,"ng-container"),z(),oe(4,mSe,6,3,"ng-template",null,0,Zl)(6,gSe,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 ySe(e,t){if(e&1&&(j(0,"mh-alert",0),A(1,"translate"),j(2,"div",1),ge(3),A(4,"translate"),z()()),e&2){let i=ae();$("alertTitle",Y(1,2,"commons.errors.data-not-available-title")),O(3),Nt(Y(4,4,"commons.errors."+i.error().code))}}var bSe=(()=>{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,ySe,5,6,"mh-alert",0),n&2&&ee(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[un,vSe],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 _Se(e,t){if(e&1&&(j(0,"span"),ge(1),z()),e&2){let i=ae();O(),qe("(",i.idNumber(),")")}}var xSe=(()=>{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,_Se,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})(),wSe=[[["vidis-detail-header-left"]],[["vidis-detail-header-right"]],[["vidis-detail-header"]],[["vidis-detail-action-button"]],[["vidis-detail-action-icon"]],"*"],ESe=["vidis-detail-header-left","vidis-detail-header-right","vidis-detail-header","vidis-detail-action-button","vidis-detail-action-icon","*"];function SSe(e,t){if(e&1&&(j(0,"h3"),ge(1),z()),e&2){let i=ae();O(),Nt(i.medicationName())}}function kSe(e,t){e&1&&nt(0,5)}var CSe=(()=>{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:ESe,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(wSe),j(0,"div",0)(1,"div",1),nt(2),z(),j(3,"div",2),nt(4,1),z(),oe(5,SSe,2,1,"h3"),nt(6,2),oe(7,kSe,1,0),z(),le(8,"mat-divider"),j(9,"div",3)(10,"div",4),nt(11,3),z(),j(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 ISe(e,t){if(e&1&&(j(0,"p",0)(1,"span",1),ge(2),A(3,"translate"),z(),j(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 DSe=(()=>{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,ISe,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})(),TSe=["*"];function OSe(e,t){if(e&1&&(j(0,"span",1),ge(1),A(2,"translate"),z()),e&2){let i=ae(2);O(),Nt(Y(2,1,i.labelKey()))}}function PSe(e,t){if(e&1&&(j(0,"p",0),oe(1,OSe,3,3,"span",1),j(2,"span",2),nt(3),z()()),e&2){let i=ae();O(),ee(i.labelKey()?1:-1)}}var NSe=(()=>{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:TSe,decls:1,vars:1,consts:[[1,"detail"],[1,"detail__label"],[1,"detail__value"]],template:function(n,a){n&1&&(Dn(),oe(0,PSe,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})(),MSe=["*"],RSe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail-header"]],ngContentSelectors:MSe,decls:1,vars:0,template:function(n,a){n&1&&(Dn(),nt(0))},encapsulation:2});let e=t;return e})(),ASe=[[["vidis-detail-section-header-right"]],"*"],LSe=["vidis-detail-section-header-right","*"];function FSe(e,t){e&1&&le(0,"mat-divider"),e&2&&gp("margin","1rem 0")}function VSe(e,t){if(e&1&&(j(0,"div",0),oe(1,FSe,1,2,"mat-divider",1),j(2,"div",2)(3,"span",3),ge(4),z(),j(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 rae=(()=>{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:LSe,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(ASe),oe(0,VSe,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})(),jSe=(()=>{const t=class t{constructor(){this.patient=fe.required(),this.prescriber=fe.required(),this.creationDate=fe()}};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"]},decls:12,vars:21,consts:[[3,"label"],["labelKey","commons.patient"],[3,"fullname","idNumber"],["labelKey","commons.prescribedOn",3,"value"],["labelKey","commons.prescriber"]],template:function(n,a){if(n&1&&(j(0,"vidis-detail-section",0),A(1,"translate"),j(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"),j(8,"vidis-detail-field-slot",4),le(9,"vidis-person-name",2),A(10,"fullname"),A(11,"mask"),z()()),n&2){let r;$("label",Y(1,6,"commons.prescription")),O(3),$("fullname",Y(4,8,a.patient()))("idNumber",dt(5,10,a.patient().ssin,"XXXXXX-XXX.XX")),O(3),$("value",dt(7,13,a.creationDate(),"dd/MM/yyyy")),O(3),$("fullname",Y(10,16,a.prescriber()))("idNumber",dt(11,18,(r=a.prescriber())==null?null:r.nihdi,"X/XXXXX/XX/XXX"))}},dependencies:[rae,NSe,xSe,DSe,un,F1e,Sp,rm],encapsulation:2});let e=t;return e})(),BSe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],zSe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function HSe(e,t){e&1&&(j(0,"span",3),nt(1,1),z())}function USe(e,t){e&1&&(j(0,"span",6),nt(1,2),z())}var GSe=["*"],t0=new se("MatChipAvatar"),n0=new se("MatChipTrailingIcon"),i0=new se("MatChipRemove"),oae=new se("MatChip"),a0=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_parentChip",C(oae));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&&(jt("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:Vc(n)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),sae=(()=>{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),jt("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:oae,useExisting:t}])],ngContentSelectors:zSe,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(BSe),le(0,"span",0),j(1,"span",1)(2,"span",2),oe(3,HSe,2,0,"span",3),j(4,"span",4),nt(5),le(6,"span",5),z()()(),oe(7,USe,2,0,"span",6)),n&2&&(O(2),$("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})(),WSe=(()=>{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 Mge(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,sae,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&&jt("role",a.role)},inputs:{disabled:[2,"disabled","disabled",ei],role:"role",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:Vc(n)]},ngContentSelectors:GSe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,a){n&1&&(Dn(),j(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})(),qSe=["*"],$Se=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Re({type:t,selectors:[["vidis-detail-header-left"]],ngContentSelectors:qSe,decls:2,vars:0,template:function(n,a){n&1&&(Dn(),j(0,"mat-chip-set"),nt(1),z())},dependencies:[WSe],encapsulation:2});let e=t;return e})(),YSe=e=>({label_error:e}),ZSe=e=>({value_error:e});function KSe(e,t){e&1&&le(0,"mat-icon",3)}function JSe(e,t){if(e&1&&(j(0,"span",0)(1,"span",1),ge(2),A(3,"translate"),z(),j(4,"span",2),oe(5,KSe,1,0,"mat-icon",3),ge(6),z()()),e&2){let i=ae();O(),$("ngClass",Cn(7,YSe,i.withError())),O(),qe(" ",Y(3,5,i.labelKey())," "),O(2),$("ngClass",Cn(9,ZSe,i.withError())),O(),ee(i.withError()?5:-1),O(),qe(" ",i.value()," ")}}var lae=(()=>{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,JSe,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})(),XSe=["*"],QSe=e=>({label_error:e}),eke=e=>({value_error:e});function tke(e,t){e&1&&le(0,"mat-icon",3)}var cae=(()=>{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:XSe,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(),j(0,"span",0)(1,"span",1),ge(2),A(3,"translate"),z(),j(4,"span",2),oe(5,tke,1,0,"mat-icon",3),nt(6),z()()),n&2&&(O(),$("ngClass",Cn(6,QSe,a.withError())),O(),qe(" ",Y(3,4,a.labelKey())," "),O(2),$("ngClass",Cn(8,eke,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})(),nke=e=>({prescriber:e}),ike=e=>({count:e});function ake(e,t){if(e&1&&(le(0,"vidis-error-display",0),A(1,"translate"),A(2,"fullname")),e&2){let i=ae();$("message",Y(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,nke,Y(2,4,i.medication().author)))}}function rke(e,t){e&1&&(le(0,"vidis-ms-detail-field",5),A(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function oke(e,t){e&1&&(le(0,"vidis-ms-detail-field",6),A(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function ske(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);$("value",dt(1,2,t,"dd/MM/yyyy"))("withError",fn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function lke(e,t){e&1&&(le(0,"vidis-ms-detail-field",21),A(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function cke(e,t){e&1&&(le(0,"vidis-ms-detail-field",22),A(1,"firstLetterUppercase")),e&2&&$("value",Y(1,1,t))}function uke(e,t){e&1&&le(0,"span",18)(1,"span",23)}function dke(e,t){e&1&&le(0,"mat-divider")}function hke(e,t){if(e&1&&(oe(0,ske,3,9,"vidis-ms-detail-field",20)(1,lke,2,4,"vidis-ms-detail-field",21)(2,cke,2,3,"vidis-ms-detail-field",22),A(3,"translateValue"),oe(4,uke,2,0)(5,dke,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 pke(e,t){if(e&1&&(j(0,"span",18),ge(1),A(2,"translate"),z(),j(3,"span",19),oo(4,hke,7,7,null,null,ks),z()),e&2){let i=ae();O(),Nt(Y(2,1,"medicationSchemeDetails.suspension.label")),O(3),so(i)}}function mke(e,t){e&1&&oe(0,pke,6,3),e&2&&ee(t.length>0?0:-1)}function fke(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();$("value",Y(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,ike,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function gke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",8),A(1,"translate"),A(2,"hasMedicationError")),e&2){let i=ae();$("value",Y(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function vke(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();$("value",Y(2,4,Y(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function yke(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();$("value",Y(2,4,Y(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function bke(e,t){e&1&&le(0,"vidis-ms-detail-field",15),e&2&&$("value",t)}function _ke(e,t){e&1&&le(0,"vidis-ms-detail-field",16),e&2&&$("value",t)}function xke(e,t){if(e&1&&le(0,"vidis-ms-detail-field",17),e&2){let i,n=ae();$("value",(i=n.medication().others)==null?null:i.join(", "))("withError",!0)}}var wke=(()=>{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,ake,3,8,"vidis-error-display",0),A(1,"hasMedicationError"),j(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,rke,2,4,"vidis-ms-detail-field",5)(12,oke,2,4,"vidis-ms-detail-field",6)(13,mke,1,1),A(14,"activeAndFutureSuspensions"),oe(15,fke,4,13,"vidis-ms-detail-field",7)(16,gke,3,8,"vidis-ms-detail-field",8),j(17,"vidis-ms-detail-field-slot",9),A(18,"hasMedicationError"),le(19,"vidis-medication-scheme-posology",10),z(),oe(20,vke,4,10,"vidis-ms-detail-field",11)(21,yke,4,10,"vidis-ms-detail-field",12),le(22,"vidis-ms-detail-field",13)(23,"vidis-ms-detail-field",14),oe(24,bke,1,1,"vidis-ms-detail-field",15),A(25,"translateValue"),oe(26,_ke,1,1,"vidis-ms-detail-field",16),A(27,"translateValue"),oe(28,xke,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),$("value",Y(5,23,Y(4,21,a.medication().name))),O(3),$("value",Y(8,27,Y(7,25,a.medication().indication))),O(3),$("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(),$("withError",fn(18,33,a.fieldErrors(),a.medication().index,"posologies")),O(2),$("medication",a.medication()),O(),ee((h=a.medication().route)?20:-1,h),O(),ee((m=a.medication().temporality)?21:-1,m),O(),$("value",a.medication().treatmentStartCondition),O(),$("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,lEe,tae,lae,cae,Sp,rm,Uie,om,$ie,Jie],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})(),Eke=(()=>{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})(),Ske=e=>({posologies:e}),kke=e=>({count:e}),Cke=(e,t)=>t.key;function Ike(e,t){e&1&&(j(0,"span",1),ge(1),A(2,"translate"),z()),e&2&&(O(),qe("",Y(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function Dke(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(),$("ngTemplateOutlet",a)("ngTemplateOutletContext",Cn(3,Ske,i.value))}}function Tke(e,t){if(e&1&&(oe(0,Ike,3,3,"span",1),oo(1,Dke,2,5,null,null,Cke),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 Oke(e,t){e&1&&(ge(0),A(1,"translate")),e&2&&qe(" ",Y(1,1,"medicationSchemeListView.notSpecified"),`
42
- `)}function Pke(e,t){e&1&&(j(0,"span"),ge(1),z()),e&2&&(O(),qe(" ",t,""))}function Nke(e,t){if(e&1&&(j(0,"span"),ge(1),A(2,"translate"),z(),oe(3,Pke,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,kke,n.quantity.value)),""),O(2),ee((i=dt(4,5,n,a.medication()))?3:-1,i)}}function Mke(e,t){if(e&1&&(j(0,"span"),ge(1),A(2,"quantity"),z(),oe(3,Nke,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 Rke(e,t){if(e&1&&(j(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z()),e&2){let i=ae();$("lang",Y(1,3,i.lang)),jt("translate",Y(2,5,i.lang)),O(3),qe("  ",t," ")}}function Ake(e,t){if(e&1&&(j(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),ge(3),z(),oe(4,Rke,4,7,"span",3),A(5,"posologyGrouped")),e&2){let i,n=t,a=ae().$implicit,r=ae(2);$("lang",Y(1,4,n.lang)),jt("translate",Y(2,6,n.lang)),O(3),qe(" ",n.value," "),O(),ee((i=dt(5,8,a,r.medication()))?4:-1,i)}}function Lke(e,t){if(e&1&&(j(0,"li"),oe(1,Mke,4,4)(2,Ake,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 Fke(e,t){if(e&1&&(j(0,"ul"),oo(1,Lke,4,4,"li",null,ks),z()),e&2){let i=t.posologies;O(),so(i)}}var Vke=(()=>{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=Lwe(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,Tke,4,4)(1,Oke,2,3)(2,Fke,3,0,"ng-template",null,0,Zl),n&2){let r;ee((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Wie,Eke,Gme,qie,Hie,Gie,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})(),uae=(()=>{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})(),jke={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:Zie.VITALINK}],errors:[]},dae=(()=>{const t=class t extends Yc{constructor(){super(...arguments),this.demoService=C(Y1e)}find(n){return this.demoService.post("/v1/medicationscheme",jke,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 Z1e(this.getData(n),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Ua.MEDICATION_SCHEME_PAGE_STATE)??{filter:Yie.ALL,view:0,date:{displayDate:new Date,startOfWeek:Ki(new Date,this.fnsOptions),endOfWeek:Uye(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 Hoe(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})(),Bke=(e,t)=>e.getEnvironmentVariable("env")===ca.DEMO?t.get(dae):t.get(uae),zke={provide:Yc,useFactory:Bke,deps:[uo,st]},Hke=["*"],Uke=(e,t,i,n,a)=>({"custom-content":e,circle:t,progress:i,"progress-dark":n,pulse:a});function Gke(e,t){e&1&&nt(0)}function Wke(e,t){if(e&1&&(j(0,"div",0),oe(1,Gke,1,0),z()),e&2){let i=ae(),n=xf(0),a=xf(1);$("ngClass",ype(5,Uke,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",i.styles()),jt("aria-label",i.ariaLabel())("aria-valuetext",i.loadingText()),O(),ee(n==="custom-content"?1:-1)}}var hae=new se("ngx-skeleton-loader.config"),qke=(()=>{var t;const i=class i{constructor(){xm(this,t);var a,r,o,l,u,c;wm(this,t,C(hae,{optional:!0})),this.count=fe(((a=Vi(this,t))==null?void 0:a.count)||1,{transform:Vc}),this.loadingText=fe(((r=Vi(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=fe(((o=Vi(this,t))==null?void 0:o.appearance)||"line"),this.animation=fe(((l=Vi(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=fe(((u=Vi(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=fe(((c=Vi(this,t))==null?void 0:c.theme)||null),this.items=Gi(()=>{let h=this.count()||1;return this.appearance()==="custom-content"&&Lpe(),[...Array(h)].map((m,v)=>v)}),this.styles=Gi(()=>{var m,v,g;let h=this.theme();return(v=(m=Vi(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ue(ue({},(g=Vi(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:Hke,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,Wke,2,11,"div",0,ks)),a&2&&(_f(r.appearance()),O(),_f(r.animation()),O(),so(r.items()))},dependencies:[wp,Vme],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})(),$ke=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:hae,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})(),Yke=e=>({prescriber:e}),Zke=e=>({count:e});function Kke(e,t){if(e&1&&(le(0,"vidis-error-display",0),A(1,"translate"),A(2,"fullname")),e&2){let i=ae();$("message",Y(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,Yke,Y(2,4,i.medication().author)))}}function Jke(e,t){e&1&&(j(0,"mat-chip",2),ge(1),A(2,"translate"),z()),e&2&&($("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.future")," "))}function Xke(e,t){e&1&&(j(0,"mat-chip",3),ge(1),A(2,"translate"),z()),e&2&&($("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.ifneeded")," "))}function Qke(e,t){e&1&&(j(0,"mat-chip",4),ge(1),A(2,"translate"),z()),e&2&&($("disableRipple",!0),O(),qe(" ",Y(2,2,"medicationSchemeListView.remarks.lastDayDefinitive")," "))}function eCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",26),A(1,"firstLetterUppercase")),e&2&&$("value",Y(1,1,t))}function tCe(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);$("value",dt(1,2,t,"dd/MM/yyyy"))("withError",fn(2,5,n.fieldErrors(),n.medication().index,"suspensions["+i.originalIndex+"]"))}}function nCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),A(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function iCe(e,t){if(e&1&&(oe(0,eCe,2,3,"vidis-ms-detail-field",26),A(1,"translateValue"),j(2,"div",11),oe(3,tCe,3,9,"vidis-ms-detail-field",27)(4,nCe,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 aCe(e,t){if(e&1&&(j(0,"span",23),le(1,"mat-icon",24),ge(2),A(3,"translate"),z(),j(4,"span",25),oo(5,iCe,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 rCe(e,t){e&1&&oe(0,aCe,7,3),e&2&&ee(t.length>0?0:-1)}function oCe(e,t){e&1&&le(0,"vidis-ms-detail-field",6),e&2&&$("value",t)}function sCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",10),A(1,"translate"),A(2,"hasMedicationError")),e&2){let i=ae();$("value",Y(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function lCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",12),A(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function cCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",13),A(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function uCe(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();$("value",Y(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,Zke,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function dCe(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();$("value",Y(2,4,Y(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function hCe(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();$("value",Y(2,4,Y(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function pCe(e,t){e&1&&le(0,"vidis-ms-detail-field",19),e&2&&$("value",t)}function mCe(e,t){if(e&1&&le(0,"vidis-ms-detail-field",20),e&2){let i,n=ae();$("value",(i=n.medication().others)==null?null:i.join(", "))("withError",!0)}}function fCe(e,t){e&1&&le(0,"vidis-download-link",21),e&2&&$("leaflet",t)}var gCe=(()=>{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,Kke,3,8,"vidis-error-display",0),A(1,"hasMedicationError"),j(2,"vidis-detail",1),A(3,"translateValue"),A(4,"firstLetterUppercase"),j(5,"vidis-detail-header-left"),oe(6,Jke,3,4,"mat-chip",2),A(7,"isFutureMedication"),oe(8,Xke,3,4,"mat-chip",3),A(9,"isToday"),oe(10,Qke,3,4,"mat-chip",4),z(),j(11,"vidis-detail-header"),oe(12,rCe,1,1),A(13,"activeAndFutureSuspensions"),z(),j(14,"vidis-detail-section",5),A(15,"translate"),oe(16,oCe,1,1,"vidis-ms-detail-field",6),A(17,"translateValue"),z(),j(18,"vidis-detail-section",7),A(19,"translate"),j(20,"vidis-ms-detail-field-slot",8),A(21,"hasMedicationError"),le(22,"vidis-medication-scheme-grouped-posology",9),z(),oe(23,sCe,3,8,"vidis-ms-detail-field",10),j(24,"div",11),oe(25,lCe,2,4,"vidis-ms-detail-field",12)(26,cCe,2,4,"vidis-ms-detail-field",13),z(),le(27,"vidis-ms-detail-field",14)(28,"vidis-ms-detail-field",15),oe(29,uCe,4,13,"vidis-ms-detail-field",16)(30,dCe,4,10,"vidis-ms-detail-field",17)(31,hCe,4,10,"vidis-ms-detail-field",18)(32,pCe,1,1,"vidis-ms-detail-field",19),A(33,"translateValue"),oe(34,mCe,1,2,"vidis-ms-detail-field",20),A(35,"hasMedicationError"),oe(36,fCe,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),$("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),$("label",Y(15,40,"medicationSchemeDetails.section.treatment"))("withDivider",!1)("dispaly",!!a.medication().comment),O(2),ee((o=Y(17,42,a.medication().comment))?16:-1,o),O(2),$("label",Y(19,44,"medicationSchemeDetails.section.intake")),O(2),$("withError",fn(21,46,a.fieldErrors(),a.medication().index,"posologies")),O(2),$("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(),$("value",a.medication().treatmentStartCondition),O(),$("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),$("patient",a.patient())("prescriber",a.medication().author)}},dependencies:[sae,am,bEe,ho,CSe,tae,lae,cae,rae,jSe,eae,Vke,RSe,$Se,un,om,Uie,Jie,rm,Sp,$ie,qwe,Ywe],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})(),vCe=()=>({width:"40%",height:"20px"});function yCe(e,t){e&1&&(j(0,"div"),ge(1,"Component not properly initialized!"),z())}function bCe(e,t){if(e&1&&le(0,"vidis-status-message",0),e&2){let i=ae();$("error",i.error)}}function _Ce(e,t){e&1&&le(0,"ngx-skeleton-loader",1),e&2&&$("count",10)("theme",vpe(2,vCe))}function xCe(e,t){e&1&&le(0,"vidis-download-link",4),e&2&&$("leaflet",t)}function wCe(e,t){if(e&1&&(le(0,"vidis-medication-scheme-details-row",3),oe(1,xCe,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);$("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),$("medication",r.data)("patient",o.patient())("fieldErrors",(a=o.medicationSchemeState().data.schemes[0])==null?null:a.fieldErrors)("date",o.detail.date)}}function ECe(e,t){e&1&&(j(0,"div",2)(1,"h3"),ge(2),A(3,"translate"),z()()),e&2&&(O(2),Nt(Y(3,1,"medicationSchemeDetails.noDetails")))}function SCe(e,t){if(e&1&&oe(0,_Ce,1,3,"ngx-skeleton-loader",1)(1,wCe,4,9)(2,ECe,4,3,"div",2),e&2){let i=ae(),n=ae(2);ee(i.status===n.loadingStatus.LOADING?0:i.data?1:2)}}function kCe(e,t){if(e&1&&oe(0,bCe,1,1,"vidis-status-message",0)(1,SCe,3,1),e&2){let i=ae(2);ee(t.status===i.loadingStatus.ERROR?0:1)}}function CCe(e,t){if(e&1&&oe(0,kCe,2,1),e&2){let i,n=ae();ee((i=n.medicationDetail())?0:-1,i)}}var ICe=(()=>{const t=class t extends QEe{constructor(){super(...arguments),this.extraRequiredFields=["detail","professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","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=e_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,uae,dae,zke]),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,yCe,2,0,"div")(1,CCe,1,1),n&2&&ee(a.isCorrectlySetup()?1:0)},dependencies:[$ke,qke,wke,eae,bSe,gCe,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})();cfe({providers:[Pwe]}).then(e=>{let t=cme(ICe,{injector:e.injector});customElements.define("vidis-medication-scheme-detail",t)}).catch(e=>console.error(e));