@smals-belgium-shared/vidis-medication-scheme-detail 3.4.2-snapshot.3 → 3.4.2-snapshot.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,42 @@
1
+ var Qae=Object.defineProperty;var bm=e=>{throw TypeError(e)};var ere=(e,t,i)=>t in e?Qae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var s=(e,t,i)=>ere(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 tre=Object.create,cc=Object.defineProperty,nre=Object.defineProperties,ire=Object.getOwnPropertyDescriptor,are=Object.getOwnPropertyDescriptors,rre=Object.getOwnPropertyNames,Cl=Object.getOwnPropertySymbols,ore=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)=>nre(e,are(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),Z=(e,t)=>{for(var i in t)cc(e,i,{get:t[i],enumerable:!0})},sre=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of rre(t))!uh.call(e,a)&&a!==i&&cc(e,a,{get:()=>t[a],enumerable:!(n=ire(t,a))||n.enumerable});return e},u0=(e,t,i)=>(i=e!=null?tre(ore(e)):{},sre(t||!e||!e.__esModule?cc(i,"default",{value:e,enumerable:!0}):i,e)),Ot=(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())}),lre=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 j=w(E,(de,xe)=>y(new o(de,E,xe)));j&&Object.assign(b,j)}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 fe(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=fe(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 K 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 Yt(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:j,unitPer:de,unitWidth:xe}=p,Re=(tt,wt)=>{},ne={};if(j)switch(j.style){case"base-unit":ne.style="decimal";break;case"currency":ne.style="currency",ne.currency=j.currency;break;case"measure-unit":ne.style="unit",ne.unit=j.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"&&Re()),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":Re(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":Re()}}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 Zt(p,f,y){let b;(function(j){j[j.Prefix=0]="Prefix",j[j.Number=1]="Number",j[j.Suffix=2]="Suffix"})(b||(b={}));let _=[],E=[],k=[],D=b.Prefix,P="";for(;f<p.length;){let j=p[f];if(j===";"){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+=j,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+=j,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}=Zt(p,0,f);if(b<p.length){let{pattern:_}=Zt(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="",j=0;for(let xe=0;xe<p.length;++xe){let Re=p[xe];switch(Re.char){case"#":{if(D===-1){if(k){let ne="Pattern has # after integer digits";f(new V("#",ne))}E+=Re.width}else j+=Re.width;break}case"0":{if(D===-1)k+=Re.digits;else{if(j){let ne="Pattern has digits after # in fraction";f(new V("0",ne))}P+=Re.digits}break}case"@":{y.precision&&f(new K("precision",y.precision)),y.precision={style:"precision-fraction",minSignificant:Re.min,maxSignificant:Re.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 K("exponent",y.notation)),b){let ne="Exponential patterns may not contain grouping separators";f(new V("E",ne))}y.notation={style:"scientific"},Re.expDigits>1&&(y.notation.expDigits=Re.expDigits),Re.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||j)&&(y.precision={style:"precision-fraction",minFraction:P.length,maxFraction:P.length+j});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)+j},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 Ps(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 Os(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=Ps(_.prefix,!0),j=Ps(_.suffix,!1);E.affix={pos:[k,D],neg:[P,j]},E.sign="sign-never"}else(k||D)&&(E.affix={pos:[k,D]});return E}function dae(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 hae(p){return p in lm}function pae(p){return p in cm}function mae(p,f,y){if(hae(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(pae(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 fae(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 gae{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 K(f,y))}parseToken(f,y){if(!mae(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":{dae(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=fae(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 gae(f);for(let{stem:_,options:E}of y)b.parseToken(_,E);return b.skeleton}function vae(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?um(f.slice(2),b):Os(f,y,b));let _=te(p,f),E=Be(f),k=Yt(f),D=new Intl.NumberFormat(_,E);if(f.affix){let[P,j]=f.affix.pos,[de,xe]=f.affix.neg||["",""];return Re=>{let ne=D.format(k(Re));return Re<0?`${de}${ne}${xe}`:`${P}${ne}${j}`}}return P=>D.format(k(P))}function yae(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?um(f.slice(2),b):Os(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[j,de]=f.affix.pos.map(xe=>JSON.stringify(xe));if(f.affix.neg){let[xe,Re]=f.affix.neg.map(ne=>JSON.stringify(ne));P=`value < 0 ? ${xe} + ${P} + ${Re} : ${j} + ${P} + ${de}`}else P=`${j} + ${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 bae(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 j(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 Re(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 ur=Dt.shift();he[ur.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 dr=j(Dt.map(de)),$n=new RegExp(dr);if($n.test(""))throw new Error("RegExp matches empty string: "+$n);var fo=D(dr);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(dr))}}var hr=ce&&ce.fallback,go=b&&!hr?"ym":"gm",Vs=b||hr?"":"|";ye===!0&&(go+="u");var Xae=new RegExp(j(ot)+Vs,go);return{regexp:Xae,groups:Ve,fast:he,error:ce||on}}function ia(M){var q=qn(Vt(M));return new mt({start:q},"start")}function Ai(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 Ri(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 ur=[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 dr=hi[Ia];ot.indexOf(dr)===-1&&ur.push(dr)}}ot.splice.apply(ot,ur),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],hr=$n[fo],go=hr.groups,Ee=0;Ee<go.length;Ee++)Ai(go[Ee],fo,$n);for(var Vs=Object.getOwnPropertyNames(hr.fast),Ee=0;Ee<Vs.length;Ee++)Ai(hr.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=Re(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 ur=Ye[Dt],hi=ye+Dt;Ee.push(xe(String(hi),ot)+" "+ur),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:Ri,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Li}})})(hm);var _ae=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(_ae);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 xae(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 wae=["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 Eae{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")&&!wae.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=xae(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 Sae(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Eae(p,f).parse()}pm=po.parse=Sae;function mo(p){return mo[p]||(mo[p]=new Intl.NumberFormat(p))}function kae(p,f,y){return mo(p).format(f-y)}function Cae(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 Iae(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 Dae(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Tae(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 Pae=Object.freeze({__proto__:null,_nf:mo,number:kae,plural:Iae,reqArgs:Tae,select:Dae,strictNumber:Cae});function Oae(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 Nae(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 Mae(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 Aae=function(p,f,y){return Ms(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},Rae=function(p,f){return Ms(f,{maximumFractionDigits:0}).format(p)},Lae=function(p,f){return Ms(f,{style:"percent"}).format(p)};function Fae(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:Oae,duration:Nae,numberCurrency:Aae,numberFmt:Mae,numberInteger:Rae,numberPercent:Lae,time:Fae}),Vae={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=bae(Vae);function jae(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+=" "+jae(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 Bae=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],zae=new RegExp("^"+Bae.join("|^"));function Hae(p,f){var y=zae.test(f),b=JSON.stringify(y?"‏":"‎");return"".concat(b," + ").concat(p," + ").concat(b)}var Uae="@messageformat/runtime",Gae="@messageformat/runtime/lib/cardinals",gm="@messageformat/runtime/lib/plurals",Wae="@messageformat/runtime/lib/formatters",qae=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,j=D.requireAllArguments,de=D.strict,xe=D.strictPluralKeys;if(typeof f=="object"){var Re={};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;Re[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 Re}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)}),Ai=this.arguments.length>0,Ri=this.concatenate(ia,!0);if(j&&Ai){this.setRuntimeFn("reqArgs");var Li=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Li,", d); return ").concat(Ri,"; }")}return"(".concat(Ai?"d":"",") => ").concat(Ri)},p.prototype.cases=function(f,y){var b=this,_=!0,E=f.cases.map(function(de){var xe=de.key,Re=de.tokens;xe==="other"&&(_=!1);var ne=Re.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,j=D.ordinals;if(k==="select"||k==="plural"&&P.includes("other")||k==="selectordinal"&&j.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,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?Hae(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],j=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=j?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,j,de;if(!y&&D&&E){if(b)return;P=function(xe){return E(xe)},j=Gae,de=function(){return String(E)}}else{if(b&&(!D||b.module===gm))return;P=function(xe,Re){return k(xe,Re)},j=D?gm:k.module||null,de=function(){return String(k)}}this.runtime[f]=Object.assign(P,{id:f,module:j,toString:de,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(Pae[f],{id:f,module:Uae,type:"runtime"}))},p.prototype.getFormatterArg=function(f,y){var b,_,E,k,D=this,P=f.key,j=f.param,de=this.options.customFormatters[P]||vm(P)&&Qc[P];if(!de||!j)return null;var xe="arg"in de&&de.arg||"string";if(xe==="options"){var Re="";try{for(var ne=n(j),tt=ne.next();!tt.done;tt=ne.next()){var wt=tt.value;if(wt.type==="content")Re+=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(Re.split(",")),qn=on.next();!qn.done;qn=on.next()){var ia=qn.value,Ai=ia.indexOf(":");if(Ai===-1)Vt[ia.trim()]=null;else{var Ri=ia.substring(0,Ai).trim(),Li=ia.substring(Ai+1).trim();if(Li==="true")Vt[Ri]=!0;else if(Li==="false")Vt[Ri]=!1;else if(Li==="null")Vt[Ri]=null;else{var mt=Number(Li);Vt[Ri]=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=j.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:Wae});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),j=na("date_".concat(k,"_").concat(P),!0);if(!this.runtimeIncludes(j,"formatter")){var de=Lt(k,P,this.options.timeZone);this.runtime[j]=Object.assign(de,{id:j,module:null,toString:function(){return xt(k,P,_.options.timeZone)},type:"formatter"})}return j}if(y.push(JSON.stringify(k)),E&&E.length>0){b&&this.options.strict&&(b=null);var xe=E.map(function(Re){return _.token(Re,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 j=na("number_".concat(k,"_").concat(D),!0);if(!this.runtimeIncludes(j,"formatter")){var de=this.options.currency,xe=vae(k,D,de);this.runtime[j]=Object.assign(xe,{id:null,module:null,toString:function(){return yae(k,D,de)},type:"formatter"})}return j}b&&this.options.strict&&(b=null);var Re=E.map(function(ne){return _.token(ne,b)});return y.push("("+(Re.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",Pi=p=>p==1?"one":p==2?"two":"other";var $ae=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:Pi,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:Pi,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:Pi,sc:Wt,scn:Wt,sd:U,sdh:U,se:Pi,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:Pi,smi:Pi,smj:Pi,smn:Pi,sms:Pi,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 Oi="zero",J="one",rt="two",De="few",Te="many",A="other",F={cardinal:[J,A],ordinal:[A]},Ca={cardinal:[J,A],ordinal:[J,A]},He={cardinal:[A],ordinal:[A]},di={cardinal:[J,rt,A],ordinal:[A]};var ym=Object.freeze({__proto__:null,af:F,ak:F,am:F,an:F,ar:{cardinal:[Oi,J,rt,De,Te,A],ordinal:[A]},ars:{cardinal:[Oi,J,rt,De,Te,A],ordinal:[A]},as:{cardinal:[J,A],ordinal:[J,rt,De,Te,A]},asa:F,ast:F,az:{cardinal:[J,A],ordinal:[J,De,Te,A]},bal:Ca,be:{cardinal:[J,De,Te,A],ordinal:[De,A]},bem:F,bez:F,bg:F,bho:F,bm:He,bn:{cardinal:[J,A],ordinal:[J,rt,De,Te,A]},bo:He,br:{cardinal:[J,rt,De,Te,A],ordinal:[A]},brx:F,bs:{cardinal:[J,De,A],ordinal:[A]},ca:{cardinal:[J,Te,A],ordinal:[J,rt,De,A]},ce:F,ceb:F,cgg:F,chr:F,ckb:F,cs:{cardinal:[J,De,Te,A],ordinal:[A]},cy:{cardinal:[Oi,J,rt,De,Te,A],ordinal:[Oi,J,rt,De,Te,A]},da:F,de:F,doi:F,dsb:{cardinal:[J,rt,De,A],ordinal:[A]},dv:F,dz:He,ee:F,el:F,en:{cardinal:[J,A],ordinal:[J,rt,De,A]},eo:F,es:{cardinal:[J,Te,A],ordinal:[A]},et:F,eu:F,fa:F,ff:F,fi:F,fil:Ca,fo:F,fr:{cardinal:[J,Te,A],ordinal:[J,A]},fur:F,fy:F,ga:{cardinal:[J,rt,De,Te,A],ordinal:[J,A]},gd:{cardinal:[J,rt,De,A],ordinal:[J,rt,De,A]},gl:F,gsw:F,gu:{cardinal:[J,A],ordinal:[J,rt,De,Te,A]},guw:F,gv:{cardinal:[J,rt,De,Te,A],ordinal:[A]},ha:F,haw:F,he:di,hi:{cardinal:[J,A],ordinal:[J,rt,De,Te,A]},hnj:He,hr:{cardinal:[J,De,A],ordinal:[A]},hsb:{cardinal:[J,rt,De,A],ordinal:[A]},hu:Ca,hy:Ca,ia:F,id:He,ig:He,ii:He,io:F,is:F,it:{cardinal:[J,Te,A],ordinal:[Te,A]},iu:di,ja:He,jbo:He,jgo:F,jmc:F,jv:He,jw:He,ka:{cardinal:[J,A],ordinal:[J,Te,A]},kab:F,kaj:F,kcg:F,kde:He,kea:He,kk:{cardinal:[J,A],ordinal:[Te,A]},kkj:F,kl:F,km:He,kn:F,ko:He,ks:F,ksb:F,ksh:{cardinal:[Oi,J,A],ordinal:[A]},ku:F,kw:{cardinal:[Oi,J,rt,De,Te,A],ordinal:[J,Te,A]},ky:F,lag:{cardinal:[Oi,J,A],ordinal:[A]},lb:F,lg:F,lij:{cardinal:[J,A],ordinal:[Te,A]},lkt:He,ln:F,lo:{cardinal:[A],ordinal:[J,A]},lt:{cardinal:[J,De,Te,A],ordinal:[A]},lv:{cardinal:[Oi,J,A],ordinal:[A]},mas:F,mg:F,mgo:F,mk:{cardinal:[J,A],ordinal:[J,rt,Te,A]},ml:F,mn:F,mo:{cardinal:[J,De,A],ordinal:[J,A]},mr:{cardinal:[J,A],ordinal:[J,rt,De,A]},ms:{cardinal:[A],ordinal:[J,A]},mt:{cardinal:[J,rt,De,Te,A],ordinal:[A]},my:He,nah:F,naq:di,nb:F,nd:F,ne:Ca,nl:F,nn:F,nnh:F,no:F,nqo:He,nr:F,nso:F,ny:F,nyn:F,om:F,or:{cardinal:[J,A],ordinal:[J,rt,De,Te,A]},os:F,osa:He,pa:F,pap:F,pcm:F,pl:{cardinal:[J,De,Te,A],ordinal:[A]},prg:{cardinal:[Oi,J,A],ordinal:[A]},ps:F,pt:{cardinal:[J,Te,A],ordinal:[A]},pt_PT:{cardinal:[J,Te,A],ordinal:[A]},rm:F,ro:{cardinal:[J,De,A],ordinal:[J,A]},rof:F,ru:{cardinal:[J,De,Te,A],ordinal:[A]},rwk:F,sah:He,saq:F,sat:di,sc:{cardinal:[J,A],ordinal:[Te,A]},scn:{cardinal:[J,A],ordinal:[Te,A]},sd:F,sdh:F,se:di,seh:F,ses:He,sg:He,sh:{cardinal:[J,De,A],ordinal:[A]},shi:{cardinal:[J,De,A],ordinal:[A]},si:F,sk:{cardinal:[J,De,Te,A],ordinal:[A]},sl:{cardinal:[J,rt,De,A],ordinal:[A]},sma:di,smi:di,smj:di,smn:di,sms:di,sn:F,so:F,sq:{cardinal:[J,A],ordinal:[J,Te,A]},sr:{cardinal:[J,De,A],ordinal:[A]},ss:F,ssy:F,st:F,su:He,sv:Ca,sw:F,syr:F,ta:F,te:F,teo:F,th:He,ti:F,tig:F,tk:{cardinal:[J,A],ordinal:[De,A]},tl:Ca,tn:F,to:He,tpi:He,tr:F,ts:F,tzm:F,ug:F,uk:{cardinal:[J,De,Te,A],ordinal:[De,A]},und:He,ur:F,uz:F,ve:F,vec:{cardinal:[J,Te,A],ordinal:[Te,A]},vi:{cardinal:[A],ordinal:[J,A]},vo:F,vun:F,wa:F,wae:F,wo:He,xh:F,xog:F,yi:F,yo:He,yue:He,zh:He,zu:F});let Q=(p,f)=>f?"other":p==1?"one":"other",Ni=(p,f)=>f?"other":p==0||p==1?"one":"other",cr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Pn=(p,f)=>{let y=String(p).split("."),b=!y[1];return f?"other":p==1&&b?"one":"other"},Ue=(p,f)=>"other",Mi=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var As=Object.freeze({__proto__:null,af:Q,ak:Ni,am:cr,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:Pn,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:Ue,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:Ue,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),j=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&j!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(j<12||j>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:Pn,doi:cr,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:Ue,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:Pn,eu:Q,fa:cr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Pn,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:Pn,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:Pn,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:Ue,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),j=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&j!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(j<12||j>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:Pn,id:Ue,ig:Ue,ii:Ue,io:Pn,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:Ue,jbo:Ue,jgo:Q,jmc:Q,jv:Ue,jw:Ue,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:Ue,kea:Ue,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:Ue,kn:cr,ko:Ue,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:Ue,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),j=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&j==1&&P!=11||_!=2&&j==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),j=_.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&&j!=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:Ue,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:Pn,nn:Q,nnh:Q,no:Q,nqo:Ue,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:Ue,pa:Ni,pap:Q,pcm:cr,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),j=b.slice(-1);return f?"other":E&&k==0||D>=11&&D<=19||_==2&&P>=11&&P<=19?"zero":k==1&&D!=11||_==2&&j==1&&P!=11||_!=2&&j==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:Ue,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:Ue,sg:Ue,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),j=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&j!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(j<12||j>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),j=_.slice(-2);return f?"other":E&&k==1&&D!=11||P==1&&j!=11?"one":E&&k>=2&&k<=4&&(D<12||D>14)||P>=2&&P<=4&&(j<12||j>14)?"few":"other"},ss:Q,ssy:Q,st:Q,su:Ue,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:Pn,syr:Q,ta:Q,te:Q,teo:Q,th:Ue,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:Ue,tpi:Ue,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),j=b.slice(-2);return f?k==3&&D!=13?"few":"other":_&&P==1&&j!=11?"one":_&&P>=2&&P<=4&&(j<12||j>14)?"few":_&&P==0||_&&P>=5&&P<=9||_&&j>=11&&j<=14?"many":"other"},und:Ue,ur:Pn,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:Ue,xh:Q,xog:Q,yi:Pn,yo:Ue,yue:Ue,zh:Ue,zu:cr});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 Rs(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 Kae(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:$ae[b],getPlural:As[b],cardinals:ym[b].cardinal,ordinals:ym[b].ordinal}:null}function Yae(p){var f=Object.keys(As).filter(function(y){return y!==p});return f.unshift(p),f.map(Rs)}function Zae(p){var f=nu(p);return na(f)in As}function Kae(p){return p in As}var Jae=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=Yae(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Rs).filter(Boolean);else if(f){var b=Rs(f);b&&(this.plurals=[b])}if(this.plurals.length===0){var b=Rs(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(Zae)},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 qae(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],D=[];try{for(var P=n(Object.entries(_.runtime)),j=P.next();!j.done;j=P.next()){var de=a(j.value,2),xe=de[0],Re=de[1];k.push(xe),D.push(Re)}}catch(tt){y={error:tt}}finally{try{j&&!j.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 Jae})}),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}),cre=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}),ure=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})}}),dre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=uc(),i=r(t),n=ure(),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}),hre=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}),pre=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}),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.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}),fre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=dre(),i=c(t),n=hre(),a=c(n),r=pre(),o=c(r),l=mre(),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}),gre=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}),vre=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}),yre=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}),bre=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}),_re=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,fe=0;fe<L.length;fe++){var ke=L[fe];ke==="X"?N+=w[re++]:N+=ke}return N=""+S+N,""+N+(0,o.checksum)(N)}e.default=g}),xre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=gre(),i=g(t),n=vre(),a=g(n),r=yre(),o=g(r),l=bre(),u=g(l),c=h0(),h=g(c),m=_re(),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}),wre=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=wre(),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}),Ere=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}),Sre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=p0(),i=r(t),n=Ere(),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}}),kre=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}),Cre=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}),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),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}),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),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}),Tre=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=kre(),a=m(n),r=Cre(),o=m(r),l=Ire(),u=m(l),c=Dre(),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}),Pre=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}),Ore=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}),Nre=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=Nre(),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}),Mre=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}),Are=me(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=m0(),i=r(t),n=Mre(),a=r(n);function r(o){return o&&o.__esModule?o:{default:o}}e.CODE93=i.default,e.CODE93FullASCII=a.default}),Rre=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}),Lre=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=cre(),i=fre(),n=xre(),a=Sre(),r=Tre(),o=Pre(),l=Ore(),u=Are(),c=Rre();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)}}),Fre=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}}),Vre=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}),jre=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}),Bre=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}),zre=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}),Hre=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}),Ure=me(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Bre(),i=l(t),n=zre(),a=l(n),r=Hre(),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}),Gre=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=jre(),n=l(i),a=Ure(),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}),Wre=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}),qre=me((e,t)=>{var i=Lre(),n=N(i),a=hc(),r=N(a),o=Fre(),l=N(o),u=Vre(),c=N(u),h=Gre(),m=N(h),v=f0(),g=N(v),x=Wre(),w=N(x),S=y0(),T=g0(),L=N(T);function N(ie){return ie&&ie.__esModule?ie:{default:ie}}var re=function(){},fe=function(ie,K,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 K<"u"&&(Ie=Ie||{},Ie.format||(Ie.format=Qe()),V.options(Ie)[Ie.format](K,Ie).render()),V};fe.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,K){re.prototype[K]=re.prototype[K.toUpperCase()]=re.prototype[K.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[K],Je=xt(Ie,Ne,te);return H._encodings.push(Je),H})}}function xt(ie,K,Ie){ie=""+ie;var V=new K(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 K=new Array(ie+1).join("0");return this._encodings.push({data:K}),this},re.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ie;for(var K in this._renderProperties){ie=this._renderProperties[K];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,K,Ie){K=(0,l.default)(K);for(var V=0;V<K.length;V++)K[V].options=(0,r.default)(Ie,K[V].options),(0,c.default)(K[V].options);(0,c.default)(Ie);var H=ie.renderer,te=new H(ie.element,K,Ie);te.render(),ie.afterRender&&ie.afterRender()}typeof window<"u"&&(window.JsBarcode=fe),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ie,K){var Ie=[];return jQuery(this).each(function(){Ie.push(this)}),fe(Ie,ie,K)}),t.exports=fe});function dh(e,t){return Object.is(e,t)}var Et=null,cl=!1,hh=1,Sn=Symbol("SIGNAL");function Pe(e){let t=Et;return Et=e,t}function $re(){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 Yre(){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||Zre(i)}finally{cl=t}}function _0(){return(Et==null?void 0:Et.consumerAllowSignalWrites)!==!1}function Zre(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),Pe(e)}function mc(e,t){if(Pe(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 Kre(e,t){let i=Object.create(Jre);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"),Jre=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(),Pe(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 Xre(){throw new Error}var S0=Xre;function k0(e){S0(e)}function Qre(e){S0=e}function eoe(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,toe(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 toe(e){e.version++,Yre(),b0(e)}function Sm(e,t,i){let n=Object.create(aoe);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 noe(e,t){ss(e),yc(e,t),Il(e)}function ioe(e,t){ss(e),C0(e,t),Il(e)}var aoe=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 roe(e){let t=Pe(null);try{return e()}finally{Pe(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 P0(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 ooe={Promise:void 0},soe={setTimeout(e,t,...i){return setTimeout(e,t,...i)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function O0(e){soe.setTimeout(()=>{throw e})}function rd(){}function dl(e){e()}var fh=class extends pn{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,P0(e)&&e.add(this)):this.destination=uoe}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()}}},loe=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 loe(n)}};function js(e){O0(e)}function coe(e){throw e}var uoe={closed:!0,next:rd,error:coe,complete:rd},gh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Yr(e){return e}function doe(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=poe(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 doe(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??ooe.Promise)!==null&&t!==void 0?t:Promise}function hoe(e){return e&&it(e.next)&&it(e.error)&&it(e.complete)}function poe(e){return e&&e instanceof fh||hoe(e)&&P0(e)}function moe(e){return it(e==null?void 0:e.lift)}function en(e){return t=>{if(moe(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 foe(e,t,i,n,a)}var foe=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))}}},goe=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 goe}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)}}},voe=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},yoe=class extends voe{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 boe=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 boe(yoe),_oe=bh,A0=new ht(e=>e.complete());function R0(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 R0(_h(e))?e.pop():void 0}function xoe(e,t){return typeof _h(e)=="number"?e.pop():t}function woe(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 Eoe(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 Soe(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 koe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var H0=koe();function U0(e){return it(e==null?void 0:e[H0])}function G0(e){return Eoe(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 Coe(e);if(F0(e))return Ioe(e);if(V0(e))return Doe(e);if(B0(e))return q0(e);if(U0(e))return Toe(e);if(W0(e))return Poe(e)}throw z0(e)}function Coe(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 Ioe(e){return new ht(t=>{for(let i=0;i<e.length&&!t.closed;i++)t.next(e[i]);t.complete()})}function Doe(e){return new ht(t=>{e.then(i=>{t.closed||(t.next(i),t.complete())},i=>t.error(i)).then(null,O0)})}function Toe(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=>{Ooe(e,t).catch(i=>t.error(i))})}function Poe(e){return q0(G0(e))}function Ooe(e,t){var i,n,a,r;return woe(this,void 0,void 0,function*(){try{for(i=Soe(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 en((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 en((i,n)=>{n.add(e.schedule(()=>i.subscribe(n),t))})}function Noe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Moe(e,t){return gn(e).pipe(Y0(t),$0(t))}function Aoe(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 Roe(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 Loe(e,t){return Z0(G0(e),t)}function Foe(e,t){if(e!=null){if(j0(e))return Noe(e,t);if(F0(e))return Aoe(e,t);if(V0(e))return Moe(e,t);if(B0(e))return Z0(e,t);if(U0(e))return Roe(e,t);if(W0(e))return Loe(e,t)}throw z0(e)}function tr(e,t){return t?Foe(e,t):gn(e)}function vt(...e){let t=ls(e);return tr(e,t)}function Voe(e,t){let i=it(e)?e:()=>e,n=a=>a.error(i());return new ht(n)}function Po(e){return!!e&&(e instanceof ht||it(e.lift)&&it(e.subscribe))}var joe=mh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Boe(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 joe)}})})}function zoe(e){return e instanceof Date&&!isNaN(e)}function zt(e,t){return en((i,n)=>{let a=0;i.subscribe($t(n,r=>{n.next(e.call(t,r,a++))}))})}var{isArray:Hoe}=Array;function Uoe(e,t){return Hoe(t)?e(...t):e(t)}function K0(e){return zt(t=>Uoe(e,t))}var{isArray:Goe}=Array,{getPrototypeOf:Woe,prototype:qoe,keys:$oe}=Object;function J0(e){if(e.length===1){let t=e[0];if(Goe(t))return{args:t,keys:null};if(Yoe(t)){let i=$oe(t);return{args:i.map(n=>t[n]),keys:i}}}return{args:e,keys:null}}function Yoe(e){return e&&typeof e=="object"&&Woe(e)===qoe}function X0(e,t){return e.reduce((i,n,a)=>(i[n]=t[a],i),{})}function Zoe(...e){let t=ls(e),i=L0(e),{args:n,keys:a}=J0(e);if(n.length===0)return tr([],t);let r=new ht(Koe(n,t,a?o=>X0(a,o):Yr));return i?r.pipe(K0(i)):r}function Koe(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=tr(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 Joe(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),en((n,a)=>Joe(n,a,e,i)))}function Q0(e=1/0){return jo(Yr,e)}function Xoe(){return Q0(1)}function Bo(...e){return Xoe()(tr(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 Qoe(e=0,t,i=_oe){let n=-1;return t!=null&&(R0(t)?i=t:n=t),new ht(a=>{let r=zoe(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=xoe(e,1/0),n=e;return n.length?n.length===1?gn(n[0]):Q0(i)(tr(n,t)):A0}function bi(e,t){return en((i,n)=>{let a=0;i.subscribe($t(n,r=>e.call(t,r,a++)&&n.next(r)))})}function ese(e){return en((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 ese(()=>Qoe(e,t))}function nv(e){return en((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 en((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?()=>A0:en((t,i)=>{let n=0;t.subscribe($t(i,a=>{++n<=e&&(i.next(a),e<=n&&i.complete())}))})}function tse(e,t=Yr){return e=e??nse,en((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 nse(e,t){return e===t}function rv(e){return en((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 en((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 Pm(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 en((i,n)=>{(t?Bo(e,i,t):Bo(e,i)).subscribe(n)})}function zo(e,t){return en((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 en((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?en((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",Y=class extends Error{constructor(t,i){super(cv(t,i));s(this,"code");this.code=t}};function ise(e){return`NG0${Math.abs(e)}`}function cv(e,t){return`${ise(e)}${t?": "+t:""}`}var uv=Symbol("InputSignalNode#UNSET"),ase=yt(ue({},I0),{transformFn:void 0,applyValueToInputSignal(e,t){yc(e,t)}});function dv(e,t){let i=Object.create(ase);i.value=e,i.transformFn=t==null?void 0:t.transform;function n(){if(pc(i),i.value===uv){let a=null;throw new Y(-950,a)}return i.value}return n[Sn]=i,n}function us(e){return{toString:e}.toString()}var Bs="__parameters__";function rse(e){return function(...t){}}function hv(e,t,i){return us(()=>{let n=rse();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 xr=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 ose(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 sse=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(sse)&&e.__forward_ref__===pv}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function xh(e){return Om(e,fv)||Om(e,gv)}function Om(e,t){return e.hasOwnProperty(t)?e[t]:null}function lse(e){return e&&(e[fv]||e[gv])||null}function Nm(e){return e&&(e.hasOwnProperty(Mm)||e.hasOwnProperty(cse))?e[Mm]:null}var fv=at({ɵprov:at}),Mm=at({ɵinj:at}),gv=at({ngInjectableDef:at}),cse=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 use=at({ɵcmp:at}),dse=at({ɵdir:at}),hse=at({ɵpipe:at}),Pl=at({ɵfac:at}),Oo=at({__NG_ELEMENT_ID__:at}),Am=at({__NG_ENV_ID__:at});function bc(e){return typeof e=="string"?e:e==null?"":String(e)}function pse(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 Y(-200,e)}function wh(e,t){throw new Y(-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 mse={},Ga=mse,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:Ga,i)}},Ol="ngTempTokenPath",fse="ngTokenPath",gse=/\n/gm,vse="ɵ",Rm="__source";function yse(e,t=Me.Default){if(ul()===void 0)throw new Y(-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()||yse)(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 Y(900,!1);let a,r=Me.Default;for(let o=0;o<n.length;o++){let l=n[o],u=bse(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 bse(e){return e[ud]}function _se(e,t,i,n){let a=e[Ol];throw t[Rm]&&a.unshift(t[Rm]),e.message=xse(`
16
+ `+e.message,a,i,n),e[fse]=a,e[Ol]=null,e}function xse(e,t,i,n=null){e=e&&e.charAt(0)===`
17
+ `&&e.charAt(1)==vse?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(gse,`
18
+ `)}`}var wse=wv(hv("Optional"),8),Ese=wv(hv("SkipSelf"),4);function Wa(e,t){return e.hasOwnProperty(Pl)?e[Pl]:null}function Sse(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 kse(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 Cse(e,t){let i=[];for(let n=0;n<e;n++)i.push(t);return i}function Ise(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,Ise(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 Dse(e,t,1)}function Dse(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=Ga){if(t===Ga){let i=new Error(`NullInjectorError: No provider for ${Bn(e)}!`);throw i.name="NullInjectorError",i}return t}};function Lr(e){return e[use]||null}function Iv(e){return e[dse]||null}function Tse(e){return e[hse]||null}function kh(e){return{ɵproviders:e}}function Pse(...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=Wa(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 Ose=at({provide:String,useValue:at});function Pv(e){return e!==null&&typeof e=="object"&&Ose in e}function Nse(e){return!!(e&&e.useExisting)}function Mse(e){return!!(e&&e.useFactory)}function Fr(e){return typeof e=="function"}function Ase(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,wr(void 0,this)),a.has("environment")&&this.records.set(wi,wr(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:Ga,n)}destroy(){ko(this),this._destroyed=!0;let t=Pe(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(),Pe(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=Ga,n=Me.Default){if(ko(this),t.hasOwnProperty(Am))return t[Am](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=jse(t)&&xh(t);u&&this.injectableDefInScope(u)?l=wr(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===Ga?null:i,o.get(t,i)}catch(o){if(o.name==="NullInjectorError"){if((o[Ol]=o[Ol]||[]).unshift(Bn(t)),a)throw o;return _se(o,t,"R3InjectorError",this.source)}else throw o}finally{dn(r),oa(a)}}resolveInjectorInitializers(){let t=Pe(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),Pe(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=Lse(t);if(!Fr(t)&&t.multi===!0){let a=this.records.get(i);a||(a=wr(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=Pe(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&&Vse(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Pe(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:Wa(e);if(i!==null)return i;if(e instanceof se)throw new Y(204,!1);if(e instanceof Function)return Rse(e);throw new Y(204,!1)}function Rse(e){if(e.length>0)throw new Y(204,!1);let t=lse(e);return t!==null?()=>t.factory(e):()=>new e}function Lse(e){if(Pv(e))return wr(void 0,e.useValue);{let t=Ov(e);return wr(t,pl)}}function Ov(e,t,i){let n;if(Fr(e)){let a=qt(e);return Wa(a)||pd(a)}else if(Pv(e))n=()=>qt(e.useValue);else if(Mse(e))n=()=>e.useFactory(...dd(e.deps||[]));else if(Nse(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(Fse(e))n=()=>new a(...dd(e.deps));else return Wa(a)||pd(a)}return n}function ko(e){if(e.destroyed)throw new Y(205,!1)}function wr(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Fse(e){return!!e.deps}function Vse(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function jse(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 Y(-203,!1)}function Bse(e){return typeof e=="function"}var Ji=0,Se=1,_e=2,Qt=3,ti=4,vn=5,Vr=6,Pr=7,Ut=8,jr=9,Zi=10,Ct=11,Ho=12,Fm=13,Zr=14,Hn=15,qa=16,Er=17,ni=18,Ec=19,Mv=20,fa=21,su=22,Hi=23,zn=24,ga=25,bt=26,Av=1,$a=7,Al=8,Br=9,Jt=10;function va(e){return Array.isArray(e)&&typeof e[Av]=="object"}function Xi(e){return Array.isArray(e)&&e[Av]===!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 Rl(e){return(e[_e]&512)!==0}function Jr(e){return(e[_e]&256)===256}var zse=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 Rv(e,t,i,n){t!==null?t.applyValueToInputSignal(t,n):e[i]=n}var Ph=(()=>{let e=()=>Lv;return e.ngInherit=!0,e})();function Lv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Use),Hse}function Hse(){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 Use(e,t,i,n,a){let r=this.declaredInputs[n],o=Vv(e)||Gse(e,{previous:xi,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[r];l[r]=new zse(c&&c.currentValue,i,u===xi),Rv(e,t,a,i)}var Fv="__ngSimpleChanges__";function Vv(e){return e[Fv]||null}function Gse(e,t){return e[Fv]=t}var Ya=function(e,t=null,i){},Wse="svg",qse="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 Oh(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 $se(e){return(e[_e]&4)===4}function Mh(e){return(e[_e]&128)===128}function Yse(e){return Xi(e[Qt])}function Za(e,t){return t==null?null:e[t]}function Bv(e){e[Er]=0}function Ah(e){e[_e]&1024||(e[_e]|=1024,Mh(e)&&Xr(e))}function Zse(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=Ka(e);for(;t!==null&&!(t[_e]&8192||(t[_e]|=8192,!Mh(t)));)t=Ka(t)}function zv(e,t){if(Jr(e))throw new Y(911,!1);e[fa]===null&&(e[fa]=[]),e[fa].push(t)}function Kse(e,t){if(e[fa]===null)return;let i=e[fa].indexOf(t);i!==-1&&e[fa].splice(i,1)}function Ka(e){let t=e[Qt];return Xi(t)?t[Qt]:t}function Rh(e){return e[Pr]??(e[Pr]=[])}function Lh(e){return e.cleanup??(e.cleanup=[])}function Jse(e,t,i,n){let a=Rh(t);a.push(i),e.firstCreatePass&&Lh(e).push(n,a.length-1)}var Oe={lFrame:Kv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},gd=!1;function Xse(){return Oe.lFrame.elementDepthCount}function Qse(){Oe.lFrame.elementDepthCount++}function ele(){Oe.lFrame.elementDepthCount--}function tle(){return Oe.bindingsEnabled}function Hv(){return Oe.skipHydrationRootTNode!==null}function nle(e){return Oe.skipHydrationRootTNode===e}function ile(){Oe.skipHydrationRootTNode=null}function we(){return Oe.lFrame.lView}function pt(){return Oe.lFrame.tView}function ya(e){return Oe.lFrame.contextLView=e,e[Ut]}function ba(e){return Oe.lFrame.contextLView=null,e}function cn(){let e=Uv();for(;e!==null&&e.type===64;)e=e.parent;return e}function Uv(){return Oe.lFrame.currentTNode}function ale(){let e=Oe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ea(e,t){let i=Oe.lFrame;i.currentTNode=e,i.isParent=t}function Fh(){return Oe.lFrame.isParent}function Vh(){Oe.lFrame.isParent=!1}function Gv(){return Oe.lFrame.contextLView}function Wv(){return gd}function Ll(e){let t=gd;return gd=e,t}function Qr(){let e=Oe.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rle(e){return Oe.lFrame.bindingIndex=e}function eo(){return Oe.lFrame.bindingIndex++}function qv(e){let t=Oe.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function ole(){return Oe.lFrame.inI18n}function sle(e,t){let i=Oe.lFrame;i.bindingIndex=i.bindingRootIndex=e,vd(t)}function lle(){return Oe.lFrame.currentDirectiveIndex}function vd(e){Oe.lFrame.currentDirectiveIndex=e}function cle(e){let t=Oe.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $v(){return Oe.lFrame.currentQueryIndex}function jh(e){Oe.lFrame.currentQueryIndex=e}function ule(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=ule(r),!(a===null||(r=r[Zr],a.type&10))););if(a===null)return!1;t=a,e=r}let n=Oe.lFrame=Zv();return n.currentTNode=t,n.lView=e,!0}function Bh(e){let t=Zv(),i=e[Se];Oe.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=Oe.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=Oe.lFrame;return Oe.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 dle(e){return(Oe.lFrame.contextLView=Zse(e,Oe.lFrame.contextLView))[Ut]}function Qi(){return Oe.lFrame.selectedIndex}function Ja(e){Oe.lFrame.selectedIndex=e}function Hh(){let e=Oe.lFrame;return Oh(e.tView,e.selectedIndex)}function hle(){return Oe.lFrame.currentNamespace}var Qv=!0;function kc(){return Qv}function Cc(e){Qv=e}function ple(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[Er]&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[Er]+=65536),(l<r||r==-1)&&(mle(e,i,t,u),e[Er]=(e[Er]&4294901760)+u+2),u++}function Vm(e,t){let i=Pe(null);try{t.call(e)}finally{Pe(i)}}function mle(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[Er]>>16&&(e[_e]&3)===t&&(e[_e]+=16384,Vm(l,r)):Vm(l,r)}var Or=-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 fle(e){return(e.flags&8)!==0}function gle(e){return(e.flags&16)!==0}function vle(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];yle(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 yle(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!==Or}function Fl(e){return e&32767}function ble(e){return e>>16}function Vl(e,t){let i=ble(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 _le=256,iy=_le-1,ay=5,xle=0,_i={};function wle(e,t,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Oo)&&(n=i[Oo]),n==null&&(n=i[Oo]=xle++);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 Or;if(i++,a=a[Zr],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Or}function bd(e,t,i){wle(e,t,i)}function Ele(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=Ile(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=kle(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=Or,c=n&Me.Host?t[Hn][vn]:null;for((l===-1||n&Me.SkipSelf)&&(u=l===-1?Gh(e,t):t[l+8],u===Or||!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=Sle(l,t,i,o,n,c);if(m!==_i)return m}u=t[l+8],u!==Or&&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 Sle(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(pse(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&&ple(i,o[i],t)}finally{c!==null&&dn(c),jl(u),l.resolving=!1,Xv()}}return r}function kle(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Oo)?e[Oo]:void 0;return typeof t=="number"?t>=0?t&iy:Cle: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 Cle(){return new No(cn(),we())}function Gt(e){return us(()=>{let t=e.prototype.constructor,i=t[Pl]||_d(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let r=a[Pl]||_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()}:Wa(e)}function Ile(e,t,i,n,a){let r=e,o=t;for(;r!==null&&o!==null&&o[_e]&2048&&!Rl(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 Dle(e){return Ele(cn(),e)}function Hm(e,t=null,i=null,n){let a=Tle(e,t,i,n);return a.resolveInjectorInitializers(),a}function Tle(e,t=null,i=null,n,a=new Set){let r=[i||hn,Pse(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",Ga),s(pi,"NULL",new Cv),s(pi,"ɵprov",W({token:pi,providedIn:"any",factory:()=>pe(Sv)})),s(pi,"__NG_ELEMENT_ID__",-1),pi),Ple=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>Dle(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},Ole=new se("");Ole.__NG_ELEMENT_ID__=e=>{let t=cn();if(t===null)throw new Y(204,!1);if(t.type&2)return t.value;if(e&Me.Optional)return null;throw new Y(204,!1)};var dy=!1,ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Nle),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),()=>Kse(i,t))}};function Nle(){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})(),Mle=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=Pe(null);try{super.next(t)}finally{Pe(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=Mle;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",Ale=0,Ge=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 Y(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,Fle(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wh)===!0}static assertInAngularZone(){if(!xd.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(xd.isInAngularZone())throw new Y(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,Rle,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)}},Rle={};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 Lle(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 Fle(e){let t=()=>{Lle(e)},i=Ale++;e._inner=e._inner.fork({name:"angular",properties:{[Wh]:!0,[zl]:i,[zl+i]:!0},onInvokeTask:(n,a,r,o,l,u)=>{if(jle(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&&!Ble(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 Vle=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 jle(e){return vy(e,"__ignore_ng_zone__")}function Ble(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)}},zle=new se("",{providedIn:"root",factory:()=>{let e=C(Ge),t=C(ai);return i=>e.runOutsideAngular(()=>t.handleError(i))}}),Hle=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 Y(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=Pe(null);try{for(let n of this.listeners)try{n(e)}catch(a){(i=this.errorHandler)==null||i.handleError(a)}}finally{Pe(t)}}};function qm(e){return new Hle}function $m(e,t){return dv(e,t)}function Ule(e){return dv(uv,e)}var ge=($m.required=Ule,$m);function Gle(){return no(cn(),we())}function no(e,t){return new Rt(Ii(e,t))}var Rt=(()=>{class e{constructor(i){s(this,"nativeElement");this.nativeElement=i}}return s(e,"__NG_ELEMENT_ID__",Gle),e})();function Wle(e){return e instanceof Rt?e.nativeElement:e}function Ym(e){return typeof e=="function"&&e[Sn]!==void 0}function Ed(e,t){let i=eoe(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 qle(){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,qle);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=kse(e);(this._changesDetected=!Sse(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,$le=0;function Yle(){return $le++}function Zle(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],Zle(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 Kle(e){kd=e}function Jle(){if(kd!==void 0)return kd;if(typeof document<"u")return document;throw new Y(210,!1)}var $h=new se("",{providedIn:"root",factory:()=>Xle}),Xle="ng",ky=new se(""),Ic=new se("",{providedIn:"platform",factory:()=>"unknown"}),nr=new se(""),Yh=new se("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=Jle().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Cy=!1,Qle=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 ir(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__",ece),e})();function ece(){return new Kh(we(),cn())}var Sr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Sr||{}),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})(),tce=[Sr.EarlyRead,Sr.Write,Sr.MixedReadWrite,Sr.Read],nce=(()=>{const t=class t{constructor(){s(this,"ngZone",C(Ge));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 tce)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})(),ice=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 ir("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 ir("NgAfterNextRender"),Ty(e,i,t,!0)}function ace(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(nce));let r=t.get(vs,null,{optional:!0}),o=(i==null?void 0:i.phase)??Sr.MixedReadWrite,l=(i==null?void 0:i.manualCleanup)!==!0?t.get(ii):null,u=t.get(Kh,null,{optional:!0}),c=new ice(a.impl,ace(e,o),u==null?void 0:u.view,n,l,r==null?void 0:r.snapshot(null));return a.impl.register(c),c}var rce=()=>null;function Py(e,t,i=!1){return rce()}function Oy(e,t){let i=e.contentQueries;if(i!==null){let n=Pe(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{Pe(n)}}}function Cd(e,t,i){jh(0);let n=Pe(null);try{t(e,i)}finally{Pe(n)}}function Xh(e,t,i){if(Th(t)){let n=Pe(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{Pe(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 oce(){if(zs===void 0&&(zs=null,xr.trustedTypes))try{zs=xr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zs}function Dc(e){var t;return((t=oce())==null?void 0:t.createHTML(e))||e}var ar=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lv})`}},sce=class extends ar{getTypeName(){return"HTML"}},lce=class extends ar{getTypeName(){return"Style"}},cce=class extends ar{getTypeName(){return"Script"}},uce=class extends ar{getTypeName(){return"URL"}},dce=class extends ar{getTypeName(){return"ResourceURL"}};function sa(e){return e instanceof ar?e.changingThisBreaksApplicationSecurity:e}function vr(e,t){let i=hce(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 hce(e){return e instanceof ar&&e.getTypeName()||null}function pce(e){return new sce(e)}function mce(e){return new lce(e)}function fce(e){return new cce(e)}function gce(e){return new uce(e)}function vce(e){return new dce(e)}function yce(e){let t=new _ce(e);return xce()?new bce(t):t}var bce=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}}},_ce=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 xce(){try{return!!new window.DOMParser().parseFromString(Dc(""),"text/html")}catch{return!1}}var wce=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qh(e){return e=String(e),e.match(wce)?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"),Ay=ea("rp,rt"),Ece=ys(Ay,My),Sce=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")),kce=ys(Ay,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,Sce,kce,Ece),Ry=ea("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cce=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"),Ice=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"),Dce=ys(Ry,Cce,Ice),Tce=ea("script,style,template"),Pce=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=Mce(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=Nce(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,!Tce.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(!Dce.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Ry[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 Oce(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Nce(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ly(t);return t}function Mce(e){let t=e.firstChild;if(t&&Oce(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 Ace=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rce=/([^\#-~ |!])/g;function Qm(e){return e.replace(/&/g,"&amp;").replace(Ace,function(t){let i=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(Rce,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hs;function Lce(e,t){let i=null;try{Hs=Hs||yce(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 Pce().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&&Fce(e)?e.content:null}function Fce(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}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 Fy(e){let t=Vce();return t?t.sanitize(wn.URL,e)||"":vr(e,"URL")?sa(e):Qh(bc(e))}function Vce(){let e=we();return e&&e[Zi].sanitizer}var jce=/^>|^->|<!--|-->|--!>|<!-$/g,Bce=/(<|>)/g,zce="​$1​";function Hce(e){return e.replace(jce,t=>t.replace(Bce,zce))}function Uce(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 Vy="ng-template";function Gce(e,t,i,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&Uce(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!==Vy}function Wce(e,t,i){let n=e.type===4&&!i?Vy:e.value;return t===n}function qce(e,t,i){let n=4,a=e.attrs,r=a!==null?Zce(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!==""&&!Wce(e,u,i)||u===""&&t.length===1){if(Yn(n))return!1;o=!0}}else if(n&8){if(a===null||!Gce(e,a,u,i)){if(Yn(n))return!1;o=!0}}else{let c=t[++l],h=$ce(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 $ce(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 Kce(t,e)}function jy(e,t,i=!1){for(let n=0;n<t.length;n++)if(qce(e,t[n],i))return!0;return!1}function Yce(e){let t=e.attrs;if(t!=null){let i=t.indexOf(5);if(!(i&1))return t[i+1]}return null}function Zce(e){for(let t=0;t<e.length;t++){let i=e[t];if(ty(i))return t}return e.length}function Kce(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 Jce(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 tf(e,t){return e?":not("+t.trim()+")":t}function Xce(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+=tf(r,a),a=""),n=o,r=r||!Yn(n);i++}return a!==""&&(t+=tf(r,a)),t}function Qce(e){return e.map(Xce).join(",")}function eue(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 tue(e,t){return e.createText(t)}function nue(e,t,i){e.setValue(t,i)}function iue(e,t){return e.createComment(Hce(t))}function By(e,t,i){return e.createElement(t,i)}function Ul(e,t,i,n,a){e.insertBefore(t,i,n,a)}function zy(e,t,i){e.appendChild(t,i)}function nf(e,t,i,n,a){n!==null?Ul(e,t,i,n,a):zy(e,t,i)}function aue(e,t,i){e.removeChild(null,t,i)}function rue(e,t,i){e.setAttribute(t,"style",i)}function oue(e,t,i){i===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Hy(e,t,i){let{mergedAttrs:n,classes:a,styles:r}=i;n!==null&&vle(e,t,n),a!==null&&oue(e,t,a),r!==null&&rue(e,t,r)}function tp(e,t,i,n,a,r,o,l,u,c,h){let m=bt+n,v=m+a,g=sue(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 sue(e,t){let i=[];for(let n=0;n<t;n++)i.push(n<e?null:ri);return i}function lue(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[Qt]=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]=Yle(),m[Vr]=h,m[Mv]=c,m[Hn]=t.type==2?e[Hn]:m,m}function cue(e,t,i){let n=Ii(t,e),a=lue(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)}Ja(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=Pe(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):Rv(t,u,r,n)}finally{Pe(a)}}function qy(e,t,i,n,a){let r=Qi(),o=n&2;try{Ja(-1),o&&t.length>bt&&Wy(e,t,bt,!1),Ya(o?2:0,a),i(n,a)}finally{Ja(r)}}function Pc(e,t,i){pue(e,t,i),(i.flags&64)===64&&mue(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 uue(e,t,i,n){let a=n.get(Qle,Cy)||i===Ui.ShadowDom;return e.selectRootElement(t,a)}function due(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)&&hue(i,t.index);return}if(t.type&3){let u=Ii(t,i);n=due(n),a=o!=null?o(a,t.value||"",n):a,r.setProperty(u,n,a)}else t.type&12}function hue(e,t){let i=ki(t,e);i[_e]&16||(i[_e]|=64)}function pue(e,t,i){let n=i.directiveStart,a=i.directiveEnd;Kr(i)&&cue(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&&yue(t,o-n,u,l,i,r),Ei(l)){let c=ki(i.index,t);c[Ut]=Uo(t,e,o,i)}}}function mue(e,t,i){let n=i.directiveStart,a=i.directiveEnd,r=i.index,o=lle();try{Ja(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)&&fue(u,c)}}finally{Ja(-1),vd(o)}}function fue(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];jy(t,r.selectors,!1)&&(n??(n=[]),Ei(r)?n.unshift(r):n.push(r))}return n}function gue(e,t,i,n,a,r){let o=Ii(e,t);vue(t[Ct],o,r,e.value,i,n,a)}function vue(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 yue(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 bue(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 _ue(e,t){let i=ki(t,e),n=i[Se];xue(n,i);let a=i[Ji];a!==null&&i[Vr]===null&&(i[Vr]=Py(a,i[jr])),sp(n,i,i[Ut]),Ya(19,i[Ut])}function xue(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&&Oy(e,t),e.staticViewQueries&&Cd(2,e.viewQuery,i);let o=e.components;o!==null&&wue(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,zh()}}function wue(e,t){for(let i=0;i<t.length;i++)_ue(e,t[i])}function bs(e,t,i,n){let a=Pe(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[qa]=u;let c=e[ni];return c!==null&&(l[ni]=c.createEmbeddedView(r)),sp(r,l,i),l}finally{Pe(a)}}function Hr(e,t){return!t||t.firstChild===null||by(e)}var Eue;function lp(e,t){return Eue(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 kr(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?zy(t,i,l):Ul(t,i,l,a||null,!0):e===1&&i!==null?Ul(t,i,l,a||null,!0):e===2?aue(t,l,o):e===3&&t.destroyNode(l),r!=null&&Mue(t,e,r,i,a)}}function Sue(e,t){Yy(e,t),t[Ji]=null,t[vn]=null}function kue(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 Cue(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[Jt];n&&(i=n)}if(!i){for(;t&&!t[ti]&&t!==e;)va(t)&&uu(t[Se],t),t=t[Qt];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 Oc(e,t){if(Jr(t))return;let i=t[Ct];i.destroyNode&&Mc(e,t,i,3,null,null),Cue(t)}function uu(e,t){if(Jr(t))return;let i=Pe(null);try{t[_e]&=-129,t[_e]|=256,t[zn]&&fc(t[zn]),Due(e,t),Iue(e,t),t[Se].type===1&&t[Ct].destroy();let n=t[qa];if(n!==null&&Xi(t[Qt])){n!==t[Qt]&&up(n,t);let a=t[ni];a!==null&&a.detachView(e)}Sd(t)}finally{Pe(i)}}function Iue(e,t){let i=e.cleanup,n=t[Pr];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[Pr]=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 Due(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 Tue(e,t.parent,i)}function Tue(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 Oue(e,t,i)}function Pue(e,t,i){return e.type&40?Ii(e,i):null}var Oue=Pue;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++)nf(r,a,i[u],l,!1);else nf(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=Ka(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=Jt+e+1;if(i<t.length){let n=t[i],a=n[Se].firstChild;if(a!==null)return Co(n,a)}return t[$a]}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),kr(t,e,a,l,r);else if(u&32){let c=lp(i,n),h;for(;h=c();)kr(t,e,a,h,r);kr(t,e,a,l,r)}else u&16?Xy(e,t,n,i,a,r):kr(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 Nue(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];kr(t,e,a,c,r)}else{let u=l,c=o[Qt];by(n)&&(u.flags|=128),dp(e,t,u,c,a,r,!0)}}function Mue(e,t,i,n,a){let r=i[$a],o=Si(i);r!==o&&kr(t,e,n,r,a);for(let l=Jt;l<i.length;l++){let u=i[l];Mc(u[Se],u,e,t,n,r)}}function Aue(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)&&Rue(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=Ka(t[Hn]);Gl(u[Se],u,l,n,!0)}}i=a?i.projectionNext:i.next}return n}function Rue(e,t){for(let i=Jt;i<e.length;i++){let n=e[i],a=n[Se].firstChild;a!==null&&Gl(n[Se],n,a,t)}e[$a]!==e[Ji]&&t.push(e[$a])}function Qy(e){if(e[ga]!==null){for(let t of e[ga])t.impl.addSequence(t);e[ga].length=0}}var eb=[];function Lue(e){return e[zn]??Fue(e)}function Fue(e){let t=eb.pop()??Object.create(jue);return t.lView=e,t}function Vue(e){e.lView[zn]!==e&&(e.lView=null,eb.push(e))}var jue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Xr(e.lView)},consumerOnSignalRead(){this.lView[zn]=this}});function Bue(e){let t=e[zn]??Object.create(zue);return t.lView=e,t}var zue=yt(ue({},$r),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ka(e.lView);for(;t&&!tb(t[Se]);)t=Ka(t);t&&Ah(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 Hue=100;function ib(e,t=!0,i=0){var a,r;let n=e[Zi].rendererFactory;(a=n.begin)==null||a.call(n);try{Uue(e,i)}catch(o){throw t&&bue(e,o),o}finally{(r=n.end)==null||r.call(n)}}function Uue(e,t){let i=Wv();try{Ll(!0),Td(e,t);let n=0;for(;ms(e);){if(n===Hue)throw new Y(103,!1);n++,Td(e,1)}}finally{Ll(i)}}function Gue(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=Lue(t),u=Lo(c)):$re()===null?(l=!1,c=Bue(t),u=Lo(c)):t[zn]&&(fc(t[zn]),t[zn]=null);try{Bv(t),rle(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||Wue(t),nb(t),ab(t,0),e.contentQueries!==null&&Oy(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)}$ue(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&&Vue(c)),zh()}}function ab(e,t){for(let i=wy(e);i!==null;i=Ey(i))for(let n=Jt;n<i.length;n++){let a=i[n];rb(a,t)}}function Wue(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];Ah(a)}}}function que(e,t,i){let n=ki(t,e);rb(n,i),Ya(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)Gue(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++)que(e,t[n],i)}function $ue(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)Ja(~a);else{let r=a,o=i[++n],l=i[++n];sle(o,r);let u=t[r];Ya(24,u),l(2,u),Ya(25,u)}}}finally{Ja(-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=Ka(e);if(Rl(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=Jt+t;if(i<e.length)return e[i]}function _s(e,t,i,n=!0){let a=t[Se];if(Yue(a,t,e,i),n){let o=Dd(i,e),l=t[Ct],u=l.parentNode(e[$a]);u!==null&&kue(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&&Oc(i[Se],i),i}function Wo(e,t){if(e.length<=Jt)return;let i=Jt+t,n=e[i];if(n){let a=n[qa];a!==null&&a!==e&&up(a,n),t>0&&(e[i-1][ti]=n[ti]);let r=Nl(e,Jt+t);Sue(n[Se],n);let o=r[ni];o!==null&&o.detachView(r[Se]),n[Qt]=null,n[ti]=null,n[_e]&=-129}return n}function Yue(e,t,i,n){let a=Jt+n,r=i.length;n>0&&(i[a-1][ti]=t),n<r-Jt?(t[ti]=i[a],Ev(i,Jt+n,t)):(i.push(t),t[ti]=null),t[Qt]=i;let o=t[qa];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[Qt];if(va(n))e[_e]|=2;else{let a=n[Qt][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[Qt];if(Xi(e)){let t=e[Al],i=t?t.indexOf(this):-1;i>-1&&(Wo(e,i),Nl(t,i))}this._attachedToViewContainer=!1}Oc(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 Y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Rl(this._lView),t=this._lView[qa];t!==null&&!e&&up(t,this._lView),Yy(this._lView[Se],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=e;let t=Rl(this._lView),i=this._lView[qa];i!==null&&!t&&ub(i,this._lView),fd(this._lView)}};function Zue(e){return ms(e._lView)||!!(e._lView[_e]&64)}function Kue(e){Ah(e._cdRefInjectingView||e._lView)}var Ur=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Que),e})(),Jue=Ur,Xue=class extends Jue{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 Que(){return Ac(cn(),we())}function Ac(e,t){return e.type&4?new Xue(t,e,no(e,t)):null}function ao(e,t,i,n,a){let r=e.data[t];if(r===null)r=ede(e,t,i,n,a),ole()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=a;let o=ale();r.injectorIndex=o===null?-1:o.injectorIndex}return Ea(r,!0),r}function ede(e,t,i,n,a){let r=Uv(),o=Fh(),l=o?r:r&&r.parent,u=e.data[t]=nde(e,l,i,t,n,a);return tde(e,u,r,o),u}function tde(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 nde(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 ide=()=>null;function Gr(e,t){return ide()}var ade=class{},db=class{},rde=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Bn(e)}.`)}},td,xs=(td=class{},s(td,"NULL",new rde),td),oi=class{},ro=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>ode()),e})();function ode(){let e=we(),t=cn(),i=ki(t.index,e);return(va(i)?i:e)[Ct]}var sde=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),du={},lde=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 Pd(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 Xt(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=ude(o);h===null?l=o:[l,u,c]=h,pde(e,t,i,l,r,u,c)}r!==null&&n!==null&&cde(i,n,r)}function cde(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 Y(-301,!1);n.push(t[a],r)}}function ude(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),dde(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 dde(e,t,i,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),i.set(e,[a,t.length-1])}function hde(e,t,i){t.componentOffset=i,(e.components??(e.components=[])).push(t.index)}function pde(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,hde(e,i,v)),bd(Bl(i,t),e,g.type)}bde(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),fde(e,i,t,m,g),yde(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++}mde(e,i,r)}function mde(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 fde(e,t,i,n,a){e.data[n]=a;let r=a.factory||(a.factory=Wa(a.type)),o=new fs(r,Ei(a),Xt);e.blueprint[n]=o,i[n]=o,gde(e,t,n,Gy(e,i,a.hostVars,ri),a)}function gde(e,t,i,n,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;vde(o)!=l&&o.push(l),o.push(i,n,r)}}function vde(e){let t=e.length;for(;t>0;){let i=e[--t];if(typeof i=="number"&&i<0)return i}return 0}function yde(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 bde(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=Za(u,o),h=ao(t,e,2,n,c);return pp(t,i,h,Za(u,l),a),h.mergedAttrs=zr(h.mergedAttrs,h.attrs),h.attrs!==null&&Pd(h,h.attrs,!1),h.mergedAttrs!==null&&Pd(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 _de=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 xde(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 wde(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Ede(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 lde(i,n):i}function Sde(e){let t=e.get(oi,null);if(t===null)throw new Y(407,!1);let i=e.get(sde,null),n=e.get(to,null);return{rendererFactory:t,sanitizer:i,changeDetectionScheduler:n}}function kde(e,t){let i=(e.selectors[0][0]||"div").toLowerCase();return By(t,i,i==="svg"?Wse:i==="math"?qse: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=Qce(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!i}get inputs(){return this.cachedInputs??(this.cachedInputs=xde(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=wde(this.componentDef.outputs)),this.cachedOutputs}create(t,i,n,a){let r=Pe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.15"]:eue(this.componentDef.selectors[0]),u=tp(0,null,null,1,0,null,null,null,null,[l],null),c=Ede(o,a||this.ngModule,t),h=Sde(c),m=h.rendererFactory.createRenderer(null,o),v=n?uue(m,n,o.encapsulation,c):kde(o,m),g=np(null,u,null,512|Uy(o),null,null,h,m,c,null,Py(v,c,!0));g[bt]=v,Bh(g);let x=null;try{let w=pb(bt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(Hy(m,v,w),io(v,g)),Pc(u,g,w),Xh(u,w,g),mb(u,w),i!==void 0&&Ide(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{Ya(23),zh()}return new Cde(this.componentType,g)}finally{Pe(r)}}},Cde=class extends ade{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=Oh(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 Ide(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__",Dde),e})();function Dde(){let e=cn();return gb(e,we())}var Tde=ws,fb=class extends Tde{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-Jt}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&&!Bse(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(Yse(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=a[Qt],c=new fb(u,u[vn],u[Qt]);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),Oc(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[Al]}function hu(e){return e[Al]||(e[Al]=[])}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)),Ode(i,t,e,n),new fb(i,e,t)}function Pde(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 Ode=Nde;function Nde(e,t,i,n){if(e[$a])return;let a;i.type&8?a=Si(n):a=Pde(t,i),e[$a]=a}var Mde=class vb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new vb(this.queryList)}setDirty(){this.queryList.setDirty()}},Ade=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=Gde(e):this.predicate=e}},Rde=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)}},Lde=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,Fde(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===Rt||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 Fde(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 Vde(e,t){return e.type&11?no(e,t):e.type&4?Ac(e,t):null}function jde(e,t,i,n){return i===-1?Vde(t,e):i===-2?Bde(e,t,n):Uo(e,e[Se],i,t)}function Bde(e,t,i){if(i===Rt)return no(t,e);if(i===Ur)return Ac(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(jde(t,h,o[u+1],i.metadata.read))}}a.matches=l}return a.matches}function Od(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=Jt;m<h.length;m++){let v=h[m];v[qa]===v[Qt]&&Od(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];Od(g[Se],g,c,n)}}}}}return n}function zde(e,t){return e[ni].queries[t].queryList}function Eb(e,t,i){let n=new Hl((i&4)===4);return Jse(e,t,n,n.destroy),(t[ni]??(t[ni]=new Ade)).queries.push(new Mde(n))-1}function Hde(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 Ude(e,t,i,n){let a=pt();if(a.firstCreatePass){let r=cn();Sb(a,new bb(t,i,n),r.index),Wde(a,e)}return Eb(a,we(),i)}function Gde(e){return e.split(",").map(t=>t.trim())}function Sb(e,t,i){e.queries===null&&(e.queries=new Rde),e.queries.track(new Lde(t,i))}function Wde(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 qde(e,t){let i=e[Se],n=fp(i,t);return n.crossesNgTemplate?Od(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 _de(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 $de(e,t,i=null){return new kb({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}var Yde=(()=>{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?$de([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 Ae(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(Yde).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&&ir("NgStandalone"),Ib(i);let n=e.dependencies;return i.directiveDefs=lf(n,!1),i.pipeDefs=lf(n,!0),i.id=Qde(i),i})}function Zde(e){return Lr(e)||Iv(e)}function Kde(e){return e!==null}function nn(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 Jde(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 Xde(e){if(e==null)return xi;let t={};for(let i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function an(e){return us(()=>{let t=Cb(e);return Ib(t),t})}function rn(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:Jde(e.inputs,t),outputs:Xde(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?Tse:Zde;return()=>(typeof e=="function"?e():e).map(n=>i(n)).filter(Kde)}function Qde(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 ehe(e){return Object.getPrototypeOf(e.prototype).constructor}function Gn(e){let t=ehe(e.type),i=!0,n=[e];for(;t;){let a;if(Ei(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Y(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&&rhe(e,l);let u=a.viewQuery,c=a.contentQueries;if(u&&ihe(e,u),c&&ahe(e,c),the(e,a),ose(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)}nhe(n)}function the(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 nhe(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 ihe(e,t){let i=e.viewQuery;i?e.viewQuery=(n,a)=>{t(n,a),i(n,a)}:e.viewQuery=t}function ahe(e,t){let i=e.contentQueries;i?e.contentQueries=(n,a,r)=>{t(n,a,r),i(n,a,r)}:e.contentQueries=t}function rhe(e,t){let i=e.hostBindings;i?e.hostBindings=(n,a)=>{t(n,a),i(n,a)}:e.hostBindings=t}function ohe(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);she(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 she(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 Pb(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 lhe(e,t,i,n,a){let r=Wl(e,t,i,n);return kn(e,t+2,a)||r}function che(e,t,i,n,a,r){let o=Wl(e,t,i,n);return Wl(e,t+2,a,r)||o}function uhe(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,Za(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 Ob(e,t,i,n,a,r,o,l,u,c){let h=i+bt,m=t.firstCreatePass?uhe(h,t,e,n,a,r,o,l,u):t.data[h];Ea(m,!1);let v=dhe(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)&&Pc(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=Za(c.consts,r);return Ob(u,c,e,t,i,n,a,h,o,l),oe}var dhe=hhe;function hhe(e,t,i,n){return Cc(!0),t[Ct].createComment("")}var phe=new se(""),Nb=(()=>{const t=class t{};s(t,"ɵprov",W({token:t,providedIn:"root",factory:()=>new mhe}));let e=t;return e})(),mhe=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 fhe(e){return!!e&&typeof e.subscribe=="function"}var ghe=new se(""),Ab=(()=>{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(ghe,{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(fhe(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})(),vhe=new se("");function yhe(){Qre(()=>{throw new Y(600,!1)})}function bhe(e){return e.isBoundToModule}var _he=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(zle));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 Y(101,!1);let n=Pe(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,Pe(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(Ab).done){let g="";throw new Y(405,g)}let l;o?l=n:l=this._injector.get(xs).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=bhe(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(phe,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++<_he;)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)xhe(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(vhe,[]).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 Y(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 xhe(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();gue(o,a,e,t,i,n)}return jt}function whe(e,t,i,n){return kn(e,eo(),i)?t+bc(i)+n:ri}function Us(e,t){return e<<17|t<<2}function Xa(e){return e>>17&32767}function Ehe(e){return(e&2)==2}function She(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 khe(e){return(e&1)===1}function Ad(e){return e|1}function Che(e,t,i,n,a,r){let o=r?t.classBindings:t.styleBindings,l=Xa(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=Xa(e[l+1]);e[n+1]=Us(m,l),m!==0&&(e[m+1]=mu(e[m+1],n)),e[l+1]=She(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),Ihe(t,h,e,n,r),o=Us(l,u),r?t.classBindings=o:t.styleBindings=o}function Ihe(e,t,i,n,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&ds(r,t)>=0&&(i[n+1]=Ad(i[n+1]))}function df(e,t,i,n){let a=e[i+1],r=t===null,o=n?Xa(a):Wr(a),l=!1;for(;o!==0&&(l===!1||r);){let u=e[o],c=e[o+1];Dhe(u,t)&&(l=!0,e[o+1]=n?Ad(c):Md(c)),o=n?Xa(c):Wr(c)}l&&(e[i+1]=n?Md(a):Ad(a))}function Dhe(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 The(e){return e.substring(Qn.key,Qn.keyEnd)}function Phe(e){return Ohe(e),Rb(e,Lb(e,0,Qn.textEnd))}function Rb(e,t){let i=Qn.textEnd;return i===t?-1:(t=Qn.keyEnd=Nhe(e,Qn.key=t,i),Lb(e,t,i))}function Ohe(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 Nhe(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 Rd(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){Ahe(Bhe,Mhe,e,!0)}function Mhe(e,t){for(let i=Phe(t);i>=0;i=Rb(t,i))Sh(e,The(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]=Hhe(t,i),n,o)}}function Ahe(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||"")),Rd(a,l,o,i,n)}else zhe(a,l,o,o[Ct],o[r+1],o[r+1]=jhe(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=Rhe(a,r,t,n),Che(a,r,t,i,o,n)}}function Rhe(e,t,i,n){let a=cle(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=Lhe(e,t,n);l!==void 0&&Array.isArray(l)&&(l=fu(null,e,t,l[1],n),l=Yo(l,t.attrs,n),Fhe(e,t,n,l))}else r=Vhe(e,t,n)}return r!==void 0&&(n?t.residualClasses=r:t.residualStyles=r),i}function Lhe(e,t,i){let n=i?t.classBindings:t.styleBindings;if(Wr(n)!==0)return e[Xa(n)]}function Fhe(e,t,i,n){let a=i?t.classBindings:t.styleBindings;e[Xa(a)]=n}function Vhe(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 jhe(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 Bhe(e,t,i){let n=String(t);n!==""&&!n.includes(" ")&&Sh(e,n,i)}function zhe(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=khe(c)?hf(u,t,i,a,Wr(c),o):void 0;if(!ql(h)){ql(r)||Ehe(c)&&(r=hf(u,null,i,a,l,o));let m=jv(Qi(),i);Aue(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?Xa(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 Hhe(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 Uhe=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 Ghe(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){ir("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=Pe(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{Pe(l)}}else if(r!==void 0){let l=lb(r,o);l!==void 0&&(l[Ut]=t)}}var Whe=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-Jt}};function ks(e,t){return t}var qhe=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){ir("NgControlFlow");let g=we(),x=pt(),w=u!==void 0,S=we(),T=o,L=new qhe(w,T);S[bt+e]=L,Ob(g,x,e+1,t,i,n,a,Za(x.consts,r))}var $he=class extends Uhe{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-Jt}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),Yhe(this.lContainer,t)}create(t,i){var r;let n=Gr(this.lContainer,this.templateTNode.tView.ssrId),a=bs(this.hostLView,this.templateTNode,new Whe(this.lContainer,i,t),{dehydratedView:n});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var i;Oc(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 Zhe(this.lContainer,t)}};function so(e){let t=Pe(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 $he(l,n,c)}else r.liveCollection.reset();let u=r.liveCollection;if(Ghe(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{Pe(t)}}function $l(e,t){return e[t]}function Yhe(e,t){return Wo(e,t)}function Zhe(e,t){return lb(e,t)}function Fd(e,t){return Oh(e,t)}function B(e,t,i,n){let a=we(),r=pt(),o=bt+e,l=a[Ct],u=r.firstCreatePass?pb(o,r,a,t,rp,tle(),i,n):r.data[o],c=Khe(r,a,u,l,t);a[o]=c;let h=Sc(u);return Ea(u,!0),Hy(l,c,u),!cp(u)&&kc()&&Nc(r,a,c,u),(Xse()===0||h)&&io(c,a),Qse(),h&&(Pc(r,a,u),Xh(r,u,a)),n!==null&&ap(a,u),B}function z(){let e=cn();Fh()?Vh():(e=e.parent,Ea(e,!1));let t=e;nle(t)&&ile(),ele();let i=pt();return i.firstCreatePass&&mb(i,t),t.classesWithoutHost!=null&&fle(t)&&Rd(i,t,we(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&gle(t)&&Rd(i,t,we(),t.stylesWithoutHost,!1),z}function le(e,t,i,n){return B(e,t,i,n),z(),le}var Khe=(e,t,i,n,a,r)=>(Cc(!0),By(n,a,hle()));function Jhe(e,t,i,n,a){let r=t.consts,o=Za(r,n),l=ao(t,e,8,"ng-container",o);o!==null&&Pd(l,o,!0);let u=Za(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?Jhe(r,a,n,t,i):a.data[r];Ea(o,!0);let l=Xhe(a,n);return n[r]=l,kc()&&Nc(a,n,l,o),io(l,n),Sc(o)&&(Pc(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 Xhe=(e,t,i,n)=>(Cc(!0),iue(t[Ct],""));function Rc(){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 Qhe(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var epe=["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",Qhe],Mo={};function tpe(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=npe(e),i=gf(t);if(i)return i;let n=t.split("-")[0];if(i=gf(n),i)return i;if(n==="en")return epe;throw new Y(701,!1)}function gf(e){return e in Mo||(Mo[e]=xr.ng&&xr.ng.common&&xr.ng.common.locales&&xr.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 npe(e){return e.toLowerCase().replace(/_/g,"-")}var Vd="en-US";function ipe(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=Pe(null);try{return Ya(6,t,i),i(n)!==!1}catch(r){return ape(e,r),!1}finally{Pe(a)}}function ape(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=Rh(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 ope(r,a,a[Ct],o,e,t,n),Di}function rpe(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[Pr],u=a[r+2];return l.length>u?l[u]:null}typeof o=="string"&&(r+=2)}return null}function ope(e,t,i,n,a,r,o){var m,v;let l=Sc(n),u=e.firstCreatePass?Lh(e):null,c=Rh(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=rpe(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 dle(e)}function spe(e,t){let i=null,n=Yce(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){i=a;continue}if(n===null?jy(e,r,!0):Jce(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=Cse(i,null),a=n.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?spe(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?lpe(o,l,u):h&&!cp(c)&&Nue(l,o,c)}function lpe(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 Ra(e,t,i,n){Ude(e,t,i,n)}function Yl(e,t,i){Hde(e,t,i)}function Kn(e){let t=we(),i=pt(),n=$v();jh(n+1);let a=fp(i,n);if(e.dirty&&$se(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=qde(t,n);e.reset(r,Wle),e.notifyOnChanges()}return!0}return!1}function Jn(){return zde(we(),$v())}function rr(e){let t=Gv();return ps(t,bt+e)}function ve(e,t=""){let i=we(),n=pt(),a=e+bt,r=n.firstCreatePass?ao(n,a,1,t,null):n.data[a],o=cpe(n,i,r,t);i[a]=o,kc()&&Nc(n,i,o,r),Ea(r,!1)}var cpe=(e,t,i,n,a)=>(Cc(!0),tue(t[Ct],n));function Nt(e){return $e("",e,""),Nt}function $e(e,t,i){let n=we(),a=whe(n,e,t,i);return a!==ri&&upe(n,Qi(),a),$e}function upe(e,t,i){let n=jv(t,e);nue(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){ir("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 Y(314,!1);return i}function dpe(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=Ov(e),h=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Fr(e)||!e.multi){let g=new fs(c,a,Xt),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=mpe(a?ppe:hpe,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=Ase(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 hpe(e,t,i,n,a){return Bd(this.multi,[])}function ppe(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 mpe(e,t,i,n,a){let r=new fs(e,i,Xt);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)=>dpe(n,a?a(e):e,t)}}function fpe(e,t,i){let n=Qr()+e,a=we();return a[n]===ri?Es(a,n,t()):Pb(a,n)}function Cn(e,t,i,n){return Yb(we(),Qr(),e,t,i,n)}function gpe(e,t,i,n,a,r,o,l){let u=Qr()+e,c=we(),h=che(c,u,i,n,a,r);return kn(c,u+4,o)||h?Es(c,u+5,t(i,n,a,r,o)):Pb(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 vpe(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 ype(e,t,i,n,a,r,o,l){let u=t+i;return lhe(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 R(e,t){let i=pt(),n,a=e+bt;i.firstCreatePass?(n=bpe(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=Wa(n.type)),o=dn(Xt);try{let l=jl(!1),u=r();return jl(l),Nh(i,we(),a,u),u}finally{dn(o)}}function bpe(e,t){if(t)for(let i=t.length-1;i>=0;i--){let n=t[i];if(e===n.name)return n}}function X(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)?vpe(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)?ype(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 Ac(e,t)}var _pe=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 _pe("19.2.15"),xpe=(()=>{const t=class t{constructor(){s(this,"zone",C(Ge));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 wpe({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:i}){return e??(e=()=>new Ge(yt(ue({},Epe()),{scheduleInRootZone:i}))),[{provide:Ge,useFactory:e},{provide:Ml,multi:!0,useFactory:()=>{let n=C(xpe,{optional:!0});return()=>n.initialize()}},{provide:Ml,multi:!0,useFactory:()=>{let n=C(Spe);return()=>{n.initialize()}}},t===!0?{provide:my,useValue:!0}:[],{provide:fy,useValue:i??dy}]}function Epe(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Spe=(()=>{const t=class t{constructor(){s(this,"subscription",new pn);s(this,"initialized",!1);s(this,"zone",C(Ge));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(()=>{Ge.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ge.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})(),kpe=(()=>{var t;const i=class i{constructor(){s(this,"appRef",C(xa));s(this,"taskService",C(gs));s(this,"ngZone",C(Ge));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 Vle||!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 Cpe(){return typeof $localize<"u"&&$localize.locale||Vd}var Fc=new se("",{providedIn:"root",factory:()=>C(Fc,Me.Optional|Me.SkipSelf)||Cpe()}),zd=new se(""),Ipe=new se("");function vo(e){return!e.moduleRef}function Dpe(e){let t=vo(e)?e.r3Injector:e.moduleRef.injector,i=t.get(Ge);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 Ppe(n,i,()=>{let r=t.get(Ab);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(Fc,Vd);if(ipe(o||Vd),!t.get(Ipe,!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 Tpe(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Tpe(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 Y(-403,!1);t.push(e)}function Ppe(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 Ope(e=[],t){return st.create({name:t,providers:[{provide:Ih,useValue:"platform"},{provide:zd,useValue:new Set([()=>yl=null])},...e]})}function Npe(e=[]){if(yl)return yl;let t=Ope(e);return yl=t,yhe(),Mpe(t),t}function Mpe(e){let t=e.get(ky,null);wc(e,()=>{t==null||t.forEach(i=>i())})}function Ape(){return!1}var or=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Rpe),e})();function Rpe(e){return Lpe(cn(),we(),(e&16)===16)}function Lpe(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 Fpe=class{constructor(){}supports(e){return e instanceof Map||Tb(e)}create(){return new Vpe}},Vpe=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 Y(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 jpe(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))}},jpe=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 Fpe])}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 Ese,new wse]]}}find(n){let a=this.factories.find(r=>r.supports(n));if(a)return a;throw new Y(901,!1)}};s(t,"ɵprov",W({token:t,providedIn:"root",factory:Ef}));let e=t;return e})();function Bpe(e){let{rootComponent:t,appProviders:i,platformProviders:n,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Npe(n),o=[wpe({}),{provide:to,useExisting:kpe},...i||[]],l=new kb({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Dpe({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 zpe(e){return roe(e)}function Gi(e,t){return Kre(e,t==null?void 0:t.equal)}var s0,Hpe=(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=Wpe(r.view,o,e),n instanceof hy&&n._lView===r.view&&(n=null)):a=qpe(e,i.get(Nb),o),a.injector=i,n!==null&&(a.onDestroyFn=n.onDestroy(()=>a.destroy())),new Hpe(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=[]}}}),Upe=yt(ue({},Zb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){fc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Gpe=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 Wpe(e,t,i){let n=Object.create(Gpe);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 qpe(e,t,i){let n=Object.create(Upe);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 $pe=e=>e;function Ype(e,t){if(typeof e=="function"){let i=Sm(e,$pe,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=>noe(t,n),i.update=n=>ioe(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 Zpe={schedule(e,t){let i=setTimeout(e,t);return()=>clearTimeout(i)}};function Kpe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Jpe(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var bu;function Xpe(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 Qpe(e){let t={};return e.forEach(({propName:i,templateName:n,transform:a})=>{t[Kpe(n)]=[i,a]}),t}function eme(e,t){return t.get(xs).resolveComponentFactory(e).inputs}function tme(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=nme(l,t,a);u!==-1&&n[u].push(l)}return n}function nme(e,t,i){let n=i;return Jpe(e)&&t.some((a,r)=>a!=="*"&&Xpe(e,a)?(n=r,!0):!1),n}var ime=10,ame=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 rme(this.componentFactory,e,this.inputMap)}},rme=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(Ge),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=Zpe.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},ime))})}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),Zue(this.componentRef.hostView)&&(Kue(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=st.create({providers:[],parent:this.injector}),i=tme(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()}},ome=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function sme(e,t){let i=eme(e,t.injector),n=t.strategyFactory||new ame(e,t.injector),a=Qpe(i);class r extends ome{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 ze=new se(""),Jb=null;function Ao(){return Jb}function lme(e){Jb??(Jb=e)}var cme=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(ume),providedIn:"platform"}));let e=t;return e})(),ume=(()=>{const t=class t extends Xb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(ze));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ao().getBaseHref(this._doc)}onPopState(a){let r=Ao().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=Ao().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(hme),providedIn:"root"}));let e=t;return e})(),dme=new se(""),hme=(()=>{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(ze).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(dme,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=fme(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(mme(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:()=>pme(),providedIn:"root"}));let e=t;return e})();function pme(){return new e1(pe(xp))}function mme(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 fme(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 gme(e){return si(e)[Mt.LocaleId]}function vme(e,t,i){let n=si(e),a=[n[Mt.DayPeriodsFormat],n[Mt.DayPeriodsStandalone]],r=Un(a,t);return Un(r,i)}function yme(e,t,i){let n=si(e),a=[n[Mt.DaysFormat],n[Mt.DaysStandalone]],r=Un(a,t);return Un(r,i)}function bme(e,t,i){let n=si(e),a=[n[Mt.MonthsFormat],n[Mt.MonthsStandalone]],r=Un(a,t);return Un(r,i)}function _me(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 xme(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 wme(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 Eme=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pr={},Sme=/((?:[^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 kme(e,t,i,n){let a=Ame(e);t=ji(i,t)||t;let r=[],o;for(;t;)if(o=Sme.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=Mme(a,n));let u="";return r.forEach(c=>{let h=Ome(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=gme(e);if(pr[i]??(pr[i]={}),pr[i][t])return pr[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&&(pr[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 Cme(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=Ime(e,r);if((i>0||l>-i)&&(l+=i),e===3)l===0&&i===-12&&(l=12);else if(e===6)return Cme(l,t);let u=Bc(o,jc.MinusSign);return Xn(l,t,u,n,a)}}function Ime(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 Dme(a,r,e,t,i,n)}}function Dme(e,t,i,n,a,r){switch(i){case 2:return bme(t,a,n)[e.getMonth()];case 1:return yme(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let c=xme(t),h=wme(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 vme(t,a,n)[o<12?0:1];case 3:return _me(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 Tme=0,bl=4;function Pme(e){let t=Kl(e,Tme,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=Pme(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 Ome(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 Nme(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Mme(e,t,i){let n=e.getTimezoneOffset(),a=i1(t,n);return Nme(e,-1*(a-n))}function Ame(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(Eme))return Rme(n)}let t=new Date(e);if(!If(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Rme(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)(Xt(Rt),Xt(ro))}),s(t,"ɵdir",an({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Lme=(()=>{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)(Xt(Rt),Xt(bp),Xt(ro))}),s(t,"ɵdir",an({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)(Xt(ws))}),s(t,"ɵdir",an({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ph]}));let e=t;return e})();function Fme(e,t){return new Y(2100,!1)}var Vme="mediumDate",jme=new se(""),Bme=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)??Vme,h=r??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return kme(n,c,o||this.locale,h)}catch(c){throw Fme(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Xt(Fc,16),Xt(jme,24),Xt(Bme,24))}),s(t,"ɵpipe",rn({name:"date",type:t,pure:!0}));let e=t;return e})();function zme(e,t){return{key:e,value:t}}var Hme=(()=>{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(zme(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)(Xt(bp,16))}),s(t,"ɵpipe",rn({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",nn({type:t})),s(t,"ɵinj",tn({}));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",Ume="server";function Gme(e){return e===o1}function s1(e){return e===Ume}var l1=class{};function zc(e,t,i){return tpe(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 Y(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(pe(Hd),pe(Ge))}),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 Pf(e){for(let t of e)t.remove()}function Of(e,t){let i=t.createElement("style");return i.textContent=e,i}function Wme(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),Wme(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let r of n)this.addUsage(r,this.inline,Of);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&&(Pf(r.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Pf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(n,Of(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(ze),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%",qme=`_nghost-${h1}`,$me=`_ngcontent-${h1}`,Yme=!0,Zme=new se("",{providedIn:"root",factory:()=>Yme});function Kme(e){return $me.replace(kp,e)}function Jme(e){return qme.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 Xme(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(Zme),pe(ze),pe(Ic),pe(Ge),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 Y(-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=Ao().getGlobalEventTarget(this.doc,e),!e))throw new Y(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 Xme=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=Kme(h),this.hostAttr=Jme(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}},Qme=class m1 extends cme{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){lme(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=efe();return n==null?null:tfe(n)}resetBaseElement(){Io=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return r1(document.cookie,i)}},Io=null;function efe(){return Io=Io||document.head.querySelector("base"),Io?Io.getAttribute("href"):null}function tfe(e){return new URL(e,document.baseURI).pathname}var nfe=(()=>{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})(),ife=(()=>{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(ze))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Af=["alt","control","meta","shift"],afe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rfe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ofe=(()=>{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(()=>Ao().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."),Af.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=afe[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"),Af.forEach(l=>{if(l!==r){let u=rfe[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(ze))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function sfe(e){return Bpe(lfe(e))}function lfe(e){return{appProviders:[...pfe,...(e==null?void 0:e.providers)??[]],platformProviders:hfe}}function cfe(){Qme.makeCurrent()}function ufe(){return new ai}function dfe(){return Kle(document),document}var hfe=[{provide:Ic,useValue:o1},{provide:ky,useValue:cfe,multi:!0},{provide:ze,useFactory:dfe}],pfe=[{provide:Ih,useValue:"root"},{provide:ai,useFactory:ufe},{provide:Hd,useClass:ife,multi:!0,deps:[ze]},{provide:Hd,useClass:ofe,multi:!0,deps:[ze]},Gd,d1,c1,{provide:oi,useExisting:Gd},{provide:l1,useClass:nfe},[]],Ip=class{},f1=class{},Qa=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)))}},mfe=class{encodeKey(e){return Rf(e)}encodeValue(e){return Rf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function ffe(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 gfe=/%(\d[a-f0-9])/gi,vfe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Rf(e){return encodeURIComponent(e).replace(gfe,(t,i)=>vfe[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 mfe,t.fromString){if(t.fromObject)throw new Y(2805,!1);this.map=ffe(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)}},yfe=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 bfe(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 _fe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var jf="Content-Type",Bf="Accept",v1="X-Request-URL",y1="text/plain",b1="application/json",xfe=`${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(bfe(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 Qa),this.context??(this.context=new yfe),!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)||_fe(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 Qa,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}},wfe=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}},Efe=200,Sfe=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 Qa?c=r.headers:c=new Qa(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 Y(2806,!1);return c.body}));case"blob":return u.pipe(zt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Y(2807,!1);return c.body}));case"text":return u.pipe(zt(c=>{if(c.body!==null&&typeof c.body!="string")throw new Y(2808,!1);return c.body}));case"json":default:return u.pipe(zt(c=>c.body))}case"response":return u;default:throw new Y(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})(),kfe=new se("");function Cfe(e,t){return t(e)}function Ife(e,t,i){return(n,a)=>wc(i,()=>t(n,r=>e(r,a)))}var Tp=new se(""),Dfe=new se(""),Tfe=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(Tfe));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(Dfe,[])]));this.chain=r.reduceRight((o,l)=>Ife(o,l,this.injector),Cfe)}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})(),Pfe=/^\)\]\}',?\n/,Ofe=RegExp(`^${v1}:`,"m");function Nfe(e){return"responseURL"in e&&e.responseURL?e.responseURL:Ofe.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 Y(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?tr(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,xfe),!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 Qa(o.getAllResponseHeaders()),T=Nfe(o)||n.url;return u=new wfe({headers:S,status:o.status,statusText:w,url:T}),u},h=()=>{let{headers:w,status:S,statusText:T,url:L}=c(),N=null;S!==Sfe&&(N=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=N?Efe:0);let re=S>=200&&S<300;if(n.responseType==="json"&&typeof N=="string"){let fe=N;N=N.replace(Pfe,"");try{N=N!==""?JSON.parse(N):null}catch(ke){N=fe,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(""),Mfe="XSRF-TOKEN",Afe=new se("",{providedIn:"root",factory:()=>Mfe}),Rfe="X-XSRF-TOKEN",Lfe=new se("",{providedIn:"root",factory:()=>Rfe}),k1=class{},Ffe=(()=>{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(ze),pe(Afe))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function Vfe(e,t){let i=e.url.toLowerCase();if(!C(S1)||e.method==="GET"||e.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return t(e);let n=C(k1).getToken(),a=C(Lfe);return n!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,n)})),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 jfe(e,t){return{ɵkind:e,ɵproviders:t}}function Bfe(...e){let t=[Cs,Uf,Hf,{provide:Ip,useExisting:Hf},{provide:f1,useFactory:()=>C(kfe,{optional:!0})??C(Uf)},{provide:Tp,useValue:Vfe,multi:!0},{provide:S1,useValue:!0},{provide:k1,useClass:Ffe}];for(let i of e)t.push(...i.ɵproviders);return kh(t)}function zfe(e){return jfe(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(Hfe),a},providedIn:"root"}));let e=t;return e})(),Hfe=(()=>{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 vr(r,"HTML")?sa(r):Lce(this._doc,String(r)).toString();case wn.STYLE:return vr(r,"Style")?sa(r):r;case wn.SCRIPT:if(vr(r,"Script"))return sa(r);throw new Y(5200,!1);case wn.URL:return vr(r,"URL")?sa(r):Qh(String(r));case wn.RESOURCE_URL:if(vr(r,"ResourceURL"))return sa(r);throw new Y(5201,!1);default:throw new Y(5202,!1)}}bypassSecurityTrustHtml(a){return pce(a)}bypassSecurityTrustStyle(a){return mce(a)}bypassSecurityTrustScript(a){return fce(a)}bypassSecurityTrustUrl(a){return gce(a)}bypassSecurityTrustResourceUrl(a){return vce(a)}};s(t,"ɵfac",function(a){return new(a||t)(pe(ze))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Is=class{},Ufe=(()=>{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{},Gfe=(()=>{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)&&!Pp(e)&&e!==null}function wl(e){return typeof e=="object"}function Pp(e){return Array.isArray(e)}function Op(e){return typeof e=="string"}function Wfe(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])||Pp(e[t])||!i.length)?(e=e[t],t=""):i.length?t+=".":e=void 0;while(i.length);return e}function qfe(e,t,i){let n=t.split("."),a=e;for(let r=0;r<n.length;r++){let o=n[r];r===n.length-1?a[o]=i:((!a[o]||!Ds(a[o]))&&(a[o]={}),a=a[o])}}var Np=class{},$fe=(()=>{const t=class t extends Np{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(Op(a))return this.interpolateString(a,r);if(Wfe(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{},Yfe=(()=>{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"),P1=new se("USE_DEFAULT_LANG"),O1=new se("DEFAULT_LANGUAGE"),N1=new se("USE_EXTEND"),yo=e=>Po(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 Po(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(Pm(1),jn(1));return this.loadingTranslations=a.pipe(zt(r=>this.compiler.compileTranslations(r,n)),Pm(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(Pp(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||Po(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 Po(r)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:r}set(n,a,r=this.currentLang){qfe(this.translations[r],n,Op(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(P1),pe(T1),pe(N1),pe(O1))}),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);Po(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(Op(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)(Xt(li,16),Xt(or,16))}),s(t,"ɵpipe",rn({name:"translate",type:t,pure:!1})),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})(),Zfe=(e={})=>kh([e.loader||{provide:Is,useClass:Ufe},e.compiler||{provide:Ts,useClass:Yfe},e.parser||{provide:Np,useClass:$fe},e.missingTranslationHandler||{provide:D1,useClass:Gfe},Yd,{provide:T1,useValue:e.isolate},{provide:P1,useValue:e.useDefaultLang},{provide:N1,useValue:e.extend},{provide:O1,useValue:e.defaultLanguage},li]);function M1(e){return e.buttons===0||e.detail===0}function A1(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 Kfe(){if(Iu==null){let e=typeof document<"u"?document.head:null;Iu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Iu}function Jfe(e){if(Kfe()){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?Gme(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 Xfe(){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 Xfe()?e:!!e.capture}function Gf(e,t=0){return Qfe(e)?Number(e):arguments.length===2?t:0}function Qfe(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Ar(e){return e instanceof Rt?e.nativeElement:e}var ege=new se("cdk-input-modality-detector-options"),tge={ignoreKeys:[18,17,224,91,16]},R1=650,Tu={passive:!0,capture:!0},nge=(()=>{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<R1||(this._modality.next(M1(n)?"keyboard":"mouse"),this._mostRecentTarget=Yi(n))});s(this,"_onTouchstart",n=>{if(A1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Yi(n)});let n=C(Ge),a=C(ze),r=C(ege,{optional:!0});if(this._options=ue(ue({},tge),r),this.modalityDetected=this._modality.pipe(sv(1)),this.modalityChanged=this.modalityDetected.pipe(tse()),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||{}),ige=new se("cdk-focus-monitor-default-options"),Js=Mp({passive:!0,capture:!0}),Ap=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(Ge));s(this,"_platform",C(Tn));s(this,"_inputModalityDetector",C(nge));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(ze,{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(ige,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||El.IMMEDIATE}monitor(n,a=!1){let r=Ar(n);if(!this._platform.isBrowser||r.nodeType!==1)return vt();let o=Jfe(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=Ar(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=Ar(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?R1: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,sr=(()=>{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",Ae({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,age=(()=>{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):oge}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&rge(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 rge(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 oge(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var F1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(age));s(this,"_zone",C(Ge));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=Zoe(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 sge=(()=>{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})(),lge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",nn({type:t})),s(t,"ɵinj",tn({providers:[sge]}));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 uge(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let a=cge(yge(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&&!gge(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 vge(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 cge(e){try{return e.frameElement}catch{return null}}function uge(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function dge(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function hge(e){return mge(e)&&e.type=="hidden"}function pge(e){return fge(e)&&e.hasAttribute("href")}function mge(e){return e.nodeName.toLowerCase()=="input"}function fge(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 gge(e){let t=e.nodeName.toLowerCase(),i=t==="input"&&e.type;return i==="text"||i==="password"||t==="select"||t==="textarea"}function vge(e){return hge(e)?!1:dge(e)||pge(e)||e.hasAttribute("contenteditable")||j1(e)}function yge(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var bge=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)}},_ge=(()=>{const t=class t{constructor(){s(this,"_checker",C(V1));s(this,"_ngZone",C(Ge));s(this,"_document",C(ze));s(this,"_injector",C(st));C(sr).load(L1)}create(n,a=!1){return new bge(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})(),xge=new se("liveAnnouncerElement",{providedIn:"root",factory:wge});function wge(){return null}var Ege=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Sge=0,kge=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(Ge));s(this,"_defaultOptions",C(Ege,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(ze));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(xge,{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-${Sge++}`,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",Pu="cdk-high-contrast-active",B1=(()=>{const t=class t{constructor(){s(this,"_platform",C(Tn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",C(ze));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(Pu,Yf,Zf),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===La.BLACK_ON_WHITE?n.add(Pu,Yf):a===La.WHITE_ON_BLACK&&n.add(Pu,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})(),Cge=(()=>{const t=class t{constructor(){C(B1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",nn({type:t})),s(t,"ɵinj",tn({imports:[lge]}));let e=t;return e})(),Ou={},lo=(()=>{const t=class t{constructor(){s(this,"_appId",C($h))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Ou.hasOwnProperty(n)||(Ou[n]=0),`${n}${Ou[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})(),Ige=200,Dge=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:Ige;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 Rp(e,...t){return t.length?t.some(i=>e[i]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Tge=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 Dge(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||Rp(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))}}},Pge=class extends Tge{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)}},Oge=new se("cdk-dir-doc",{providedIn:"root",factory:Nge});function Nge(){return C(ze)}var Mge=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Age(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?Mge.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(Oge,{optional:!0});if(n){let a=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=Age(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",nn({type:t})),s(t,"ɵinj",tn({}));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",nn({type:t})),s(t,"ɵinj",tn({imports:[Ko,Ko]}));let e=t;return e})(),Kd=new se("MAT_DATE_LOCALE",{providedIn:"root",factory:Rge});function Rge(){return C(Fc)}var mr="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(mr)}getHours(e){throw new Error(mr)}getMinutes(e){throw new Error(mr)}getSeconds(e){throw new Error(mr)}parseTime(e,t){throw new Error(mr)}addSeconds(e,t){throw new Error(mr)}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}},Lge=new se("mat-date-formats"),Lp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,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,Pa;function H1(){if(Pa==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Pa=!1,Pa;if("scrollBehavior"in document.documentElement.style)Pa=!0;else{let e=Element.prototype.scrollTo;e?Pa=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Pa=!1}}return Pa}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 Pt(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||{}),Fge=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}),Vge=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},jge=800,Qf=Mp({passive:!0,capture:!0}),eg=["mousedown","touchstart"],tg=["mouseup","mouseleave","touchend","touchcancel"],Bge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,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,zge=(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=Ar(n)),r&&r.get(sr).load(Bge)}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||Hge(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 Fge(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=Ar(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+jge;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!A1(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 Vge),pa);function Hge(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"),Uge=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",nn({type:t})),s(t,"ɵinj",tn({imports:[Ci,Ci]}));let e=t;return e})(),Gge={capture:!0},Wge=["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(ze));s(this,"_animationMode",C(nr,{optional:!0}));s(this,"_globalRippleOptions",C(U1,{optional:!0}));s(this,"_platform",C(Tn));s(this,"_ngZone",C(Ge));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(()=>Wge.map(a=>ha(n,this._document,a,this._onInteraction,Gge)))}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 zge(c,this._ngZone,a,this._platform,this._injector),m=!c.rippleDisabled;m&&h.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:h,hasSetUpEvents:m}),n.removeAttribute(Nu)}destroyRipple(n){let a=this._hosts.get(n);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",W({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qge=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,$ge=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Au(e,t){let i=Array(e);for(let n=0;n<e;n++)i[n]=t(n);return i}var Yge=(()=>{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 Au(12,o=>this._format(r,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Au(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 Au(7,o=>this._format(r,new Date(2017,0,o+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((r=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,o){let l=this._createDateWithOverflow(a,r,o);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,yt(ue({},r),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+r)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(qge.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,o,l){let u=this.clone(a);return u.setHours(r,o,l,0),u}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let o=a.trim();if(o.length===0)return null;let l=this._parseTimeString(o);if(l===null){let u=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();u.length>0&&(l=this._parseTimeString(u))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,o){let l=new Date;return l.setFullYear(a,r,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let o=new Date;return o.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),o.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(o)}_parseTimeString(a){let r=a.toUpperCase().match($ge);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),Ru(o,0,23)&&Ru(l,0,59)&&(u==null||Ru(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 Ru(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()}},Zge=class extends Fp{constructor(t){super();s(this,"element");this.element=t instanceof Rt?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 Zge)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)}},Kge=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(ze));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",an({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",nn({type:t})),s(t,"ɵinj",tn({}));let e=t;return e})(),Jge=20,W1=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(Ge));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=Jge){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=Ar(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})(),Xge=(()=>{const t=class t{constructor(){s(this,"elementRef",C(Rt));s(this,"scrollDispatcher",C(W1));s(this,"ngZone",C(Ge));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",an({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),Qge=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(ze,{optional:!0}));let n=C(Ge),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=Qge){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",nn({type:t})),s(t,"ɵinj",tn({}));let e=t;return e})(),ag=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",nn({type:t})),s(t,"ɵinj",tn({imports:[Ko,ig,Ko,ig]}));let e=t;return e})(),rg=H1(),e0e=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=Pt(-this._previousScrollPosition.left),e.style.top=Pt(-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}},t0e=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 n0e=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}},i0e=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",C(W1));s(this,"_viewportRuler",C(q1));s(this,"_ngZone",C(Ge));s(this,"_document",C(ze));s(this,"noop",()=>new $1);s(this,"close",n=>new t0e(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new e0e(this._viewportRuler,this._document));s(this,"reposition",n=>new n0e(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])}}},a0e=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(ze));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})(),r0e=(()=>{const t=class t extends Y1{constructor(){super(...arguments);s(this,"_ngZone",C(Ge));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})(),o0e=(()=>{const t=class t extends Y1{constructor(){super(...arguments);s(this,"_platform",C(Tn));s(this,"_ngZone",C(Ge));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",Ae({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(ze));s(this,"_styleLoader",C(sr))}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})(),s0e=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=zpe(()=>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=Pt(this._config.width),e.height=Pt(this._config.height),e.minWidth=Pt(this._config.minWidth),e.minHeight=Pt(this._config.minHeight),e.maxWidth=Pt(this._config.maxWidth),e.maxHeight=Pt(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 s0e(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",l0e=/([A-Za-z%]+)$/,c0e=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&&Oa(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||!u0e(this._lastScrollVisibility,i)){let n=new a0e(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=Pt(i.height),n.top=Pt(i.top),n.bottom=Pt(i.bottom),n.width=Pt(i.width),n.left=Pt(i.left),n.right=Pt(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=Pt(a)),r&&(n.maxWidth=Pt(r))}this._lastBoundingBoxSize=i,Oa(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Oa(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Oa(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();Oa(i,this._getExactOverlayY(t,e,c)),Oa(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=Pt(r.maxHeight):a&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=Pt(r.maxWidth):a&&(i.maxWidth="")),Oa(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=Pt(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=Pt(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 Rt)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 Oa(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(l0e);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 u0e(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",d0e=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}},h0e=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",C(q1));s(this,"_document",C(ze));s(this,"_platform",C(Tn));s(this,"_overlayContainer",C(Bp))}global(){return new d0e}flexibleConnectedTo(n){return new c0e(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(i0e));s(this,"_overlayContainer",C(Bp));s(this,"_positionBuilder",C(h0e));s(this,"_keyboardDispatcher",C(r0e));s(this,"_injector",C(st));s(this,"_ngZone",C(Ge));s(this,"_document",C(ze));s(this,"_directionality",C(Zo));s(this,"_location",C(e1));s(this,"_outsideClickDispatcher",C(o0e));s(this,"_animationsModuleType",C(nr,{optional:!0}));s(this,"_idGenerator",C(lo));s(this,"_renderer",C(oi).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",C(sr))}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 Kge(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})(),p0e=new se("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=C(ka);return()=>e.scrollStrategies.reposition()}});function m0e(e){return()=>e.scrollStrategies.reposition()}var f0e={provide:p0e,deps:[ka],useFactory:m0e},K1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",nn({type:t})),s(t,"ɵinj",tn({providers:[ka,f0e],imports:[Ko,ec,ag,ag]}));let e=t;return e})();function g0e(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(Rt));s(this,"_focusTrapFactory",C(_ge));s(this,"_config");s(this,"_interactivityChecker",C(V1));s(this,"_ngZone",C(Ge));s(this,"_overlayRef",C(zp));s(this,"_focusMonitor",C(Ap));s(this,"_renderer",C(ro));s(this,"_changeDetectorRef",C(or));s(this,"_injector",C(st));s(this,"_platform",C(Tn));s(this,"_document",C(ze,{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",Ae({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,g0e,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&&!Rp(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}},v0e=new se("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=C(ka);return()=>e.scrollStrategies.block()}}),y0e=new se("DialogData"),b0e=new se("DefaultDialogConfig"),X1=(()=>{const t=class t{constructor(){s(this,"_overlay",C(ka));s(this,"_injector",C(st));s(this,"_defaultOptions",C(b0e,{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(v0e));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:y0e,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 _0e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",nn({type:t})),s(t,"ɵinj",tn({providers:[X1],imports:[K1,ec,Cge,ec]}));let e=t;return e})();function x0e(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",w0e=150,E0e=75,S0e=(()=>{const t=class t extends J1{constructor(){super(...arguments);s(this,"_animationMode",C(nr,{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)??w0e:0);s(this,"_exitAnimationDuration",this._animationsEnabled?gg(this._config.exitAnimationDuration)??E0e: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",Ae({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&&(B(0,"div",0)(1,"div",1),oe(2,x0e,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&&!Rp(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"),k0e=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(k0e));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=S0e,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(Rt));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",an({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:[Ph]}));let e=t;return e})(),i_=(()=>{const t=class t{constructor(){s(this,"_dialogRef",C(Hp,{optional:!0}));s(this,"_elementRef",C(Rt));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",an({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",an({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",an({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[ohe([Xge])]}));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",an({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",nn({type:t})),s(t,"ɵinj",tn({providers:[Uc],imports:[_0e,K1,ec,Ci,Ci]}));let e=t;return e})(),C0e=new se("MAT_BUTTON_CONFIG"),I0e=[{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(Rt));s(this,"_ngZone",C(Ge));s(this,"_animationMode",C(nr,{optional:!0}));s(this,"_focusMonitor",C(Ap));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(sr).load(Lp);let n=C(C0e,{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 I0e)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",an({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})(),D0e=(()=>{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",an({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]"],T0e=`.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
+ `,P0e=`@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",Ae({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),B(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})(),O0e=(()=>{const t=class t extends D0e{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Gt(t)))(a||t)}})()),s(t,"ɵcmp",Ae({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,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),B(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:[T0e,P0e],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",nn({type:t})),s(t,"ɵinj",tn({imports:[Ci,Uge,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 N0e(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 Y(3e3,!1)}function M0e(){return new Y(3100,!1)}function A0e(){return new Y(3101,!1)}function R0e(e){return new Y(3001,!1)}function L0e(e){return new Y(3003,!1)}function F0e(e){return new Y(3004,!1)}function V0e(e,t){return new Y(3005,!1)}function j0e(){return new Y(3006,!1)}function B0e(){return new Y(3007,!1)}function z0e(e,t){return new Y(3008,!1)}function H0e(e){return new Y(3002,!1)}function U0e(e,t,i,n,a){return new Y(3010,!1)}function G0e(){return new Y(3011,!1)}function W0e(){return new Y(3012,!1)}function q0e(){return new Y(3200,!1)}function $0e(){return new Y(3202,!1)}function Y0e(){return new Y(3013,!1)}function Z0e(e){return new Y(3014,!1)}function K0e(e){return new Y(3015,!1)}function J0e(e){return new Y(3016,!1)}function X0e(e,t){return new Y(3404,!1)}function Q0e(e){return new Y(3502,!1)}function eve(e){return new Y(3503,!1)}function tve(){return new Y(3300,!1)}function nve(e){return new Y(3504,!1)}function ive(e){return new Y(3301,!1)}function ave(e,t){return new Y(3302,!1)}function rve(e){return new Y(3303,!1)}function ove(e,t){return new Y(3400,!1)}function sve(e){return new Y(3401,!1)}function lve(e){return new Y(3402,!1)}function cve(e,t){return new Y(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 Q0e();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 uve=typeof document>"u"?null:document.documentElement;function qp(e){let t=e.parentNode||e.host||null;return t===uve?null:t}function dve(e){return e.substring(1,6)=="ebkit"}var Na=null,_g=!1;function hve(e){Na||(Na=pve()||{},_g=Na.style?"WebkitAppearance"in Na.style:!1);let t=!0;return Na.style&&!dve(e)&&(t=e in Na.style,!t&&_g&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Na.style)),t}function pve(){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 mve=1e3,v_="{{",fve="}}",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*mve;default:return e}}function nc(e,t,i){return e.hasOwnProperty("duration")?e:gve(e,t,i)}function gve(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(M0e()),l=!0),r<0&&(t.push(A0e()),l=!0),l&&t.splice(u,0,yg())}return{duration:a,delay:r,easing:o}}function vve(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]:N0e(e):e}function yve(e,t,i){let n=t.params||{},a=b_(e);a.length&&a.forEach(r=>{n.hasOwnProperty(r)||i.push(R0e())})}var th=new RegExp(`${v_}\\s*(.+?)\\s*${fve}`,"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(L0e()),l=""),l.toString()});return a==n?e:a}var bve=/-+([a-z0-9])/g;function $p(e){return e.replace(bve,(...t)=>t[1].toUpperCase())}function _ve(e,t){return e===0||t===0}function xve(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 F0e(t.type)}}function Yp(e,t){return window.getComputedStyle(e)[t]}var wve=(()=>{const t=class t{validateStyleProperty(n){return hve(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 wve),nd),Zp=class{},Eve=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"]),Sve=class extends Zp{normalizePropertyName(e,t){return $p(e)}normalizeStyleValue(e,t,i,n){let a="",r=i.toString().trim();if(Eve.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(V0e())}return r+a}},ic="*";function kve(e,t){let i=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Cve(n,i,t)):i.push(e),i}function Cve(e,t,i){if(e[0]==":"){let u=Ive(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(K0e()),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 Ive(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(J0e()),"* => *"}}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",Dve=new RegExp(`s*${x_}s*,?`,"g");function w_(e,t,i,n){return new Tve(e).build(t,i,n)}var Eg="",Tve=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,i){let n=new Nve(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(j0e()),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(B0e())}),{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(z0e(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=kve(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=Ave(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(H0e()):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(U0e(l,c.startTime,c.endTime)),h=!1),a=c.startTime),h&&u.set(l,{startTime:a,endTime:n}),t.options&&yve(o,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:Le.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(G0e()),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:Mve(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(W0e()),o&&t.errors.push(q0e());let h=e.steps.length,m=0;a>0&&a<h?t.errors.push($0e()):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]=Pve(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(Y0e());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 Pve(e){let t=!!e.split(/\s*,\s*/).find(i=>i==x_);return t&&(e=e.replace(Dve,"")),e=e.replace(/@\*/g,tc).replace(/@\w+/g,i=>tc+"-"+i.slice(1)).replace(/:animating/g,Qd),[e,t]}function Ove(e){return e?ue({},e):null}var Nve=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 Mve(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 Ave(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=Ove(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()}},Rve=1,Lve=":enter",Fve=new RegExp(Lve,"g"),Vve=":leave",jve=new RegExp(Vve,"g");function E_(e,t,i,n,a,r=new Map,o=new Map,l,u,c=[]){return new Bve().buildKeyframes(e,t,i,n,a,r,o,l,u,c)}var Bve=class{buildKeyframes(e,t,i,n,a,r,o,l,u,c=[]){u=u||new Jp;let h=new zve(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={},zve=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 Hve(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(Fve,"."+this._enterClassName),t=t.replace(jve,"."+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(Z0e()),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+=Rve,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=Uve(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)}},Hve=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 Uve(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 Gve(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},fe=c?[]:E_(e,t,this.ast.animation,a,r,g,w,re,u,h),ke=0;return fe.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):(fe.forEach(xt=>{let Qe=xt.element,It=En(T,Qe,new Set);xt.preStyleProps.forEach(K=>It.add(K));let ie=En(L,Qe,new Set);xt.postStyleProps.forEach(K=>ie.add(K)),Qe!==t&&S.add(Qe)}),kg(t,this._triggerName,i,n,N,g,w,fe,[...S.values()],T,L,ke))}};function Gve(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 Wve=class{constructor(e,t,i){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,n=D_(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,o)=>{r&&(r=ts(r,n,t));let l=this.normalizer.normalizePropertyName(o,t);r=this.normalizer.normalizeStyleValue(o,l,r,t),i.set(o,r)})}),i}};function qve(e,t,i){return new $ve(e,t,i)}var $ve=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 Wve(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=Yve(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 Yve(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 Zve=new Jp,Kve=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 eve();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,Zve,n),r.forEach(c=>{let h=En(o,c.element,new Map);c.postStyleProps.forEach(m=>h.set(m,null))})):(n.push(tve()),r=[]),n.length)throw nve();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 ive();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",Jve=".ng-animate-queued",Hu="ng-animate-disabled",Xve=".ng-animate-disabled",Qve="ng-star-inserted",eye=".ng-star-inserted",tye=[],T_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},nye={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=oye(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])})}}},Ro="void",Uu=new nh(Ro),iye=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 ave();if(i==null||i.length==0)throw rve();if(!sye(i))throw ove();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 sve();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!==Ro&&l.value===u.value){if(!uye(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(()=>{yr(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,Ro,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(Ro),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)}},aye=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 iye(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),yr(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,Xve,!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,Qve)}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 lve()}_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,Jve,!0);for(let te=0;te<H.length;te++)c.add(H[te])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=Pg(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,eye,!0).forEach(Ne=>S.add(Ne)):T.add(H))}let L=new Map,N=Pg(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=>yr(Ne,te))}),N.forEach((V,H)=>{let te=L.get(H);V.forEach(Ne=>yr(Ne,te))}),w.forEach(V=>{this.processLeaveNode(V)})});let re=[],fe=[];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 Zt=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=Zt,Ft.set(H.triggerName,ci)}}te.destroy();return}}let Je=!h||!this.driver.containsElement(h,Ne),Yt=L.get(Ne),Fe=g.get(Ne),Be=this._buildInstruction(H,i,Fe,Yt,Je);if(Be.errors&&Be.errors.length){fe.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,Zt)=>{if(et.size){let Ft=l.get(Zt);Ft||l.set(Zt,Ft=new Set),et.forEach((ci,ta)=>Ft.add(ta))}}),Be.postStyleProps.forEach((et,Zt)=>{let Ft=u.get(Zt);Ft||u.set(Zt,Ft=new Set),et.forEach((ci,ta)=>Ft.add(ta))})});if(fe.length){let V=[];fe.forEach(H=>{V.push(cve(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=>Og(V,l,u)),Qe=new Map;Tg(Qe,this.driver,T,u,Wi).forEach(V=>{Og(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=[],K=[],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 Yt=this._buildAnimation(te.namespaceId,Ne,ke,a,It,Qe);if(te.setRealPlayer(Yt),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)),K.push(te),c.has(H)&&n.push(te)}),K.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(yr(H,Xd),te&&te.hasAnimation)continue;let Ne=[];if(o.size){let Yt=o.get(H);Yt&&Yt.length&&Ne.push(...Yt);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(Yt=>!Yt.destroyed);Je.length?lye(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==Ro;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=cye((i.get(x)||tye).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),fe=this._buildPlayer(g,re,T);if(g.subTimeline&&n&&h.add(x),S){let ke=new ih(e,o,x);ke.setRealPlayer(fe),u.push(ke)}return fe});u.forEach(g=>{En(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>rye(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Vn(g,xg));let v=la(m);return v.onDestroy(()=>{c.forEach(g=>yr(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 rye(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 oye(e){return e??null}function al(e){return e&&e.nodeType===1}function sye(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]=nye,o.push(c))}),e.set(c,h)});let l=0;return i.forEach(u=>Dg(u,r[l++])),o}function Pg(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 yr(e,t){var i;(i=e.classList)==null||i.remove(t)}function lye(e,t,i){la(i).onDone(()=>e.processLeaveNode(t))}function cye(e){let t=[];return P_(e,t),t}function P_(e,t){for(let i=0;i<e.length;i++){let n=e[i];n instanceof p_?P_(n.players,t):t.push(n)}}function uye(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 Og(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 aye(e.body,t,i),this._timelineEngine=new Kve(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 X0e();o=qve(n,c,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if(i.charAt(0)=="@"){let[a,r]=bg(i),o=n;this._timelineEngine.command(a,t,r,o)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,a){if(i.charAt(0)=="@"){let[r,o]=bg(i);return this._timelineEngine.listen(r,t,o,a)}return this._transitionEngine.listen(e,t,i,n,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function dye(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 hye(e,i,n):null}var hye=(()=>{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)=>{pye(n)&&(t=t||new Map,t.set(n,i))}),t}function pye(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}},mye=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);_ve(i,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,x)=>u.set(x,g))});let h=vve(t).map(v=>new Map(v));h=xve(e,h,u);let m=dye(e,h);return new Ng(e,h,l,m)}},kl="@",O_="@.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==O_?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)}},fye=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==O_?(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=gye(t),o=i.slice(1),l="";return o.charAt(0)!=kl&&([o,l]=vye(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 gye(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function vye(e){let t=e.indexOf("."),i=e.substring(0,t),n=e.slice(t+1);return[i,n]}var yye=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 fye(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)}},bye=(()=>{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(ze),pe(__),pe(Zp))}),s(t,"ɵprov",W({token:t,factory:t.ɵfac}));let e=t;return e})();function _ye(){return new Sve}function xye(e,t,i){return new yye(e,t,i)}var wye=[{provide:Zp,useFactory:_ye},{provide:ah,useClass:bye},{provide:oi,useFactory:xye,deps:[Gd,ah,Ge]}],Eye=[{provide:__,useFactory:()=>new mye},{provide:nr,useFactory:()=>"BrowserAnimations"},...wye];function Sye(){return ir("NgEagerAnimations"),[...Eye]}var kye=(()=>{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,Cye=864e5,Iye=6e4,Dye=36e5,Tye=1e3,Mg=Symbol.for("constructDateFrom");function At(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 We(e,t){return At(t||e,e)}function co(e,t,i){let n=We(e,i==null?void 0:i.in);return isNaN(t)?At((i==null?void 0:i.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Pye(e,t,i){let n=We(e,i==null?void 0:i.in);if(isNaN(t))return At(e,NaN);let a=n.getDate(),r=At(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 Oye={};function lr(){return Oye}function Ki(e,t){var l,u,c,h;let i=lr(),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=We(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 er(e,t){return Ki(e,yt(ue({},t),{weekStartsOn:1}))}function A_(e,t){let i=We(e,t==null?void 0:t.in),n=i.getFullYear(),a=At(i,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let r=er(a),o=At(i,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=er(o);return i.getTime()>=r.getTime()?n+1:i.getTime()>=l.getTime()?n:n-1}function rc(e){let t=We(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 Nye(e,...t){let i=At.bind(null,t.find(n=>typeof n=="object"));return t.map(i)}function qr(e,t){let i=We(e,t==null?void 0:t.in);return i.setHours(0,0,0,0),i}function Mye(e,t,i){let[n,a]=Nye(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)/Cye)}function Aye(e,t){let i=A_(e,t),n=At(e,0);return n.setFullYear(i,0,4),n.setHours(0,0,0,0),er(n)}function Rye(e,t,i){return co(e,t*7,i)}function Lye(e,t,i){return Pye(e,t*12,i)}function Fye(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Vye(e){return!(!Fye(e)&&typeof e!="number"||isNaN(+We(e)))}function jye(e,t){let i=We(e,t==null?void 0:t.in);return i.setHours(23,59,59,999),i}function Bye(e,t){let i=We(e,t==null?void 0:t.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}function zye(e,t){var l,u,c,h;let i=lr(),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=We(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 Hye={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"}},Uye=(e,t,i)=>{let n,a=Hye[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 Gye={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Wye={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},qye={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$ye={date:Wu({formats:Gye,defaultWidth:"full"}),time:Wu({formats:Wye,defaultWidth:"full"}),dateTime:Wu({formats:qye,defaultWidth:"full"})},Yye={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Zye=(e,t,i,n)=>Yye[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 Kye={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Jye={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Xye={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"]},Qye={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"]},ebe={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"}},tbe={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"}},nbe=(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"},ibe={ordinalNumber:nbe,era:wo({values:Kye,defaultWidth:"wide"}),quarter:wo({values:Jye,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wo({values:Xye,defaultWidth:"wide"}),day:wo({values:Qye,defaultWidth:"wide"}),dayPeriod:wo({values:ebe,defaultWidth:"wide",formattingValues:tbe,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)?rbe(l,m=>m.test(o)):abe(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 abe(e,t){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return i}function rbe(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return i}function obe(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 sbe=/^(\d+)(th|st|nd|rd)?/i,lbe=/\d+/i,cbe={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},ube={any:[/^b/i,/^(a|c)/i]},dbe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},hbe={any:[/1/i,/2/i,/3/i,/4/i]},pbe={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},mbe={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]},fbe={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},gbe={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]},vbe={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},ybe={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}},bbe={ordinalNumber:obe({matchPattern:sbe,parsePattern:lbe,valueCallback:e=>parseInt(e,10)}),era:Eo({matchPatterns:cbe,defaultMatchWidth:"wide",parsePatterns:ube,defaultParseWidth:"any"}),quarter:Eo({matchPatterns:dbe,defaultMatchWidth:"wide",parsePatterns:hbe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Eo({matchPatterns:pbe,defaultMatchWidth:"wide",parsePatterns:mbe,defaultParseWidth:"any"}),day:Eo({matchPatterns:fbe,defaultMatchWidth:"wide",parsePatterns:gbe,defaultParseWidth:"any"}),dayPeriod:Eo({matchPatterns:vbe,defaultMatchWidth:"any",parsePatterns:ybe,defaultParseWidth:"any"})},R_={code:"en-US",formatDistance:Uye,formatLong:$ye,formatRelative:Zye,localize:ibe,match:bbe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function _be(e,t){let i=We(e,t==null?void 0:t.in);return Mye(i,Bye(i))+1}function Xp(e,t){let i=We(e,t==null?void 0:t.in),n=+er(i)-+Aye(i);return Math.round(n/M_)+1}function Qp(e,t){var h,m,v,g;let i=We(e,t==null?void 0:t.in),n=i.getFullYear(),a=lr(),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=At((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=At((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 xbe(e,t){var o,l,u,c;let i=lr(),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=At((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,n),r.setHours(0,0,0,0),Ki(r,t)}function L_(e,t){let i=We(e,t==null?void 0:t.in),n=+Ki(i,t)-+xbe(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)}},fr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ag={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=A_(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=L_(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=_be(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=fr.noon:n===0?a=fr.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=fr.evening:n>=12?a=fr.afternoon:n>=4?a=fr.morning:a=fr.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"+Rg(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"+Rg(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 Rg(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"})}},F_=(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"})}},wbe=(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}}",F_(a,t))},rh={p:F_,P:wbe},Ebe=/^D+$/,Sbe=/^Y+$/,kbe=["D","DD","YY","YYYY"];function V_(e){return Ebe.test(e)}function j_(e){return Sbe.test(e)}function oh(e,t,i){let n=Cbe(e,t,i);if(console.warn(n),kbe.includes(e))throw new RangeError(n)}function Cbe(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 Ibe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dbe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Tbe=/^'([^]*?)'?$/,Pbe=/''/g,Obe=/[a-zA-Z]/;function Cr(e,t,i){var h,m,v,g,x,w,S,T;let n=lr(),a=(i==null?void 0:i.locale)??n.locale??R_,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=We(e,i==null?void 0:i.in);if(!Vye(l))throw new RangeError("Invalid time value");let u=t.match(Dbe).map(L=>{let N=L[0];if(N==="p"||N==="P"){let re=rh[N];return re(L,a.formatLong)}return L}).join("").match(Ibe).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let N=L[0];if(N==="'")return{isToken:!1,value:Nbe(L)};if(Ag[N])return{isToken:!0,value:L};if(N.match(Obe))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)&&j_(N)||!(i!=null&&i.useAdditionalDayOfYearTokens)&&V_(N))&&oh(N,t,String(e));let re=Ag[N[0]];return re(l,N,a.localize,c)}).join("")}function Nbe(e){let t=e.match(Tbe);return t?t[1].replace(Pbe,"'"):e}function rl(e,t){return We(e,t==null?void 0:t.in).getDate()}function B_(){return Object.assign({},lr())}function z_(e,t){let i=We(e,t==null?void 0:t.in).getDay();return i===0?7:i}function Vg(e,t){return We(e,t==null?void 0:t.in).getMonth()}function Mbe(e,t){return+We(e)>+We(t)}function H_(e,t){return+We(e)<+We(t)}function Abe(e,t){let i=Rbe(t)?new t(0):At(t,0);return i.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),i}function Rbe(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Lbe=10,U_=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},Fbe=class extends U_{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)}},Vbe=class extends U_{constructor(t,i){super();s(this,"priority",Lbe);s(this,"subPriority",-1);this.context=t||(n=>At(i,n))}set(t,i){return i.timestampIsSet?t:At(t,Abe(t,this.context))}},qe=class{run(e,t,i,n){let a=this.parse(e,t,i,n);return a?{setter:new Fbe(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,i){return!0}},jbe=class extends qe{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*Dye+r*Iye+o*Tye),rest:t.slice(i[0].length)}}function G_(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 W_(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 q_(e){return e%400===0||e%4===0&&e%100!==0}var Bbe=class extends qe{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=W_(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}},zbe=class extends qe{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=W_(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)}},Hbe=class extends qe{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=At(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),er(a)}},Ube=class extends qe{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}},Gbe=class extends qe{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}},Wbe=class extends qe{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}},qbe=class extends qe{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}},$be=class extends qe{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 Ybe(e,t,i){let n=We(e,i==null?void 0:i.in),a=L_(n,i)-t;return n.setDate(n.getDate()-a*7),We(n,i==null?void 0:i.in)}var Zbe=class extends qe{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(Ybe(t,n,a),a)}};function Kbe(e,t,i){let n=We(e,i==null?void 0:i.in),a=Xp(n,i)-t;return n.setDate(n.getDate()-a*7),n}var Jbe=class extends qe{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 er(Kbe(t,n))}},Xbe=[31,28,31,30,31,30,31,31,30,31,30,31],Qbe=[31,29,31,30,31,30,31,31,30,31,30,31],e1e=class extends qe{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=q_(n),r=t.getMonth();return a?i>=1&&i<=Qbe[r]:i>=1&&i<=Xbe[r]}set(t,i,n){return t.setDate(n),t.setHours(0,0,0,0),t}},t1e=class extends qe{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 q_(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=lr(),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=We(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 n1e=class extends qe{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}},i1e=class extends qe{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}},a1e=class extends qe{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 r1e(e,t,i){let n=We(e,i==null?void 0:i.in),a=z_(n,i),r=t-a;return co(n,r,i)}var o1e=class extends qe{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=r1e(t,n),t.setHours(0,0,0,0),t}},s1e=class extends qe{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}},l1e=class extends qe{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}},c1e=class extends qe{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}},u1e=class extends qe{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}},d1e=class extends qe{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}},h1e=class extends qe{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}},p1e=class extends qe{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}},m1e=class extends qe{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}},f1e=class extends qe{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}},g1e=class extends qe{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}},v1e=class extends qe{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:At(t,t.getTime()-rc(t)-n)}},y1e=class extends qe{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:At(t,t.getTime()-rc(t)-n)}},b1e=class extends qe{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return G_(t)}set(t,i,n){return[At(t,n*1e3),{timestampIsSet:!0}]}},_1e=class extends qe{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return G_(t)}set(t,i,n){return[At(t,n),{timestampIsSet:!0}]}},x1e={G:new jbe,y:new Bbe,Y:new zbe,R:new Hbe,u:new Ube,Q:new Gbe,q:new Wbe,M:new qbe,L:new $be,w:new Zbe,I:new Jbe,d:new e1e,D:new t1e,E:new n1e,e:new i1e,c:new a1e,i:new o1e,a:new s1e,b:new l1e,B:new c1e,h:new u1e,H:new d1e,K:new h1e,k:new p1e,m:new m1e,s:new f1e,S:new g1e,X:new v1e,x:new y1e,t:new b1e,T:new _1e},w1e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E1e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,S1e=/^'([^]*?)'?$/,k1e=/''/g,C1e=/\S/,I1e=/[a-zA-Z]/;function D1e(e,t,i,n){var S,T,L,N;let a=()=>At(i,NaN),r=B_(),o=r.locale??R_,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,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},h=[new Vbe(n==null?void 0:n.in,i)],m=t.match(E1e).map(re=>{let fe=re[0];if(fe in rh){let ke=rh[fe];return ke(re,o.formatLong)}return re}).join("").match(w1e),v=[];for(let re of m){j_(re)&&oh(re,t,e),V_(re)&&oh(re,t,e);let fe=re[0],ke=x1e[fe];if(ke){let{incompatibleTokens:Lt}=ke;if(Array.isArray(Lt)){let Qe=v.find(It=>Lt.includes(It.token)||It.token===fe);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:fe,fullToken:re});let xt=ke.run(e,re,o.match,c);if(!xt)return a();h.push(xt.setter),e=xt.rest}else{if(fe.match(I1e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+fe+"`");if(re==="''"?re="'":fe==="'"&&(re=T1e(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&C1e.test(e))return a();let g=h.map(re=>re.priority).sort((re,fe)=>fe-re).filter((re,fe,ke)=>ke.indexOf(re)===fe).map(re=>h.filter(fe=>fe.priority===re).sort((fe,ke)=>ke.subPriority-fe.subPriority)).map(re=>re[0]),x=We(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 fe=re.set(x,w,c);Array.isArray(fe)?(x=fe[0],Object.assign(w,fe[1])):x=fe}return x}function T1e(e){return e.match(S1e)[1].replace(k1e,"'")}function P1e(e,t,i){let n=+We(e,i==null?void 0:i.in),[a,r]=[+We(t.start,i==null?void 0:i.in),+We(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"),$_=new se("new ngx-mask config"),Y_=new se("initial ngx-mask config"),O1e={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 N1e=(()=>{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 K="";this.allowNegativeNumbers&&w.slice(c,c+1)===I.MINUS?K=`${I.MINUS}${w.slice(c+1,c+w.length)}`:K=w,this.percentage(K)?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),K=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]===K&&w.length>1&&(w=I.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===I.NUMBER_ZERO&&w[1]!==K&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+K+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===I.MINUS&&(w[1]===K||w[1]===I.NUMBER_ZERO)&&(w=w[1]===K&&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]!==K?w.slice(0,2)+K+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]===K,lt=w[0]===I.NUMBER_ZERO,Wn=w[0]===I.MINUS,et=w[0]===this.thousandSeparator,Zt=w[1]===K,Ft=w[1]===I.NUMBER_ZERO,ci=w[2]===K;lt&&Zt&&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,Yt=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||Yt){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,K=T[0];ie<T.length&&c!==a.length;ie++,K=T[ie]??I.EMPTY_STRING){let Ie=I.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(K,a[c]??I.EMPTY_STRING)&&a[c+1]===I.SYMBOL_QUESTION)h+=K,c+=2;else if(a[c+1]===I.SYMBOL_STAR&&m&&this._checkSymbolMask(K,a[c+2]??I.EMPTY_STRING))h+=K,c+=3,m=!1;else if(this._checkSymbolMask(K,a[c]??I.EMPTY_STRING)&&a[c+1]===I.SYMBOL_STAR&&!Ie)h+=K,m=!0;else if(a[c+1]===I.SYMBOL_QUESTION&&this._checkSymbolMask(K,a[c+2]??I.EMPTY_STRING))h+=K,c+=3;else if(this._checkSymbolMask(K,a[c]??I.EMPTY_STRING)){if(a[c]===I.HOURS&&(this.apm?Number(K)>9:Number(K)>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(K)>2||w.slice(c-1,c).length===1&&Number(w.slice(c-1,c))>2||w.slice(c-1,c)==="1"&&Number(K)>2:h==="2"&&Number(K)>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(K)>3&&c>10)){S=S+1,c+=1,ie--;continue}if((a[c]===I.MINUTE||a[c]===I.SECOND)&&Number(K)>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],Yt=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,Zt=a.slice(0,2)===I.MONTHS&&this.specialCharacters.includes(Yt);if(Number(K)>3&&this.leadZeroDateTime||!et&&(Number(lt)>V||Number(Be)>V||this.specialCharacters.includes(te))||(Zt?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(K)>2||Number(lt)>12||this.specialCharacters.includes(te)&&!l),Zt=a.slice(c+2,c+3),Ft=Fe.includes(Zt)&&a.includes("d0")&&(this.specialCharacters.includes(Yt)&&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,Ps=Number(Fe)>V&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(Wn)&&Number(Wn)>12&&a.includes("d0"),Os=Number(Fe)<=V&&!this.specialCharacters.includes(Fe)&&!this.specialCharacters.includes(Je)&&Number(Be)>12;if(Number(K)>1&&this.leadZeroDateTime||et||Ft||Os||Ps||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+=K,c++}else this.specialCharacters.includes(K)&&a[c]===K?(h+=K,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(K)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===I.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??I.EMPTY_STRING)&&this._findSpecialChar(K)===this.maskExpression[c+2]&&m?(c+=3,h+=K):this.showMaskTyped&&this.specialCharacters.indexOf(K)<0&&K!==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 fe=!1;l&&(fe=T.every(ie=>this.specialCharacters.includes(ie)));let ke=`${this.prefix}${fe?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})(),Z_=(()=>{const t=class t extends N1e{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(Rt,{optional:!0}));s(this,"document",C(ze));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 M1e(){let e=C(Y_),t=C($_);return t instanceof Function?ue(ue({},e),t()):ue(ue({},e),t)}function A1e(e){return[{provide:$_,useValue:e},{provide:Y_,useValue:O1e},{provide:qc,useFactory:M1e},Z_]}function R1e(e){return kh(A1e(e))}var L1e=(()=>{const t=class t{constructor(){s(this,"defaultOptions",C(qc));s(this,"_maskService",C(Z_));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",rn({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})(),F1e="4.0",sh=F1e,ca=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(ca||{}),V1e=(()=>{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",Ae({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Ph],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),K_=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 Ot(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Ot(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 Ot(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 Ot(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 Ot(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 Ot(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return Ot(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`))})}},J_=()=>{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)},An=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}(An||{}),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||{}),Ha=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}(Ha||{}),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||{}),Rn=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Rn||{}),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||{}),Kt=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}(Kt||{}),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 Ua={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Rr={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Do=class extends Error{};Do.prototype.name="InvalidTokenError";function j1e(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 B1e(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 j1e(t)}catch{return atob(t)}}function z1e(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=B1e(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 H1e=class extends K_{constructor(e,t,i){super(e,Ha.USER_INFOS,t,i,Ha.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Ot(this,null,function*(){return z1e(yield this.getLocalAccessToken("")).userProfile})}},X_=(()=>{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 U1e(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 G1e(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 W1e=(()=>{const t=class t extends X_{constructor(){super(...arguments),this.servicesStore=C($c)}resolveSsin(){return Ot(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return U1e(n)})}resolvePatientInfo(){return Ot(this,null,function*(){let n=yield this.fetchUserProfileToken();return G1e(n)})}resolveUserInfo(){return Ot(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 Ot(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 H1e(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})(),q1e=(()=>{const t=class t extends X_{resolveSsin(){return Ot(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 Ot(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})(),$1e=(()=>{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;function Y1e(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var Q_={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Z1e(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let i of Q_[t]){let n=e.find(a=>a.lang===i);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}function K1e(e,t){if(!(!e||Object.keys(e).length<1)){t=t==null?void 0:t.substring(0,2);for(let i of Q_[t]){let n=e.find(a=>a.lang===i);if(n)return n}return e.length>0?e[0]:void 0}}var _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 J1e(e,t){return Ot(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:e_e(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 X1e(e){for(let t of Object.keys(jg))if(jg[t].includes(e))return t;return qi.OTHER}function Q1e(e,t,i){let n=e||"UNKNOWN",a=X1e(n);return{code:n,message:i??"An unexpected error occurred",group:a,traceId:t}}function e_e(e){var a,r,o;let t=((a=e.error)==null?void 0:a.code)??void 0,i=((r=e.error)==null?void 0:r.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return Q1e(t,n,i)}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(q1e):this.injector.get(W1e)}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})(),t_e={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function n_e(e,t){if(e&1){let i=Rc();B(0,"div",1)(1,"button",2),Di("click",function(){ya(i);let n=ae();return ba(n.action())}),ve(2),z()()}if(e&2){let i=ae();O(2),$e(" ",i.data.action," ")}}var i_e=["label"];function a_e(e,t){}var r_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,r_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}},ex=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")}},o_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",an({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),s_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",an({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),l_e=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",an({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),c_e=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(lh));s(this,"data",C(ex))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Ae({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,a){n&1&&(B(0,"div",0),ve(1),z(),oe(2,n_e,3,1,"div",1)),n&2&&(O(),$e(" ",a.data.message,`
30
+ `),O(),ee(a.hasAction?2:-1))},dependencies:[Gc,o_e,s_e,l_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",u_e=(()=>{const t=class t extends Hc{constructor(){super();s(this,"_ngZone",C(Ge));s(this,"_elementRef",C(Rt));s(this,"_changeDetectorRef",C(or));s(this,"_platform",C(Tn));s(this,"_rendersRef");s(this,"_animationsDisabled",C(nr,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",C(sc));s(this,"_document",C(ze));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",Ae({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(Yl(Xo,7),Yl(i_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&&(B(0,"div",1)(1,"div",2,0)(3,"div",3),oe(4,a_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 d_e(){return new sc}var h_e=new se("mat-snack-bar-default-options",{providedIn:"root",factory:d_e}),p_e=(()=>{const t=class t{constructor(){s(this,"_overlay",C(ka));s(this,"_live",C(kge));s(this,"_injector",C(st));s(this,"_breakpointObserver",C(F1));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(h_e));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",c_e);s(this,"snackBarContainerComponent",u_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(t_e.HandsetPortrait).pipe(zi(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(u,r),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(n,a){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let a=new 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:ex,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})(),m_e=(()=>{const t=class t{constructor(){this.snackbar=C(p_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})(),f_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=f_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})(),g_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 Qa,o=i.isProfessional;return tr(n.getServices().getAccessToken("")).pipe(jo(l=>t(e.clone({url:`${a}${e.url}`,headers:r.set(Rr.authorization,Ua.getAuthorizationHeader(l)).set(Rr.userType,Ua.getUserType({isProfessional:o})).set(Rr.clientType,J_()?Ua.clientType.mobileApp:Ua.clientType.webApp)}))))};function v_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var y_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",v_e];function b_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var __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",b_e];function x_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 w_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",x_e];function E_e(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&i===0?1:5}var S_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",E_e];zc(y_e,"de");zc(S_e,"nl");zc(w_e,"fr");zc(__e,"en");var k_e=class{handleError(e){throw new Error(e)}},C_e=class extends Yge{getFirstDayOfWeek(){return 1}format(e){return Cr(e,"dd/MM/yyyy")}parse(e){return D1e(e,"dd/MM/yyyy",new Date)}},I_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"}}},D_e=[Sye(),Bfe(zfe([g_e])),R1e(),{provide:ai,useClass:k_e},{provide:z1,useClass:C_e,deps:[Kd]},{provide:Lge,useValue:I_e},{provide:h_,useClass:kye},{provide:t_,useValue:{panelClass:"mh-dialog-container"}}],T_e=u0(lre(),1),P_e=new se("MESSAGE_FORMAT_CONFIG"),O_e={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},N_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({},O_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=A_e(n,a)}return this.throwOnError||(r=M_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 T_e.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(pe(P_e,8))},t.ɵprov=W({token:t,factory:t.ɵfac});let e=t;return e})();function M_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 A_e(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var tx={};Z(tx,{"00001":()=>nx,"00002":()=>ix,"00003":()=>ax,"00004":()=>rx,"00005":()=>ox,"00006":()=>sx,"00007":()=>lx,"00008":()=>cx,"00009":()=>ux,"00010":()=>dx,"00011":()=>hx,"00012":()=>px,"00013":()=>mx,"00014":()=>fx,"00015":()=>gx,"00016":()=>vx,"00017":()=>yx,"00018":()=>bx,"00019":()=>_x,"00020":()=>xx,"00021":()=>wx,"00022":()=>Ex,"00023":()=>Sx,"00024":()=>kx,"00025":()=>Cx,"00026":()=>Ix,"00027":()=>Dx,"00028":()=>Tx,"00029":()=>Px,"00030":()=>Ox,ampoule:()=>iw,bandage:()=>Xx,bottle:()=>aw,box:()=>ew,cm:()=>Nx,default:()=>R_e,dropsperminute:()=>Mx,"effervescent-tablet":()=>Kx,gm:()=>Ax,internationalunits:()=>Rx,iu:()=>Yx,liter:()=>tw,"mck/h":()=>Lx,"mck/kg/minute":()=>Fx,measure:()=>Vx,meq:()=>qx,mg:()=>Gx,"mg/h":()=>jx,"mg/ml":()=>Wx,micrograms:()=>Jx,miu:()=>$x,"ml/h":()=>Bx,mmol:()=>Zx,piece:()=>Qx,syringe:()=>nw,"syringe-ampoule":()=>rw,tbl:()=>zx,tsp:()=>Hx,"unt/h":()=>Ux});var nx="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",ix="{count, plural, one{Ampulle} other{Ampullen}}",ax="anwenden",rx="{count, plural, one{Kapsel} other{Kapseln}}",ox="{count, plural, one{Tablette} other{Tabletten}}",sx="Dosis",lx="{count, plural, one{Tropf} other{Tropfen}}",cx="{count, plural, one{Fläsche} other{Fläschchen}}",ux="{count, plural, one{Implantat} other{Implantate}}",dx="{count, plural, one{Infusion} other{Infusionen}}",hx="{count, plural, one{Inhalation} other{Inhalationen}}",px="Einstechen",mx="Kaugummi",fx="{count, plural, one{Kompresse} other{Kompressen}}",gx="{count, plural, one{Einlauf} other{Einläufe}}",vx="ml",yx="Ov.",bx="{count, plural, one{Perle} other{Perlen}}",_x="{count, plural, one{Pastille} other{Pastillen}}",xx="Pflaster",wx="cart",Ex="Pen",Sx="{count, plural, one{Puff} other{Puffs}}",kx="{count, plural, one{Schwamm} other{Schwämme}}",Cx="{count, plural, one{Stift} other{Stifte}}",Ix="Suppo",Dx="Tube",Tx="{count, plural, one{Docht} other{Dochte}}",Px="Beutel",Ox="Beutel",Nx="Zentimeter",Mx="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",Ax="Gramm",Rx="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",Lx="Mikrogramm pro Stunde",Fx="Mikrogramm pro Kilogramm pro Minute",Vx="Maß",jx="Miligramm pro Stunde",Bx="Milliliter pro Stunde",zx="Esslöffel",Hx="Kaffeelöffel",Ux="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",Gx="Milligramm",Wx="Milligramm pro Millimeter",qx="meq",$x="miu",Yx="iu",Zx="mmol",Kx="effervescent-tablet",Jx="micrograms",Xx="{count, plural, one{bandage} other{bandagen}}",Qx="{count, plural, one{stück} other{stücke}}",ew="schachteln",tw="liter",nw="{count, plural, one{spritze} other{spritzen}}",iw="{count, plural, one{glühbirn} other{glühbirnen}}",aw="{count, plural, one{Fläsche} other{Fläschchen}}",rw="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",R_e={"00001":nx,"00002":ix,"00003":ax,"00004":rx,"00005":ox,"00006":sx,"00007":lx,"00008":cx,"00009":ux,"00010":dx,"00011":hx,"00012":px,"00013":mx,"00014":fx,"00015":gx,"00016":vx,"00017":yx,"00018":bx,"00019":_x,"00020":xx,"00021":wx,"00022":Ex,"00023":Sx,"00024":kx,"00025":Cx,"00026":Ix,"00027":Dx,"00028":Tx,"00029":Px,"00030":Ox,cm:Nx,dropsperminute:Mx,gm:Ax,internationalunits:Rx,"mck/h":Lx,"mck/kg/minute":Fx,measure:Vx,"mg/h":jx,"ml/h":Bx,tbl:zx,tsp:Hx,"unt/h":Ux,mg:Gx,"mg/ml":Wx,meq:qx,miu:$x,iu:Yx,mmol:Zx,"effervescent-tablet":Kx,micrograms:Jx,bandage:Xx,piece:Qx,box:ew,liter:tw,syringe:nw,ampoule:iw,bottle:aw,"syringe-ampoule":rw},ow={};Z(ow,{"00001":()=>sw,"00002":()=>lw,"00003":()=>cw,"00004":()=>uw,"00005":()=>dw,"00006":()=>hw,"00007":()=>pw,"00008":()=>mw,"00009":()=>fw,"00010":()=>gw,"00011":()=>vw,"00012":()=>yw,"00013":()=>bw,"00014":()=>_w,"00015":()=>xw,"00016":()=>ww,"00017":()=>Ew,"00018":()=>Sw,"00019":()=>kw,"00020":()=>Cw,"00021":()=>Iw,"00022":()=>Dw,"00023":()=>Tw,"00024":()=>Pw,"00025":()=>Ow,"00026":()=>Nw,"00027":()=>Mw,"00028":()=>Aw,"00029":()=>Rw,"00030":()=>Lw,ampoule:()=>lE,bandage:()=>iE,bottle:()=>cE,box:()=>rE,cm:()=>Fw,default:()=>L_e,dropsperminute:()=>Vw,"effervescent-tablet":()=>tE,gm:()=>jw,internationalunits:()=>Bw,iu:()=>Qw,liter:()=>oE,"mck/h":()=>zw,"mck/kg/minute":()=>Hw,measure:()=>Uw,meq:()=>Jw,mg:()=>Zw,"mg/h":()=>Gw,"mg/ml":()=>Kw,micrograms:()=>nE,miu:()=>Xw,"ml/h":()=>Ww,mmol:()=>eE,piece:()=>aE,syringe:()=>sE,"syringe-ampoule":()=>uE,tbl:()=>qw,tsp:()=>$w,"unt/h":()=>Yw});var sw="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",lw="{count, plural, one{ampoule} other{ampoules}}",cw="applic.",uw="{count, plural, one{capsule} other{capsules}}",dw="{count, plural, one{tablet} other{tablets}}",hw="{count, plural, one{dose} other{doses}}",pw="{count, plural, one{drop} other{drops}}",mw="{count, plural, one{bottle} other{bottles}}",fw="{count, plural, one{implant} other{implants}}",gw="{count, plural, one{perfusion} other{perfusions}}",vw="{count, plural, one{inhalation} other{inhalations}}",yw="insert",bw="{count, plural, one{chewing gum} other{chewing gums}}",_w="{count, plural, one{compress} other{compresses}}",xw="enema",ww="ml",Ew="{count, plural, one{ovule} other{ovules}}",Sw="{count, plural, one{pearl} other{pearls}}",kw="{count, plural, one{pastille} other{pastilles}}",Cw="{count, plural, one{patch} other{patches}}",Iw="{count, plural, one{cartridge} other{cartridges}}",Dw="{count, plural, one{pen} other{pens}}",Tw="{count, plural, one{puff} other{puffs}}",Pw="{count, plural, one{sponge} other{sponges}}",Ow="{count, plural, one{stylo} other{stylos}}",Nw="{count, plural, one{supository} other{supositories}}",Mw="{count, plural, one{tube} other{tubes}}",Aw="{count, plural, one{wick} other{wicks}}",Rw="{count, plural, one{bag} other{bags}}",Lw="{count, plural, one{small bag} other{small bags}}",Fw="centimeter",Vw="{count, plural, one{drop per minute} other{drops per minute}}",jw="gram",Bw="international units",zw="microgram per hour",Hw="microgram per kilogram per minute",Uw="{count, plural, one{measure} other{measures}}",Gw="milligram per hour",Ww="milliliter per hour",qw="{count, plural, one{tablespoon} other{tablespoons}}",$w="{count, plural, one{teaspoon} other{teaspoons}}",Yw="{count, plural, one{unit per hour} other{units per hour}}",Zw="milligram",Kw="milligram per milliliter",Jw="milli-equivalent",Xw="miu",Qw="international units",eE="millimole",tE="{count, plural, one{effervescent tablet} other{effervescent tablets}}",nE="microgram",iE="{count, plural, one{bandage} other{bandages}}",aE="{count, plural, one{piece} other{pieces}}",rE="{count, plural, one{spray} other{sprays}}",oE="liter",sE="{count, plural, one{syringe} other{syringes}}",lE="{count, plural, one{ampoule} other{ampoules}}",cE="{count, plural, one{bottle} other{bottles}}",uE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",L_e={"00001":sw,"00002":lw,"00003":cw,"00004":uw,"00005":dw,"00006":hw,"00007":pw,"00008":mw,"00009":fw,"00010":gw,"00011":vw,"00012":yw,"00013":bw,"00014":_w,"00015":xw,"00016":ww,"00017":Ew,"00018":Sw,"00019":kw,"00020":Cw,"00021":Iw,"00022":Dw,"00023":Tw,"00024":Pw,"00025":Ow,"00026":Nw,"00027":Mw,"00028":Aw,"00029":Rw,"00030":Lw,cm:Fw,dropsperminute:Vw,gm:jw,internationalunits:Bw,"mck/h":zw,"mck/kg/minute":Hw,measure:Uw,"mg/h":Gw,"ml/h":Ww,tbl:qw,tsp:$w,"unt/h":Yw,mg:Zw,"mg/ml":Kw,meq:Jw,miu:Xw,iu:Qw,mmol:eE,"effervescent-tablet":tE,micrograms:nE,bandage:iE,piece:aE,box:rE,liter:oE,syringe:sE,ampoule:lE,bottle:cE,"syringe-ampoule":uE},dE={};Z(dE,{"00001":()=>hE,"00002":()=>pE,"00003":()=>mE,"00004":()=>fE,"00005":()=>gE,"00006":()=>vE,"00007":()=>yE,"00008":()=>bE,"00009":()=>_E,"00010":()=>xE,"00011":()=>wE,"00012":()=>EE,"00013":()=>SE,"00014":()=>kE,"00015":()=>CE,"00016":()=>IE,"00017":()=>DE,"00018":()=>TE,"00019":()=>PE,"00020":()=>OE,"00021":()=>NE,"00022":()=>ME,"00023":()=>AE,"00024":()=>RE,"00025":()=>LE,"00026":()=>FE,"00027":()=>VE,"00028":()=>jE,"00029":()=>BE,"00030":()=>zE,ampoule:()=>pS,bandage:()=>lS,bottle:()=>mS,box:()=>uS,cm:()=>HE,default:()=>F_e,dropsperminute:()=>UE,"effervescent-tablet":()=>oS,gm:()=>GE,internationalunits:()=>WE,iu:()=>aS,liter:()=>dS,"mck/h":()=>qE,"mck/kg/minute":()=>$E,measure:()=>YE,meq:()=>nS,mg:()=>eS,"mg/h":()=>ZE,"mg/ml":()=>tS,micrograms:()=>sS,miu:()=>iS,"ml/h":()=>KE,mmol:()=>rS,piece:()=>cS,syringe:()=>hS,"syringe-ampoule":()=>fS,tbl:()=>JE,tsp:()=>XE,"unt/h":()=>QE});var hE="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",pE="amp.",mE="applic.",fE="caps.",gE="compr.",vE="{count, plural, one{dose} other{doses}}",yE="{count, plural, one{goutte} other{gouttes}}",bE="flac.",_E="{count, plural, one{implant} other{implants}}",xE="{count, plural, one{perfusion} other{perfusions}}",wE="{count, plural, one{inhalation} other{inhalations}}",EE="insert",SE="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",kE="{count, plural, one{compres(se)} other{compres(ses)}}",CE="{count, plural, one{lavement} other{lavements}}",IE="ml",DE="ov.",TE="{count, plural, one{perle} other{perles}}",PE="{count, plural, one{pastille} other{pastilles}}",OE="{count, plural, one{patch} other{patchs}}",NE="patr.",ME="{count, plural, one{stylo} other{stylos}}",AE="{count, plural, one{puff} other{puffs}}",RE="{count, plural, one{éponge} other{éponges}}",LE="{count, plural, one{stylo} other{stylos}}",FE="suppo",VE="{count, plural, one{tube} other{tubes}}",jE="{count, plural, one{mèche} other{mèches}}",BE="{count, plural, one{sac} other{sacs}}",zE="{count, plural, one{sachet} other{sachets}}",HE="{count, plural, one{centimètre} other{centimètres}}",UE="{count, plural, one{goute par minute} other{goutes par minute}}",GE="{count, plural, one{gramme} other{grammes}}",WE="{count, plural, one{unité internationales} other{unités internationales}}",qE="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",$E="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",YE="{count, plural, one{mesure} other{mesures}}",ZE="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",KE="{count, plural, one{millilitre par heure} other{millilitres par heure}}",JE="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",XE="{count, plural, one{cuillère à café} other{cuillères à café}}",QE="{count, plural, one{unité par heure} other{unités par heure}}",eS="{count, plural, one{miligramme} other{miligrammes}}",tS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",nS="milli-équivalent",iS="miu",aS="{count, plural, one{unité internationales} other{unités internationales}}",rS="millimol",oS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",sS="{count, plural, one{microgramme} other{microgrammes}}",lS="{count, plural, one{bandage} other{bandages}}",cS="{count, plural, one{pièce} other{pièces}}",uS="{count, plural, one{vaporisateur} other{vaporisateurs}}",dS="{count, plural, one{litre} other{litres}}",hS="{count, plural, one{seringue} other{seringues}}",pS="{count, plural, one{ampoule} other{ampoules}}",mS="{count, plural, one{fiole} other{fioles}}",fS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",F_e={"00001":hE,"00002":pE,"00003":mE,"00004":fE,"00005":gE,"00006":vE,"00007":yE,"00008":bE,"00009":_E,"00010":xE,"00011":wE,"00012":EE,"00013":SE,"00014":kE,"00015":CE,"00016":IE,"00017":DE,"00018":TE,"00019":PE,"00020":OE,"00021":NE,"00022":ME,"00023":AE,"00024":RE,"00025":LE,"00026":FE,"00027":VE,"00028":jE,"00029":BE,"00030":zE,cm:HE,dropsperminute:UE,gm:GE,internationalunits:WE,"mck/h":qE,"mck/kg/minute":$E,measure:YE,"mg/h":ZE,"ml/h":KE,tbl:JE,tsp:XE,"unt/h":QE,mg:eS,"mg/ml":tS,meq:nS,miu:iS,iu:aS,mmol:rS,"effervescent-tablet":oS,micrograms:sS,bandage:lS,piece:cS,box:uS,liter:dS,syringe:hS,ampoule:pS,bottle:mS,"syringe-ampoule":fS},gS={};Z(gS,{"00001":()=>vS,"00002":()=>yS,"00003":()=>bS,"00004":()=>_S,"00005":()=>xS,"00006":()=>wS,"00007":()=>ES,"00008":()=>SS,"00009":()=>kS,"00010":()=>CS,"00011":()=>IS,"00012":()=>DS,"00013":()=>TS,"00014":()=>PS,"00015":()=>OS,"00016":()=>NS,"00017":()=>MS,"00018":()=>AS,"00019":()=>RS,"00020":()=>LS,"00021":()=>FS,"00022":()=>VS,"00023":()=>jS,"00024":()=>BS,"00025":()=>zS,"00026":()=>HS,"00027":()=>US,"00028":()=>GS,"00029":()=>WS,"00030":()=>qS,ampoule:()=>yk,bandage:()=>pk,bottle:()=>bk,box:()=>fk,cm:()=>$S,default:()=>V_e,dropsperminute:()=>YS,"effervescent-tablet":()=>dk,gm:()=>ZS,internationalunits:()=>KS,iu:()=>ck,liter:()=>gk,"mck/h":()=>JS,"mck/kg/minute":()=>XS,measure:()=>QS,meq:()=>sk,mg:()=>rk,"mg/h":()=>ek,"mg/ml":()=>ok,micrograms:()=>hk,miu:()=>lk,"ml/h":()=>tk,mmol:()=>uk,piece:()=>mk,syringe:()=>vk,"syringe-ampoule":()=>_k,tbl:()=>nk,tsp:()=>ik,"unt/h":()=>ak});var vS="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",yS="{count, plural, one{ampule} other{ampullen}}",bS="aanbrengen",_S="{count, plural, one{capsule} other{capsules}}",xS="{count, plural, one{tablet} other{tabletten}}",wS="{count, plural, one{dose} other{dosissen}}",ES="{count, plural, one{druppel} other{druppels}}",SS="{count, plural, one{flesje} other{flesjes}}",kS="{count, plural, one{implantaat} other{implantaten}}",CS="{count, plural, one{infuus} other{infusen}}",IS="{count, plural, one{inhalatie} other{inhalaties}}",DS="inbrengen",TS="{count, plural, one{kauwgom} other{kauwgommen}}",PS="{count, plural, one{kompres} other{kompressen}}",OS="lavement",NS="ml",MS="{count, plural, one{ovule} other{ovules}}",AS="{count, plural, one{parel} other{parels}}",RS="{count, plural, one{pastille} other{pastilles}}",LS="{count, plural, one{pleister} other{pleisters}}",FS="{count, plural, one{patroon} other{patronen}}",VS="{count, plural, one{pen} other{pennen}}",jS="{count, plural, one{puff} other{puffs}}",BS="{count, plural, one{spons} other{sponsen}}",zS="{count, plural, one{stylo} other{stylos}}",HS="{count, plural, one{zetpil} other{zetpillen}}",US="{count, plural, one{tube} other{tubes}}",GS="{count, plural, one{wiek} other{wieken}}",WS="{count, plural, one{zak} other{zakken}}",qS="{count, plural, one{zakje} other{zakjes}}",$S="centimeter",YS="{count, plural, one{druppel per minuut} other{druppels per minuut}}",ZS="gram",KS="internationale eenheden",JS="microgram per uur",XS="microgram per kilogram per minuut",QS="{count, plural, one{maat} other{maten}}",ek="milligram per uur",tk="milliliter per uur",nk="{count, plural, one{eetlepel} other{eetlepels}}",ik="{count, plural, one{koffielepel} other{koffielepels}}",ak="{count, plural, one{eenheid per uur} other{eenheden per uur}}",rk="miligram",ok="miligram per milimeter",sk="milli-equivalent",lk="miu",ck="internationale eenheden",uk="millimol",dk="{count, plural, one{bruistablet} other{bruistabletten}}",hk="microgram",pk="{count, plural, one{verband} other{verbanden}}",mk="{count, plural, one{stuk} other{stuks}}",fk="{count, plural, one{verstuiving} other{verstuivingen}}",gk="liter",vk="{count, plural, one{spuit} other{spuiten}}",yk="{count, plural, one{ampul} other{ampullen}}",bk="{count, plural, one{fles} other{flessen}}",_k="{count, plural, one{spuitampul} other{spuitampullen}}",V_e={"00001":vS,"00002":yS,"00003":bS,"00004":_S,"00005":xS,"00006":wS,"00007":ES,"00008":SS,"00009":kS,"00010":CS,"00011":IS,"00012":DS,"00013":TS,"00014":PS,"00015":OS,"00016":NS,"00017":MS,"00018":AS,"00019":RS,"00020":LS,"00021":FS,"00022":VS,"00023":jS,"00024":BS,"00025":zS,"00026":HS,"00027":US,"00028":GS,"00029":WS,"00030":qS,cm:$S,dropsperminute:YS,gm:ZS,internationalunits:KS,"mck/h":JS,"mck/kg/minute":XS,measure:QS,"mg/h":ek,"ml/h":tk,tbl:nk,tsp:ik,"unt/h":ak,mg:rk,"mg/ml":ok,meq:sk,miu:lk,iu:ck,mmol:uk,"effervescent-tablet":dk,micrograms:hk,bandage:pk,piece:mk,box:fk,liter:gk,syringe:vk,ampoule:yk,bottle:bk,"syringe-ampoule":_k},j_e={nl:gS,fr:dE,de:tx,en:ow},xk={};Z(xk,{default:()=>B_e,friday:()=>Ck,monday:()=>wk,saturday:()=>Ik,sunday:()=>Dk,thursday:()=>kk,tuesday:()=>Ek,wednesday:()=>Sk});var wk="Montag",Ek="Dienstag",Sk="Mittwoch",kk="Donnerstag",Ck="Freitag",Ik="Samstag",Dk="Sonntag",B_e={monday:wk,tuesday:Ek,wednesday:Sk,thursday:kk,friday:Ck,saturday:Ik,sunday:Dk},Tk={};Z(Tk,{default:()=>z_e,friday:()=>Ak,monday:()=>Pk,saturday:()=>Rk,sunday:()=>Lk,thursday:()=>Mk,tuesday:()=>Ok,wednesday:()=>Nk});var Pk="Monday",Ok="Tuesday",Nk="Wednesday",Mk="Thursday",Ak="Friday",Rk="Saturday",Lk="Sunday",z_e={monday:Pk,tuesday:Ok,wednesday:Nk,thursday:Mk,friday:Ak,saturday:Rk,sunday:Lk},Fk={};Z(Fk,{default:()=>H_e,friday:()=>Hk,monday:()=>Vk,saturday:()=>Uk,sunday:()=>Gk,thursday:()=>zk,tuesday:()=>jk,wednesday:()=>Bk});var Vk="Lundi",jk="Mardi",Bk="Mercredi",zk="Jeudi",Hk="Vendredi",Uk="Samedi",Gk="Dimanche",H_e={monday:Vk,tuesday:jk,wednesday:Bk,thursday:zk,friday:Hk,saturday:Uk,sunday:Gk},Wk={};Z(Wk,{default:()=>U_e,friday:()=>Kk,monday:()=>qk,saturday:()=>Jk,sunday:()=>Xk,thursday:()=>Zk,tuesday:()=>$k,wednesday:()=>Yk});var qk="Maandag",$k="Dinsdag",Yk="Woensdag",Zk="Donderdag",Kk="Vrijdag",Jk="Zaterdag",Xk="Zondag",U_e={monday:qk,tuesday:$k,wednesday:Yk,thursday:Zk,friday:Kk,saturday:Jk,sunday:Xk},G_e={nl:Wk,fr:Fk,de:xk,en:Tk},Qk={};Z(Qk,{VIDIS_0035:()=>eC,VIDIS_0050:()=>tC,VIDIS_0090:()=>nC,VIDIS_0100:()=>NC,VIDIS_0110:()=>AC,VIDIS_0120:()=>MC,VIDIS_0121:()=>iC,VIDIS_0122:()=>aC,VIDIS_0123:()=>rC,VIDIS_0124:()=>oC,VIDIS_0125:()=>sC,VIDIS_0126:()=>lC,VIDIS_0131:()=>cC,VIDIS_0132:()=>uC,VIDIS_0133:()=>dC,VIDIS_0134:()=>hC,VIDIS_0135:()=>pC,VIDIS_0136:()=>mC,VIDIS_0190:()=>fC,VIDIS_0200:()=>RC,VIDIS_0210:()=>gC,VIDIS_0211:()=>vC,VIDIS_0230:()=>yC,VIDIS_0290:()=>bC,VIDIS_0330:()=>_C,VIDIS_0340:()=>LC,VIDIS_0341:()=>FC,VIDIS_0400:()=>PC,VIDIS_04001:()=>VC,VIDIS_0435:()=>xC,VIDIS_0440:()=>wC,VIDIS_3030:()=>OC,VIDIS_3090:()=>CC,VIDIS_3100:()=>DC,VIDIS_3120:()=>TC,VIDIS_3140:()=>IC,VIDIS_3150:()=>kC,VIDIS_5000:()=>EC,VIDIS_7000:()=>SC,"action-not-authorized-close-button":()=>r2,"action-not-authorized-title":()=>a2,"data-not-available-title":()=>i2,default:()=>W_e,general:()=>BC,"has-hidden-prescriptions":()=>YC,"incorrect-elements-ms-detail":()=>s2,"incorrect-elements-ms-list":()=>o2,invalid_date_format:()=>WC,myHealth:()=>HC,myHealthUrl:()=>UC,network_error:()=>GC,"no-access":()=>zC,prescriptionList:()=>jC,"report-message-confirm-toast":()=>n2,"report-message-content":()=>JC,"report-message-explanation":()=>KC,"report-message-ignore-button":()=>t2,"report-message-link":()=>QC,"report-message-report-button":()=>e2,"report-message-term-use":()=>XC,"report-message-title":()=>ZC,"status-message-content":()=>$C,"status-message-title":()=>qC});var eC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",tC="Die Patienten-INSS fehlt. (VIDIS_0050)",nC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",iC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",aC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",rC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",oC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",sC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",lC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",cC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",uC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",dC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",hC="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",pC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",mC="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",fC="Ungültige INSS-Patientennummer. (VIDIS_0190)",gC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",vC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",yC="Der Vorgang ist ungültig (VIDIS_0230)",bC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',_C="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)",xC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",wC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",EC="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",SC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",kC="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",CC="Das Rezept ist abgelaufen.",IC="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.",DC="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",TC="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",PC="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",OC="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",NC="Vorgang nicht erlaubt.",MC="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",AC="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",RC="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",LC="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.",FC="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.",VC="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",jC="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",BC="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",zC="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",HC="Zurück zum Portal Meine Gesundheit",UC="https://wwwint.meinegesundheit.belgien.be/#/",GC="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",WC="Ungültiges Datumsformat.",qC="Dienst vorübergehend nicht verfügbar",$C=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
33
+ Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,YC="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",ZC="Technisches Problem",KC="Bitte versuchen Sie es später noch einmal.",JC="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",XC="unsere Nutzungsbedingungen",QC="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",e2="Problem melden",t2="Nicht melden",n2="Das Problem wurde gemeldet",i2="Daten nicht verfügbar",a2="Aktion nicht erlaubt",r2="Schließen",o2="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",s2="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",W_e={VIDIS_0035:eC,VIDIS_0050:tC,VIDIS_0090:nC,VIDIS_0121:iC,VIDIS_0122:aC,VIDIS_0123:rC,VIDIS_0124:oC,VIDIS_0125:sC,VIDIS_0126:lC,VIDIS_0131:cC,VIDIS_0132:uC,VIDIS_0133:dC,VIDIS_0134:hC,VIDIS_0135:pC,VIDIS_0136:mC,VIDIS_0190:fC,VIDIS_0210:gC,VIDIS_0211:vC,VIDIS_0230:yC,VIDIS_0290:bC,VIDIS_0330:_C,VIDIS_0435:xC,VIDIS_0440:wC,VIDIS_5000:EC,VIDIS_7000:SC,VIDIS_3150:kC,VIDIS_3090:CC,VIDIS_3140:IC,VIDIS_3100:DC,VIDIS_3120:TC,VIDIS_0400:PC,VIDIS_3030:OC,VIDIS_0100:NC,VIDIS_0120:MC,VIDIS_0110:AC,VIDIS_0200:RC,VIDIS_0340:LC,VIDIS_0341:FC,VIDIS_04001:VC,prescriptionList:jC,general:BC,"no-access":zC,myHealth:HC,myHealthUrl:UC,network_error:GC,invalid_date_format:WC,"status-message-title":qC,"status-message-content":$C,"has-hidden-prescriptions":YC,"report-message-title":ZC,"report-message-explanation":KC,"report-message-content":JC,"report-message-term-use":XC,"report-message-link":QC,"report-message-report-button":e2,"report-message-ignore-button":t2,"report-message-confirm-toast":n2,"data-not-available-title":i2,"action-not-authorized-title":a2,"action-not-authorized-close-button":r2,"incorrect-elements-ms-list":o2,"incorrect-elements-ms-detail":s2},l2={};Z(l2,{VIDIS_0035:()=>c2,VIDIS_0050:()=>u2,VIDIS_0090:()=>d2,VIDIS_0100:()=>z2,VIDIS_0110:()=>U2,VIDIS_0120:()=>H2,VIDIS_0121:()=>h2,VIDIS_0122:()=>p2,VIDIS_0123:()=>m2,VIDIS_0124:()=>f2,VIDIS_0125:()=>g2,VIDIS_0126:()=>v2,VIDIS_0131:()=>y2,VIDIS_0132:()=>b2,VIDIS_0133:()=>_2,VIDIS_0134:()=>x2,VIDIS_0135:()=>w2,VIDIS_0136:()=>E2,VIDIS_0190:()=>S2,VIDIS_0200:()=>G2,VIDIS_0210:()=>k2,VIDIS_0211:()=>C2,VIDIS_0230:()=>I2,VIDIS_0290:()=>D2,VIDIS_0330:()=>T2,VIDIS_0340:()=>W2,VIDIS_0341:()=>q2,VIDIS_0400:()=>j2,VIDIS_04001:()=>$2,VIDIS_0435:()=>P2,VIDIS_0440:()=>O2,VIDIS_3030:()=>B2,VIDIS_3090:()=>R2,VIDIS_3100:()=>F2,VIDIS_3120:()=>V2,VIDIS_3140:()=>L2,VIDIS_3150:()=>A2,VIDIS_5000:()=>N2,VIDIS_7000:()=>M2,"action-not-authorized-close-button":()=>mI,"action-not-authorized-title":()=>pI,"data-not-available-title":()=>hI,default:()=>q_e,general:()=>Z2,"has-hidden-prescriptions":()=>iI,"incorrect-elements-ms-detail":()=>gI,"incorrect-elements-ms-list":()=>fI,invalid_date_format:()=>eI,myHealth:()=>J2,myHealthUrl:()=>X2,network_error:()=>Q2,"no-access":()=>K2,prescriptionList:()=>Y2,"report-message-confirm-toast":()=>dI,"report-message-content":()=>oI,"report-message-explanation":()=>rI,"report-message-ignore-button":()=>uI,"report-message-link":()=>lI,"report-message-report-button":()=>cI,"report-message-term-use":()=>sI,"report-message-title":()=>aI,"status-message-content":()=>nI,"status-message-title":()=>tI});var c2="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",u2="The patient's NISS number is missing (VIDIS_0050)",d2="The personal information provided was not recognised. (VIDIS_0090)",h2="Consulting data of a Brussels patient is currently not authorised.",p2="Consulting data of a Walloon patient is currently not authorised.",m2="Consulting data of a Brussels child by a parent is currently not authorised.",f2="Consulting data of a Walloon child by a parent is currently not authorised.",g2="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",v2="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",y2="Access to the data of a Brussels patient is currently not permitted.",b2="Access to the data of a Walloon patient is currently not permitted.",_2="A parent’s access to the data of a Brussels child is currently not permitted.",x2="A parent’s access to the data of a Walloon child is currently not permitted.",w2="A representative’s access to the data of a Brussels patient is currently not permitted.",E2="A representative’s access to the data of a Walloon patient is currently not permitted.",S2="The patient's NISS number is invalid. (VIDIS_0190)",k2="The login was unsuccessful. Please try again. (VIDIS_0210)",C2="The login was unsuccessful. Please try again. (VIDIS_0211)",I2="The request is invalid. (VIDIS_0230)",D2="User role must be citizen. (VIDIS_0290)",T2="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)",P2="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",O2="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",N2="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",M2="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",A2="No mandate found between patient and mandateholder.",R2="Prescription has expired.",L2="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",F2="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",V2="The patient in the session is different from the patient in the request.",j2="User is not authorized to make the request.",B2="No mandate found between patient and mandateholder.",z2="Operation is not allowed.",H2="A therapeutic relation between the requester and the patient is not available.",U2="There is no consent to share personal health information.",G2="User is not allowed to perform the operation due to an exclusion between requester and patient.",W2="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",q2="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",$2="Your request is invalid. Please try again later.",Y2="Unfortunately the details of the prescription could not be retrieved. Please try again.",Z2="An internal technical error has occured. Please try again later.",K2="An internal technical error has occured. Please try again later.",J2="Back to the MyHealth portal.",X2="https://www.myhealth.belgium.be/",Q2="A network error unfortunately has occured. Please contact your network manager if the problem persists.",eI="Invalid date format.",tI="Service temporarily unavailable",nI=`We are currently having a problem connecting to the server.
34
+ Please try again later.`,iI="The patient has hidden one or more prescriptions.",aI="Technical problem",rI="Please try again later.",oI="Help us identify and resolve the issue. By reporting it, you accept ",sI="our terms of use",lI="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",cI="Report the problem",uI="Don't report",dI="The problem has been reported",hI="Data not available",pI="Action not authorized",mI="Close",fI="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",gI="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",q_e={VIDIS_0035:c2,VIDIS_0050:u2,VIDIS_0090:d2,VIDIS_0121:h2,VIDIS_0122:p2,VIDIS_0123:m2,VIDIS_0124:f2,VIDIS_0125:g2,VIDIS_0126:v2,VIDIS_0131:y2,VIDIS_0132:b2,VIDIS_0133:_2,VIDIS_0134:x2,VIDIS_0135:w2,VIDIS_0136:E2,VIDIS_0190:S2,VIDIS_0210:k2,VIDIS_0211:C2,VIDIS_0230:I2,VIDIS_0290:D2,VIDIS_0330:T2,VIDIS_0435:P2,VIDIS_0440:O2,VIDIS_5000:N2,VIDIS_7000:M2,VIDIS_3150:A2,VIDIS_3090:R2,VIDIS_3140:L2,VIDIS_3100:F2,VIDIS_3120:V2,VIDIS_0400:j2,VIDIS_3030:B2,VIDIS_0100:z2,VIDIS_0120:H2,VIDIS_0110:U2,VIDIS_0200:G2,VIDIS_0340:W2,VIDIS_0341:q2,VIDIS_04001:$2,prescriptionList:Y2,general:Z2,"no-access":K2,myHealth:J2,myHealthUrl:X2,network_error:Q2,invalid_date_format:eI,"status-message-title":tI,"status-message-content":nI,"has-hidden-prescriptions":iI,"report-message-title":aI,"report-message-explanation":rI,"report-message-content":oI,"report-message-term-use":sI,"report-message-link":lI,"report-message-report-button":cI,"report-message-ignore-button":uI,"report-message-confirm-toast":dI,"data-not-available-title":hI,"action-not-authorized-title":pI,"action-not-authorized-close-button":mI,"incorrect-elements-ms-list":fI,"incorrect-elements-ms-detail":gI},vI={};Z(vI,{VIDIS_0035:()=>yI,VIDIS_0050:()=>bI,VIDIS_0090:()=>_I,VIDIS_0100:()=>KI,VIDIS_0110:()=>XI,VIDIS_0120:()=>JI,VIDIS_0121:()=>xI,VIDIS_0122:()=>wI,VIDIS_0123:()=>EI,VIDIS_0124:()=>SI,VIDIS_0125:()=>kI,VIDIS_0126:()=>CI,VIDIS_0131:()=>II,VIDIS_0132:()=>DI,VIDIS_0133:()=>TI,VIDIS_0134:()=>PI,VIDIS_0135:()=>OI,VIDIS_0136:()=>NI,VIDIS_0190:()=>MI,VIDIS_0200:()=>QI,VIDIS_0210:()=>AI,VIDIS_0211:()=>RI,VIDIS_0230:()=>LI,VIDIS_0290:()=>FI,VIDIS_0330:()=>VI,VIDIS_0340:()=>eD,VIDIS_0341:()=>tD,VIDIS_0400:()=>YI,VIDIS_04001:()=>nD,VIDIS_0435:()=>jI,VIDIS_0440:()=>BI,VIDIS_3030:()=>ZI,VIDIS_3090:()=>GI,VIDIS_3100:()=>qI,VIDIS_3120:()=>$I,VIDIS_3140:()=>WI,VIDIS_3150:()=>UI,VIDIS_5000:()=>zI,VIDIS_7000:()=>HI,"action-not-authorized-close-button":()=>ED,"action-not-authorized-title":()=>wD,"data-not-available-title":()=>xD,default:()=>$_e,general:()=>aD,"has-hidden-prescriptions":()=>hD,"incorrect-elements-ms-detail":()=>kD,"incorrect-elements-ms-list":()=>SD,invalid_date_format:()=>cD,myHealth:()=>oD,myHealthUrl:()=>sD,network_error:()=>lD,"no-access":()=>rD,prescriptionList:()=>iD,"report-message-confirm-toast":()=>_D,"report-message-content":()=>fD,"report-message-explanation":()=>mD,"report-message-ignore-button":()=>bD,"report-message-link":()=>vD,"report-message-report-button":()=>yD,"report-message-term-use":()=>gD,"report-message-title":()=>pD,"status-message-content":()=>dD,"status-message-title":()=>uD});var yI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",bI="Le NISS du patient est manquant. (VIDIS_0050)",_I="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",xI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",wI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",EI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",SI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",kI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",CI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",II="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",DI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",TI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",PI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",OI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",NI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",MI="Le NISS du patient n’est pas valide. (VIDIS_0190)",AI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",RI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",LI="L’opération n’est pas valide. (VIDIS_0230)",FI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",VI="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)",jI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",BI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",zI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",HI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",UI="Aucun mandat trouvé entre le patient et le mandataire.",GI="L’ordonnance est expirée.",WI="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.",qI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",$I="Le patient dans la session est différent de celui dans la demande.",YI="L’utilisateur n’est pas autorisé à effectuer la requête.",ZI="Aucun mandat trouvé entre le patient et le mandataire.",KI="Opération non autorisée.",JI="Aucune relation thérapeutique entre le demandeur et le patient.",XI="Aucun consentement au partage des données de santé.",QI="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",eD="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",tD="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",nD="Votre requête est invalide. Veuillez réessayer plus tard.",iD="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",aD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",rD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",oD="Revenir au portail MaSanté",sD="https://wwwint.masante.belgique.be/#/",lD="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",cD="Le format de date est invalide.",uD="Service temporairement indisponible",dD=`Nous rencontrons actuellement un problème de connexion au serveur.
35
+ Veuillez réessayer plus tard.`,hD="Le patient a masqué une ou plusieurs prescriptions.",pD="Problème technique",mD="Veuillez réessayer plus tard.",fD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",gD="conditions d'utilisation",vD="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",yD="Signaler le problème",bD="Ignorer",_D="Le problème a été signalé",xD="Données non disponibles",wD="Action non autorisée",ED="Fermer",SD="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",kD="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",$_e={VIDIS_0035:yI,VIDIS_0050:bI,VIDIS_0090:_I,VIDIS_0121:xI,VIDIS_0122:wI,VIDIS_0123:EI,VIDIS_0124:SI,VIDIS_0125:kI,VIDIS_0126:CI,VIDIS_0131:II,VIDIS_0132:DI,VIDIS_0133:TI,VIDIS_0134:PI,VIDIS_0135:OI,VIDIS_0136:NI,VIDIS_0190:MI,VIDIS_0210:AI,VIDIS_0211:RI,VIDIS_0230:LI,VIDIS_0290:FI,VIDIS_0330:VI,VIDIS_0435:jI,VIDIS_0440:BI,VIDIS_5000:zI,VIDIS_7000:HI,VIDIS_3150:UI,VIDIS_3090:GI,VIDIS_3140:WI,VIDIS_3100:qI,VIDIS_3120:$I,VIDIS_0400:YI,VIDIS_3030:ZI,VIDIS_0100:KI,VIDIS_0120:JI,VIDIS_0110:XI,VIDIS_0200:QI,VIDIS_0340:eD,VIDIS_0341:tD,VIDIS_04001:nD,prescriptionList:iD,general:aD,"no-access":rD,myHealth:oD,myHealthUrl:sD,network_error:lD,invalid_date_format:cD,"status-message-title":uD,"status-message-content":dD,"has-hidden-prescriptions":hD,"report-message-title":pD,"report-message-explanation":mD,"report-message-content":fD,"report-message-term-use":gD,"report-message-link":vD,"report-message-report-button":yD,"report-message-ignore-button":bD,"report-message-confirm-toast":_D,"data-not-available-title":xD,"action-not-authorized-title":wD,"action-not-authorized-close-button":ED,"incorrect-elements-ms-list":SD,"incorrect-elements-ms-detail":kD},CD={};Z(CD,{VIDIS_0035:()=>ID,VIDIS_0050:()=>DD,VIDIS_0090:()=>TD,VIDIS_0100:()=>rT,VIDIS_0110:()=>sT,VIDIS_0120:()=>oT,VIDIS_0121:()=>PD,VIDIS_0122:()=>OD,VIDIS_0123:()=>ND,VIDIS_0124:()=>MD,VIDIS_0125:()=>AD,VIDIS_0126:()=>RD,VIDIS_0131:()=>LD,VIDIS_0132:()=>FD,VIDIS_0133:()=>VD,VIDIS_0134:()=>jD,VIDIS_0135:()=>BD,VIDIS_0136:()=>zD,VIDIS_0190:()=>HD,VIDIS_0200:()=>lT,VIDIS_0210:()=>UD,VIDIS_0211:()=>GD,VIDIS_0230:()=>WD,VIDIS_0290:()=>qD,VIDIS_0330:()=>$D,VIDIS_0340:()=>cT,VIDIS_0341:()=>uT,VIDIS_0400:()=>iT,VIDIS_04001:()=>dT,VIDIS_0435:()=>YD,VIDIS_0440:()=>ZD,VIDIS_3030:()=>aT,VIDIS_3090:()=>QD,VIDIS_3100:()=>tT,VIDIS_3120:()=>nT,VIDIS_3140:()=>eT,VIDIS_3150:()=>XD,VIDIS_5000:()=>KD,VIDIS_7000:()=>JD,"action-not-authorized-close-button":()=>NT,"action-not-authorized-title":()=>OT,"data-not-available-title":()=>PT,default:()=>Y_e,general:()=>pT,"has-hidden-prescriptions":()=>xT,"incorrect-elements-ms-detail":()=>AT,"incorrect-elements-ms-list":()=>MT,invalid_date_format:()=>yT,myHealth:()=>fT,myHealthUrl:()=>gT,network_error:()=>vT,"no-access":()=>mT,prescriptionList:()=>hT,"report-message-confirm-toast":()=>TT,"report-message-content":()=>ST,"report-message-explanation":()=>ET,"report-message-ignore-button":()=>DT,"report-message-link":()=>CT,"report-message-report-button":()=>IT,"report-message-term-use":()=>kT,"report-message-title":()=>wT,"status-message-content":()=>_T,"status-message-title":()=>bT});var ID="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",DD="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",TD="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",PD="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",OD="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",ND="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",MD="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",AD="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",RD="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",LD="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",FD="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",VD="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",jD="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",BD="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",zD="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",HD="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",UD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",GD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",WD="Het verzoek is ongeldig. (VIDIS_0230)",qD="Gebruikersrol moet burger zijn. (VIDIS_0290)",$D="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)",YD="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",ZD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",KD="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",JD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",XD="Geen mandaat gevonden tussen patiënt en mandataris.",QD="Voorschrift is verlopen.",eT="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.",tT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",nT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",iT="De gebruiker is niet gemachtigd om de aanvraag te doen.",aT="Geen mandaat gevonden tussen patiënt en mandataris.",rT="Bewerking is niet toegestaan.",oT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",sT="Er is geen toestemming om gezondheidsgegevens te delen.",lT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",cT="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",uT="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",dT="Uw verzoek is ongeldig. Probeer later opnieuw.",hT="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",pT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",mT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",fT="Terug naar het MijnGezondheid portaal",gT="http://wwwint.mijngezondheid.belgie.be/",vT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",yT="Ongeldig datumformaat.",bT="Service tijdelijk niet beschikbaar",_T=`Er is momenteel een probleem met de verbinding met de server.
36
+ Probeer het later nog eens.`,xT="De patiënt heeft 1 of meerdere voorschriften verborgen.",wT="Technisch probleem",ET="Probeer het later opnieuw.",ST="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",kT="gebruiksvoorwaarden",CT="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",IT="Probleem melden",DT="Niet melden",TT="Het probleem is gemeld",PT="Gegevens niet beschikbaar",OT="Actie niet toegestaan",NT="Sluiten",MT="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",AT="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",Y_e={VIDIS_0035:ID,VIDIS_0050:DD,VIDIS_0090:TD,VIDIS_0121:PD,VIDIS_0122:OD,VIDIS_0123:ND,VIDIS_0124:MD,VIDIS_0125:AD,VIDIS_0126:RD,VIDIS_0131:LD,VIDIS_0132:FD,VIDIS_0133:VD,VIDIS_0134:jD,VIDIS_0135:BD,VIDIS_0136:zD,VIDIS_0190:HD,VIDIS_0210:UD,VIDIS_0211:GD,VIDIS_0230:WD,VIDIS_0290:qD,VIDIS_0330:$D,VIDIS_0435:YD,VIDIS_0440:ZD,VIDIS_5000:KD,VIDIS_7000:JD,VIDIS_3150:XD,VIDIS_3090:QD,VIDIS_3140:eT,VIDIS_3100:tT,VIDIS_3120:nT,VIDIS_0400:iT,VIDIS_3030:aT,VIDIS_0100:rT,VIDIS_0120:oT,VIDIS_0110:sT,VIDIS_0200:lT,VIDIS_0340:cT,VIDIS_0341:uT,VIDIS_04001:dT,prescriptionList:hT,general:pT,"no-access":mT,myHealth:fT,myHealthUrl:gT,network_error:vT,invalid_date_format:yT,"status-message-title":bT,"status-message-content":_T,"has-hidden-prescriptions":xT,"report-message-title":wT,"report-message-explanation":ET,"report-message-content":ST,"report-message-term-use":kT,"report-message-link":CT,"report-message-report-button":IT,"report-message-ignore-button":DT,"report-message-confirm-toast":TT,"data-not-available-title":PT,"action-not-authorized-title":OT,"action-not-authorized-close-button":NT,"incorrect-elements-ms-list":MT,"incorrect-elements-ms-detail":AT},Z_e={nl:CD,fr:vI,de:Qk,en:l2},RT={};Z(RT,{close:()=>LT,default:()=>K_e,downloadLeaflet:()=>FT,file:()=>VT,notSpecified:()=>jT,patient:()=>zT,prescribedOn:()=>UT,prescriber:()=>HT,prescription:()=>BT});var LT="Schließen",FT="Download Packungsbeilage (pdf)",VT="feile",jT="Nicht angegeben",BT="Rezept",zT="Patient",HT="Verordnende Person",UT="Drucken",K_e={close:LT,downloadLeaflet:FT,file:VT,notSpecified:jT,prescription:BT,patient:zT,prescriber:HT,prescribedOn:UT},GT={};Z(GT,{close:()=>WT,default:()=>J_e,downloadLeaflet:()=>qT,file:()=>$T,notSpecified:()=>YT,patient:()=>KT,prescribedOn:()=>XT,prescriber:()=>JT,prescription:()=>ZT});var WT="Close",qT="Download leaflet (pdf)",$T="file",YT="Not specified",ZT="Prescription",KT="Patient",JT="Prescriber",XT="Prescribed on",J_e={close:WT,downloadLeaflet:qT,file:$T,notSpecified:YT,prescription:ZT,patient:KT,prescriber:JT,prescribedOn:XT},QT={};Z(QT,{close:()=>eP,default:()=>X_e,downloadLeaflet:()=>tP,file:()=>nP,notSpecified:()=>iP,patient:()=>rP,prescribedOn:()=>sP,prescriber:()=>oP,prescription:()=>aP});var eP="Fermer",tP="Télécharger la notice (pdf)",nP="fichier",iP="Non spécifié",aP="Prescription",rP="Patient",oP="Prescripteur",sP="Prescrit le",X_e={close:eP,downloadLeaflet:tP,file:nP,notSpecified:iP,prescription:aP,patient:rP,prescriber:oP,prescribedOn:sP},lP={};Z(lP,{close:()=>cP,default:()=>Q_e,downloadLeaflet:()=>uP,file:()=>dP,notSpecified:()=>hP,patient:()=>mP,prescribedOn:()=>gP,prescriber:()=>fP,prescription:()=>pP});var cP="Sluiten",uP="Download bijsluiter (pdf)",dP="bestand",hP="Niet gespecificeerd",pP="Voorschrift",mP="Patiënt",fP="Voorschrijver",gP="Voorgeschreven op",Q_e={close:cP,downloadLeaflet:uP,file:dP,notSpecified:hP,prescription:pP,patient:mP,prescriber:fP,prescribedOn:gP},exe={nl:lP,fr:QT,de:RT,en:GT},vP={};Z(vP,{D:()=>yP,DA:()=>bP,DD:()=>_P,DE:()=>xP,DN:()=>wP,DQ:()=>EP,DT:()=>SP,DV:()=>kP,DW:()=>CP,DX:()=>IP,DZ:()=>DP,J:()=>TP,JD:()=>PP,JH2:()=>OP,JQ:()=>NP,JT:()=>MP,JV:()=>AP,JZ:()=>RP,M:()=>LP,MA:()=>FP,MC:()=>VP,MD:()=>jP,ME:()=>BP,MN:()=>zP,MQ:()=>HP,MS:()=>UP,MT:()=>GP,MV:()=>WP,MX:()=>qP,MZ2:()=>$P,O1:()=>YP,U:()=>KP,UA:()=>iO,UD:()=>XP,UE:()=>oO,UH:()=>ZP,UN:()=>aO,UQ:()=>eO,US:()=>nO,UT:()=>JP,UV:()=>QP,UW:()=>sO,UX:()=>rO,UZ:()=>tO,W:()=>lO,WA:()=>cO,WD:()=>uO,WE:()=>dO,WN:()=>hO,WP:()=>pO,WQ:()=>mO,WS:()=>fO,WT:()=>gO,WV:()=>vO,WW:()=>yO,WX:()=>bO,WZ:()=>_O,default:()=>txe,ondemand:()=>xO});var yP="Pro Tag",bP="Pro 8 Tagen",_P="Pro 3 Tagen",xP="Pro 11 Tagen",wP="Pro 9 Tagen",EP="Pro 5 Tagen",SP="Pro 2 Tagen",kP="Pro 4 Tagen",CP="Pro 12 Tagen",IP="Pro 10 Tagen",DP="Pro 6 Tagen",TP="Pro Jahre",PP="Pro 3 Jahren",OP="Pro halbes Jahre",NP="Pro 5 Jahren",MP="Pro 2 Jahren",AP="Pro 4 Jahren",RP="Pro 6 Jahren",LP="Pro Monat",FP="Pro 8 Monaten",VP="Pro 18 Monaten",jP="Pro 3 Monaten",BP="Pro 11 Monaten",zP="Pro 9 Monaten",HP="Pro 5 Monaten",UP="Pro 7 Monaten",GP="Pro 2 Monaten",WP="Pro 4 Monaten",qP="Pro 10 Monaten",$P="Pro 6 Monaten",YP="Jeden 2 Tagen",ZP="Pro halbe Stunde",KP="Pro Uhr",JP="Pro 2 Uhren",XP="Pro 3 Uhren",QP="Pro 4 Uhren",eO="Pro 5 Uhren",tO="Pro 6 Uhren",nO="Pro 7 Uhren",iO="Pro 8 Uhren",aO="Pro 9 Uhren",rO="Pro 10 Uhren",oO="Pro 11 Uhren",sO="Pro 12 Uhren",lO="Pro Woche",cO="Pro 8 Wochen",uO="Pro 3 Wochen",dO="Pro 11 Wochen",hO="Pro 9 Wochen",pO="Pro 24 Wochen",mO="Pro 5 Wochen",fO="Pro 7 Wochen",gO="Pro 2 Wochen",vO="Pro 4 Wochen",yO="Pro 12 Wochen",bO="Pro 10 Wochen",_O="Pro 6 Wochen",xO="Auf Nachfrage",txe={D:yP,DA:bP,DD:_P,DE:xP,DN:wP,DQ:EP,DT:SP,DV:kP,DW:CP,DX:IP,DZ:DP,J:TP,JD:PP,JH2:OP,JQ:NP,JT:MP,JV:AP,JZ:RP,M:LP,MA:FP,MC:VP,MD:jP,ME:BP,MN:zP,MQ:HP,MS:UP,MT:GP,MV:WP,MX:qP,MZ2:$P,O1:YP,UH:ZP,U:KP,UT:JP,UD:XP,UV:QP,UQ:eO,UZ:tO,US:nO,UA:iO,UN:aO,UX:rO,UE:oO,UW:sO,W:lO,WA:cO,WD:uO,WE:dO,WN:hO,WP:pO,WQ:mO,WS:fO,WT:gO,WV:vO,WW:yO,WX:bO,WZ:_O,ondemand:xO},wO={};Z(wO,{D:()=>LO,DA:()=>GO,DD:()=>jO,DE:()=>$O,DN:()=>WO,DQ:()=>zO,DT:()=>FO,DV:()=>BO,DW:()=>YO,DX:()=>qO,DZ:()=>HO,J:()=>bN,JD:()=>wN,JH2:()=>hN,JQ:()=>SN,JT:()=>xN,JV:()=>EN,JZ:()=>kN,M:()=>XO,MA:()=>fN,MC:()=>_N,MD:()=>lN,ME:()=>yN,MN:()=>gN,MQ:()=>uN,MS:()=>mN,MT:()=>iN,MV:()=>cN,MX:()=>vN,MZ2:()=>pN,O1:()=>VO,U:()=>SO,UA:()=>OO,UD:()=>CO,UE:()=>AO,UH:()=>EO,UN:()=>NO,UQ:()=>DO,US:()=>PO,UT:()=>kO,UV:()=>IO,UW:()=>RO,UX:()=>MO,UZ:()=>TO,W:()=>UO,WA:()=>nN,WD:()=>KO,WE:()=>oN,WN:()=>aN,WP:()=>dN,WQ:()=>QO,WS:()=>tN,WT:()=>ZO,WV:()=>JO,WW:()=>sN,WX:()=>rN,WZ:()=>eN,default:()=>nxe,ondemand:()=>CN});var EO="Per half hour",SO="Per hour",kO="Per 2 hours",CO="Per 3 hours",IO="Per 4 hours",DO="Per 5 hours",TO="Per 6 hours",PO="Per 7 hours",OO="Per 8 hours",NO="Per 9 hours",MO="Per 10 hours",AO="Per11 hours",RO="Per 12 hours",LO="Per day",FO="Per 2 days",VO="Every 2 days",jO="Per 3 days",BO="Per 4 days",zO="Per 5 days",HO="Per 6 days",UO="Per 7 days",GO="Per 8 days",WO="Per 9 days",qO="Per 10 days",$O="Per 11 days",YO="Per 12 days",ZO="Per 2 weeks",KO="Per 3 weeks",JO="Per 4 weeks",XO="Per month",QO="Per 5 weeks",eN="Per 6 weeks",tN="Per 7 weeks",nN="Per 8 weeks",iN="Per 2 months",aN="Per 9 weeks",rN="Per 10 weeks",oN="Per 11 weeks",sN="Per 12 weeks",lN="Per 3 months",cN="Per 4 months",uN="Per 5 months",dN="Per 24 weeks",hN="Per half year",pN="Per 6 months",mN="Per 7 months",fN="Per 8 months",gN="Per 9 months",vN="Per 10 months",yN="Per 11 months",bN="Per Year",_N="Per 18 months",xN="Per 2 years",wN="Per 3 years",EN="Per 4 years",SN="Per 5 years",kN="Per 6 years",CN="On demand",nxe={UH:EO,U:SO,UT:kO,UD:CO,UV:IO,UQ:DO,UZ:TO,US:PO,UA:OO,UN:NO,UX:MO,UE:AO,UW:RO,D:LO,DT:FO,O1:VO,DD:jO,DV:BO,DQ:zO,DZ:HO,W:UO,DA:GO,DN:WO,DX:qO,DE:$O,DW:YO,WT:ZO,WD:KO,WV:JO,M:XO,WQ:QO,WZ:eN,WS:tN,WA:nN,MT:iN,WN:aN,WX:rN,WE:oN,WW:sN,MD:lN,MV:cN,MQ:uN,WP:dN,JH2:hN,MZ2:pN,MS:mN,MA:fN,MN:gN,MX:vN,ME:yN,J:bN,MC:_N,JT:xN,JD:wN,JV:EN,JQ:SN,JZ:kN,ondemand:CN},IN={};Z(IN,{D:()=>DN,DA:()=>TN,DD:()=>PN,DE:()=>ON,DN:()=>NN,DQ:()=>MN,DT:()=>AN,DV:()=>RN,DW:()=>LN,DX:()=>FN,DZ:()=>VN,J:()=>jN,JD:()=>BN,JH2:()=>zN,JQ:()=>HN,JT:()=>UN,JV:()=>GN,JZ:()=>WN,M:()=>qN,MA:()=>$N,MC:()=>YN,MD:()=>ZN,ME:()=>KN,MN:()=>JN,MQ:()=>XN,MS:()=>QN,MT:()=>eM,MV:()=>tM,MX:()=>nM,MZ2:()=>iM,O1:()=>aM,U:()=>oM,UA:()=>pM,UD:()=>lM,UE:()=>gM,UH:()=>rM,UN:()=>mM,UQ:()=>uM,US:()=>hM,UT:()=>sM,UV:()=>cM,UW:()=>vM,UX:()=>fM,UZ:()=>dM,W:()=>yM,WA:()=>bM,WD:()=>_M,WE:()=>xM,WN:()=>wM,WP:()=>EM,WQ:()=>SM,WS:()=>kM,WT:()=>CM,WV:()=>IM,WW:()=>DM,WX:()=>TM,WZ:()=>PM,default:()=>ixe,ondemand:()=>OM});var DN="Par jour",TN="Par 8 jours",PN="Par 3 jours",ON="Par 11 jours",NN="Par 9 jours",MN="Par 5 jours",AN="Par 2 jours",RN="Par 4 jours",LN="Par 12 jours",FN="Par 10 jours",VN="Par 6 jours",jN="Par an",BN="Par 3 années",zN="Par demi-années",HN="Par 5 années",UN="Par 2 années",GN="Par 4 années",WN="Par 6 années",qN="Par mois",$N="Par 8 mois",YN="Par 18 mois",ZN="Par 3 mois",KN="Par 11 mois",JN="Par 9 mois",XN="Par 5 mois",QN="Par 7 mois",eM="Par 2 mois",tM="Par 4 mois",nM="Par 10 mois",iM="Par 6 mois",aM="Tous les 2 jours",rM="Par demi-heure",oM="Par heure",sM="Par 2 heures",lM="Par 3 heures",cM="Par 4 heures",uM="Par 5 heures",dM="Par 6 heures",hM="Par 7 heures",pM="Par 8 heures",mM="Par 9 heures",fM="Par 10 heures",gM="Par 11 heures",vM="Par 12 heures",yM="Par semaine",bM="Par 8 semaines",_M="Par 3 semaines",xM="Par 11 semaines",wM="Par 9 semaines",EM="Par 24 semaines",SM="Par 5 semaines",kM="Par 7 semaines",CM="Par 2 semaines",IM="Par 4 semaines",DM="Par 12 semaines",TM="Par 10 semaines",PM="Par 6 semaines",OM="Sur demande",ixe={D:DN,DA:TN,DD:PN,DE:ON,DN:NN,DQ:MN,DT:AN,DV:RN,DW:LN,DX:FN,DZ:VN,J:jN,JD:BN,JH2:zN,JQ:HN,JT:UN,JV:GN,JZ:WN,M:qN,MA:$N,MC:YN,MD:ZN,ME:KN,MN:JN,MQ:XN,MS:QN,MT:eM,MV:tM,MX:nM,MZ2:iM,O1:aM,UH:rM,U:oM,UT:sM,UD:lM,UV:cM,UQ:uM,UZ:dM,US:hM,UA:pM,UN:mM,UX:fM,UE:gM,UW:vM,W:yM,WA:bM,WD:_M,WE:xM,WN:wM,WP:EM,WQ:SM,WS:kM,WT:CM,WV:IM,WW:DM,WX:TM,WZ:PM,ondemand:OM},NM={};Z(NM,{D:()=>MM,DA:()=>AM,DD:()=>RM,DE:()=>LM,DN:()=>FM,DQ:()=>VM,DT:()=>jM,DV:()=>BM,DW:()=>zM,DX:()=>HM,DZ:()=>UM,J:()=>GM,JD:()=>WM,JH2:()=>qM,JQ:()=>$M,JT:()=>YM,JV:()=>ZM,JZ:()=>KM,M:()=>JM,MA:()=>XM,MC:()=>QM,MD:()=>eA,ME:()=>tA,MN:()=>nA,MQ:()=>iA,MS:()=>aA,MT:()=>rA,MV:()=>oA,MX:()=>sA,MZ2:()=>lA,O1:()=>cA,U:()=>dA,UA:()=>yA,UD:()=>pA,UE:()=>xA,UH:()=>uA,UN:()=>bA,UQ:()=>fA,US:()=>vA,UT:()=>hA,UV:()=>mA,UW:()=>wA,UX:()=>_A,UZ:()=>gA,W:()=>EA,WA:()=>SA,WD:()=>kA,WE:()=>CA,WN:()=>IA,WP:()=>DA,WQ:()=>TA,WS:()=>PA,WT:()=>OA,WV:()=>NA,WW:()=>MA,WX:()=>AA,WZ:()=>RA,default:()=>axe,ondemand:()=>LA});var MM="Dagelijks",AM="Om de 8 dagen",RM="Om de 3 dagen",LM="Om de 11 dagen",FM="Om de 9 dagen",VM="Om de 5 dagen",jM="Om de 2 dagen",BM="Om de 4 dagen",zM="Om de 12 dagen",HM="Om de 10 dagen",UM="Om de 6 dagen",GM="Jaarlijks",WM="Om de 3 jaar",qM="Halfjaarlijks",$M="Om de 5 jaar",YM="Om de 2 jaar",ZM="Om de 4 jaar",KM="Om de 6 jaar",JM="Maandelijks",XM="Om de 8 maanden",QM="Om de 18 maanden",eA="Om de 3 maanden",tA="Om de 11 maanden",nA="Om de 9 maanden",iA="Om de 5 maanden",aA="Om de 7 maanden",rA="Om de 2 maanden",oA="Om de 4 maanden",sA="Om de 10 maanden",lA="Om de 6 maanden",cA="Om de 2 dagen",uA="Om het half uur",dA="Om het uur",hA="Om de 2 uren",pA="Om de 3 uren",mA="Om de 4 uren",fA="Om de 5 uren",gA="Om de 6 uren",vA="Om de 7 uren",yA="Om de 8 uren",bA="Om de 9 uren",_A="Om de 10 uren",xA="Om de 11 uren",wA="Om de 12 uren",EA="Wekelijks",SA="Om de 8 weken",kA="Om de 3 weken",CA="Om de 11 weken",IA="Om de 9 weken",DA="Om de 24 weken",TA="Om de 5 weken",PA="Om de 7 weken",OA="Om de 2 weken",NA="Om de 4 weken",MA="Om de 12 weken",AA="Om de 10 weken",RA="Om de 6 weken",LA="Op aanvraag",axe={D:MM,DA:AM,DD:RM,DE:LM,DN:FM,DQ:VM,DT:jM,DV:BM,DW:zM,DX:HM,DZ:UM,J:GM,JD:WM,JH2:qM,JQ:$M,JT:YM,JV:ZM,JZ:KM,M:JM,MA:XM,MC:QM,MD:eA,ME:tA,MN:nA,MQ:iA,MS:aA,MT:rA,MV:oA,MX:sA,MZ2:lA,O1:cA,UH:uA,U:dA,UT:hA,UD:pA,UV:mA,UQ:fA,UZ:gA,US:vA,UA:yA,UN:bA,UX:_A,UE:xA,UW:wA,W:EA,WA:SA,WD:kA,WE:CA,WN:IA,WP:DA,WQ:TA,WS:PA,WT:OA,WV:NA,WW:MA,WX:AA,WZ:RA,ondemand:LA},rxe={nl:NM,fr:IN,de:vP,en:wO},FA={};Z(FA,{afterbreakfast:()=>VA,afterdinner:()=>jA,afterlunch:()=>BA,aftermeal:()=>zA,afternoon:()=>HA,beforebreakfast:()=>UA,beforedinner:()=>GA,beforelunch:()=>WA,betweenbreakfastandlunch:()=>qA,betweendinnerandsleep:()=>$A,betweenlunchanddinner:()=>YA,betweenmeals:()=>ZA,breakfast:()=>KA,default:()=>oxe,dinner:()=>JA,duringbreakfast:()=>XA,duringdinner:()=>QA,duringlunch:()=>eR,evening:()=>tR,lunch:()=>nR,morning:()=>iR,night:()=>aR,thehourofsleep:()=>rR});var VA="nach dem Frühstück",jA="nach dem Abendessen",BA="nach dem Mittagessen",zA="nach dem Essen",HA="Nachmittag",UA="vor dem Frühstück",GA="vor dem Abendessen",WA="vor dem Mittagessen",qA="zwischen Frühstück und Mittagessen",$A="zwischen Abendessen und Nachtruhe",YA="zwischen Mittagessen und Abendessen",ZA="zwischen den Mahlzeiten",KA="Frühstück",JA="Abendessen",XA="zum Frühstück",QA="zum Abendessen",eR="zum Mittagessen",tR="Abend",nR="Mittagessen",iR="Vormittag",aR="Nacht",rR="Nachtruhe",oxe={afterbreakfast:VA,afterdinner:jA,afterlunch:BA,aftermeal:zA,afternoon:HA,beforebreakfast:UA,beforedinner:GA,beforelunch:WA,betweenbreakfastandlunch:qA,betweendinnerandsleep:$A,betweenlunchanddinner:YA,betweenmeals:ZA,breakfast:KA,dinner:JA,duringbreakfast:XA,duringdinner:QA,duringlunch:eR,evening:tR,lunch:nR,morning:iR,night:aR,thehourofsleep:rR},oR={};Z(oR,{afterbreakfast:()=>sR,afterdinner:()=>lR,afterlunch:()=>cR,aftermeal:()=>uR,afternoon:()=>dR,beforebreakfast:()=>hR,beforedinner:()=>pR,beforelunch:()=>mR,betweenbreakfastandlunch:()=>fR,betweendinnerandsleep:()=>gR,betweenlunchanddinner:()=>vR,betweenmeals:()=>yR,breakfast:()=>bR,default:()=>sxe,dinner:()=>_R,duringbreakfast:()=>xR,duringdinner:()=>wR,duringlunch:()=>ER,evening:()=>SR,lunch:()=>kR,morning:()=>CR,night:()=>IR,thehourofsleep:()=>DR});var sR="after breakfast",lR="after dinner",cR="after lunch",uR="after meal",dR="afternoon",hR="before breakfast",pR="before dinner",mR="before lunch",fR="between breakfast and lunch",gR="between dinner and the hour of sleep",vR="between lunch and dinner",yR="between meals",bR="breakfast",_R="dinner",xR="during breakfast",wR="during dinner",ER="during lunch",SR="evening",kR="lunch",CR="morning",IR="night",DR="the hour of sleep",sxe={afterbreakfast:sR,afterdinner:lR,afterlunch:cR,aftermeal:uR,afternoon:dR,beforebreakfast:hR,beforedinner:pR,beforelunch:mR,betweenbreakfastandlunch:fR,betweendinnerandsleep:gR,betweenlunchanddinner:vR,betweenmeals:yR,breakfast:bR,dinner:_R,duringbreakfast:xR,duringdinner:wR,duringlunch:ER,evening:SR,lunch:kR,morning:CR,night:IR,thehourofsleep:DR},TR={};Z(TR,{afterbreakfast:()=>PR,afterdinner:()=>OR,afterlunch:()=>NR,aftermeal:()=>MR,afternoon:()=>AR,beforebreakfast:()=>RR,beforedinner:()=>LR,beforelunch:()=>FR,betweenbreakfastandlunch:()=>VR,betweendinnerandsleep:()=>jR,betweenlunchanddinner:()=>BR,betweenmeals:()=>zR,breakfast:()=>HR,default:()=>lxe,dinner:()=>UR,duringbreakfast:()=>GR,duringdinner:()=>WR,duringlunch:()=>qR,evening:()=>$R,lunch:()=>YR,morning:()=>ZR,night:()=>KR,thehourofsleep:()=>JR});var PR="après le petit-déjeuner",OR="après le repas du soir",NR="après le repas du midi",MR="après le repas",AR="après-midi",RR="avant le petit-déjeuner",LR="avant le repas du soir",FR="avant le repas du midi",VR="entre le petit-déjeuner et le repas du midi",jR="entre le repas du soir et l’heure du coucher",BR="entre le repas du midi et le repas du soir",zR="entre les repas",HR="petit-déjeuner",UR="repas du soir",GR="pendant le petit-déjeuner",WR="pendant le repas du soir",qR="pendant le repas du midi",$R="soir",YR="repas du midi",ZR="matin",KR="nuit",JR="heure du coucher",lxe={afterbreakfast:PR,afterdinner:OR,afterlunch:NR,aftermeal:MR,afternoon:AR,beforebreakfast:RR,beforedinner:LR,beforelunch:FR,betweenbreakfastandlunch:VR,betweendinnerandsleep:jR,betweenlunchanddinner:BR,betweenmeals:zR,breakfast:HR,dinner:UR,duringbreakfast:GR,duringdinner:WR,duringlunch:qR,evening:$R,lunch:YR,morning:ZR,night:KR,thehourofsleep:JR},XR={};Z(XR,{afterbreakfast:()=>QR,afterdinner:()=>eL,afterlunch:()=>tL,aftermeal:()=>nL,afternoon:()=>iL,beforebreakfast:()=>aL,beforedinner:()=>rL,beforelunch:()=>oL,betweenbreakfastandlunch:()=>sL,betweendinnerandsleep:()=>lL,betweenlunchanddinner:()=>cL,betweenmeals:()=>uL,breakfast:()=>dL,default:()=>cxe,dinner:()=>hL,duringbreakfast:()=>pL,duringdinner:()=>mL,duringlunch:()=>fL,evening:()=>gL,lunch:()=>vL,morning:()=>yL,night:()=>bL,thehourofsleep:()=>_L});var QR="na het ontbijt",eL="na het avondmaal",tL="na het middagmaal",nL="na de maaltijd",iL="namiddag",aL="voor het ontbijt",rL="voor het avondmaal",oL="voor het middagmaal",sL="tussen het ontbijt en het middagmaal",lL="tussen het avondmaal en het slapen gaan",cL="tussen het middagmaal en het avondmaal",uL="tussen de maaltijden",dL="ontbijt",hL="avondmaal",pL="tijdens het ontbijt",mL="tijdens het avondmaal",fL="tijdens het middagmaal",gL="'s avonds",vL="middagmaal",yL="'s ochtends",bL="'s nachts",_L="voor het slapen gaan",cxe={afterbreakfast:QR,afterdinner:eL,afterlunch:tL,aftermeal:nL,afternoon:iL,beforebreakfast:aL,beforedinner:rL,beforelunch:oL,betweenbreakfastandlunch:sL,betweendinnerandsleep:lL,betweenlunchanddinner:cL,betweenmeals:uL,breakfast:dL,dinner:hL,duringbreakfast:pL,duringdinner:mL,duringlunch:fL,evening:gL,lunch:vL,morning:yL,night:bL,thehourofsleep:_L},uxe={nl:XR,fr:TR,de:FA,en:oR},xL={};Z(xL,{day:()=>wL,default:()=>dxe,during:()=>kL,on:()=>SL,week:()=>EL});var wL="Tag",EL="Woche",SL="am",kL="für",dxe={day:wL,week:EL,on:SL,during:kL},CL={};Z(CL,{day:()=>IL,default:()=>hxe,during:()=>PL,on:()=>TL,week:()=>DL});var IL="day",DL="week",TL="on",PL="during",hxe={day:IL,week:DL,on:TL,during:PL},OL={};Z(OL,{day:()=>NL,default:()=>pxe,during:()=>RL,on:()=>AL,week:()=>ML});var NL="jour",ML="semaine",AL="le",RL="durant",pxe={day:NL,week:ML,on:AL,during:RL},LL={};Z(LL,{day:()=>FL,default:()=>mxe,during:()=>BL,on:()=>jL,week:()=>VL});var FL="dag",VL="week",jL="op",BL="gedurende",mxe={day:FL,week:VL,on:jL,during:BL},fxe={nl:LL,fr:OL,de:xL,en:CL},zL={};Z(zL,{ambulance_driver:()=>HL,ambulance_first_aid:()=>UL,ambulance_rescuer:()=>GL,application:()=>WL,applied_psychology_bachelor:()=>qL,audician:()=>$L,audiologist:()=>YL,biologist_pharmacist:()=>ZL,care_giver:()=>KL,certificateholder:()=>JL,citizen:()=>XL,clinical_orthopedic_pedagogue:()=>QL,clinical_psychologist:()=>eF,default:()=>gxe,dental_hygienist:()=>tF,dentist:()=>nF,deptalgology:()=>iF,deptanatomopathology:()=>aF,deptanesthesiology:()=>rF,deptbacteriology:()=>oF,deptcardiacsurgery:()=>sF,deptcardiology:()=>lF,deptchildandadolescentpsychiatry:()=>cF,deptdentistry:()=>uF,deptdermatology:()=>dF,deptdiabetology:()=>hF,deptdietetics:()=>pF,deptemergency:()=>mF,deptendocrinology:()=>fF,deptgastroenterology:()=>gF,deptgeneralpractice:()=>vF,deptgenetics:()=>yF,deptgeriatry:()=>bF,deptgynecology:()=>_F,depthandsurgery:()=>xF,depthematology:()=>wF,deptinfectiousdisease:()=>EF,deptintensivecare:()=>SF,deptkinesitherapy:()=>kF,deptlaboratory:()=>CF,deptmajorburns:()=>IF,deptmaxillofacialsurgery:()=>DF,deptmedicine:()=>TF,deptmolecularbiology:()=>PF,deptneonatalogy:()=>OF,deptnephrology:()=>NF,deptneurology:()=>MF,deptneurosurgery:()=>AF,deptnte:()=>RF,deptnuclear:()=>LF,deptnursing:()=>FF,deptnutritiondietetics:()=>VF,deptobstetrics:()=>jF,deptoccupationaltherapy:()=>BF,deptoncology:()=>zF,deptophtalmology:()=>HF,deptorthopedy:()=>UF,deptpalliativecare:()=>GF,deptpediatricintensivecare:()=>WF,deptpediatricsurgery:()=>qF,deptpediatry:()=>$F,deptpharmacy:()=>YF,deptphysicalmedecine:()=>ZF,deptphysiotherapy:()=>KF,deptplasticandreparatorysurgery:()=>JF,deptpneumology:()=>XF,deptpodiatry:()=>QF,deptpodology:()=>e3,deptpsychiatry:()=>t3,deptpsychogeriatry:()=>n3,deptpsychology:()=>i3,deptradiology:()=>a3,deptradiotherapy:()=>r3,deptrevalidation:()=>o3,deptrheumatology:()=>s3,deptrhumatology:()=>l3,deptsenology:()=>c3,deptsocialservice:()=>u3,deptspeechtherapy:()=>d3,deptsportsmedecine:()=>h3,deptstomatology:()=>p3,deptsurgery:()=>m3,deptthoracicsurgery:()=>f3,depttoxicology:()=>g3,depttropicalmedecine:()=>v3,depturology:()=>y3,deptvascularsurgery:()=>b3,deptvisceraldigestiveabdominalsurgery:()=>_3,diabete_equipment_supplier:()=>x3,dietician:()=>w3,doctor:()=>E3,family_science_bachelor:()=>S3,gerontology_master:()=>k3,groupofnurses:()=>C3,groupofphysiciansdifferentaddress:()=>I3,groupofphysicianssameaddress:()=>D3,guardpost:()=>T3,hub:()=>P3,imaging_technologist:()=>O3,implantprovider:()=>N3,lab_technologist:()=>M3,logopedist:()=>A3,midwife:()=>R3,nurse:()=>L3,occupational_therapist:()=>F3,optician:()=>V3,orghospital:()=>j3,orginsurance:()=>B3,orglaboratory:()=>z3,orgpharmacy:()=>H3,orgpharmacyinvoicingoffice:()=>U3,orgpolyclinic:()=>G3,orgpractice:()=>W3,orgprevention:()=>q3,orgprimaryhealthcarecenter:()=>$3,orgpsychiatriccarehome:()=>Y3,orgpublichealth:()=>Z3,orgretirementhome:()=>K3,orgrevalidationcenter:()=>J3,orgshelteredliving:()=>X3,orthopedagogist_master:()=>Q3,orthopedist:()=>e5,orthoptist:()=>t5,orthotist:()=>n5,patient:()=>i5,pediatric_nurse:()=>a5,persadministrative:()=>r5,persambulancefirstaid:()=>o5,persappliedpsychbachelor:()=>s5,persaudician:()=>l5,persaudiologist:()=>c5,persbandagistorthosiologist:()=>u5,persbiologist:()=>d5,perscaregiver:()=>h5,persclinicalorthopedagogist:()=>p5,persclinicalpsychologist:()=>m5,persdentist:()=>f5,persdietician:()=>g5,perseducator:()=>v5,persfamilysciencebachelor:()=>y5,persgerontologymaster:()=>b5,perslogopedist:()=>_5,persmidwife:()=>x5,persmobilityimprover:()=>w5,persnurse:()=>E5,persoccupationaltherapist:()=>S5,persoptician:()=>k5,persoptometrist:()=>C5,persoraldentalhygienist:()=>I5,persorthopedagogistmaster:()=>D5,persorthopedist:()=>T5,persorthoptist:()=>P5,persorthotist:()=>O5,persparamedical:()=>N5,perspatientdriver:()=>M5,perspharmacist:()=>A5,perspharmacistclinicalbiologist:()=>R5,perspharmacyassistant:()=>L5,persphysician:()=>F5,persphysiotherapist:()=>V5,perspodologist:()=>j5,perspracticalnurse:()=>B5,persprosthesiologist:()=>z5,perspsychologist:()=>H5,perspsychomotortherapymaster:()=>U5,persreadaptationbachelor:()=>G5,persshoetechnologist:()=>W5,perssocialworker:()=>q5,perstechnician:()=>$5,perstrussmaker:()=>Y5,pharmacist:()=>Z5,pharmacist_assistant:()=>K5,physician:()=>J5,physiotherapist:()=>X5,podologist:()=>Q5,practical_nurse:()=>eV,prosthetist:()=>tV,psychologist:()=>nV,psychomotor_therapy_master:()=>iV,readaptaion_bachelor:()=>aV,social_worker:()=>rV,specialized_educator:()=>oV,truss_maker:()=>sV});var HL="Rettungswagenfahrer",UL="Rettungssanitäter",GL="Rettungssanitäter",WL="Softwareapplikation",qL="Bachelor der angewandten Psychologie",$L="Hörgeräteakustiker",YL="Audiologe",ZL="Fachapotheker für klinische Chemie",KL="Pflegekräfte",JL="Zertifikatinhaber",XL="Bürger",QL="Klinischer Heilpädagoge",eF="Klinischer Psychologe",tF="Dentalhygieniker",nF="Zahnarzt",iF="Algologie",aF="pathologische Anatomie",rF="Anästhesiologie",oF="Bakteriologie",sF="Herzchirurgie",lF="Kardiologie",cF="Kinder-und Jugendpsychiatrie",uF="Zahnheilkunde",dF="Dermatologie",hF="Diabetologie",pF="Diätetik",mF="Notaufnahme",fF="Endokrinologie",gF="Gastroenterologie",vF="Allgemeinmedizin",yF="Genetik",bF="Geriatrie",_F="Gynäkologie",xF="Handchirurgie",wF="Hämatologie",EF="Infektionskrankheit",SF="Intensivmedizin",kF="Physiotherapie",CF="Labordienst/-abteilung einer Einrichtung",IF="Schwerbrandverletztenzentrum",DF="Mund-Kiefer-Gesichtschirurgie",TF="Innere Medizin",PF="Molekularbiologie",OF="Neonatologie",NF="Nephrologie",MF="Neurologie",AF="Neurologie",RF="Hals-Nasen-Ohren-Heilkunde (HNO)",LF="Nuklearmedizin",FF="Krankenpflege",VF="Diätetik",jF="Geburtshilfe",BF="Ergotherapie",zF="Onkologie",HF="Augenheilkunde",UF="Orthopädie",GF="Palliativpflege",WF="Kinder-Intensivstation",qF="Kinderchirurgie",$F="Pädiatrie",YF="Apothekendienst/-abteilung einer Einrichtung",ZF="physikalische Medizin",KF="Physiotherapie",JF="plastische Chirurgie und rekonstruktive Chirurgie",XF="Pneumologie",QF="Podiatrie",e3="",t3="Psychiatrie",n3="Psychogeriatrie",i3="Psychologie",a3="Radiologie",r3="Strahlentherapie",o3="Rehabilitation",s3="Rheumatologie",l3="",c3="Senologie",u3="Sozialdienst",d3="Logopädie",h3="Sportmedizin",p3="Stomatologie",m3="Chirurgie",f3="Thoraxchirurgie",g3="Toxikologie",v3="Tropenmedizin",y3="Urologie",b3="Vaskuläre Chirurgie",_3="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",x3="Lieferant von Material für Diabetesselbstverwaltung ",w3="Diätassistent",E3="Arzt",S3="Bachelor der Familienwissenschaften",k3="Master der Gerontologie",C3="Krankenpflegeverband",I3="Zusammenschluss von Ärzten, unterschiedliche Adresse",D3="Zusammenschluss von Ärzten, gleiche Adresse",T3="Schwesternstützpunkt",P3="Hub",O3="Technologe im bildgebenden Diagnoseverfahren",N3="Lieferant von Implantaten",M3="Labortechniker",A3="Logopäde",R3="Hebamme",L3="Fachkraft für Krankenpflege",F3="Ergotherapeut",V3="Optiker",j3="Krankenhaus",B3="Versicherung",z3="Unabhängiges Labor",H3="Unabhängige Apotheke",U3="Rechnungstelle für Apotheken",G3="Poliklinik",W3="Praxis",q3="Präventionsdienst",$3="Gesundheits- und Sozialzentrum",Y3="psychiatrische Klinik",Z3="Gesundheitsbehörde",K3="Altenheim",J3="Reha-Klinik",X3="Initiative für begleitetes Wohnen",Q3="Master der Heilpädagogik",e5="Orthopäde",t5="Orthoptist-Optometrist",n5="Orthopädietechniker",i5="Patient",a5="Kinderkrankenschwester",r5="Büroangestellter",o5="Rettungswagen",s5="Bachelor in angewandter Psychologie",l5="Hörgeräteakustiker",c5="Audiologe",u5="Bandagist Orthosiologe (Orthopädietechniker)",d5="medizinischer Labortechniker",h5="informelle Pflegeperson",p5="Klinischer Heilpädagoge",m5="Klinischer Psychologe",f5="Zahnarzt",g5="Diätassistent",v5="Erzieher",y5="Bachelor in Familienwissenschaften",b5="Master in Gerontologie",_5="Logopäde",x5="Hebamme",w5="Mobilitätsverbesserer (Orthopädietechniker)",E5="Krankenpfleger",S5="Ergotherapeut",k5="Optiker",C5="Optometrist",I5="Dentalhygieniker",D5="Master in Heilpädagogik",T5="Orthopädist",P5="Orthoptist",O5="Orthopädietechniker/Prothesenbauer",N5="medizinische Hilfskraft",M5="Fahrdienst",A5="Apotheker",R5="Fachapotheker für klinische Chemie",L5="Apothekenhelfer",F5="Arzt",V5="Physiotherapeut",j5="Podologe",B5="Pfleger",z5="Orthopädietechniker (Orthopädietechniker)",H5="Psychologe",U5="Master in Psychomotorik",G5="Bachelor in Rehabilitation",W5="Schuhtechniker (Orthopädietechniker)",q5="Sozialarbeiter",$5="Techniker für medizinische Bildgebung",Y5="Bandagist",Z5="Apotheker",K5="Pharmazeutisch-technischer Assistent ",J5="Arzt",X5="Physiotherapeut",Q5="Podologe",eV="Pflegehelfer",tV="Prothesenhersteller",nV="Psychologe",iV="Master der psychomotorischen Therapie",aV="Bachelor der Rehabilitationswissenschaften",rV="Sozialassistent",oV="Bachelor der Erziehungswissenschaften",sV="Bandagist",gxe={ambulance_driver:HL,ambulance_first_aid:UL,ambulance_rescuer:GL,application:WL,applied_psychology_bachelor:qL,audician:$L,audiologist:YL,biologist_pharmacist:ZL,care_giver:KL,certificateholder:JL,citizen:XL,clinical_orthopedic_pedagogue:QL,clinical_psychologist:eF,dental_hygienist:tF,dentist:nF,deptalgology:iF,deptanatomopathology:aF,deptanesthesiology:rF,deptbacteriology:oF,deptcardiacsurgery:sF,deptcardiology:lF,deptchildandadolescentpsychiatry:cF,deptdentistry:uF,deptdermatology:dF,deptdiabetology:hF,deptdietetics:pF,deptemergency:mF,deptendocrinology:fF,deptgastroenterology:gF,deptgeneralpractice:vF,deptgenetics:yF,deptgeriatry:bF,deptgynecology:_F,depthandsurgery:xF,depthematology:wF,deptinfectiousdisease:EF,deptintensivecare:SF,deptkinesitherapy:kF,deptlaboratory:CF,deptmajorburns:IF,deptmaxillofacialsurgery:DF,deptmedicine:TF,deptmolecularbiology:PF,deptneonatalogy:OF,deptnephrology:NF,deptneurology:MF,deptneurosurgery:AF,deptnte:RF,deptnuclear:LF,deptnursing:FF,deptnutritiondietetics:VF,deptobstetrics:jF,deptoccupationaltherapy:BF,deptoncology:zF,deptophtalmology:HF,deptorthopedy:UF,deptpalliativecare:GF,deptpediatricintensivecare:WF,deptpediatricsurgery:qF,deptpediatry:$F,deptpharmacy:YF,deptphysicalmedecine:ZF,deptphysiotherapy:KF,deptplasticandreparatorysurgery:JF,deptpneumology:XF,deptpodiatry:QF,deptpodology:e3,deptpsychiatry:t3,deptpsychogeriatry:n3,deptpsychology:i3,deptradiology:a3,deptradiotherapy:r3,deptrevalidation:o3,deptrheumatology:s3,deptrhumatology:l3,deptsenology:c3,deptsocialservice:u3,deptspeechtherapy:d3,deptsportsmedecine:h3,deptstomatology:p3,deptsurgery:m3,deptthoracicsurgery:f3,depttoxicology:g3,depttropicalmedecine:v3,depturology:y3,deptvascularsurgery:b3,deptvisceraldigestiveabdominalsurgery:_3,diabete_equipment_supplier:x3,dietician:w3,doctor:E3,family_science_bachelor:S3,gerontology_master:k3,groupofnurses:C3,groupofphysiciansdifferentaddress:I3,groupofphysicianssameaddress:D3,guardpost:T3,hub:P3,imaging_technologist:O3,implantprovider:N3,lab_technologist:M3,logopedist:A3,midwife:R3,nurse:L3,occupational_therapist:F3,optician:V3,orghospital:j3,orginsurance:B3,orglaboratory:z3,orgpharmacy:H3,orgpharmacyinvoicingoffice:U3,orgpolyclinic:G3,orgpractice:W3,orgprevention:q3,orgprimaryhealthcarecenter:$3,orgpsychiatriccarehome:Y3,orgpublichealth:Z3,orgretirementhome:K3,orgrevalidationcenter:J3,orgshelteredliving:X3,orthopedagogist_master:Q3,orthopedist:e5,orthoptist:t5,orthotist:n5,patient:i5,pediatric_nurse:a5,persadministrative:r5,persambulancefirstaid:o5,persappliedpsychbachelor:s5,persaudician:l5,persaudiologist:c5,persbandagistorthosiologist:u5,persbiologist:d5,perscaregiver:h5,persclinicalorthopedagogist:p5,persclinicalpsychologist:m5,persdentist:f5,persdietician:g5,perseducator:v5,persfamilysciencebachelor:y5,persgerontologymaster:b5,perslogopedist:_5,persmidwife:x5,persmobilityimprover:w5,persnurse:E5,persoccupationaltherapist:S5,persoptician:k5,persoptometrist:C5,persoraldentalhygienist:I5,persorthopedagogistmaster:D5,persorthopedist:T5,persorthoptist:P5,persorthotist:O5,persparamedical:N5,perspatientdriver:M5,perspharmacist:A5,perspharmacistclinicalbiologist:R5,perspharmacyassistant:L5,persphysician:F5,persphysiotherapist:V5,perspodologist:j5,perspracticalnurse:B5,persprosthesiologist:z5,perspsychologist:H5,perspsychomotortherapymaster:U5,persreadaptationbachelor:G5,persshoetechnologist:W5,perssocialworker:q5,perstechnician:$5,perstrussmaker:Y5,pharmacist:Z5,pharmacist_assistant:K5,physician:J5,physiotherapist:X5,podologist:Q5,practical_nurse:eV,prosthetist:tV,psychologist:nV,psychomotor_therapy_master:iV,readaptaion_bachelor:aV,social_worker:rV,specialized_educator:oV,truss_maker:sV},lV={};Z(lV,{ambulance_driver:()=>cV,ambulance_first_aid:()=>uV,ambulance_rescuer:()=>dV,application:()=>hV,applied_psychology_bachelor:()=>pV,audician:()=>mV,audiologist:()=>fV,biologist_pharmacist:()=>gV,care_giver:()=>vV,certificateholder:()=>yV,citizen:()=>bV,clinical_orthopedic_pedagogue:()=>_V,clinical_psychologist:()=>xV,default:()=>vxe,dental_hygienist:()=>wV,dentist:()=>EV,deptalgology:()=>SV,deptanatomopathology:()=>kV,deptanesthesiology:()=>CV,deptbacteriology:()=>IV,deptcardiacsurgery:()=>DV,deptcardiology:()=>TV,deptchildandadolescentpsychiatry:()=>PV,deptdentistry:()=>OV,deptdermatology:()=>NV,deptdiabetology:()=>MV,deptdietetics:()=>AV,deptemergency:()=>RV,deptendocrinology:()=>LV,deptgastroenterology:()=>FV,deptgeneralpractice:()=>VV,deptgenetics:()=>jV,deptgeriatry:()=>BV,deptgynecology:()=>zV,depthandsurgery:()=>HV,depthematology:()=>UV,deptinfectiousdisease:()=>GV,deptintensivecare:()=>WV,deptkinesitherapy:()=>qV,deptlaboratory:()=>$V,deptmajorburns:()=>YV,deptmaxillofacialsurgery:()=>ZV,deptmedicine:()=>KV,deptmolecularbiology:()=>JV,deptneonatalogy:()=>XV,deptnephrology:()=>QV,deptneurology:()=>e4,deptneurosurgery:()=>t4,deptnte:()=>n4,deptnuclear:()=>i4,deptnursing:()=>a4,deptnutritiondietetics:()=>r4,deptobstetrics:()=>o4,deptoccupationaltherapy:()=>s4,deptoncology:()=>l4,deptophtalmology:()=>c4,deptorthopedy:()=>u4,deptpalliativecare:()=>d4,deptpediatricintensivecare:()=>h4,deptpediatricsurgery:()=>p4,deptpediatry:()=>m4,deptpharmacy:()=>f4,deptphysicalmedecine:()=>g4,deptphysiotherapy:()=>v4,deptplasticandreparatorysurgery:()=>y4,deptpneumology:()=>b4,deptpodiatry:()=>_4,deptpodology:()=>x4,deptpsychiatry:()=>w4,deptpsychogeriatry:()=>E4,deptpsychology:()=>S4,deptradiology:()=>k4,deptradiotherapy:()=>C4,deptrevalidation:()=>I4,deptrheumatology:()=>D4,deptrhumatology:()=>T4,deptsenology:()=>P4,deptsocialservice:()=>O4,deptspeechtherapy:()=>N4,deptsportsmedecine:()=>M4,deptstomatology:()=>A4,deptsurgery:()=>R4,deptthoracicsurgery:()=>L4,depttoxicology:()=>F4,depttropicalmedecine:()=>V4,depturology:()=>j4,deptvascularsurgery:()=>B4,deptvisceraldigestiveabdominalsurgery:()=>z4,diabete_equipment_supplier:()=>H4,dietician:()=>U4,doctor:()=>G4,family_science_bachelor:()=>W4,gerontology_master:()=>q4,groupofnurses:()=>$4,groupofphysiciansdifferentaddress:()=>Y4,groupofphysicianssameaddress:()=>Z4,guardpost:()=>K4,hub:()=>J4,imaging_technologist:()=>X4,implantprovider:()=>Q4,lab_technologist:()=>ej,logopedist:()=>tj,midwife:()=>nj,nurse:()=>ij,occupational_therapist:()=>aj,optician:()=>rj,orghospital:()=>oj,orginsurance:()=>sj,orglaboratory:()=>lj,orgpharmacy:()=>cj,orgpharmacyinvoicingoffice:()=>uj,orgpolyclinic:()=>dj,orgpractice:()=>hj,orgprevention:()=>pj,orgprimaryhealthcarecenter:()=>mj,orgpsychiatriccarehome:()=>fj,orgpublichealth:()=>gj,orgretirementhome:()=>vj,orgrevalidationcenter:()=>yj,orgshelteredliving:()=>bj,orthopedagogist_master:()=>_j,orthopedist:()=>xj,orthoptist:()=>wj,orthotist:()=>Ej,patient:()=>Sj,pediatric_nurse:()=>kj,persadministrative:()=>Cj,persambulancefirstaid:()=>Ij,persappliedpsychbachelor:()=>Dj,persaudician:()=>Tj,persaudiologist:()=>Pj,persbandagistorthosiologist:()=>Oj,persbiologist:()=>Nj,perscaregiver:()=>Mj,persclinicalorthopedagogist:()=>Aj,persclinicalpsychologist:()=>Rj,persdentist:()=>Lj,persdietician:()=>Fj,perseducator:()=>Vj,persfamilysciencebachelor:()=>jj,persgerontologymaster:()=>Bj,perslogopedist:()=>zj,persmidwife:()=>Hj,persmobilityimprover:()=>Uj,persnurse:()=>Gj,persoccupationaltherapist:()=>Wj,persoptician:()=>qj,persoptometrist:()=>$j,persoraldentalhygienist:()=>Yj,persorthopedagogistmaster:()=>Zj,persorthopedist:()=>Kj,persorthoptist:()=>Jj,persorthotist:()=>Xj,persparamedical:()=>Qj,perspatientdriver:()=>e9,perspharmacist:()=>t9,perspharmacistclinicalbiologist:()=>n9,perspharmacyassistant:()=>i9,persphysician:()=>a9,persphysiotherapist:()=>r9,perspodologist:()=>o9,perspracticalnurse:()=>s9,persprosthesiologist:()=>l9,perspsychologist:()=>c9,perspsychomotortherapymaster:()=>u9,persreadaptationbachelor:()=>d9,persshoetechnologist:()=>h9,perssocialworker:()=>p9,perstechnician:()=>m9,perstrussmaker:()=>f9,pharmacist:()=>g9,pharmacist_assistant:()=>v9,physician:()=>y9,physiotherapist:()=>b9,podologist:()=>_9,practical_nurse:()=>x9,prosthetist:()=>w9,psychologist:()=>E9,psychomotor_therapy_master:()=>S9,readaptaion_bachelor:()=>k9,social_worker:()=>C9,specialized_educator:()=>I9,truss_maker:()=>D9});var cV="Ambulance Driver",uV="Ambulance First Aider",dV="Ambulance Rescuer",hV="Software application",pV="Bachelor in Applied Psychology",mV="Audician",fV="Audiologist",gV="Biologist Pharmacist",vV="Caregiver",yV="Certificate holder",bV="Citizen",_V="Clinical Orthopedic Pedagogue",xV="Clinical Psychologist",wV="Dental Hygienist",EV="Dentist",SV="Algology",kV="Anatomopathology",CV="Anesthesiology",IV="Bacteriology",DV="Cardiac surgery",TV="Cardiology",PV="Child and adolescent psychiatry",OV="Dentistry",NV="Dermatology",MV="Diabetology",AV="Dietetics",RV="Emergency",LV="Endocrinology",FV="Gastroenterology",VV="General practice",jV="Genetics",BV="Geriatry",zV="Gynecology",HV="Hand surgery",UV="Hematology",GV="Infectious disease",WV="Intensive care",qV="Kinesitherapy",$V="Laboratory service or department within an organisation",YV="Major burns",ZV="Maxillofacial surgery",KV="Internal medecine",JV="Molecular biology",XV="Neonatalogy",QV="Nephrology",e4="Neurology",t4="Neurology",n4="Nose-throat-ear",i4="Nuclear",a4="Nursing",r4="Nutritional dietetics",o4="Obstetrics",s4="Occupational therapy",l4="Oncology",c4="Ophthalmology",u4="Orthopedy",d4="Palliative care",h4="Pediatric intensive care",p4="Pediatric surgery",m4="Pediatry",f4="Pharmacy Service/Department within an organization",g4="Physical medecine",v4="Physiotherapy",y4="Plastic and reparatory surgery",b4="Pneumology",_4="Podiatry",x4="Podiatry",w4="Psychiatry",E4="Psychogeriatry",S4="Psychology",k4="Radiology",C4="Radiotherapy",I4="Revalidation",D4="Rheumatology",T4="Rhumatology",P4="Senology",O4="Social service",N4="Speech therapy",M4="Sports medecine",A4="Stomatology",R4="Surgery",L4="Thoracic surgery",F4="Toxicology",V4="Tropical medecine",j4="Urology",B4="Vascular surgery",z4="Visceral digestive abdominal surgery",H4="Diabetes Management Equipment Supplier",U4="Dietitian",G4="Doctor",W4="Bachelor in Family Science",q4="Master in Gerontology",$4="Group of nurses",Y4="Group of physicians different address",Z4="Group of physicians same address",K4="Guard post",J4="Hub",X4="Medical Imaging Technologist",Q4="Implant Provider",ej="Laboratory Technologist",tj="Logopedist",nj="Midwife",ij="Nurse",aj="Occupational Therapist",rj="Optician",oj="Hospital",sj="Insurance",lj="Independent laboratory",cj="Independent pharmacy",uj="Pharmacy invoicing office",dj="Polyclinic",hj="Practice organisation",pj="Prevention Service",mj="Primary health care center",fj="Psychiatric care home",gj="Public health organisation",vj="Retirementhome",yj="Revalidation center",bj="Sheltered living",_j="Master's in Orthopedagogy",xj="Orthopedist",wj="Orthoptist-Optometrist",Ej="Orthotist",Sj="Patient",kj="Pediatric Nurse",Cj="Administrative",Ij="Ambulance first aid",Dj="Bachelor in Applied psychology",Tj="Audician",Pj="Audiologist",Oj="Bandagist orthosiologist (orthopedic technologist)",Nj="Medical laboratory technician",Mj="Informal Caregiver",Aj="Clinical orthopedagogist",Rj="Clinical psychologist",Lj="Dentist",Fj="Dietician",Vj="Educator",jj="Bachelor in Family sciences",Bj="Master in Gerontological sciences",zj="Logopedist",Hj="Midwife",Uj="Mobility improver (orthopedic technologist)",Gj="Nurse",Wj="Occupational therapist",qj="Optician",$j="Optometrist",Yj="Oral Dental Hygienist",Zj="Master of orthopedagogist",Kj="Orthopedist",Jj="Orthoptist",Xj="Orthotist/Prosthetist",Qj="Paramedical staff",e9="Patient Transporter (non-urgent)",t9="Pharmacist",n9="Pharmacist-clinical biologist",i9="Pharmacy assistant",a9="Physician",r9="Physiotherapist",o9="Podiologist",s9="Practical nurse",l9="prosthesiologist (orthopedic technologist)",c9="Psychologist",u9="Master in Psychomotor Therapy",d9="Bachelor in Physiotherapy and Rehabilitation",h9="shoe technologist (orthopedic technologist)",p9="Social worker",m9="Medical Imaging Technician",f9="Truss maker",g9="Pharmacist",v9="Pharmaceutical Technician Assistant",y9="Physician",b9="Physiotherapist",_9="Podiatrist",x9="Practical Nurse",w9="Prosthetist",E9="Clinical Psychologist",S9="Master's in Psychomotor Therapy",k9="Bachelor in Rehabilitation",C9="Social Worker",I9="Specialized Educator",D9="Truss Maker",vxe={ambulance_driver:cV,ambulance_first_aid:uV,ambulance_rescuer:dV,application:hV,applied_psychology_bachelor:pV,audician:mV,audiologist:fV,biologist_pharmacist:gV,care_giver:vV,certificateholder:yV,citizen:bV,clinical_orthopedic_pedagogue:_V,clinical_psychologist:xV,dental_hygienist:wV,dentist:EV,deptalgology:SV,deptanatomopathology:kV,deptanesthesiology:CV,deptbacteriology:IV,deptcardiacsurgery:DV,deptcardiology:TV,deptchildandadolescentpsychiatry:PV,deptdentistry:OV,deptdermatology:NV,deptdiabetology:MV,deptdietetics:AV,deptemergency:RV,deptendocrinology:LV,deptgastroenterology:FV,deptgeneralpractice:VV,deptgenetics:jV,deptgeriatry:BV,deptgynecology:zV,depthandsurgery:HV,depthematology:UV,deptinfectiousdisease:GV,deptintensivecare:WV,deptkinesitherapy:qV,deptlaboratory:$V,deptmajorburns:YV,deptmaxillofacialsurgery:ZV,deptmedicine:KV,deptmolecularbiology:JV,deptneonatalogy:XV,deptnephrology:QV,deptneurology:e4,deptneurosurgery:t4,deptnte:n4,deptnuclear:i4,deptnursing:a4,deptnutritiondietetics:r4,deptobstetrics:o4,deptoccupationaltherapy:s4,deptoncology:l4,deptophtalmology:c4,deptorthopedy:u4,deptpalliativecare:d4,deptpediatricintensivecare:h4,deptpediatricsurgery:p4,deptpediatry:m4,deptpharmacy:f4,deptphysicalmedecine:g4,deptphysiotherapy:v4,deptplasticandreparatorysurgery:y4,deptpneumology:b4,deptpodiatry:_4,deptpodology:x4,deptpsychiatry:w4,deptpsychogeriatry:E4,deptpsychology:S4,deptradiology:k4,deptradiotherapy:C4,deptrevalidation:I4,deptrheumatology:D4,deptrhumatology:T4,deptsenology:P4,deptsocialservice:O4,deptspeechtherapy:N4,deptsportsmedecine:M4,deptstomatology:A4,deptsurgery:R4,deptthoracicsurgery:L4,depttoxicology:F4,depttropicalmedecine:V4,depturology:j4,deptvascularsurgery:B4,deptvisceraldigestiveabdominalsurgery:z4,diabete_equipment_supplier:H4,dietician:U4,doctor:G4,family_science_bachelor:W4,gerontology_master:q4,groupofnurses:$4,groupofphysiciansdifferentaddress:Y4,groupofphysicianssameaddress:Z4,guardpost:K4,hub:J4,imaging_technologist:X4,implantprovider:Q4,lab_technologist:ej,logopedist:tj,midwife:nj,nurse:ij,occupational_therapist:aj,optician:rj,orghospital:oj,orginsurance:sj,orglaboratory:lj,orgpharmacy:cj,orgpharmacyinvoicingoffice:uj,orgpolyclinic:dj,orgpractice:hj,orgprevention:pj,orgprimaryhealthcarecenter:mj,orgpsychiatriccarehome:fj,orgpublichealth:gj,orgretirementhome:vj,orgrevalidationcenter:yj,orgshelteredliving:bj,orthopedagogist_master:_j,orthopedist:xj,orthoptist:wj,orthotist:Ej,patient:Sj,pediatric_nurse:kj,persadministrative:Cj,persambulancefirstaid:Ij,persappliedpsychbachelor:Dj,persaudician:Tj,persaudiologist:Pj,persbandagistorthosiologist:Oj,persbiologist:Nj,perscaregiver:Mj,persclinicalorthopedagogist:Aj,persclinicalpsychologist:Rj,persdentist:Lj,persdietician:Fj,perseducator:Vj,persfamilysciencebachelor:jj,persgerontologymaster:Bj,perslogopedist:zj,persmidwife:Hj,persmobilityimprover:Uj,persnurse:Gj,persoccupationaltherapist:Wj,persoptician:qj,persoptometrist:$j,persoraldentalhygienist:Yj,persorthopedagogistmaster:Zj,persorthopedist:Kj,persorthoptist:Jj,persorthotist:Xj,persparamedical:Qj,perspatientdriver:e9,perspharmacist:t9,perspharmacistclinicalbiologist:n9,perspharmacyassistant:i9,persphysician:a9,persphysiotherapist:r9,perspodologist:o9,perspracticalnurse:s9,persprosthesiologist:l9,perspsychologist:c9,perspsychomotortherapymaster:u9,persreadaptationbachelor:d9,persshoetechnologist:h9,perssocialworker:p9,perstechnician:m9,perstrussmaker:f9,pharmacist:g9,pharmacist_assistant:v9,physician:y9,physiotherapist:b9,podologist:_9,practical_nurse:x9,prosthetist:w9,psychologist:E9,psychomotor_therapy_master:S9,readaptaion_bachelor:k9,social_worker:C9,specialized_educator:I9,truss_maker:D9},T9={};Z(T9,{ambulance_driver:()=>P9,ambulance_first_aid:()=>O9,ambulance_rescuer:()=>N9,application:()=>M9,applied_psychology_bachelor:()=>A9,audician:()=>R9,audiologist:()=>L9,biologist_pharmacist:()=>F9,care_giver:()=>V9,certificateholder:()=>j9,citizen:()=>B9,clinical_orthopedic_pedagogue:()=>z9,clinical_psychologist:()=>H9,default:()=>yxe,dental_hygienist:()=>U9,dentist:()=>G9,deptalgology:()=>W9,deptanatomopathology:()=>q9,deptanesthesiology:()=>$9,deptbacteriology:()=>Y9,deptcardiacsurgery:()=>Z9,deptcardiology:()=>K9,deptchildandadolescentpsychiatry:()=>J9,deptdentistry:()=>X9,deptdermatology:()=>Q9,deptdiabetology:()=>eB,deptdietetics:()=>tB,deptemergency:()=>nB,deptendocrinology:()=>iB,deptgastroenterology:()=>aB,deptgeneralpractice:()=>rB,deptgenetics:()=>oB,deptgeriatry:()=>sB,deptgynecology:()=>lB,depthandsurgery:()=>cB,depthematology:()=>uB,deptinfectiousdisease:()=>dB,deptintensivecare:()=>hB,deptkinesitherapy:()=>pB,deptlaboratory:()=>mB,deptmajorburns:()=>fB,deptmaxillofacialsurgery:()=>gB,deptmedicine:()=>vB,deptmolecularbiology:()=>yB,deptneonatalogy:()=>bB,deptnephrology:()=>_B,deptneurology:()=>xB,deptneurosurgery:()=>wB,deptnte:()=>EB,deptnuclear:()=>SB,deptnursing:()=>kB,deptnutritiondietetics:()=>CB,deptobstetrics:()=>IB,deptoccupationaltherapy:()=>DB,deptoncology:()=>TB,deptophtalmology:()=>PB,deptorthopedy:()=>OB,deptpalliativecare:()=>NB,deptpediatricintensivecare:()=>MB,deptpediatricsurgery:()=>AB,deptpediatry:()=>RB,deptpharmacy:()=>LB,deptphysicalmedecine:()=>FB,deptphysiotherapy:()=>VB,deptplasticandreparatorysurgery:()=>jB,deptpneumology:()=>BB,deptpodiatry:()=>zB,deptpodology:()=>HB,deptpsychiatry:()=>UB,deptpsychogeriatry:()=>GB,deptpsychology:()=>WB,deptradiology:()=>qB,deptradiotherapy:()=>$B,deptrevalidation:()=>YB,deptrheumatology:()=>ZB,deptrhumatology:()=>KB,deptsenology:()=>JB,deptsocialservice:()=>XB,deptspeechtherapy:()=>QB,deptsportsmedecine:()=>ez,deptstomatology:()=>tz,deptsurgery:()=>nz,deptthoracicsurgery:()=>iz,depttoxicology:()=>az,depttropicalmedecine:()=>rz,depturology:()=>oz,deptvascularsurgery:()=>sz,deptvisceraldigestiveabdominalsurgery:()=>lz,diabete_equipment_supplier:()=>cz,dietician:()=>uz,doctor:()=>dz,family_science_bachelor:()=>hz,gerontology_master:()=>pz,groupofnurses:()=>mz,groupofphysiciansdifferentaddress:()=>fz,groupofphysicianssameaddress:()=>gz,guardpost:()=>vz,hub:()=>yz,imaging_technologist:()=>bz,implantprovider:()=>_z,lab_technologist:()=>xz,logopedist:()=>wz,midwife:()=>Ez,nurse:()=>Sz,occupational_therapist:()=>kz,optician:()=>Cz,orghospital:()=>Iz,orginsurance:()=>Dz,orglaboratory:()=>Tz,orgpharmacy:()=>Pz,orgpharmacyinvoicingoffice:()=>Oz,orgpolyclinic:()=>Nz,orgpractice:()=>Mz,orgprevention:()=>Az,orgprimaryhealthcarecenter:()=>Rz,orgpsychiatriccarehome:()=>Lz,orgpublichealth:()=>Fz,orgretirementhome:()=>Vz,orgrevalidationcenter:()=>jz,orgshelteredliving:()=>Bz,orthopedagogist_master:()=>zz,orthopedist:()=>Hz,orthoptist:()=>Uz,orthotist:()=>Gz,patient:()=>Wz,pediatric_nurse:()=>qz,persadministrative:()=>$z,persambulancefirstaid:()=>Yz,persappliedpsychbachelor:()=>Zz,persaudician:()=>Kz,persaudiologist:()=>Jz,persbandagistorthosiologist:()=>Xz,persbiologist:()=>Qz,perscaregiver:()=>e7,persclinicalorthopedagogist:()=>t7,persclinicalpsychologist:()=>n7,persdentist:()=>i7,persdietician:()=>a7,perseducator:()=>r7,persfamilysciencebachelor:()=>o7,persgerontologymaster:()=>s7,perslogopedist:()=>l7,persmidwife:()=>c7,persmobilityimprover:()=>u7,persnurse:()=>d7,persoccupationaltherapist:()=>h7,persoptician:()=>p7,persoptometrist:()=>m7,persoraldentalhygienist:()=>f7,persorthopedagogistmaster:()=>g7,persorthopedist:()=>v7,persorthoptist:()=>y7,persorthotist:()=>b7,persparamedical:()=>_7,perspatientdriver:()=>x7,perspharmacist:()=>w7,perspharmacistclinicalbiologist:()=>E7,perspharmacyassistant:()=>S7,persphysician:()=>k7,persphysiotherapist:()=>C7,perspodologist:()=>I7,perspracticalnurse:()=>D7,persprosthesiologist:()=>T7,perspsychologist:()=>P7,perspsychomotortherapymaster:()=>O7,persreadaptationbachelor:()=>N7,persshoetechnologist:()=>M7,perssocialworker:()=>A7,perstechnician:()=>R7,perstrussmaker:()=>L7,pharmacist:()=>F7,pharmacist_assistant:()=>V7,physician:()=>j7,physiotherapist:()=>B7,podologist:()=>z7,practical_nurse:()=>H7,prosthetist:()=>U7,psychologist:()=>G7,psychomotor_therapy_master:()=>W7,readaptaion_bachelor:()=>q7,social_worker:()=>$7,specialized_educator:()=>Y7,truss_maker:()=>Z7});var P9="Ambulancier",O9="Ambulancier secouriste",N9="Ambulancier secouriste",M9="application logicielle",A9="Bachelier en psychologie appliquée",R9="Audicien",L9="Audiologue",F9="Pharmacien biologiste",V9="Personnel soignant",j9="Titulaire du certificat",B9="Citoyen",z9="Orthopédagogue clinicien",H9="Psychologue clinicien",U9="Hygiéniste bucco-dentaire",G9="Dentiste",W9="algologie",q9="anatomopathologie",$9="anesthésiologie",Y9="bactériologie",Z9="chirurgie cardiaque",K9="cardiologie",J9="psychiatrie de l’enfant et de l’adolescent",X9="dentisterie",Q9="dermatologie",eB="diabétologie",tB="diététique",nB="services d’urgence",iB="endocrinologie",aB="gastroentérologie",rB="médecine générale",oB="génétique",sB="gériatrie",lB="gynécologie",cB="chirurgie de la main",uB="hématologie",dB="maladie infectieuse",hB="soins intensifs",pB="kinésithérapie",mB="Service/Département laboratoire au sein d’une organisation",fB="grands brûlés",gB="chirurgie maxillo-faciale",vB="médecine interne",yB="biologie moléculaire",bB="néonatologie",_B="néphrologie",xB="neurologie",wB="neurologie",EB="oto-rhino-laryngologie",SB="médecine nucléaire",kB="soins infirmiers",CB="diététique nutritionnelle",IB="obstétrique",DB="ergothérapie",TB="oncologie",PB="ophtalmologie",OB="orthopédie",NB="soins palliatifs",MB="soins intensifs pédiatriques",AB="chirurgie pédiatrique",RB="pédiatrie",LB="Service/Département pharmacie au sein d’une organisation",FB="médecine physique",VB="physiothérapie",jB="chirurgie esthétique et réparatrice",BB="pneumologie",zB="podiatrie",HB="",UB="psychiatrie",GB="Psychogériatrie",WB="psychologie",qB="radiologie",$B="radiothérapie",YB="rééducation",ZB="rhumatologie",KB="",JB="sénologie",XB="service social",QB="logopédie",ez="médecine des sports",tz="stomatologie",nz="chirurgie",iz="chirurgie thoracique",az="toxicologie",rz="médecine tropicale",oz="urologie",sz="chirurgie vasculaire",lz="chirurgie abdominale, digestive et viscérale",cz="Fournisseur de matériel d’autogestion diabétique",uz="Diététicien",dz="Médecin",hz="Bachelier en science de la famille",pz="Master en gérontologie",mz="Regroupement d’infirmiers",fz="Regroupement de médecins adresse différente",gz="regroupement de médecins même adresse",vz="poste de garde",yz="hub",bz="Technologue en imagerie médicale",_z="Dispensateur d’implants",xz="Technologue de labo",wz="Logopède",Ez="Sage-femme",Sz="Infirmier\\Infirmière",kz="Ergothérapeute",Cz="Opticien",Iz="hôpital",Dz="assurance",Tz="laboratoire indépendant",Pz="Pharmacie indépendante",Oz="office de tarification",Nz="polyclinique",Mz="cabinet",Az="Service de prévention",Rz="Maison médicale",Lz="maison de soins psychiatriques",Fz="service public de santé",Vz="maison de repos",jz="centre de revalidation",Bz="initiative d’habitation protégée",zz="Master en Orthopédagogie",Hz="Orthopédiste",Uz="Orthoptiste-Optométriste",Gz="Orthésiste",Wz="Patient",qz="Puéricultrice",$z="personnel admistratif",Yz="ambulance premier secours",Zz="Bachelier en psychologie",Kz="audicien",Jz="audiologue",Xz="orthosiologue bandagiste (technologue en orthopédie)",Qz="technicien de laboratoire médical",e7="soignant informel",t7="Orthopédagogue clinicien",n7="Psychologue clinicien",i7="dentiste",a7="diététicien",r7="éducateur",o7="Bachelier en sciences de la famille",s7="Master en gérontologie",l7="logopède",c7="sage-femme",u7="améliorateur de mobilité (technologue en orthopédie)",d7="infirmier",h7="ergothérapeute",p7="opticien",m7="optométriste",f7="Hygiéniste bucco-dentaire",g7="Master en orthopédagogie",v7="orthopédiste",y7="orthoptiste",b7="Orthésiste/Prothésiste",_7="personnel paramédical",x7="Transporteur de patient (non urgent)",w7="pharmacien",E7="pharmacien-biologiste clinicien",S7="assistant en pharmacie",k7="médecin",C7="kinésithérapeute",I7="podologue",D7="aide-soignante",T7="prothésiste (technologue en orthopédie)",P7="psychologue",O7="Master en thérapie psychomotrice",N7="Bachelier en kinésithérapie et réadaptation",M7="technicien de chaussures (technologue en orthopédie)",A7="travailleur social",R7="Technicien d’imagerie médicale",L7="Bandagiste",F7="Pharmacien",V7="Assistant Pharmaceutico-Technique",j7="Médecin",B7="Physiothérapeute",z7="Podologue",H7="Aide-soignant",U7="Prothésiste",G7="Psychologue clinicien",W7="Master en thérapie psychomotrice",q7="Bachelier en réadaptation",$7="Assistant social",Y7="Educateur spécialisé",Z7="Bandagiste",yxe={ambulance_driver:P9,ambulance_first_aid:O9,ambulance_rescuer:N9,application:M9,applied_psychology_bachelor:A9,audician:R9,audiologist:L9,biologist_pharmacist:F9,care_giver:V9,certificateholder:j9,citizen:B9,clinical_orthopedic_pedagogue:z9,clinical_psychologist:H9,dental_hygienist:U9,dentist:G9,deptalgology:W9,deptanatomopathology:q9,deptanesthesiology:$9,deptbacteriology:Y9,deptcardiacsurgery:Z9,deptcardiology:K9,deptchildandadolescentpsychiatry:J9,deptdentistry:X9,deptdermatology:Q9,deptdiabetology:eB,deptdietetics:tB,deptemergency:nB,deptendocrinology:iB,deptgastroenterology:aB,deptgeneralpractice:rB,deptgenetics:oB,deptgeriatry:sB,deptgynecology:lB,depthandsurgery:cB,depthematology:uB,deptinfectiousdisease:dB,deptintensivecare:hB,deptkinesitherapy:pB,deptlaboratory:mB,deptmajorburns:fB,deptmaxillofacialsurgery:gB,deptmedicine:vB,deptmolecularbiology:yB,deptneonatalogy:bB,deptnephrology:_B,deptneurology:xB,deptneurosurgery:wB,deptnte:EB,deptnuclear:SB,deptnursing:kB,deptnutritiondietetics:CB,deptobstetrics:IB,deptoccupationaltherapy:DB,deptoncology:TB,deptophtalmology:PB,deptorthopedy:OB,deptpalliativecare:NB,deptpediatricintensivecare:MB,deptpediatricsurgery:AB,deptpediatry:RB,deptpharmacy:LB,deptphysicalmedecine:FB,deptphysiotherapy:VB,deptplasticandreparatorysurgery:jB,deptpneumology:BB,deptpodiatry:zB,deptpodology:HB,deptpsychiatry:UB,deptpsychogeriatry:GB,deptpsychology:WB,deptradiology:qB,deptradiotherapy:$B,deptrevalidation:YB,deptrheumatology:ZB,deptrhumatology:KB,deptsenology:JB,deptsocialservice:XB,deptspeechtherapy:QB,deptsportsmedecine:ez,deptstomatology:tz,deptsurgery:nz,deptthoracicsurgery:iz,depttoxicology:az,depttropicalmedecine:rz,depturology:oz,deptvascularsurgery:sz,deptvisceraldigestiveabdominalsurgery:lz,diabete_equipment_supplier:cz,dietician:uz,doctor:dz,family_science_bachelor:hz,gerontology_master:pz,groupofnurses:mz,groupofphysiciansdifferentaddress:fz,groupofphysicianssameaddress:gz,guardpost:vz,hub:yz,imaging_technologist:bz,implantprovider:_z,lab_technologist:xz,logopedist:wz,midwife:Ez,nurse:Sz,occupational_therapist:kz,optician:Cz,orghospital:Iz,orginsurance:Dz,orglaboratory:Tz,orgpharmacy:Pz,orgpharmacyinvoicingoffice:Oz,orgpolyclinic:Nz,orgpractice:Mz,orgprevention:Az,orgprimaryhealthcarecenter:Rz,orgpsychiatriccarehome:Lz,orgpublichealth:Fz,orgretirementhome:Vz,orgrevalidationcenter:jz,orgshelteredliving:Bz,orthopedagogist_master:zz,orthopedist:Hz,orthoptist:Uz,orthotist:Gz,patient:Wz,pediatric_nurse:qz,persadministrative:$z,persambulancefirstaid:Yz,persappliedpsychbachelor:Zz,persaudician:Kz,persaudiologist:Jz,persbandagistorthosiologist:Xz,persbiologist:Qz,perscaregiver:e7,persclinicalorthopedagogist:t7,persclinicalpsychologist:n7,persdentist:i7,persdietician:a7,perseducator:r7,persfamilysciencebachelor:o7,persgerontologymaster:s7,perslogopedist:l7,persmidwife:c7,persmobilityimprover:u7,persnurse:d7,persoccupationaltherapist:h7,persoptician:p7,persoptometrist:m7,persoraldentalhygienist:f7,persorthopedagogistmaster:g7,persorthopedist:v7,persorthoptist:y7,persorthotist:b7,persparamedical:_7,perspatientdriver:x7,perspharmacist:w7,perspharmacistclinicalbiologist:E7,perspharmacyassistant:S7,persphysician:k7,persphysiotherapist:C7,perspodologist:I7,perspracticalnurse:D7,persprosthesiologist:T7,perspsychologist:P7,perspsychomotortherapymaster:O7,persreadaptationbachelor:N7,persshoetechnologist:M7,perssocialworker:A7,perstechnician:R7,perstrussmaker:L7,pharmacist:F7,pharmacist_assistant:V7,physician:j7,physiotherapist:B7,podologist:z7,practical_nurse:H7,prosthetist:U7,psychologist:G7,psychomotor_therapy_master:W7,readaptaion_bachelor:q7,social_worker:$7,specialized_educator:Y7,truss_maker:Z7},K7={};Z(K7,{ambulance_driver:()=>J7,ambulance_first_aid:()=>X7,ambulance_rescuer:()=>Q7,application:()=>eH,applied_psychology_bachelor:()=>tH,audician:()=>nH,audiologist:()=>iH,biologist_pharmacist:()=>aH,care_giver:()=>rH,certificateholder:()=>oH,citizen:()=>sH,clinical_orthopedic_pedagogue:()=>lH,clinical_psychologist:()=>cH,default:()=>bxe,dental_hygienist:()=>uH,dentist:()=>dH,deptalgology:()=>hH,deptanatomopathology:()=>pH,deptanesthesiology:()=>mH,deptbacteriology:()=>fH,deptcardiacsurgery:()=>gH,deptcardiology:()=>vH,deptchildandadolescentpsychiatry:()=>yH,deptdentistry:()=>bH,deptdermatology:()=>_H,deptdiabetology:()=>xH,deptdietetics:()=>wH,deptemergency:()=>EH,deptendocrinology:()=>SH,deptgastroenterology:()=>kH,deptgeneralpractice:()=>CH,deptgenetics:()=>IH,deptgeriatry:()=>DH,deptgynecology:()=>TH,depthandsurgery:()=>PH,depthematology:()=>OH,deptinfectiousdisease:()=>NH,deptintensivecare:()=>MH,deptkinesitherapy:()=>AH,deptlaboratory:()=>RH,deptmajorburns:()=>LH,deptmaxillofacialsurgery:()=>FH,deptmedicine:()=>VH,deptmolecularbiology:()=>jH,deptneonatalogy:()=>BH,deptnephrology:()=>zH,deptneurology:()=>HH,deptneurosurgery:()=>UH,deptnte:()=>GH,deptnuclear:()=>WH,deptnursing:()=>qH,deptnutritiondietetics:()=>$H,deptobstetrics:()=>YH,deptoccupationaltherapy:()=>ZH,deptoncology:()=>KH,deptophtalmology:()=>JH,deptorthopedy:()=>XH,deptpalliativecare:()=>QH,deptpediatricintensivecare:()=>e6,deptpediatricsurgery:()=>t6,deptpediatry:()=>n6,deptpharmacy:()=>i6,deptphysicalmedecine:()=>a6,deptphysiotherapy:()=>r6,deptplasticandreparatorysurgery:()=>o6,deptpneumology:()=>s6,deptpodiatry:()=>l6,deptpodology:()=>c6,deptpsychiatry:()=>u6,deptpsychogeriatry:()=>d6,deptpsychology:()=>h6,deptradiology:()=>p6,deptradiotherapy:()=>m6,deptrevalidation:()=>f6,deptrheumatology:()=>g6,deptsenology:()=>v6,deptsocialservice:()=>y6,deptspeechtherapy:()=>b6,deptsportsmedecine:()=>_6,deptstomatology:()=>x6,deptsurgery:()=>w6,deptthoracicsurgery:()=>E6,depttoxicology:()=>S6,depttropicalmedecine:()=>k6,depturology:()=>C6,deptvascularsurgery:()=>I6,deptvisceraldigestiveabdominalsurgery:()=>D6,diabete_equipment_supplier:()=>T6,dietician:()=>P6,doctor:()=>O6,family_science_bachelor:()=>N6,gerontology_master:()=>M6,groupofnurses:()=>A6,groupofphysiciansdifferentaddress:()=>R6,groupofphysicianssameaddress:()=>L6,guardpost:()=>F6,hub:()=>V6,imaging_technologist:()=>j6,implantprovider:()=>B6,lab_technologist:()=>z6,logopedist:()=>H6,midwife:()=>U6,nurse:()=>G6,occupational_therapist:()=>W6,optician:()=>q6,orghospital:()=>$6,orginsurance:()=>Y6,orglaboratory:()=>Z6,orgpharmacy:()=>K6,orgpharmacyinvoicingoffice:()=>J6,orgpolyclinic:()=>X6,orgpractice:()=>Q6,orgprevention:()=>eU,orgprimaryhealthcarecenter:()=>tU,orgpsychiatriccarehome:()=>nU,orgpublichealth:()=>iU,orgretirementhome:()=>aU,orgrevalidationcenter:()=>rU,orgshelteredliving:()=>oU,orthopedagogist_master:()=>sU,orthopedist:()=>lU,orthoptist:()=>cU,orthotist:()=>uU,patient:()=>dU,pediatric_nurse:()=>hU,persadministrative:()=>pU,persambulancefirstaid:()=>mU,persappliedpsychbachelor:()=>fU,persaudician:()=>gU,persaudiologist:()=>vU,persbandagistorthosiologist:()=>yU,persbiologist:()=>bU,perscaregiver:()=>_U,persclinicalorthopedagogist:()=>xU,persclinicalpsychologist:()=>wU,persdentist:()=>EU,persdietician:()=>SU,perseducator:()=>kU,persfamilysciencebachelor:()=>CU,persgerontologymaster:()=>IU,perslogopedist:()=>DU,persmidwife:()=>TU,persmobilityimprover:()=>PU,persnurse:()=>OU,persoccupationaltherapist:()=>NU,persoptician:()=>MU,persoptometrist:()=>AU,persoraldentalhygienist:()=>RU,persorthopedagogistmaster:()=>LU,persorthopedist:()=>FU,persorthoptist:()=>VU,persorthotist:()=>jU,persparamedical:()=>BU,perspatientdriver:()=>zU,perspharmacist:()=>HU,perspharmacistclinicalbiologist:()=>UU,perspharmacyassistant:()=>GU,persphysician:()=>WU,persphysiotherapist:()=>qU,perspodologist:()=>$U,perspracticalnurse:()=>YU,persprosthesiologist:()=>ZU,perspsychologist:()=>KU,perspsychomotortherapymaster:()=>JU,persreadaptationbachelor:()=>XU,persshoetechnologist:()=>QU,perssocialworker:()=>e8,perstechnician:()=>t8,perstrussmaker:()=>n8,pharmacist:()=>i8,pharmacist_assistant:()=>a8,physician:()=>r8,physiotherapist:()=>o8,podologist:()=>s8,practical_nurse:()=>l8,prosthetist:()=>c8,psychologist:()=>u8,psychomotor_therapy_master:()=>d8,readaptaion_bachelor:()=>h8,social_worker:()=>p8,specialized_educator:()=>m8,truss_maker:()=>f8});var J7="Ambulancebestuurder",X7="Ambulancier eerste hulp",Q7="Amublancier eerste hulp",eH="softwaretoepassing",tH="Bachelor toegepaste psychologie",nH="Audicien",iH="Audioloog",aH="Apotheker-bioloog",rH="Verzorgingspersoneel",oH="Houder van certificaat",sH="Burger",lH="Klinische orthopedagoog",cH="Klinische psycholoog",uH="Mondhygiënist",dH="Tandarts",hH="algologie",pH="anatomo-pathologie",mH="anesthesiologie",fH="bacteriologie",gH="hartchirurgie",vH="cardiologie",yH="kinder- en jeugdpsychiatrie",bH="tandheelkunde",_H="dermatologie",xH="diabetologie",wH="diëtetiek",EH="spoeddiensten",SH="endocrinologie/hormonenleer",kH="gastro-enterologie",CH="algemene geneeskunde",IH="genetica",DH="geriatrie",TH="gynaecologie",PH="handchirurgie",OH="hematologie",NH="infectieziekte",MH="intensieve zorgen",AH="kinesitherapie",RH="Laboratoriumdienst of -afdeling binnen een organisatie",LH="brandwondencentrum",FH="mond-, kaak- en aangezichtschirurgie",VH="interne geneeskunde",jH="moleculaire biologie",BH="neonatologie",zH="nefrologie",HH="neurologie",UH="neurologie",GH="oto-rhino-laryngologie",WH="nucleaire geneeskunde",qH="verpleegkunde",$H="diëtetiek",YH="verloskunde",ZH="ergotherapie",KH="oncologie",JH="oftalmologie",XH="orthopedie",QH="palliatieve zorg",e6="intensieve zorg voor kinderen",t6="kinderchirurgie",n6="pediatrie",i6="Apotheekdienst of -afdeling binnen een organisatie",a6="fysische geneeskunde",r6="fysiotherapie",o6="plastische en reconstructieve chirurgie",s6="pulmonologie",l6="podiatrie",c6="",u6="psychiatrie",d6="Psychogeriatrie",h6="psychologie",p6="radiologie",m6="radiotherapie",f6="revalidatie",g6="reumatologie",v6="senologie",y6="sociale dienst",b6="logopedie",_6="sportgeneeskunde",x6="stomatologie",w6="chirurgie",E6="thoraxchirurgie",S6="toxicologie",k6="tropische geneeskunde",C6="urologie",I6="vasculaire chirurgie",D6="digestieve/viscerale chirurgie/buikchirurgie",T6="Leverancier van materiaal voor diabetische zelfzorg ",P6="Diëtist",O6="Arts",N6="Bachelor gezinswetenschappen",M6="Master gerontologie",A6="Groepering van verplegers",R6="Groepering van artsen verschillend adres",L6="groepering van artsen zelfde adres",F6="wachtpost",V6="hub",j6="Technoloog medische beeldvorming",B6="Leverancier implantaten",z6="Laboratoriumtechnoloog",H6="Logopedist",U6="Vroedvrouw",G6="verpleegkundige",W6="Ergotherapeut",q6="Opticien",$6="ziekenhuis",Y6="verzekering",Z6="Onafhankelijk laboratorium",K6="Onafhankelijke apotheek",J6="Facturatie kantoor apotheek",X6="polikliniek",Q6="praktijk",eU="Preventiedienst",tU="medisch huis",nU="psychiatrisch verzorgingstehuis",iU="openbare gezondheidsdienst",aU="woonzorgcentrum",rU="revalidatiecentrum",oU="initiatief voor beschut wonen",sU="Master orthopedagogie",lU="Orthopedist",cU="Orthoptist-optometrist",uU="Orthesist",dU="Patiënt",hU="Kinderverzorgsters",pU="administratief medewerker",mU="ambulance eerste hulp",fU="Bachelor in de toegepaste psychologie",gU="audicien",vU="audioloog",yU="Bandagist orthosioloog (orthopedisch technoloog)",bU="medisch laboratoriumtechnoloog",_U="mantelzorger",xU="Klinisch orthopedagoog",wU="Klinisch psycholoog",EU="tandarts",SU="diëtist",kU="opvoeder",CU="Bachelor in de gezinswetenschappen",IU="Master in de gerontologie",DU="logopedist",TU="vroedvrouw",PU="mobiliteitsverbeteraar (orthopedisch technoloog)",OU="verpleegkundige",NU="ergotherapeut",MU="opticien",AU="optometrist",RU="Mondhygiënist",LU="Master in de orthopedagogie",FU="orthopedist",VU="orthoptist",jU="Orthopedisch technicus",BU="paramedisch personeel",zU="Ziekenvervoerder (niet urgent)",HU="apotheker",UU="apotheker-klinisch bioloog",GU="apothekersassistent",WU="arts",qU="kinesitherapeut",$U="podologist",YU="verzorgende",ZU="prothesemaker (orthopedisch technoloog)",KU="psycholoog",JU="Master in de psychomotorische therapie",XU="Bachelor in de readaptatiewetenschappen",QU="schoentechnicus (orthopedisch technoloog)",e8="maatschappelijk werker",t8="Technicus medische beeldvorming",n8="Bandagist",i8="Apotheker",a8="Farmaceutisch-technisch assistent",r8="Arts",o8="Fysiotherapeut",s8="Podoloog",l8="Zorgkundige",c8="Prothesist",u8="Psycholoog",d8="Master psychomotorische therapie",h8="Bachelor readaptatiewetenschappen",p8="Sociaal assistent",m8="Bachelor opvoedkunde",f8="Bandagist",bxe={ambulance_driver:J7,ambulance_first_aid:X7,ambulance_rescuer:Q7,application:eH,applied_psychology_bachelor:tH,audician:nH,audiologist:iH,biologist_pharmacist:aH,care_giver:rH,certificateholder:oH,citizen:sH,clinical_orthopedic_pedagogue:lH,clinical_psychologist:cH,dental_hygienist:uH,dentist:dH,deptalgology:hH,deptanatomopathology:pH,deptanesthesiology:mH,deptbacteriology:fH,deptcardiacsurgery:gH,deptcardiology:vH,deptchildandadolescentpsychiatry:yH,deptdentistry:bH,deptdermatology:_H,deptdiabetology:xH,deptdietetics:wH,deptemergency:EH,deptendocrinology:SH,deptgastroenterology:kH,deptgeneralpractice:CH,deptgenetics:IH,deptgeriatry:DH,deptgynecology:TH,depthandsurgery:PH,depthematology:OH,deptinfectiousdisease:NH,deptintensivecare:MH,deptkinesitherapy:AH,deptlaboratory:RH,deptmajorburns:LH,deptmaxillofacialsurgery:FH,deptmedicine:VH,deptmolecularbiology:jH,deptneonatalogy:BH,deptnephrology:zH,deptneurology:HH,deptneurosurgery:UH,deptnte:GH,deptnuclear:WH,deptnursing:qH,deptnutritiondietetics:$H,deptobstetrics:YH,deptoccupationaltherapy:ZH,deptoncology:KH,deptophtalmology:JH,deptorthopedy:XH,deptpalliativecare:QH,deptpediatricintensivecare:e6,deptpediatricsurgery:t6,deptpediatry:n6,deptpharmacy:i6,deptphysicalmedecine:a6,deptphysiotherapy:r6,deptplasticandreparatorysurgery:o6,deptpneumology:s6,deptpodiatry:l6,deptpodology:c6,deptpsychiatry:u6,deptpsychogeriatry:d6,deptpsychology:h6,deptradiology:p6,deptradiotherapy:m6,deptrevalidation:f6,deptrheumatology:g6,deptsenology:v6,deptsocialservice:y6,deptspeechtherapy:b6,deptsportsmedecine:_6,deptstomatology:x6,deptsurgery:w6,deptthoracicsurgery:E6,depttoxicology:S6,depttropicalmedecine:k6,depturology:C6,deptvascularsurgery:I6,deptvisceraldigestiveabdominalsurgery:D6,diabete_equipment_supplier:T6,dietician:P6,doctor:O6,family_science_bachelor:N6,gerontology_master:M6,groupofnurses:A6,groupofphysiciansdifferentaddress:R6,groupofphysicianssameaddress:L6,guardpost:F6,hub:V6,imaging_technologist:j6,implantprovider:B6,lab_technologist:z6,logopedist:H6,midwife:U6,nurse:G6,occupational_therapist:W6,optician:q6,orghospital:$6,orginsurance:Y6,orglaboratory:Z6,orgpharmacy:K6,orgpharmacyinvoicingoffice:J6,orgpolyclinic:X6,orgpractice:Q6,orgprevention:eU,orgprimaryhealthcarecenter:tU,orgpsychiatriccarehome:nU,orgpublichealth:iU,orgretirementhome:aU,orgrevalidationcenter:rU,orgshelteredliving:oU,orthopedagogist_master:sU,orthopedist:lU,orthoptist:cU,orthotist:uU,patient:dU,pediatric_nurse:hU,persadministrative:pU,persambulancefirstaid:mU,persappliedpsychbachelor:fU,persaudician:gU,persaudiologist:vU,persbandagistorthosiologist:yU,persbiologist:bU,perscaregiver:_U,persclinicalorthopedagogist:xU,persclinicalpsychologist:wU,persdentist:EU,persdietician:SU,perseducator:kU,persfamilysciencebachelor:CU,persgerontologymaster:IU,perslogopedist:DU,persmidwife:TU,persmobilityimprover:PU,persnurse:OU,persoccupationaltherapist:NU,persoptician:MU,persoptometrist:AU,persoraldentalhygienist:RU,persorthopedagogistmaster:LU,persorthopedist:FU,persorthoptist:VU,persorthotist:jU,persparamedical:BU,perspatientdriver:zU,perspharmacist:HU,perspharmacistclinicalbiologist:UU,perspharmacyassistant:GU,persphysician:WU,persphysiotherapist:qU,perspodologist:$U,perspracticalnurse:YU,persprosthesiologist:ZU,perspsychologist:KU,perspsychomotortherapymaster:JU,persreadaptationbachelor:XU,persshoetechnologist:QU,perssocialworker:e8,perstechnician:t8,perstrussmaker:n8,pharmacist:i8,pharmacist_assistant:a8,physician:r8,physiotherapist:o8,podologist:s8,practical_nurse:l8,prosthetist:c8,psychologist:u8,psychomotor_therapy_master:d8,readaptaion_bachelor:h8,social_worker:p8,specialized_educator:m8,truss_maker:f8},_xe={nl:K7,fr:T9,de:zL,en:lV},g8={};Z(g8,{"00001":()=>v8,"00002":()=>y8,"00003":()=>b8,"00004":()=>_8,"00005":()=>x8,"00006":()=>w8,"00007":()=>E8,"00008":()=>S8,"00009":()=>k8,"00010":()=>C8,"00011":()=>I8,"00012":()=>D8,"00013":()=>T8,"00014":()=>P8,"00015":()=>O8,"00016":()=>N8,"00017":()=>M8,"00018":()=>A8,"00019":()=>R8,"00020":()=>L8,"00021":()=>F8,"00022":()=>V8,"00023":()=>j8,"00024":()=>B8,"00025":()=>z8,"00026":()=>H8,"00027":()=>U8,"00028":()=>G8,"00029":()=>W8,"00030":()=>q8,"00031":()=>$8,"00032":()=>Y8,"00033":()=>Z8,"00034":()=>K8,"00035":()=>J8,"00036":()=>X8,"00037":()=>Q8,"00038":()=>eG,"00039":()=>tG,"00040":()=>nG,"00041":()=>iG,"00042":()=>aG,"00043":()=>rG,"00044":()=>oG,"00045":()=>sG,"00046":()=>lG,"00047":()=>cG,"00048":()=>uG,"00049":()=>dG,"00050":()=>hG,"00051":()=>pG,"00052":()=>mG,"00053":()=>fG,"00054":()=>gG,"00055":()=>vG,"00056":()=>yG,"00057":()=>bG,"00058":()=>_G,"00059":()=>xG,"00060":()=>wG,"00061":()=>EG,"00062":()=>SG,"00063":()=>kG,"00064":()=>CG,"00065":()=>IG,"00066":()=>DG,"00067":()=>TG,"00068":()=>PG,"00069":()=>OG,"00070":()=>NG,"00071":()=>MG,"00072":()=>AG,"00073":()=>RG,"both-ears":()=>LG,"both-eyes":()=>FG,"both-nostrils":()=>VG,"cutaneous-injection":()=>jG,default:()=>xxe,derm:()=>BG,"dermal-injection":()=>zG,"ear-left":()=>HG,"ear-right":()=>UG,"eye-left":()=>GG,"eye-right":()=>WG,hyperdermoclyse:()=>qG,icut:()=>$G,ider:()=>YG,larter:()=>ZG,"nose-left":()=>KG,"nose-right":()=>JG,oft:()=>XG,transdermal:()=>QG,"vitreal-injection":()=>eW});var v8="ins Ohr",y8="auf die Haut",b8="derm./rect",_8="derm./vag.",x8="Injektion außerhalb der Hirnhaut",w8="e.dur./i.thec./lokal",E8="p.dur./lokal",S8="in die Luftröhre",k8="in den Gebärmutterhals einführen",C8="Injektion in eine Arterie",I8="Injektion in den Penis",D8="Injektion in die Haut",T8="Injektion in einen Muskel",P8="i.m./i.thec./p.dur./s.c.",O8="i.m./i.v.",N8="i.m./i.v./inf.",M8="i.m./i.v./inf./e.dur./s.c.",A8="i.m./i.v./inf./i.arter./i.thec.",R8="i.m./i.v./perf./i.artér./lokal/s.c.",L8="i.m./i.v./inf./i.thec.",F8="i.m./i.v./inf./rect.",V8="i.m./i.v./inf./s.c.",j8="i.m./i.v./inhal.",B8="i.m./i.v./lokal",z8="i.m./i.v./or.",H8="i.m./i.v./rect",U8="i.m./i.v./s.c.",G8="i.m./inf.",W8="i.m./perf./lokal",q8="i.m./lokal",$8="i.m./lokal/rect.",Y8="i.m./s.c.",Z8="Injektion ins Rückenmark",K8="in die Gebärmutter einführen",J8="Injektion in eine Vene",X8="i.v./p.dur./lokal",Q8="i.v./i.arter./i.ves.",eG="i.v./inf.",tG="i.v./perf./p.dur.",nG="i.v./inf./i.arter.",iG="i.v./inf./i.thec./s.c.",aG="i.v./inf./inhal.",rG="i.v./inf./s.c.",oG="i.v./s.c.",sG="in die Harnblase",lG="Infusion",cG="perf./i.ves.",uG="perf./s.c.",dG="Inhalation",hG="inhal./nas./lokal",pG="Injektion",mG="auf die Lippen",fG="lokal",gG="auf die Schleimhaut",vG="in die Nase",yG="in die Augen",bG="opht./auric.",_G="opht./auric./nas.",xG="opht./auric./nas./lokal",wG="einnehmen",EG="or./orofar./derm.",SG="or./rect.",kG="or./s.l.",CG="durch den Mund",IG="orofar./derm.",DG="durch Mund und Nase",TG="rektal",PG="Spritze unter die Haut",OG="s.c./i.derm.",NG="unter die Zunge",MG="auf die Zähne",AG="in den Harnleiter",RG="vaginal",LG="beide Ohren",FG="beide Augen",VG="beide Nasenlöcher",jG="kutane Injektion",BG="dermatologisch",zG="dermale Injektion",HG="linkes Ohr",UG="rechtes Ohr",GG="linkes Auge",WG="rechtes Auge",qG="Hyperdermoklyse",$G="intrakutan",YG="intradermal",ZG="intraarteriell",KG="linke Nase",JG="rechte Nase",XG="ophthalmologisch",QG="transdermal",eW="vitreale Injektion",xxe={"00001":v8,"00002":y8,"00003":b8,"00004":_8,"00005":x8,"00006":w8,"00007":E8,"00008":S8,"00009":k8,"00010":C8,"00011":I8,"00012":D8,"00013":T8,"00014":P8,"00015":O8,"00016":N8,"00017":M8,"00018":A8,"00019":R8,"00020":L8,"00021":F8,"00022":V8,"00023":j8,"00024":B8,"00025":z8,"00026":H8,"00027":U8,"00028":G8,"00029":W8,"00030":q8,"00031":$8,"00032":Y8,"00033":Z8,"00034":K8,"00035":J8,"00036":X8,"00037":Q8,"00038":eG,"00039":tG,"00040":nG,"00041":iG,"00042":aG,"00043":rG,"00044":oG,"00045":sG,"00046":lG,"00047":cG,"00048":uG,"00049":dG,"00050":hG,"00051":pG,"00052":mG,"00053":fG,"00054":gG,"00055":vG,"00056":yG,"00057":bG,"00058":_G,"00059":xG,"00060":wG,"00061":EG,"00062":SG,"00063":kG,"00064":CG,"00065":IG,"00066":DG,"00067":TG,"00068":PG,"00069":OG,"00070":NG,"00071":MG,"00072":AG,"00073":RG,"both-ears":LG,"both-eyes":FG,"both-nostrils":VG,"cutaneous-injection":jG,derm:BG,"dermal-injection":zG,"ear-left":HG,"ear-right":UG,"eye-left":GG,"eye-right":WG,hyperdermoclyse:qG,icut:$G,ider:YG,larter:ZG,"nose-left":KG,"nose-right":JG,oft:XG,transdermal:QG,"vitreal-injection":eW},tW={};Z(tW,{"00001":()=>nW,"00002":()=>iW,"00003":()=>aW,"00004":()=>rW,"00005":()=>oW,"00006":()=>sW,"00007":()=>lW,"00008":()=>cW,"00009":()=>uW,"00010":()=>dW,"00011":()=>hW,"00012":()=>pW,"00013":()=>mW,"00014":()=>fW,"00015":()=>gW,"00016":()=>vW,"00017":()=>yW,"00018":()=>bW,"00019":()=>_W,"00020":()=>xW,"00021":()=>wW,"00022":()=>EW,"00023":()=>SW,"00024":()=>kW,"00025":()=>CW,"00026":()=>IW,"00027":()=>DW,"00028":()=>TW,"00029":()=>PW,"00030":()=>OW,"00031":()=>NW,"00032":()=>MW,"00033":()=>AW,"00034":()=>RW,"00035":()=>LW,"00036":()=>FW,"00037":()=>VW,"00038":()=>jW,"00039":()=>BW,"00040":()=>zW,"00041":()=>HW,"00042":()=>UW,"00043":()=>GW,"00044":()=>WW,"00045":()=>qW,"00046":()=>$W,"00047":()=>YW,"00048":()=>ZW,"00049":()=>KW,"00050":()=>JW,"00051":()=>XW,"00052":()=>QW,"00053":()=>eq,"00054":()=>tq,"00055":()=>nq,"00056":()=>iq,"00057":()=>aq,"00058":()=>rq,"00059":()=>oq,"00060":()=>sq,"00061":()=>lq,"00062":()=>cq,"00063":()=>uq,"00064":()=>dq,"00065":()=>hq,"00066":()=>pq,"00067":()=>mq,"00068":()=>fq,"00069":()=>gq,"00070":()=>vq,"00071":()=>yq,"00072":()=>bq,"00073":()=>_q,"both-ears":()=>xq,"both-eyes":()=>wq,"both-nostrils":()=>Eq,"cutaneous-injection":()=>Sq,default:()=>wxe,derm:()=>kq,"dermal-injection":()=>Cq,"ear-left":()=>Iq,"ear-right":()=>Dq,"eye-left":()=>Tq,"eye-right":()=>Pq,hyperdermoclyse:()=>Oq,icut:()=>Nq,ider:()=>Mq,larter:()=>Aq,"nose-left":()=>Rq,"nose-right":()=>Lq,oft:()=>Fq,transdermal:()=>Vq,"vitreal-injection":()=>jq});var nW="auric.",iW="derm.",aW="derm./rect",rW="derm./vag.",oW="e.dur.",sW="e.dur./i.thec./local",lW="e.dur./local",cW="e.trach.",uW="endocerv.",dW="i.arter.",hW="i.cavern.",pW="i.derm.",mW="i.m.",fW="i.m./i.thec./e.dur./s.c.",gW="i.m./i.v.",vW="i.m./i.v./inf.",yW="i.m./i.v./inf./e.dur./s.c.",bW="i.m./i.v./inf./i.arter./i.thec.",_W="i.m./i.v./perf./i.artér./local/s.c.",xW="i.m./i.v./inf./i.thec.",wW="i.m./i.v./inf./rect.",EW="i.m./i.v./inf./s.c.",SW="i.m./i.v./inhal.",kW="i.m./i.v./local",CW="i.m./i.v./or.",IW="i.m./i.v./rect",DW="i.m./i.v./s.c.",TW="i.m./inf.",PW="i.m./perf./local",OW="i.m./local",NW="i.m./local/rect.",MW="i.m./s.c.",AW="i.thec.",RW="i.ut.",LW="i.v.",FW="i.v./p.dur./local",VW="i.v./i.arter./i.ves.",jW="i.v./inf.",BW="i.v./perf./p.dur.",zW="i.v./perf./i.artér.",HW="i.v./perf./i.théc./s.c.",UW="i.v./perf./inhal.",GW="i.v./perf./s.c.",WW="i.v./s.c.",qW="i.ves.",$W="perf.",YW="perf./i.ves.",ZW="perf./s.c.",KW="inhal.",JW="inhal./nas./local",XW="inj.",QW="lip",eq="local",tq="muc.",nq="nas.",iq="opht.",aq="opht./auric.",rq="opht./auric./nas.",oq="opht./auric./nas./local",sq="or.",lq="or./bucco-phar./derm.",cq="or./rect.",uq="or./s.l.",dq="bucco-phar.",hq="bucco-phar./derm.",pq="bucco-phar./nas.",mq="rect.",fq="s.c.",gq="s.c./i.derm.",vq="s.l.",yq="teeth",bq="urethr.",_q="vag.",xq="both ears",wq="both eyes",Eq="both nostrils",Sq="cutaneous injection",kq="dermatologically",Cq="dermal injection",Iq="ear left",Dq="ear right",Tq="eye left",Pq="eye right",Oq="hyperdermoclyse",Nq="intracutaneous",Mq="intradermally",Aq="intra-arterial",Rq="nose left",Lq="nose right",Fq="ophtalmological",Vq="transdermal",jq="vitreal injection",wxe={"00001":nW,"00002":iW,"00003":aW,"00004":rW,"00005":oW,"00006":sW,"00007":lW,"00008":cW,"00009":uW,"00010":dW,"00011":hW,"00012":pW,"00013":mW,"00014":fW,"00015":gW,"00016":vW,"00017":yW,"00018":bW,"00019":_W,"00020":xW,"00021":wW,"00022":EW,"00023":SW,"00024":kW,"00025":CW,"00026":IW,"00027":DW,"00028":TW,"00029":PW,"00030":OW,"00031":NW,"00032":MW,"00033":AW,"00034":RW,"00035":LW,"00036":FW,"00037":VW,"00038":jW,"00039":BW,"00040":zW,"00041":HW,"00042":UW,"00043":GW,"00044":WW,"00045":qW,"00046":$W,"00047":YW,"00048":ZW,"00049":KW,"00050":JW,"00051":XW,"00052":QW,"00053":eq,"00054":tq,"00055":nq,"00056":iq,"00057":aq,"00058":rq,"00059":oq,"00060":sq,"00061":lq,"00062":cq,"00063":uq,"00064":dq,"00065":hq,"00066":pq,"00067":mq,"00068":fq,"00069":gq,"00070":vq,"00071":yq,"00072":bq,"00073":_q,"both-ears":xq,"both-eyes":wq,"both-nostrils":Eq,"cutaneous-injection":Sq,derm:kq,"dermal-injection":Cq,"ear-left":Iq,"ear-right":Dq,"eye-left":Tq,"eye-right":Pq,hyperdermoclyse:Oq,icut:Nq,ider:Mq,larter:Aq,"nose-left":Rq,"nose-right":Lq,oft:Fq,transdermal:Vq,"vitreal-injection":jq},Bq={};Z(Bq,{"00001":()=>zq,"00002":()=>Hq,"00003":()=>Uq,"00004":()=>Gq,"00005":()=>Wq,"00006":()=>qq,"00007":()=>$q,"00008":()=>Yq,"00009":()=>Zq,"00010":()=>Kq,"00011":()=>Jq,"00012":()=>Xq,"00013":()=>Qq,"00014":()=>e$,"00015":()=>t$,"00016":()=>n$,"00017":()=>i$,"00018":()=>a$,"00019":()=>r$,"00020":()=>o$,"00021":()=>s$,"00022":()=>l$,"00023":()=>c$,"00024":()=>u$,"00025":()=>d$,"00026":()=>h$,"00027":()=>p$,"00028":()=>m$,"00029":()=>f$,"00030":()=>g$,"00031":()=>v$,"00032":()=>y$,"00033":()=>b$,"00034":()=>_$,"00035":()=>x$,"00036":()=>w$,"00037":()=>E$,"00038":()=>S$,"00039":()=>k$,"00040":()=>C$,"00041":()=>I$,"00042":()=>D$,"00043":()=>T$,"00044":()=>P$,"00045":()=>O$,"00046":()=>N$,"00047":()=>M$,"00048":()=>A$,"00049":()=>R$,"00050":()=>L$,"00051":()=>F$,"00052":()=>V$,"00053":()=>j$,"00054":()=>B$,"00055":()=>z$,"00056":()=>H$,"00057":()=>U$,"00058":()=>G$,"00059":()=>W$,"00060":()=>q$,"00061":()=>$$,"00062":()=>Y$,"00063":()=>Z$,"00064":()=>K$,"00065":()=>J$,"00066":()=>X$,"00067":()=>Q$,"00068":()=>eY,"00069":()=>tY,"00070":()=>nY,"00071":()=>iY,"00072":()=>aY,"00073":()=>rY,"both-ears":()=>oY,"both-eyes":()=>sY,"both-nostrils":()=>lY,"cutaneous-injection":()=>cY,default:()=>Exe,derm:()=>uY,"dermal-injection":()=>dY,"ear-left":()=>hY,"ear-right":()=>pY,"eye-left":()=>mY,"eye-right":()=>fY,hyperdermoclyse:()=>gY,icut:()=>vY,ider:()=>yY,larter:()=>bY,"nose-left":()=>_Y,"nose-right":()=>xY,oft:()=>wY,transdermal:()=>EY,"vitreal-injection":()=>SY});var zq="dans l’oreille",Hq="sur la peau",Uq="derm./rect",Gq="derm./vag.",Wq="injection en dehors de la méninge",qq="e.dur./i.théc./local",$q="e.dur./local",Yq="dans la trachée",Zq="introduire dans le col de l’utérus",Kq="injection dans l’artère",Jq="injection dans le pénis",Xq="injection dans la peau",Qq="injection dans un muscle",e$="i.m./i.théc./e.dur./s.c.",t$="i.m./i.v.",n$="i.m./i.v./perf.",i$="i.m./i.v./perf./e.dur./s.c.",a$="i.m./i.v./inf./i.arter./i.thec.",r$="i.m./i.v./perf./i.artér./local/s.c.",o$="i.m./i.v./inf./i.thec.",s$="i.m./i.v./perf./rect.",l$="i.m./i.v./perf./s.c.",c$="i.m./i.v./inhal.",u$="i.m./i.v./local",d$="i.m./i.v./or.",h$="i.m./i.v./rect",p$="i.m./i.v./s.c.",m$="i.m./perf.",f$="i.m./perf./local",g$="i.m./local",v$="i.m./local/rect.",y$="i.m./s.c.",b$="injection dans la moelle épinière",_$="introduire dans l’utérus",x$="injection dans une veine",w$="i.v./p.dur./local",E$="i.v./i.arter./i.ves.",S$="i.v./perf.",k$="i.v./perf./p.dur.",C$="i.v./perf./i.artér.",I$="i.v./perf./i.théc./s.c.",D$="i.v./perf./inhal.",T$="i.v./perf./s.c.",P$="i.v./s.c.",O$="dans la vessie",N$="perfusion",M$="perf./i.vés.",A$="perf./s.c.",R$="inhalation",L$="inhal./nas./local",F$="injection",V$="lèvre",j$="local",B$="sur la muqueuse",z$="dans le nez",H$="dans les yeux",U$="opht./auric.",G$="opht./auric./nas.",W$="opht./auric./nas./local",q$="prendre/avaler",$$="or./bucco-phar./derm.",Y$="or./rect.",Z$="or./s.l.",K$="par la bouche",J$="bucco-phar./derm.",X$="par la bouche et dans le nez",Q$="par voie rectale",eY="injection sous-cutanée",tY="s.c./i.derm.",nY="sous la langue",iY="sur les dents",aY="dans l’uretère",rY="par voie vaginale",oY="les deux oreilles",sY="les deux yeux",lY="les deux narines",cY="injection cutanée",uY="dermatologique",dY="injection dermique",hY="oreille gauche",pY="oreille droite",mY="oeil gauche",fY="oeil droite",gY="hyperdermoclyse",vY="intracutané",yY="intradermique",bY="intra-artérielle",_Y="nez gauche",xY="nez droite",wY="ophtalmologique",EY="transdermique",SY="injection vitrale",Exe={"00001":zq,"00002":Hq,"00003":Uq,"00004":Gq,"00005":Wq,"00006":qq,"00007":$q,"00008":Yq,"00009":Zq,"00010":Kq,"00011":Jq,"00012":Xq,"00013":Qq,"00014":e$,"00015":t$,"00016":n$,"00017":i$,"00018":a$,"00019":r$,"00020":o$,"00021":s$,"00022":l$,"00023":c$,"00024":u$,"00025":d$,"00026":h$,"00027":p$,"00028":m$,"00029":f$,"00030":g$,"00031":v$,"00032":y$,"00033":b$,"00034":_$,"00035":x$,"00036":w$,"00037":E$,"00038":S$,"00039":k$,"00040":C$,"00041":I$,"00042":D$,"00043":T$,"00044":P$,"00045":O$,"00046":N$,"00047":M$,"00048":A$,"00049":R$,"00050":L$,"00051":F$,"00052":V$,"00053":j$,"00054":B$,"00055":z$,"00056":H$,"00057":U$,"00058":G$,"00059":W$,"00060":q$,"00061":$$,"00062":Y$,"00063":Z$,"00064":K$,"00065":J$,"00066":X$,"00067":Q$,"00068":eY,"00069":tY,"00070":nY,"00071":iY,"00072":aY,"00073":rY,"both-ears":oY,"both-eyes":sY,"both-nostrils":lY,"cutaneous-injection":cY,derm:uY,"dermal-injection":dY,"ear-left":hY,"ear-right":pY,"eye-left":mY,"eye-right":fY,hyperdermoclyse:gY,icut:vY,ider:yY,larter:bY,"nose-left":_Y,"nose-right":xY,oft:wY,transdermal:EY,"vitreal-injection":SY},kY={};Z(kY,{"00001":()=>CY,"00002":()=>IY,"00003":()=>xZ,"00004":()=>wZ,"00005":()=>DY,"00006":()=>EZ,"00007":()=>SZ,"00008":()=>TY,"00009":()=>PY,"00010":()=>OY,"00011":()=>NY,"00012":()=>MY,"00013":()=>AY,"00014":()=>kZ,"00015":()=>CZ,"00016":()=>IZ,"00017":()=>DZ,"00018":()=>TZ,"00019":()=>PZ,"00020":()=>OZ,"00021":()=>NZ,"00022":()=>MZ,"00023":()=>AZ,"00024":()=>RZ,"00025":()=>LZ,"00026":()=>FZ,"00027":()=>VZ,"00028":()=>jZ,"00029":()=>BZ,"00030":()=>zZ,"00031":()=>HZ,"00032":()=>UZ,"00033":()=>RY,"00034":()=>LY,"00035":()=>FY,"00036":()=>GZ,"00037":()=>WZ,"00038":()=>qZ,"00039":()=>$Z,"00040":()=>YZ,"00041":()=>ZZ,"00042":()=>KZ,"00043":()=>JZ,"00044":()=>XZ,"00045":()=>VY,"00046":()=>jY,"00047":()=>QZ,"00048":()=>eK,"00049":()=>BY,"00050":()=>tK,"00051":()=>zY,"00052":()=>HY,"00053":()=>UY,"00054":()=>GY,"00055":()=>WY,"00056":()=>qY,"00057":()=>nK,"00058":()=>iK,"00059":()=>aK,"00060":()=>$Y,"00061":()=>rK,"00062":()=>oK,"00063":()=>sK,"00064":()=>YY,"00065":()=>lK,"00066":()=>ZY,"00067":()=>KY,"00068":()=>JY,"00069":()=>cK,"00070":()=>XY,"00071":()=>QY,"00072":()=>eZ,"00073":()=>tZ,"both-ears":()=>vZ,"both-eyes":()=>mZ,"both-nostrils":()=>dZ,"cutaneous-injection":()=>sZ,default:()=>Sxe,derm:()=>nZ,"dermal-injection":()=>lZ,"ear-left":()=>fZ,"ear-right":()=>gZ,"eye-left":()=>hZ,"eye-right":()=>pZ,hyperdermoclyse:()=>_Z,icut:()=>aZ,ider:()=>rZ,larter:()=>iZ,"nose-left":()=>cZ,"nose-right":()=>uZ,oft:()=>oZ,transdermal:()=>bZ,"vitreal-injection":()=>yZ});var CY="in het oor",IY="op de huid",DY="inspuiting buiten het hersenvlies",TY="in de luchtpijp",PY="inbrengen in de baarmoederhals",OY="inspuiting in een slagader",NY="inspuiting in de penis",MY="inspuiting in de huid",AY="inspuiting in een spier",RY="inspuiting in het ruggenmerg",LY="inbrengen in de baarmoeder",FY="inspuiting in een ader",VY="in de urineblaas",jY="infuus",BY="inhalatie",zY="inspuiting",HY="op de lippen",UY="lokaal",GY="op het slijmvlies",WY="in de neus",qY="in de ogen",$Y="innemen",YY="in de mond",ZY="in de mond en in de neus",KY="anaal opsteken",JY="onderhuidse inspuiting",XY="onder de tong",QY="op de tanden",eZ="in de urineleider",tZ="vaginaal",nZ="dermatologisch",iZ="intra-arterieel",aZ="intracutaan",rZ="intradermaal",oZ="oftalmologisch",sZ="cutane injectie",lZ="dermale injectie",cZ="neus links",uZ="neus rechts",dZ="beide neusgaten",hZ="oog links",pZ="oog rechts",mZ="beide ogen",fZ="oor links",gZ="oor rechts",vZ="beide oren",yZ="vitreale injectie",bZ="transdermaal",_Z="hyperdermoclyse",xZ="derm./rect",wZ="derm./vag.",EZ="e.dur./i.thec./lokaal",SZ="e.dur./lokaal",kZ="i.m./i.thec./p.dur./s.c.",CZ="i.m./i.v.",IZ="i.m./i.v./inf.",DZ="i.m./i.v./inf./e.dur./s.c.",TZ="i.m./i.v./inf./i.arter./i.thec.",PZ="i.m./i.v./perf./i.artér./lokaal/s.c.",OZ="i.m./i.v./inf./i.thec.",NZ="i.m./i.v./inf./rect.",MZ="i.m./i.v./inf./s.c.",AZ="i.m./i.v./inhal.",RZ="i.m./i.v./lokaal",LZ="i.m./i.v./or.",FZ="i.m./i.v./rect",VZ="i.m./i.v./s.c.",jZ="i.m./inf.",BZ="i.m./perf./lokaal",zZ="i.m./lokaal",HZ="i.m./lokaal/rect.",UZ="i.m./s.c.",GZ="i.v./p.dur./lokaal",WZ="i.v./i.arter./i.ves.",qZ="i.v./inf.",$Z="i.v./perf./p.dur.",YZ="i.v./inf./i.arter.",ZZ="i.v./inf./i.thec./s.c.",KZ="i.v./inf./inhal.",JZ="i.v./inf./s.c.",XZ="i.v./s.c.",QZ="perf./i.ves.",eK="perf./s.c.",tK="inhal./nas./lokaal",nK="oft./auric.",iK="oft./auric./nas.",aK="oft./auric./nas./lokaal",rK="or./orofar./derm.",oK="or./rect.",sK="or./s.l.",lK="orofar./derm.",cK="s.c./i.derm.",Sxe={"00001":CY,"00002":IY,"00005":DY,"00008":TY,"00009":PY,"00010":OY,"00011":NY,"00012":MY,"00013":AY,"00033":RY,"00034":LY,"00035":FY,"00045":VY,"00046":jY,"00049":BY,"00051":zY,"00052":HY,"00053":UY,"00054":GY,"00055":WY,"00056":qY,"00060":$Y,"00064":YY,"00066":ZY,"00067":KY,"00068":JY,"00070":XY,"00071":QY,"00072":eZ,"00073":tZ,derm:nZ,larter:iZ,icut:aZ,ider:rZ,oft:oZ,"cutaneous-injection":sZ,"dermal-injection":lZ,"nose-left":cZ,"nose-right":uZ,"both-nostrils":dZ,"eye-left":hZ,"eye-right":pZ,"both-eyes":mZ,"ear-left":fZ,"ear-right":gZ,"both-ears":vZ,"vitreal-injection":yZ,transdermal:bZ,hyperdermoclyse:_Z,"00003":xZ,"00004":wZ,"00006":EZ,"00007":SZ,"00014":kZ,"00015":CZ,"00016":IZ,"00017":DZ,"00018":TZ,"00019":PZ,"00020":OZ,"00021":NZ,"00022":MZ,"00023":AZ,"00024":RZ,"00025":LZ,"00026":FZ,"00027":VZ,"00028":jZ,"00029":BZ,"00030":zZ,"00031":HZ,"00032":UZ,"00036":GZ,"00037":WZ,"00038":qZ,"00039":$Z,"00040":YZ,"00041":ZZ,"00042":KZ,"00043":JZ,"00044":XZ,"00047":QZ,"00048":eK,"00050":tK,"00057":nK,"00058":iK,"00059":aK,"00061":rK,"00062":oK,"00063":sK,"00065":lK,"00069":cK},kxe={nl:kY,fr:Bq,de:g8,en:tW},uK={};Z(uK,{default:()=>Cxe,rsb:()=>pK,rsw:()=>hK,vitalink:()=>dK});var dK="Vitalink",hK="Réseau Santé Wallon",pK="Brüsseler Gesundheitsnetzwerk",Cxe={vitalink:dK,rsw:hK,rsb:pK},mK={};Z(mK,{default:()=>Ixe,rsb:()=>vK,rsw:()=>gK,vitalink:()=>fK});var fK="Vitalink",gK="Réseau Santé Wallon",vK="Brussels Health Network",Ixe={vitalink:fK,rsw:gK,rsb:vK},yK={};Z(yK,{default:()=>Dxe,rsb:()=>xK,rsw:()=>_K,vitalink:()=>bK});var bK="Vitalink",_K="Réseau Santé Wallon",xK="Réseau Santé Bruxellois",Dxe={vitalink:bK,rsw:_K,rsb:xK},wK={};Z(wK,{default:()=>Txe,rsb:()=>kK,rsw:()=>SK,vitalink:()=>EK});var EK="Vitalink",SK="Réseau Santé Wallon",kK="Brusselse Gezondheidsnetwerk",Txe={vitalink:EK,rsw:SK,rsb:kK},Pxe={nl:wK,fr:yK,de:uK,en:mK},CK={};Z(CK,{alphabetical:()=>LK,author:()=>TK,date:()=>PK,default:()=>Oxe,expiration:()=>RK,medicationName:()=>IK,role:()=>OK,sort:()=>AK,"sorting-ascendant":()=>NK,"sorting-descendent":()=>MK,validityDate:()=>DK});var IK="Arzneimittel",DK="Ablaufdatum",TK="Verfasser",PK="Datum",OK="Benutzerrolle",NK="Aufsteigend sortieren",MK="Absteigend sortieren",AK="Sortieren",RK={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},LK={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},Oxe={medicationName:IK,validityDate:DK,author:TK,date:PK,role:OK,"sorting-ascendant":NK,"sorting-descendent":MK,sort:AK,expiration:RK,alphabetical:LK},FK={};Z(FK,{alphabetical:()=>$K,author:()=>HK,date:()=>UK,default:()=>Nxe,expiration:()=>qK,medicationName:()=>VK,role:()=>GK,sort:()=>WK,"sorting-ascendant":()=>BK,"sorting-descendent":()=>zK,validityDate:()=>jK});var VK="Drug",jK="Validity",BK="Sort by ascending order",zK="Sort by descending order",HK="Author",UK="Date",GK="Role",WK="Sort by",qK={asc:"expires first",desc:"expires last"},$K={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},Nxe={medicationName:VK,validityDate:jK,"sorting-ascendant":BK,"sorting-descendent":zK,author:HK,date:UK,role:GK,sort:WK,expiration:qK,alphabetical:$K},YK={};Z(YK,{alphabetical:()=>aJ,author:()=>JK,date:()=>XK,default:()=>Mxe,expiration:()=>iJ,medicationName:()=>ZK,role:()=>QK,sort:()=>nJ,"sorting-ascendant":()=>eJ,"sorting-descendent":()=>tJ,validityDate:()=>KK});var ZK="Médicament",KK="Validité",JK="Auteur",XK="Date",QK="Qualité",eJ="Trier par ordre croissant",tJ="Trier par ordre décroissant",nJ="Trier",iJ={asc:"expire en premier",desc:"expire en dernier"},aJ={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},Mxe={medicationName:ZK,validityDate:KK,author:JK,date:XK,role:QK,"sorting-ascendant":eJ,"sorting-descendent":tJ,sort:nJ,expiration:iJ,alphabetical:aJ},rJ={};Z(rJ,{alphabetical:()=>fJ,author:()=>lJ,date:()=>cJ,default:()=>Axe,expiration:()=>mJ,medicationName:()=>oJ,role:()=>uJ,sort:()=>pJ,"sorting-ascendant":()=>dJ,"sorting-descendent":()=>hJ,validityDate:()=>sJ});var oJ="Geneesmiddel",sJ="Geldigheid",lJ="Auteur",cJ="Datum",uJ="Rol",dJ="Oplopend sorteren",hJ="Aflopend sorteren",pJ="Sorteren",mJ={asc:"vervalt eerst",desc:"vervalt laatst"},fJ={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},Axe={medicationName:oJ,validityDate:sJ,author:lJ,date:cJ,role:uJ,"sorting-ascendant":dJ,"sorting-descendent":hJ,sort:pJ,expiration:mJ,alphabetical:fJ},Rxe={nl:rJ,fr:YK,de:CK,en:FK},gJ={};Z(gJ,{acute:()=>vJ,chronic:()=>yJ,default:()=>Lxe,ifnecessary:()=>bJ,oneshot:()=>_J,reactivation:()=>xJ,remission:()=>wJ,subacute:()=>EJ});var vJ="akut",yJ="chronisch",bJ="falls erforderlich",_J="einmalig",xJ="Reaktivierung",wJ="Remission",EJ="subakut",Lxe={acute:vJ,chronic:yJ,ifnecessary:bJ,oneshot:_J,reactivation:xJ,remission:wJ,subacute:EJ},SJ={};Z(SJ,{acute:()=>kJ,chronic:()=>CJ,default:()=>Fxe,ifnecessary:()=>IJ,oneshot:()=>DJ,reactivation:()=>TJ,remission:()=>PJ,subacute:()=>OJ});var kJ="acute",CJ="chronic",IJ="if necessary",DJ="one shot",TJ="reactivation",PJ="remission",OJ="subacute",Fxe={acute:kJ,chronic:CJ,ifnecessary:IJ,oneshot:DJ,reactivation:TJ,remission:PJ,subacute:OJ},NJ={};Z(NJ,{acute:()=>MJ,chronic:()=>AJ,default:()=>Vxe,ifnecessary:()=>RJ,oneshot:()=>LJ,reactivation:()=>FJ,remission:()=>VJ,subacute:()=>jJ});var MJ="aigu",AJ="chronique",RJ="si nécessaire",LJ="une seule fois",FJ="réactivation",VJ="rémission",jJ="suraigu",Vxe={acute:MJ,chronic:AJ,ifnecessary:RJ,oneshot:LJ,reactivation:FJ,remission:VJ,subacute:jJ},BJ={};Z(BJ,{acute:()=>zJ,chronic:()=>HJ,default:()=>jxe,ifnecessary:()=>UJ,oneshot:()=>GJ,reactivation:()=>WJ,remission:()=>qJ,subacute:()=>$J});var zJ="tijdelijke medicatie",HJ="chronische medicatie",UJ="indien nodig",GJ="eenmalig",WJ="reactivatie",qJ="remissie",$J="subacuut",jxe={acute:zJ,chronic:HJ,ifnecessary:UJ,oneshot:GJ,reactivation:WJ,remission:qJ,subacute:$J},Bxe={nl:BJ,fr:NJ,de:gJ,en:SJ},YJ={};Z(YJ,{author:()=>eX,default:()=>zxe,profession:()=>tX,source:()=>QJ,title:()=>ZJ,updated:()=>JJ,updatedBy:()=>XJ,version:()=>KJ});var ZJ="Versionsdetails",KJ="Version",JJ="Aktualisiert am",XJ="Von",QJ="Ursprung",eX="Verfasser",tX="Beruf",zxe={title:ZJ,version:KJ,updated:JJ,updatedBy:XJ,source:QJ,author:eX,profession:tX},nX={};Z(nX,{author:()=>lX,default:()=>Hxe,profession:()=>cX,source:()=>sX,title:()=>iX,updated:()=>rX,updatedBy:()=>oX,version:()=>aX});var iX="Version details",aX="Version",rX="Updated on",oX="By",sX="Source",lX="Author",cX="Appeal",Hxe={title:iX,version:aX,updated:rX,updatedBy:oX,source:sX,author:lX,profession:cX},uX={};Z(uX,{author:()=>gX,default:()=>Uxe,profession:()=>vX,source:()=>fX,title:()=>dX,updated:()=>pX,updatedBy:()=>mX,version:()=>hX});var dX="Détails de la version",hX="Version",pX="Mis à jour le",mX="Par",fX="Source",gX="Auteur",vX="Profession",Uxe={title:dX,version:hX,updated:pX,updatedBy:mX,source:fX,author:gX,profession:vX},yX={};Z(yX,{author:()=>SX,default:()=>Gxe,profession:()=>kX,source:()=>EX,title:()=>bX,updated:()=>xX,updatedBy:()=>wX,version:()=>_X});var bX="Versie details",_X="Versie",xX="Bijgewerkt op",wX="Door",EX="Bron",SX="Auteur",kX="Beroep",Gxe={title:bX,version:_X,updated:xX,updatedBy:wX,source:EX,author:SX,profession:kX},Wxe={nl:yX,fr:uX,de:YJ,en:nX},CX={};Z(CX,{day:()=>IX,default:()=>qxe,moreInformations:()=>LX,nextday:()=>AX,nextweek:()=>NX,openCalendar:()=>RX,previousday:()=>MX,previousweek:()=>OX,returnToCurrentWeek:()=>PX,returnToToday:()=>TX,week:()=>DX});var IX="Tagesansicht",DX="Wochenansicht",TX="Zurück zu heute",PX="Diese Woche",OX="Vorige week",NX="Volgende week",MX="Vorige dag",AX="Volgende dag",RX="den Kalender öffnen",LX="Weitere Informationen",qxe={day:IX,week:DX,returnToToday:TX,returnToCurrentWeek:PX,previousweek:OX,nextweek:NX,previousday:MX,nextday:AX,openCalendar:RX,moreInformations:LX},FX={};Z(FX,{day:()=>VX,default:()=>$xe,moreInformations:()=>$X,nextday:()=>WX,nextweek:()=>UX,openCalendar:()=>qX,previousday:()=>GX,previousweek:()=>HX,returnToCurrentWeek:()=>zX,returnToToday:()=>BX,week:()=>jX});var VX="Day overview",jX="Week overview",BX="Back to today",zX="Present week",HX="Previous week",UX="Next week",GX="Previous day",WX="Next day",qX="open the calendar",$X="More information",$xe={day:VX,week:jX,returnToToday:BX,returnToCurrentWeek:zX,previousweek:HX,nextweek:UX,previousday:GX,nextday:WX,openCalendar:qX,moreInformations:$X},YX={};Z(YX,{day:()=>ZX,default:()=>Yxe,moreInformations:()=>aQ,nextday:()=>nQ,nextweek:()=>eQ,openCalendar:()=>iQ,previousday:()=>tQ,previousweek:()=>QX,returnToCurrentWeek:()=>XX,returnToToday:()=>JX,week:()=>KX});var ZX="Vue journalière",KX="Vue semaine",JX="Revenir à aujourd'hui",XX="Cette semaine",QX="Semaine précédente",eQ="Semaine suivante",tQ="Jour précédent",nQ="Jour suivant",iQ="Ouvrir le calendrier",aQ="Plus d'informations",Yxe={day:ZX,week:KX,returnToToday:JX,returnToCurrentWeek:XX,previousweek:QX,nextweek:eQ,previousday:tQ,nextday:nQ,openCalendar:iQ,moreInformations:aQ},rQ={};Z(rQ,{day:()=>oQ,default:()=>Zxe,moreInformations:()=>fQ,nextday:()=>pQ,nextweek:()=>dQ,openCalendar:()=>mQ,previousday:()=>hQ,previousweek:()=>uQ,returnToCurrentWeek:()=>cQ,returnToToday:()=>lQ,week:()=>sQ});var oQ="Dagoverzicht",sQ="Weekoverzicht",lQ="Terug naar vandaag",cQ="Huidige week",uQ="vorherige Woche",dQ="nächste Woche",hQ="vorheriger Tag",pQ="nächster Tag",mQ="de kalender openen",fQ="Meer informatie",Zxe={day:oQ,week:sQ,returnToToday:lQ,returnToCurrentWeek:cQ,previousweek:uQ,nextweek:dQ,previousday:hQ,nextday:pQ,openCalendar:mQ,moreInformations:fQ},Kxe={nl:rQ,fr:YX,de:CX,en:FX},gQ={};Z(gQ,{comment:()=>OQ,default:()=>Jxe,end:()=>xQ,endCondition:()=>TQ,indication:()=>yQ,instructions:()=>PQ,medication:()=>vQ,noDetails:()=>NQ,other:()=>MQ,periodicity:()=>SQ,posologie:()=>kQ,prescriber:()=>bQ,quantity:()=>EQ,route:()=>CQ,section:()=>AQ,start:()=>_Q,startCondition:()=>DQ,suspension:()=>wQ,temporality:()=>IQ});var vQ="Arzneimittel",yQ="Grund",bQ="verschreibende Person",_Q="Beginn",xQ="Ende",wQ={label:"Aufhängungen",end:"Wiederaufgenommen am",start:"Ausgesetzt am",reason:"Grund"},EQ="Darreichungsform",SQ="Abstand",kQ="Dosierung",CQ="Verabreichung",IQ="Zeitlichkeit",DQ="Anfangszustand",TQ="Endzustand",PQ="Hinweise",OQ="Kommentar",NQ="Die angeforderte arzneimittel wurde gelöscht oder existiert nicht.",MQ="Andere",AQ={treatment:"Behandlung",intake:"Aufnahme",prescription:"Rezept"},Jxe={medication:vQ,indication:yQ,prescriber:bQ,start:_Q,end:xQ,suspension:wQ,quantity:EQ,periodicity:SQ,posologie:kQ,route:CQ,temporality:IQ,startCondition:DQ,endCondition:TQ,instructions:PQ,comment:OQ,noDetails:NQ,other:MQ,section:AQ},RQ={};Z(RQ,{comment:()=>KQ,default:()=>Xxe,end:()=>BQ,endCondition:()=>YQ,indication:()=>FQ,instructions:()=>ZQ,medication:()=>LQ,noDetails:()=>JQ,other:()=>XQ,periodicity:()=>UQ,posologie:()=>GQ,prescriber:()=>VQ,quantity:()=>HQ,route:()=>WQ,section:()=>QQ,start:()=>jQ,startCondition:()=>$Q,suspension:()=>zQ,temporality:()=>qQ});var LQ="Medication",FQ="Reason",VQ="Prescriber",jQ="Beginning",BQ="End",zQ={label:"Interruption",end:"Resumed on",start:"Interupted on",reason:"Reason"},HQ="Pharmaceutical form",UQ="Frequency",GQ="Dosage",WQ="Route of administration",qQ="Temporality",$Q="Condition at the beginning",YQ="Condition at the end",ZQ="Instructions ",KQ="Comments",JQ="The requested information has been deleted or doesn't exist.",XQ="Other",QQ={treatment:"Treatment",intake:"Intake",prescription:"Prescription"},Xxe={medication:LQ,indication:FQ,prescriber:VQ,start:jQ,end:BQ,suspension:zQ,quantity:HQ,periodicity:UQ,posologie:GQ,route:WQ,temporality:qQ,startCondition:$Q,endCondition:YQ,instructions:ZQ,comment:KQ,noDetails:JQ,other:XQ,section:QQ},eee={};Z(eee,{comment:()=>fee,default:()=>Qxe,end:()=>ree,endCondition:()=>pee,indication:()=>nee,instructions:()=>mee,medication:()=>tee,noDetails:()=>gee,other:()=>vee,periodicity:()=>lee,posologie:()=>cee,prescriber:()=>iee,quantity:()=>see,route:()=>uee,section:()=>yee,start:()=>aee,startCondition:()=>hee,suspension:()=>oee,temporality:()=>dee});var tee="Médicament",nee="Raison",iee="Prescripteur",aee="Début",ree="Fin",oee={label:"Suspensions",end:"Reprise le",start:"Suspendu le",reason:"Raison"},see="Forme pharmaceutique",lee="Fréquence",cee="Posologie",uee="Voie d’administration",dee="Temporalité",hee="Condition de début",pee="Condition de fin",mee="Instructions",fee="Commentaire",gee="Le médicament demandé a été supprimé ou n'existe pas.",vee="Autre",yee={treatment:"Traitement",intake:"Prise",prescription:"Prescription"},Qxe={medication:tee,indication:nee,prescriber:iee,start:aee,end:ree,suspension:oee,quantity:see,periodicity:lee,posologie:cee,route:uee,temporality:dee,startCondition:hee,endCondition:pee,instructions:mee,comment:fee,noDetails:gee,other:vee,section:yee},bee={};Z(bee,{comment:()=>Aee,default:()=>ewe,end:()=>See,endCondition:()=>Nee,indication:()=>xee,instructions:()=>Mee,medication:()=>_ee,noDetails:()=>Ree,other:()=>Lee,periodicity:()=>Iee,posologie:()=>Dee,prescriber:()=>wee,quantity:()=>Cee,route:()=>Tee,section:()=>Fee,start:()=>Eee,startCondition:()=>Oee,suspension:()=>kee,temporality:()=>Pee});var _ee="Geneesmiddel",xee="Reden",wee="Voorschrijver",Eee="Start",See="Einde",kee={label:"Opschortingen",end:"Hervat op",start:"Opgeschort op",reason:"Reden"},Cee="Farmaceutische vorm",Iee="Frequentie",Dee="Posologie",Tee="Toedieningsweg",Pee="Temporaliteit",Oee="Beginconditie",Nee="Eindconditie",Mee="Instructies",Aee="Commentaar",Ree="Het gevraagde geneesmiddel is verwijderd of bestaat niet.",Lee="Andere",Fee={treatment:"Behandeling",intake:"Inname",prescription:"Voorschrift"},ewe={medication:_ee,indication:xee,prescriber:wee,start:Eee,end:See,suspension:kee,quantity:Cee,periodicity:Iee,posologie:Dee,route:Tee,temporality:Pee,startCondition:Oee,endCondition:Nee,instructions:Mee,comment:Aee,noDetails:Ree,other:Lee,section:Fee},twe={nl:bee,fr:eee,de:gQ,en:RQ},Vee={};Z(Vee,{all:()=>jee,atYourConvenienceText:()=>Jee,consultDetails:()=>Gee,current:()=>Bee,days:()=>Xee,default:()=>nwe,future:()=>zee,headers:()=>Uee,noMedications:()=>ete,posology:()=>$ee,prescriber:()=>Zee,reason:()=>Yee,remarks:()=>Wee,return:()=>Hee,seeDetails:()=>Kee,toPlan:()=>qee,toTake:()=>Qee});var jee="Vollständige Liste",Bee="Aktuel",zee="Künftig",Hee="Zurück zur Übersicht",Uee={moment:"Moment",medication:"Arzneimittel",dose:"Dosis",indication:"Grund",dayperiod:"Tageszeit",remark:"Anmerkung",leaflet:"Packungsbeilage",days:"Tagen",startCondition:"Anfangszustand",instructions:"Hinweise"},Gee="Siehe Details",Wee={ifneeded:"Gegebenenfalls",lastDayTemporary:"Letzter Tag vor Aussetzung",lastDayDefinitive:"Letzter Tag",suspended:"Aussetzen",end:"Ende"},qee="Noch zu vereinbaren",$ee="Dosierung",Yee="Grund",Zee="Verordnende Person",Kee="Details anzeigen",Jee="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.",Xee={monday:"Mo",tuesday:"Di",wednesday:"Mi",thursday:"Do",friday:"Fr",saturday:"Sa",sunday:"So",allDays:"Täglich"},Qee="am {days} zu nehmen",ete={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"},nwe={all:jee,current:Bee,future:zee,return:Hee,headers:Uee,consultDetails:Gee,remarks:Wee,toPlan:qee,posology:$ee,reason:Yee,prescriber:Zee,seeDetails:Kee,atYourConvenienceText:Jee,days:Xee,toTake:Qee,noMedications:ete},tte={};Z(tte,{all:()=>nte,atYourConvenienceText:()=>fte,consultDetails:()=>ste,current:()=>ite,days:()=>gte,default:()=>iwe,future:()=>ate,headers:()=>ote,noMedications:()=>yte,notSpecified:()=>lte,posology:()=>dte,prescriber:()=>pte,reason:()=>hte,remarks:()=>cte,return:()=>rte,seeDetails:()=>mte,toPlan:()=>ute,toTake:()=>vte});var nte="Complete list",ite="Current",ate="Future",rte="Back to overview",ote={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 "},ste="See details",lte="Dosage not filled",cte={ifneeded:"If necessary",lastDayTemporary:"Last day for suspension",lastDayDefinitive:"Last day",suspended:"Suspend",end:"End"},ute="Remains to be planned",dte="Dosage",hte="Reason",pte="Prescriber",mte="View details",fte="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.",gte={monday:"Mo",tuesday:"Tu",thursday:"Th",wednesday:"We",friday:"Fr",saturday:"Sa",sunday:"Su",allDays:"Every day"},vte="To take on {days}",yte={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."},iwe={all:nte,current:ite,future:ate,return:rte,headers:ote,consultDetails:ste,notSpecified:lte,remarks:cte,toPlan:ute,posology:dte,reason:hte,prescriber:pte,seeDetails:mte,atYourConvenienceText:fte,days:gte,toTake:vte,noMedications:yte},bte={};Z(bte,{all:()=>_te,atYourConvenienceText:()=>Nte,consultDetails:()=>kte,current:()=>xte,days:()=>Mte,default:()=>awe,future:()=>wte,headers:()=>Ste,noMedications:()=>Rte,posology:()=>Dte,prescriber:()=>Pte,reason:()=>Tte,remarks:()=>Cte,return:()=>Ete,seeDetails:()=>Ote,toPlan:()=>Ite,toTake:()=>Ate});var _te="Toute la liste",xte="En cours",wte="Futur",Ete="Retour à la vue d'ensemble",Ste={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"},kte="Voir les détails",Cte={ifneeded:"Si nécessaire",lastDayTemporary:"Dernier jour avant suspension",lastDayDefinitive:"Dernier jour",suspended:"Suspendre",end:"Fin"},Ite="À convenir",Dte="Posologie",Tte="Raison",Pte="Prescripteur",Ote="Voir détails",Nte="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.",Mte={monday:"Lu",tuesday:"Ma",wednesday:"Me",thursday:"Je",friday:"Ve",saturday:"Sa",sunday:"Di",allDays:"Tous les jours"},Ate="À prendre {days}",Rte={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"},awe={all:_te,current:xte,future:wte,return:Ete,headers:Ste,consultDetails:kte,remarks:Cte,toPlan:Ite,posology:Dte,reason:Tte,prescriber:Pte,seeDetails:Ote,atYourConvenienceText:Nte,days:Mte,toTake:Ate,noMedications:Rte},Lte={};Z(Lte,{all:()=>Fte,atYourConvenienceText:()=>Kte,consultDetails:()=>Hte,current:()=>Vte,days:()=>Jte,default:()=>rwe,future:()=>jte,headers:()=>zte,noMedications:()=>Qte,notSpecified:()=>Ute,posology:()=>qte,prescriber:()=>Yte,reason:()=>$te,remarks:()=>Gte,return:()=>Bte,seeDetails:()=>Zte,toPlan:()=>Wte,toTake:()=>Xte});var Fte="Volledige lijst",Vte="Huidig",jte="Toekomstig",Bte="Terug naar overzicht",zte={moment:"Moment",medication:"Geneesmiddel",dose:"Dosis",indication:"Reden",dayperiod:"Tijdstip",remark:"Opmerking",leaflet:"Bijsluiter",days:"Dagen",startCondition:"Beginconditie",instructions:"Instructies"},Hte="Zie details",Ute="Dosering niet ingevuld",Gte={ifneeded:"Indien nodig",lastDayTemporary:"Laatste dag voor opschorting",lastDayDefinitive:"Laatste dag",suspended:"Opschorten",end:"Einde"},Wte="Nog in te plannen",qte="Posologie",$te="Reden",Yte="Voorschrijver",Zte="Details bekijken",Kte="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.",Jte={monday:"Ma",tuesday:"Di",thursday:"Do",wednesday:"Wo",friday:"Vr",saturday:"Za",sunday:"Zo",allDays:"Elke dag"},Xte="Te nemen op {days}",Qte={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"},rwe={all:Fte,current:Vte,future:jte,return:Bte,headers:zte,consultDetails:Hte,notSpecified:Ute,remarks:Gte,toPlan:Wte,posology:qte,reason:$te,prescriber:Yte,seeDetails:Zte,atYourConvenienceText:Kte,days:Jte,toTake:Xte,noMedications:Qte},owe={nl:Lte,fr:bte,de:Vee,en:tte},ene={};Z(ene,{default:()=>swe,flanders:()=>ine,subtitle:()=>nne,title:()=>tne,walloniaBrussels:()=>ane});var tne="Medikamentenplan",nne="Was ist, wenn ich in diesem Abschnitt keine Inhalte sehe?",ine={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."},ane={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>'},swe={title:tne,subtitle:nne,flanders:ine,walloniaBrussels:ane},rne={};Z(rne,{default:()=>lwe,flanders:()=>lne,subtitle:()=>sne,title:()=>one,walloniaBrussels:()=>cne});var one="Medication scheme",sne="What to do if I I don't see any content in this part?",lne={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."},cne={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>`},lwe={title:one,subtitle:sne,flanders:lne,walloniaBrussels:cne},une={};Z(une,{default:()=>cwe,flanders:()=>pne,subtitle:()=>hne,title:()=>dne,walloniaBrussels:()=>mne});var dne="Schéma de médication",hne="Que faire si je ne vois aucun contenu dans cette partie ?",pne={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"},mne={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>'},cwe={title:dne,subtitle:hne,flanders:pne,walloniaBrussels:mne},fne={};Z(fne,{default:()=>uwe,flanders:()=>yne,subtitle:()=>vne,title:()=>gne,walloniaBrussels:()=>bne});var gne="Medicatieschema",vne="Wat te doen indien ik geen inhoud zie in dit deel?",yne={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."},bne={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>'},uwe={title:gne,subtitle:vne,flanders:yne,walloniaBrussels:bne},dwe={nl:fne,fr:une,de:ene,en:rne},_ne={};Z(_ne,{day:()=>Ene,default:()=>hwe,list:()=>xne,week:()=>wne});var xne="Liste",wne="Woche",Ene="Tag",hwe={list:xne,week:wne,day:Ene},Sne={};Z(Sne,{day:()=>Ine,default:()=>pwe,list:()=>kne,week:()=>Cne});var kne="List",Cne="Week",Ine="Day",pwe={list:kne,week:Cne,day:Ine},Dne={};Z(Dne,{day:()=>One,default:()=>mwe,list:()=>Tne,week:()=>Pne});var Tne="Liste",Pne="Semaine",One="Jour",mwe={list:Tne,week:Pne,day:One},Nne={};Z(Nne,{day:()=>Rne,default:()=>fwe,list:()=>Mne,week:()=>Ane});var Mne="Lijst",Ane="Week",Rne="Dag",fwe={list:Mne,week:Ane,day:Rne},gwe={nl:Nne,fr:Dne,de:_ne,en:Sne},Lne={};Z(Lne,{default:()=>vwe,evening:()=>Bne,ifNeeded:()=>Hne,morning:()=>Vne,night:()=>zne,noon:()=>jne,toPlan:()=>Fne});var Fne="Spezifische Anweisungen",Vne="Morgen",jne="Mittag und Nachmittag",Bne="Abends",zne="Zubettgehen",Hne="Gegebenenfalls",vwe={toPlan:Fne,morning:Vne,noon:jne,evening:Bne,night:zne,ifNeeded:Hne},Une={};Z(Une,{default:()=>ywe,evening:()=>$ne,ifNeeded:()=>Zne,morning:()=>Wne,night:()=>Yne,noon:()=>qne,toPlan:()=>Gne});var Gne="Specific instructions",Wne="Morning",qne="Noon and afternoon",$ne="Evening meal",Yne="Going to sleep",Zne="If necessary",ywe={toPlan:Gne,morning:Wne,noon:qne,evening:$ne,night:Yne,ifNeeded:Zne},Kne={};Z(Kne,{default:()=>bwe,evening:()=>eie,ifNeeded:()=>nie,morning:()=>Xne,night:()=>tie,noon:()=>Qne,toPlan:()=>Jne});var Jne="Instructions spécifiques",Xne="Matin",Qne="Midi et Après-midi",eie="Soir",tie="Au coucher",nie="Si nécessaire",bwe={toPlan:Jne,morning:Xne,noon:Qne,evening:eie,night:tie,ifNeeded:nie},iie={};Z(iie,{default:()=>_we,evening:()=>sie,ifNeeded:()=>cie,morning:()=>rie,night:()=>lie,noon:()=>oie,toPlan:()=>aie});var aie="Specifieke instructies",rie="Ochtend",oie="Middag en namiddag",sie="Avondmaal",lie="Bij het slapen gaan",cie="Indien nodig",_we={toPlan:aie,morning:rie,noon:oie,evening:sie,night:lie,ifNeeded:cie},xwe={nl:iie,fr:Kne,de:Lne,en:Une},uie={};Z(uie,{collapsed:()=>fie,default:()=>wwe,disclaimer:()=>pie,expanded:()=>mie,source:()=>gie,subtitle:()=>hie,title:()=>die});var die="Version {versionNumber}, aktualisiert am {date} um {hour}",hie="von {authorProfession} {authorFirstName} {authorLastName}",pie="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.",mie="Warnung einklappen",fie="Warnung ausklappen",gie="Ursprung",wwe={title:die,subtitle:hie,disclaimer:pie,expanded:mie,collapsed:fie,source:gie},vie={};Z(vie,{collapsed:()=>wie,default:()=>Ewe,disclaimer:()=>_ie,expanded:()=>xie,source:()=>Eie,subtitle:()=>bie,title:()=>yie});var yie="Version {versionNumber}, updated on {date} at {hour}",bie="by {authorProfession} {authorFirstName} {authorLastName}",_ie="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.",xie="Collapse alert",wie="Expand alert",Eie="Source",Ewe={title:yie,subtitle:bie,disclaimer:_ie,expanded:xie,collapsed:wie,source:Eie},Sie={};Z(Sie,{collapsed:()=>Tie,default:()=>Swe,disclaimer:()=>Iie,expanded:()=>Die,source:()=>Pie,subtitle:()=>Cie,title:()=>kie});var kie="Version {versionNumber}, mis à jour le {date} à {hour}",Cie="par {authorProfession} {authorFirstName} {authorLastName}",Iie="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.",Die="Réduire l’alerte",Tie="Déplier l’alerte",Pie="Source",Swe={title:kie,subtitle:Cie,disclaimer:Iie,expanded:Die,collapsed:Tie,source:Pie},Oie={};Z(Oie,{collapsed:()=>Lie,default:()=>kwe,disclaimer:()=>Aie,expanded:()=>Rie,source:()=>Fie,subtitle:()=>Mie,title:()=>Nie});var Nie="Versie {versionNumber}, bijgewerkt op {date} om {hour}",Mie="door {authorProfession} {authorFirstName} {authorLastName}",Aie="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.",Rie="Waarschuwing samenvouwen",Lie="Waarschuwing uitvouwen",Fie="Bron",kwe={title:Nie,subtitle:Mie,disclaimer:Aie,expanded:Rie,collapsed:Lie,source:Fie},Cwe={nl:Oie,fr:Sie,de:uie,en:vie},Iwe=class extends Is{getTranslation(e){return vt({commons:yt(ue({},exe[e]),{days:G_e[e],errors:Z_e[e],roles:_xe[e],safes:Pxe[e],periodicities:rxe[e],administrationUnits:j_e[e],period:uxe[e],routes:kxe[e],temporality:Bxe[e],posology:fxe[e],sortDropdown:Rxe[e]}),medicationSchemeListView:owe[e],medicationSchemeOverview:gwe[e],medicationSchemeMoments:xwe[e],medicationSchemeNoData:dwe[e],medicationSchemeDateToggler:Kxe[e],medicationSchemeCreationDetails:Wxe[e],medicationSchemeDetails:twe[e],medicationSchemeDisclaimer:Cwe[e]})}},Dwe=[D_e,Zfe({defaultLanguage:"fr",loader:{provide:Is,useClass:Iwe},compiler:{provide:Ts,useClass:N_e}})];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 Twe(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=Pwe(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 Y(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 Y(601,!1)}},{equal:t==null?void 0:t.equal})}function Pwe(e=Object.is){return(t,i)=>t.kind===1&&i.kind===1&&e(t.value,i.value)}var 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",Ae({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",nn({type:t})),s(t,"ɵinj",tn({imports:[Ci,Ci]}));let e=t;return e})(),Vie={"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(Vie);var Owe=Vie,jie={"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(jie);var Nwe=jie,On=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)},br,To,Va,Mwe=class{constructor(...e){br.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()),On(this,Va,"f").has(i)||On(this,Va,"f").set(i,new Set);let a=On(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&&On(this,To,"f").set(i,o),r=!1,l)continue;let u=On(this,br,"f").get(o);if(u&&u!=i&&!t)throw new Error(`"${i} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);On(this,br,"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:On(this,br,"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&&On(this,To,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:On(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 On(this,Va,"f").values())Object.freeze(e);return this}_getTestState(){return{types:On(this,br,"f"),extensions:On(this,To,"f")}}};br=new WeakMap,To=new WeakMap,Va=new WeakMap;var Awe=Mwe;new Awe(Nwe,Owe)._freeze();var Bie=(()=>{const t=class t{transform(n){return n?"":"no"}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=rn({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),zie=(()=>{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=rn({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),rm=(()=>{const t=class t{transform(n){return Y1e(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=rn({name:"fullname",type:t,pure:!0});let e=t;return e})(),Hie=(()=>{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=rn({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),Uie=(()=>{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=rn({name:"quantity",type:t,pure:!0});let e=t;return e})(),Gie=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return K1e(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=rn({name:"translateObject",type:t,pure:!0});let e=t;return e})(),om=(()=>{const t=class t{constructor(){this.translate=C(li)}transform(n){return Z1e(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=rn({name:"translateValue",type:t,pure:!0});let e=t;return e})(),Wie=(()=>{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&&!H_(new Date(r.item.endDate),a))}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=rn({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||{}),qie=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(qie||{}),$ie=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}($ie||{});function Yie(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}}var Rwe="minutes",Nn="hours",Mn="days",yn="weeks",bn="months",gr="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 Lwe=[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 Lwe.includes(e)}var Fwe=[G.J,G.JH2,G.JT,G.JD,G.JV,G.JQ,G.JZ];function Zu(e){return Fwe.includes(e)}function Vwe(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:jye(new Date(a.endDate))})):!1}function jwe(e,t){var i,n;return(n=(i=e.day)==null?void 0:i.weekday)!=null&&n.weekNumber?Bwe(e,t):zwe(e,t)}function Bwe(e,t){let i=new Date(t.treatmentStartDate),n=Xp(i),a=qr(co(Rye(er(i),e.day.weekday.weekNumber-n),(Yie(e.day.weekday.day)||1)-1));return H_(a,i)?Lye(a,1):a}function zwe(e,t){var a,r;let i=Yie((r=(a=e.day)==null?void 0:a.weekday)==null?void 0:r.day)||0,n=z_(new Date(t.treatmentStartDate));return qr(co(new Date(t.treatmentStartDate),(i-n+7)%7))}function Hwe(e){let t=qr(new Date);return e.treatmentStartDate&&Mbe(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&Vwe(e,t)}function Uwe(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 Gwe=(()=>{const t=class t{transform(n){return Hwe(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=rn({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),Wwe=(()=>{const t=class t{constructor(){this.translate=C(li),this.cdRef=C(or),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(Cr(new Date(n.day.date),"dd-MM-yyyy")):((u=n.day)==null?void 0:u.weekday)!=null?o.push(Cr(jwe(n,a),"dd-MM-yyyy")):((c=n.day)==null?void 0:c.dayNumber)!=null?o.push(Cr(co(r,n.day.dayNumber-1),"dd-MM-yyyy")):o.push(Cr(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=rn({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),Zie=(()=>{const t=class t{transform(n,a,r){return Uwe(n,a,r)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=rn({name:"hasMedicationError",type:t,pure:!0});let e=t;return e})(),Kie=e=>({posology:e}),qwe=e=>({count:e});function $we(e,t){e&1&&(B(0,"span",1),ve(1),R(2,"translate"),z()),e&2&&(O(),$e("",X(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function Ywe(e,t){if(e&1&&(B(0,"li"),Sa(1,2),z()),e&2){let i=t.$implicit;ae(3);let n=rr(3);O(),$("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,Kie,i))}}function Zwe(e,t){if(e&1&&(B(0,"ul"),oo(1,Ywe,2,4,"li",null,ks),z()),e&2){let i=ae(2);O(),so(i.medication().posology)}}function Kwe(e,t){if(e&1&&Sa(0,2),e&2){let i=ae(2),n=rr(3);$("ngTemplateOutlet",n)("ngTemplateOutletContext",Cn(2,Kie,i.medication().posology[0]))}}function Jwe(e,t){if(e&1&&oe(0,$we,3,3,"span",1)(1,Zwe,3,0,"ul")(2,Kwe,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 Xwe(e,t){e&1&&(ve(0),R(1,"translate")),e&2&&$e(" ",X(1,1,"medicationSchemeListView.notSpecified"),`
38
+ `)}function Qwe(e,t){e&1&&(B(0,"span"),ve(1),z()),e&2&&(O(),$e(" ",t,""))}function eEe(e,t){if(e&1&&(B(0,"span"),ve(1),R(2,"translate"),z(),oe(3,Qwe,2,1,"span"),R(4,"posologySpecification")),e&2){let i,n=ae(2).posology,a=ae();O(),$e(" ",dt(2,2,"commons.administrationUnits."+n.quantity.unit,Cn(8,qwe,n.quantity.value)),""),O(2),ee((i=dt(4,5,n,a.medication()))?3:-1,i)}}function tEe(e,t){if(e&1&&(B(0,"span"),ve(1),R(2,"quantity"),z(),oe(3,eEe,5,10)),e&2){let i=ae().posology;O(),Nt(X(2,2,i.quantity.value)),O(2),ee(i.quantity.unit?3:-1)}}function nEe(e,t){if(e&1&&(B(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ve(3),z()),e&2){let i=ae();$("lang",X(1,3,i.lang)),jt("translate",X(2,5,i.lang)),O(3),$e("  ",t," ")}}function iEe(e,t){if(e&1&&(B(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ve(3),z(),oe(4,nEe,4,7,"span",3),R(5,"posologySpecification")),e&2){let i,n=t,a=ae().posology,r=ae();$("lang",X(1,4,n.lang)),jt("translate",X(2,6,n.lang)),O(3),$e(" ",n.value," "),O(),ee((i=dt(5,8,a,r.medication()))?4:-1,i)}}function aEe(e,t){if(e&1&&(B(0,"div"),oe(1,tEe,4,4)(2,iEe,6,11),R(3,"translateObject"),z()),e&2){let i,n=t.posology;O(),ee(n.quantity?1:-1),O(),ee((i=X(3,2,n.text))?2:-1,i)}}var rEe=(()=>{const t=class t{constructor(){this.medication=ge.required(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({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,Jwe,3,2)(1,Xwe,2,3)(2,aEe,4,4,"ng-template",null,0,Zl),n&2){let r;ee((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Uie,Wwe,Gie,Bie,Hie,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(qre());var sl;function oEe(){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=oEe())==null?void 0:t.createHTML(e))||e}function Bg(e){return Error(`Unable to find icon with the name "${e}"`)}function sEe(){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 Aa=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}},lEe=(()=>{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 Aa(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 Aa("",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 Aa(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 Aa("",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 Aa(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):Voe(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 sEe();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 cEe(o)?new Aa(o.url,null,o.options):new Aa(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(pe(Cs,8),pe(I1),pe(ze,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 cEe(e){return!!(e.url&&e.options)}var uEe=["*"],dEe=new se("MAT_ICON_DEFAULT_OPTIONS"),hEe=new se("mat-icon-location",{providedIn:"root",factory:pEe});function pEe(){let e=C(ze),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var Jie=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],mEe=Jie.map(e=>`[${e}]`).join(", "),fEe=/^url\(['"]?#(.*?)['"]?\)$/,ho=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(Rt));s(this,"_iconRegistry",C(lEe));s(this,"_location",C(hEe));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 Ple("aria-hidden"),{optional:!0}),a=C(dEe,{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(mEe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)Jie.forEach(l=>{let u=a[o],c=u.getAttribute(l),h=c?c.match(fEe):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",Ae({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:uEe,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})(),gEe=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",nn({type:t})),s(t,"ɵinj",tn({imports:[Ci,Ci]}));let e=t;return e})(),Xie=(()=>{const t=class t{constructor(){this.leaflet=ge.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({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&&(B(0,"a",0),le(1,"mat-icon",1),ve(2),R(3,"translate"),z()),n&2&&($("href",a.leaflet(),Fy),O(2),$e(" ",X(3,2,"commons.downloadLeaflet")," "))},dependencies:[Wc,O0e,ho,un],encapsulation:2});let e=t;return e})(),Qie=(()=>{const t=class t{constructor(){this.message=ge.required(),this.fontIcon=ge("info"),this.translateParams=ge({})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({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),ve(1),R(2,"translate")),n&2&&($("fontIcon",a.fontIcon()),O(),$e(" ",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})(),vEe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(B(0,"h2",0),ve(1),R(2,"translate"),z(),B(3,"mat-dialog-content")(4,"p")(5,"span"),ve(6),R(7,"translate"),z()(),B(8,"p")(9,"span"),ve(10),R(11,"translate"),z(),B(12,"a",1),R(13,"translate"),ve(14),R(15,"translate"),z(),ve(16,"."),z()(),B(17,"mat-dialog-actions")(18,"button",2),ve(19),R(20,"translate"),z(),B(21,"button",3),ve(22),R(23,"translate"),z()()),n&2&&(O(),Nt(X(2,9,"commons.errors.report-message-title")),O(5),Nt(X(7,11,"commons.errors.report-message-explanation")),O(4),Nt(X(11,13,"commons.errors.report-message-content")),O(2),$("href",X(13,15,"commons.errors.report-message-link"),Fy),O(2),Nt(X(15,17,"commons.errors.report-message-term-use")),O(4),$("mat-dialog-close",!0),O(),$e(" ",X(20,19,"commons.errors.report-message-report-button")," "),O(2),$("mat-dialog-close",!1),O(),$e(" ",X(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[l_,n_,a_,o_,r_,Wc,Gc,un],encapsulation:2});let e=t;return e})(),yEe=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(e_)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,a){n&1&&(B(0,"h2",0),ve(1),R(2,"translate"),z(),B(3,"mat-dialog-content")(4,"p")(5,"span"),ve(6),R(7,"translate"),z()()(),B(8,"mat-dialog-actions")(9,"button",1),ve(10),R(11,"translate"),z()()),n&2&&(O(),Nt(X(2,4,"commons.errors.action-not-authorized-title")),O(5),Nt(X(7,6,"commons.errors."+a.vidisErrorCode)),O(3),$("mat-dialog-close",!1),O(),$e(" ",X(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=B_(),a=xEe(e,i.timeZone,i.locale??n.locale);return"formatToParts"in a?bEe(a,t):_Ee(a,t)}function bEe(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 _Ee(e,t){let i=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(i);return n?n[0].substr(1):""}function xEe(e,t,i){return new Intl.DateTimeFormat(i?[i.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function wEe(e,t){let i=IEe(t);return"formatToParts"in i?SEe(i,e):kEe(i,e)}var EEe={year:0,month:1,day:2,hour:3,minute:4,second:5};function SEe(e,t){try{let i=e.formatToParts(t),n=[];for(let a=0;a<i.length;a++){let r=EEe[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 kEe(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")),CEe=Wg==="06/25/2014, 00:00:00"||Wg==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function IEe(e){return Ku[e]||(Ku[e]=CEe?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 eae(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,DEe=6e4,Ju={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function tae(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*DEe,n[1]==="+"?-r:r):NaN}if(OEe(e)){t=new Date(t||Date.now());let o=i?t:TEe(t),l=ch(o,e);return-(i?l:PEe(t,l,e))}return NaN}function TEe(e){return eae(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ch(e,t){let i=wEe(e,t),n=eae(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 PEe(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 OEe(e){if(Yg[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Yg[e]=!0,!0}catch{return!1}}var NEe=60*1e3,MEe={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 _r(n);case"XXXXX":case"XXX":default:return _r(n,":")}},x:function(e,t,i){let n=Xu(i.timeZone,e);switch(t){case"x":return Zg(n);case"xxxx":case"xx":return _r(n);case"xxxxx":case"xxx":default:return _r(n,":")}},O:function(e,t,i){let n=Xu(i.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+AEe(n,":");case"OOOO":default:return"GMT"+_r(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?tae(e,t,!0)/NEe:(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 _r(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):_r(e,t)}function AEe(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 REe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Qu=36e5,Jg=6e4,LEe=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:REe};function FEe(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?LEe: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=VEe(e),{year:a,restDateString:r}=jEe(n.date,i),o=BEe(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=zEe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=tae(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 VEe(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 jEe(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 BEe(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 GEe(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 zEe(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 HEe=[31,28,31,30,31,30,31,31,30,31,30,31],UEe=[31,29,31,30,31,30,31,31,30,31,30,31];function nae(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=nae(e);if(n&&i>UEe[t]||!n&&i>HEe[t])return!1}return!0}function GEe(e,t){if(t<1)return!1;let i=nae(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 WEe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function qEe(e,t,i={}){t=String(t);let n=t.match(WEe);if(n){let a=FEe(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,"'"+MEe[o[0]](a,o,i)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return Cr(e,t,i)}var $Ee=(()=>{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})(),YEe=(()=>{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:{[Rr.userType]:Ua.getUserType({isProfessional:this.authService.isProfessional}),[Rr.clientType]:J_()?Ua.clientType.mobileApp:Ua.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})(),ZEe=(()=>{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($Ee):this.injector.get(YEe)}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})(),KEe=(()=>{const t=class t extends V1e{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(ZEe),this.snackbarService=C(m_e),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Ot(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=>Ot(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(vEe,{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(yEe,{data:n})}formatDateWithZone(){return qEe(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=Ae({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})(),JEe=["*"];function XEe(e,t){e&1&&Sa(0)}function QEe(e,t){if(e&1&&(B(0,"div",3),oe(1,XEe,1,0,"ng-container",5),z()),e&2){ae();let i=rr(5);O(),$("ngTemplateOutlet",i)}}function eSe(e,t){e&1&&Sa(0)}function tSe(e,t){if(e&1){let i=Rc();B(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,eSe,1,0,"ng-container",5),z()}if(e&2){let i=ae(),n=rr(5);jt("aria-label",i.currentExpandIconAriaLabel()),O(),$("ngTemplateOutlet",n)}}function nSe(e,t){e&1&&Sa(0)}function iSe(e,t){if(e&1&&oe(0,nSe,1,0,"ng-container",5),e&2){ae();let i=rr(7);$("ngTemplateOutlet",i)}}function aSe(e,t){if(e&1&&(B(0,"h2"),ve(1),z()),e&2){let i=ae(3);O(),Nt(i.alertTitle())}}function rSe(e,t){if(e&1&&(B(0,"p"),ve(1),z()),e&2){let i=ae(3);O(),Nt(i.alertSubtitle())}}function oSe(e,t){if(e&1&&(B(0,"div"),oe(1,aSe,2,1,"h2")(2,rSe,2,1,"p"),z()),e&2){let i=ae(2);O(),ee(i.alertTitle()?1:-1),O(),ee(i.alertSubtitle()?2:-1)}}function sSe(e,t){e&1&&Sa(0)}function lSe(e,t){if(e&1&&oe(0,sSe,1,0,"ng-container",5),e&2){ae(2);let i=rr(7);$("ngTemplateOutlet",i)}}function cSe(e,t){if(e&1){let i=Rc();B(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 uSe(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 dSe(e,t){if(e&1&&(le(0,"mat-icon",7),B(1,"div",8),oe(2,oSe,3,2,"div")(3,lSe,1,1,"ng-container"),z(),oe(4,cSe,1,1,"mat-icon",9)(5,uSe,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 hSe(e,t){if(e&1){let i=Rc();B(0,"button",14),Di("click",function(){ya(i);let n=ae(2);return ba(n.onActionButtonClicked())}),ve(1),z()}if(e&2){let i=ae(2);$("disabled",i.buttonDisabled()),O(),$e(" ",i.buttonLabel()," ")}}function pSe(e,t){if(e&1&&(B(0,"span",12),nt(1),z(),oe(2,hSe,2,2,"button",13)),e&2){let i=ae();O(2),ee(i.actionButton()?2:-1)}}var mSe=(()=>{const t=class t{constructor(){s(this,"usage",ge("info"));s(this,"backgroundColor",ge("color"));s(this,"alertTitle",ge());s(this,"alertSubtitle",ge());s(this,"actionButton",ge(!1));s(this,"buttonDisabled",ge(!1));s(this,"buttonLabel",ge());s(this,"dismissMode",ge("pinned"));s(this,"closeButtonAriaLabel",ge(""));s(this,"startExpanded",ge(!1));s(this,"expandedButtonAriaLabel",ge(""));s(this,"collapsedButtonAriaLabel",ge(""));s(this,"closeButtonClicked",qm());s(this,"actionButtonClicked",qm());s(this,"expanded",Ype(()=>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",Ae({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:JEe,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(),B(0,"div",2),oe(1,QEe,2,1,"div",3)(2,tSe,2,2,"div",4)(3,iSe,1,1,"ng-container"),z(),oe(4,dSe,6,3,"ng-template",null,0,Zl)(6,pSe,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 fSe(e,t){if(e&1&&(B(0,"mh-alert",0),R(1,"translate"),B(2,"div",1),ve(3),R(4,"translate"),z()()),e&2){let i=ae();$("alertTitle",X(1,2,"commons.errors.data-not-available-title")),O(3),Nt(X(4,4,"commons.errors."+i.error().code))}}var gSe=(()=>{const t=class t{constructor(){this.error=ge.required(),this.vidisErrorGroup=qi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,a){n&1&&oe(0,fSe,5,6,"mh-alert",0),n&2&&ee(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[un,mSe],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 vSe(e,t){if(e&1&&(B(0,"span"),ve(1),z()),e&2){let i=ae();O(),$e("(",i.idNumber(),")")}}var ySe=(()=>{const t=class t{constructor(){this.fullname=ge.required(),this.idNumber=ge()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(n,a){n&1&&(ve(0),oe(1,vSe,2,1,"span")),n&2&&($e(" ",a.fullname()," "),O(),ee(a.idNumber()?1:-1))},styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),bSe=[[["vidis-detail-header-left"]],[["vidis-detail-header-right"]],[["vidis-detail-header"]],[["vidis-detail-action-button"]],[["vidis-detail-action-icon"]],"*"],_Se=["vidis-detail-header-left","vidis-detail-header-right","vidis-detail-header","vidis-detail-action-button","vidis-detail-action-icon","*"];function xSe(e,t){if(e&1&&(B(0,"h3"),ve(1),z()),e&2){let i=ae();O(),Nt(i.medicationName())}}function wSe(e,t){e&1&&nt(0,5)}var ESe=(()=>{const t=class t{constructor(){this.medicationName=ge(),this.canDisplayDetails=ge.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail"]],inputs:{medicationName:[1,"medicationName"],canDisplayDetails:[1,"canDisplayDetails"]},ngContentSelectors:_Se,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(bSe),B(0,"div",0)(1,"div",1),nt(2),z(),B(3,"div",2),nt(4,1),z(),oe(5,xSe,2,1,"h3"),nt(6,2),oe(7,wSe,1,0),z(),le(8,"mat-divider"),B(9,"div",3)(10,"div",4),nt(11,3),z(),B(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:1.5rem;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 SSe(e,t){if(e&1&&(B(0,"p",0)(1,"span",1),ve(2),R(3,"translate"),z(),B(4,"span",2),ve(5),z()()),e&2){let i=ae();O(2),Nt(X(3,2,i.labelKey())),O(3),Nt(i.value())}}var kSe=(()=>{const t=class t{constructor(){this.labelKey=ge.required(),this.value=ge.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({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,SSe,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})(),CSe=["*"];function ISe(e,t){if(e&1&&(B(0,"span",1),ve(1),R(2,"translate"),z()),e&2){let i=ae(2);O(),Nt(X(2,1,i.labelKey()))}}function DSe(e,t){if(e&1&&(B(0,"p",0),oe(1,ISe,3,3,"span",1),B(2,"span",2),nt(3),z()()),e&2){let i=ae();O(),ee(i.labelKey()?1:-1)}}var TSe=(()=>{const t=class t{constructor(){this.labelKey=ge(),this.display=ge(!0)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],display:[1,"display"]},ngContentSelectors:CSe,decls:1,vars:1,consts:[[1,"detail"],[1,"detail__label"],[1,"detail__value"]],template:function(n,a){n&1&&(Dn(),oe(0,DSe,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})(),PSe=["*"],OSe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-header"]],ngContentSelectors:PSe,decls:1,vars:0,template:function(n,a){n&1&&(Dn(),nt(0))},encapsulation:2});let e=t;return e})(),NSe=[[["vidis-detail-section-header-right"]],"*"],MSe=["vidis-detail-section-header-right","*"];function ASe(e,t){e&1&&le(0,"mat-divider"),e&2&&gp("margin","1rem 0")}function RSe(e,t){if(e&1&&(B(0,"div",0),oe(1,ASe,1,2,"mat-divider",1),B(2,"div",2)(3,"span",3),ve(4),z(),B(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 iae=(()=>{const t=class t{constructor(){this.label=ge.required(),this.dispaly=ge(!0),this.withDivider=ge(!0)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-section"]],inputs:{label:[1,"label"],dispaly:[1,"dispaly"],withDivider:[1,"withDivider"]},ngContentSelectors:MSe,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(NSe),oe(0,RSe,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})(),LSe=(()=>{const t=class t{constructor(){this.patient=ge.required(),this.prescriber=ge.required(),this.creationDate=ge()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({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&&(B(0,"vidis-detail-section",0),R(1,"translate"),B(2,"vidis-detail-field-slot",1),le(3,"vidis-person-name",2),R(4,"fullname"),R(5,"mask"),z(),le(6,"vidis-detail-field",3),R(7,"date"),B(8,"vidis-detail-field-slot",4),le(9,"vidis-person-name",2),R(10,"fullname"),R(11,"mask"),z()()),n&2){let r;$("label",X(1,6,"commons.prescription")),O(3),$("fullname",X(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",X(10,16,a.prescriber()))("idNumber",dt(11,18,(r=a.prescriber())==null?null:r.nihdi,"X/XXXXX/XX/XXX"))}},dependencies:[iae,TSe,ySe,kSe,un,L1e,Sp,rm],encapsulation:2});let e=t;return e})(),FSe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],VSe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function jSe(e,t){e&1&&(B(0,"span",3),nt(1,1),z())}function BSe(e,t){e&1&&(B(0,"span",6),nt(1,2),z())}var zSe=["*"],t0=new se("MatChipAvatar"),n0=new se("MatChipTrailingIcon"),i0=new se("MatChipRemove"),aae=new se("MatChip"),a0=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(Rt));s(this,"_parentChip",C(aae));s(this,"isInteractive",!0);s(this,"_isPrimary",!0);s(this,"_disabled",!1);s(this,"tabIndex",-1);s(this,"_allowFocusWhenDisabled",!1);C(sr).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",an({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})(),rae=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",C(or));s(this,"_elementRef",C(Rt));s(this,"_ngZone",C(Ge));s(this,"_focusMonitor",C(Ap));s(this,"_globalRippleOptions",C(U1,{optional:!0}));s(this,"_document",C(ze));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(sr);n.load(Lp),n.load(L1);let a=C(nr,{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",Ae({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,a,r){if(n&1&&(Ra(r,t0,5),Ra(r,n0,5),Ra(r,i0,5),Ra(r,t0,5),Ra(r,n0,5),Ra(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:aae,useExisting:t}])],ngContentSelectors:VSe,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(FSe),le(0,"span",0),B(1,"span",1)(2,"span",2),oe(3,jSe,2,0,"span",3),B(4,"span",4),nt(5),le(6,"span",5),z()()(),oe(7,BSe,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})(),HSe=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(Rt));s(this,"_changeDetectorRef",C(or));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 Pge(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",Ae({type:t,selectors:[["mat-chip-set"]],contentQueries:function(n,a,r){if(n&1&&Ra(r,rae,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:zSe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,a){n&1&&(Dn(),B(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})(),USe=["*"],GSe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-detail-header-left"]],ngContentSelectors:USe,decls:2,vars:0,template:function(n,a){n&1&&(Dn(),B(0,"mat-chip-set"),nt(1),z())},dependencies:[HSe],encapsulation:2});let e=t;return e})(),WSe=e=>({label_error:e}),qSe=e=>({value_error:e});function $Se(e,t){e&1&&le(0,"mat-icon",3)}function YSe(e,t){if(e&1&&(B(0,"span",0)(1,"span",1),ve(2),R(3,"translate"),z(),B(4,"span",2),oe(5,$Se,1,0,"mat-icon",3),ve(6),z()()),e&2){let i=ae();O(),$("ngClass",Cn(7,WSe,i.withError())),O(),$e(" ",X(3,5,i.labelKey())," "),O(2),$("ngClass",Cn(9,qSe,i.withError())),O(),ee(i.withError()?5:-1),O(),$e(" ",i.value()," ")}}var oae=(()=>{const t=class t{constructor(){this.labelKey=ge.required(),this.value=ge.required(),this.withError=ge(!1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({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,YSe,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})(),ZSe=["*"],KSe=e=>({label_error:e}),JSe=e=>({value_error:e});function XSe(e,t){e&1&&le(0,"mat-icon",3)}var sae=(()=>{const t=class t{constructor(){this.labelKey=ge.required(),this.withError=ge(!1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-ms-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],withError:[1,"withError"]},ngContentSelectors:ZSe,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(),B(0,"span",0)(1,"span",1),ve(2),R(3,"translate"),z(),B(4,"span",2),oe(5,XSe,1,0,"mat-icon",3),nt(6),z()()),n&2&&(O(),$("ngClass",Cn(6,KSe,a.withError())),O(),$e(" ",X(3,4,a.labelKey())," "),O(2),$("ngClass",Cn(8,JSe,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})(),QSe=e=>({prescriber:e}),eke=e=>({count:e});function tke(e,t){if(e&1&&(le(0,"vidis-error-display",0),R(1,"translate"),R(2,"fullname")),e&2){let i=ae();$("message",X(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,QSe,X(2,4,i.medication().author)))}}function nke(e,t){e&1&&(le(0,"vidis-ms-detail-field",5),R(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function ike(e,t){e&1&&(le(0,"vidis-ms-detail-field",6),R(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function ake(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",20),R(1,"date"),R(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 rke(e,t){e&1&&(le(0,"vidis-ms-detail-field",21),R(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function oke(e,t){e&1&&(le(0,"vidis-ms-detail-field",22),R(1,"firstLetterUppercase")),e&2&&$("value",X(1,1,t))}function ske(e,t){e&1&&le(0,"span",18)(1,"span",23)}function lke(e,t){e&1&&le(0,"mat-divider")}function cke(e,t){if(e&1&&(oe(0,ake,3,9,"vidis-ms-detail-field",20)(1,rke,2,4,"vidis-ms-detail-field",21)(2,oke,2,3,"vidis-ms-detail-field",22),R(3,"translateValue"),oe(4,ske,2,0)(5,lke,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=X(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 uke(e,t){if(e&1&&(B(0,"span",18),ve(1),R(2,"translate"),z(),B(3,"span",19),oo(4,cke,7,7,null,null,ks),z()),e&2){let i=ae();O(),Nt(X(2,1,"medicationSchemeDetails.suspension.label")),O(3),so(i)}}function dke(e,t){e&1&&oe(0,uke,6,3),e&2&&ee(t.length>0?0:-1)}function hke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",7),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i,n=ae();$("value",X(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,eke,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function pke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",8),R(1,"translate"),R(2,"hasMedicationError")),e&2){let i=ae();$("value",X(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function mke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",11),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();$("value",X(2,4,X(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function fke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",12),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();$("value",X(2,4,X(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function gke(e,t){e&1&&le(0,"vidis-ms-detail-field",15),e&2&&$("value",t)}function vke(e,t){e&1&&le(0,"vidis-ms-detail-field",16),e&2&&$("value",t)}function yke(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 bke=(()=>{const t=class t{constructor(){this.medication=ge.required(),this.fieldErrors=ge(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({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,tke,3,8,"vidis-error-display",0),R(1,"hasMedicationError"),B(2,"span",1),le(3,"vidis-ms-detail-field",2),R(4,"translateValue"),R(5,"firstLetterUppercase"),le(6,"vidis-ms-detail-field",3),R(7,"translateValue"),R(8,"firstLetterUppercase"),le(9,"vidis-ms-detail-field",4),R(10,"fullname"),oe(11,nke,2,4,"vidis-ms-detail-field",5)(12,ike,2,4,"vidis-ms-detail-field",6)(13,dke,1,1),R(14,"activeAndFutureSuspensions"),oe(15,hke,4,13,"vidis-ms-detail-field",7)(16,pke,3,8,"vidis-ms-detail-field",8),B(17,"vidis-ms-detail-field-slot",9),R(18,"hasMedicationError"),le(19,"vidis-medication-scheme-posology",10),z(),oe(20,mke,4,10,"vidis-ms-detail-field",11)(21,fke,4,10,"vidis-ms-detail-field",12),le(22,"vidis-ms-detail-field",13)(23,"vidis-ms-detail-field",14),oe(24,gke,1,1,"vidis-ms-detail-field",15),R(25,"translateValue"),oe(26,vke,1,1,"vidis-ms-detail-field",16),R(27,"translateValue"),oe(28,yke,1,2,"vidis-ms-detail-field",17),R(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",X(5,23,X(4,21,a.medication().name))),O(3),$("value",X(8,27,X(7,25,a.medication().indication))),O(3),$("value",X(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=X(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=X(25,37,a.medication().instructions))?24:-1,v),O(2),ee((g=X(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,rEe,Qie,oae,sae,Sp,rm,zie,om,Wie,Zie],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})(),_ke=(()=>{const t=class t{constructor(){this.translate=C(li),this.cdRef=C(or),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=rn({name:"posologyGrouped",type:t,pure:!1});let e=t;return e})(),xke=e=>({posologies:e}),wke=e=>({count:e}),Eke=(e,t)=>t.key;function Ske(e,t){e&1&&(B(0,"span",1),ve(1),R(2,"translate"),z()),e&2&&(O(),$e("",X(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function kke(e,t){if(e&1&&(ve(0),Sa(1,2)),e&2){let i=t.$implicit,n=ae(2),a=rr(3);$e(" ",n.keyLabel(i.key)," "),O(),$("ngTemplateOutlet",a)("ngTemplateOutletContext",Cn(3,xke,i.value))}}function Cke(e,t){if(e&1&&(oe(0,Ske,3,3,"span",1),oo(1,kke,2,5,null,null,Eke),R(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 Ike(e,t){e&1&&(ve(0),R(1,"translate")),e&2&&$e(" ",X(1,1,"medicationSchemeListView.notSpecified"),`
42
+ `)}function Dke(e,t){e&1&&(B(0,"span"),ve(1),z()),e&2&&(O(),$e(" ",t,""))}function Tke(e,t){if(e&1&&(B(0,"span"),ve(1),R(2,"translate"),z(),oe(3,Dke,2,1,"span"),R(4,"posologyGrouped")),e&2){let i,n=ae(2).$implicit,a=ae(2);O(),$e(" ",dt(2,2,"commons.administrationUnits."+n.quantity.unit,Cn(8,wke,n.quantity.value)),""),O(2),ee((i=dt(4,5,n,a.medication()))?3:-1,i)}}function Pke(e,t){if(e&1&&(B(0,"span"),ve(1),R(2,"quantity"),z(),oe(3,Tke,5,10)),e&2){let i=ae().$implicit;O(),Nt(X(2,2,i.quantity.value)),O(2),ee(i.quantity.unit?3:-1)}}function Oke(e,t){if(e&1&&(B(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ve(3),z()),e&2){let i=ae();$("lang",X(1,3,i.lang)),jt("translate",X(2,5,i.lang)),O(3),$e("  ",t," ")}}function Nke(e,t){if(e&1&&(B(0,"span",3),R(1,"getLangForAttrLang"),R(2,"canTranslateForAttr"),ve(3),z(),oe(4,Oke,4,7,"span",3),R(5,"posologyGrouped")),e&2){let i,n=t,a=ae().$implicit,r=ae(2);$("lang",X(1,4,n.lang)),jt("translate",X(2,6,n.lang)),O(3),$e(" ",n.value," "),O(),ee((i=dt(5,8,a,r.medication()))?4:-1,i)}}function Mke(e,t){if(e&1&&(B(0,"li"),oe(1,Pke,4,4)(2,Nke,6,11),R(3,"translateObject"),z()),e&2){let i,n=t.$implicit;O(),ee(n.quantity?1:-1),O(),ee((i=X(3,2,n.text))?2:-1,i)}}function Ake(e,t){if(e&1&&(B(0,"ul"),oo(1,Mke,4,4,"li",null,ks),z()),e&2){let i=t.posologies;O(),so(i)}}var Rke=(()=>{const t=class t{constructor(){this.translate=C(li),this.medication=ge.required(),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={};n.forEach(c=>{var m,v,g;let h;(v=(m=c.day)==null?void 0:m.weekday)!=null&&v.day?h=c.day.weekday.day:((g=c.day)==null?void 0:g.dayNumber)!=null?h=`day ${c.day.dayNumber}`:h="other",a[h]||(a[h]=[]),a[h].push(c)});let r={},o=Object.keys(a).filter(c=>this.orderedWeekdays.includes(c)).sort((c,h)=>this.orderedWeekdays.indexOf(c)-this.orderedWeekdays.indexOf(h)),l=Object.keys(a).filter(c=>c.startsWith("day ")).sort((c,h)=>parseInt(c.split(" ")[1],10)-parseInt(h.split(" ")[1],10)),u=Object.keys(a).filter(c=>c==="other");return[...o,...l,...u].forEach(c=>{r[c]=a[c]}),r}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=Ae({type:t,selectors:[["vidis-medication-scheme-grouped-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,Cke,4,4)(1,Ike,2,3)(2,Ake,3,0,"ng-template",null,0,Zl),n&2){let r;ee((r=a.medication().posology)!=null&&r.length?0:1)}},dependencies:[un,Uie,_ke,Hme,Gie,Bie,Hie,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 Qa().set(Rr.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})(),lae=(()=>{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})(),Lke={schemes:[{patient:{ssin:"00000000097",firstName:"John",lastName:"Doe"},lastChange:{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000004",role:Kt.PERSPHYSICIAN},date:"2024-10-16T19:59:18.000+0000"},version:"42",medications:[{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000037",role:Kt.PERSPHYSICIAN},identifier:{value:"0041020",type:Rn.CNK},temporality:yi.CHRONIC,frequency:{periodicity:G.D},route:An._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:Kt.PERSPHARMACIST},frequency:{periodicity:G.D},route:An._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:Kt.PERSPHYSICIAN},identifier:{value:"0039347",type:Rn.CNK},frequency:{periodicity:G.D},route:An._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:Kt.PERSPHYSICIAN},identifier:{value:"2120046",type:Rn.CNK},temporality:yi.CHRONIC,frequency:{periodicity:G.D},route:An._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:Kt.PERSPHARMACIST},identifier:{value:"0119065",type:Rn.CNK},frequency:{periodicity:G.D},route:An.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:Kt.PERSPHARMACIST,organization:{type:Kt.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Rn.CNK},frequency:{periodicity:G.ONDEMAND},route:An._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:Kt.PERSPHARMACIST,organization:{type:Kt.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Rn.CNK},frequency:{periodicity:G.D},route:An._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:Kt.PERSPHYSICIAN},identifier:{value:"1557396",type:Rn.CNK},temporality:yi.ONESHOT,frequency:{periodicity:G.DD},route:An.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:Kt.PERSPHYSICIAN},identifier:{value:"2915353",type:Rn.CNK},frequency:{periodicity:G.ONDEMAND},route:An._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:Kt.PERSNURSE},identifier:{value:"2744753",type:Rn.CNK},frequency:{periodicity:G.D},route:An._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:Kt.PERSPHARMACIST},identifier:{value:"0062521",type:Rn.CNK},temporality:yi.ONESHOT,frequency:{periodicity:G.D},route:An._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:Kt.PERSPHYSICIAN},identifier:{value:"3301",type:Rn.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:$ie.VITALINK}],errors:[]},cae=(()=>{const t=class t extends Yc{constructor(){super(...arguments),this.demoService=C($1e)}find(n){return this.demoService.post("/v1/medicationscheme",Lke,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 K_{constructor(n,a){super(n.getServices(),Ha.MEDICATION_SCHEME,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Ha.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 Ot(this,null,function*(){return J1e(this.getData(n),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Ha.MEDICATION_SCHEME_PAGE_STATE)??{filter:qie.ALL,view:0,date:{displayDate:new Date,startOfWeek:Ki(new Date,this.fnsOptions),endOfWeek:zye(new Date,this.fnsOptions)}}}setPageState(n){let a=this.getPageState(),r=ue(ue({},a),n);this.services.cacheDataStorage.set(Ha.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return Ot(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin();return Boe(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})(),Fke=(e,t)=>e.getEnvironmentVariable("env")===ca.DEMO?t.get(cae):t.get(lae),Vke={provide:Yc,useFactory:Fke,deps:[uo,st]},jke=["*"],Bke=(e,t,i,n,a)=>({"custom-content":e,circle:t,progress:i,"progress-dark":n,pulse:a});function zke(e,t){e&1&&nt(0)}function Hke(e,t){if(e&1&&(B(0,"div",0),oe(1,zke,1,0),z()),e&2){let i=ae(),n=xf(0),a=xf(1);$("ngClass",gpe(5,Bke,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 uae=new se("ngx-skeleton-loader.config"),Uke=(()=>{var t;const i=class i{constructor(){xm(this,t);var a,r,o,l,u,c;wm(this,t,C(uae,{optional:!0})),this.count=ge(((a=Vi(this,t))==null?void 0:a.count)||1,{transform:Vc}),this.loadingText=ge(((r=Vi(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=ge(((o=Vi(this,t))==null?void 0:o.appearance)||"line"),this.animation=ge(((l=Vi(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=ge(((u=Vi(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=ge(((c=Vi(this,t))==null?void 0:c.theme)||null),this.items=Gi(()=>{let h=this.count()||1;return this.appearance()==="custom-content"&&Ape(),[...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=Ae({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:jke,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,Hke,2,11,"div",0,ks)),a&2&&(_f(r.appearance()),O(),_f(r.animation()),O(),so(r.items()))},dependencies:[wp,Lme],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})(),Gke=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:uae,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=nn({type:t}),t.ɵinj=tn({imports:[a1]});let e=t;return e})(),Wke=e=>({prescriber:e}),qke=e=>({count:e});function $ke(e,t){if(e&1&&(le(0,"vidis-error-display",0),R(1,"translate"),R(2,"fullname")),e&2){let i=ae();$("message",X(1,2,"incorrect-elements-ms-detail"))("translateParams",Cn(6,Wke,X(2,4,i.medication().author)))}}function Yke(e,t){e&1&&(B(0,"mat-chip",2),ve(1),R(2,"translate"),z()),e&2&&($("disableRipple",!0),O(),$e(" ",X(2,2,"medicationSchemeListView.future")," "))}function Zke(e,t){e&1&&(B(0,"mat-chip",3),ve(1),R(2,"translate"),z()),e&2&&($("disableRipple",!0),O(),$e(" ",X(2,2,"medicationSchemeListView.remarks.ifneeded")," "))}function Kke(e,t){e&1&&(le(0,"vidis-ms-detail-field",25),R(1,"firstLetterUppercase")),e&2&&$("value",X(1,1,t))}function Jke(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",26),R(1,"date"),R(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 Xke(e,t){e&1&&(le(0,"vidis-ms-detail-field",12),R(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function Qke(e,t){if(e&1&&(oe(0,Kke,2,3,"vidis-ms-detail-field",25),R(1,"translateValue"),B(2,"div",10),oe(3,Jke,3,9,"vidis-ms-detail-field",26)(4,Xke,2,4,"vidis-ms-detail-field",12),z()),e&2){let i,n,a,r=t.$implicit;ee((i=X(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 eCe(e,t){if(e&1&&(B(0,"span",22),le(1,"mat-icon",23),ve(2),R(3,"translate"),z(),B(4,"span",24),oo(5,Qke,5,5,null,null,ks),z()),e&2){let i=ae();O(2),Nt(X(3,1,"medicationSchemeDetails.suspension.label")),O(3),so(i)}}function tCe(e,t){e&1&&oe(0,eCe,7,3),e&2&&ee(t.length>0?0:-1)}function nCe(e,t){e&1&&le(0,"vidis-ms-detail-field",5),e&2&&$("value",t)}function iCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",9),R(1,"translate"),R(2,"hasMedicationError")),e&2){let i=ae();$("value",X(1,2,"commons.periodicities."+t))("withError",fn(2,4,i.fieldErrors(),i.medication().index,"frequency"))}}function aCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",11),R(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function rCe(e,t){e&1&&(le(0,"vidis-ms-detail-field",12),R(1,"date")),e&2&&$("value",dt(1,1,t,"dd/MM/yyyy"))}function oCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",15),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i,n=ae();$("value",X(2,5,dt(1,2,"commons.administrationUnits."+((i=n.medication().posology[0].quantity)==null?null:i.unit),Cn(11,qke,n.medication().posology[0].quantity.value))))("withError",fn(3,7,n.fieldErrors(),n.medication().index,"posologies"))}}function sCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",16),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();$("value",X(2,4,X(1,2,"commons.routes."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"route"))}}function lCe(e,t){if(e&1&&(le(0,"vidis-ms-detail-field",17),R(1,"translate"),R(2,"firstLetterUppercase"),R(3,"hasMedicationError")),e&2){let i=ae();$("value",X(2,4,X(1,2,"commons.temporality."+t)))("withError",fn(3,6,i.fieldErrors(),i.medication().index,"temporality"))}}function cCe(e,t){e&1&&le(0,"vidis-ms-detail-field",18),e&2&&$("value",t)}function uCe(e,t){if(e&1&&le(0,"vidis-ms-detail-field",19),e&2){let i,n=ae();$("value",(i=n.medication().others)==null?null:i.join(", "))("withError",!0)}}function dCe(e,t){e&1&&le(0,"vidis-download-link",20),e&2&&$("leaflet",t)}var hCe=(()=>{const t=class t{constructor(){this.medication=ge.required(),this.patient=ge.required(),this.fieldErrors=ge(),this.temporalities=yi}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Ae({type:t,selectors:[["vidis-medication-scheme-details-mobile"]],inputs:{medication:[1,"medication"],patient:[1,"patient"],fieldErrors:[1,"fieldErrors"]},decls:37,vars:55,consts:[["fontIcon","warning",3,"message","translateParams"],[3,"medicationName","canDisplayDetails"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[1,"mh-red","mh-no-overlay",3,"disableRipple"],[3,"label","withDivider","dispaly"],["labelKey","medicationSchemeDetails.indication",3,"value"],[3,"label"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication"],["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,$ke,3,8,"vidis-error-display",0),R(1,"hasMedicationError"),B(2,"vidis-detail",1),R(3,"translateValue"),R(4,"firstLetterUppercase"),B(5,"vidis-detail-header-left"),oe(6,Yke,3,4,"mat-chip",2),R(7,"isFutureMedication"),oe(8,Zke,3,4,"mat-chip",3),z(),B(9,"vidis-detail-header"),oe(10,tCe,1,1),R(11,"activeAndFutureSuspensions"),z(),B(12,"vidis-detail-section",4),R(13,"translate"),oe(14,nCe,1,1,"vidis-ms-detail-field",5),R(15,"translateValue"),z(),B(16,"vidis-detail-section",6),R(17,"translate"),B(18,"vidis-ms-detail-field-slot",7),R(19,"hasMedicationError"),le(20,"vidis-medication-scheme-grouped-posology",8),z(),oe(21,iCe,3,8,"vidis-ms-detail-field",9),B(22,"div",10),oe(23,aCe,2,4,"vidis-ms-detail-field",11)(24,rCe,2,4,"vidis-ms-detail-field",12),z(),le(25,"vidis-ms-detail-field",13)(26,"vidis-ms-detail-field",14),oe(27,oCe,4,13,"vidis-ms-detail-field",15)(28,sCe,4,10,"vidis-ms-detail-field",16)(29,lCe,4,10,"vidis-ms-detail-field",17)(30,cCe,1,1,"vidis-ms-detail-field",18),R(31,"translateValue"),oe(32,uCe,1,2,"vidis-ms-detail-field",19),R(33,"hasMedicationError"),oe(34,dCe,1,1,"vidis-download-link",20),R(35,"translateValue"),z(),le(36,"vidis-person-detail-section",21),z()),n&2){let r,o,l,u,c,h,m,v,g,x;ee(dt(1,26,a.fieldErrors(),a.medication().index)?0:-1),O(2),$("medicationName",X(4,31,X(3,29,a.medication().name)))("canDisplayDetails",!0),O(4),ee(X(7,33,a.medication())?6:-1),O(2),ee(a.medication().temporality===a.temporalities.ONESHOT?8:-1),O(2),ee((r=X(11,35,a.medication().suspensions))?10:-1,r),O(2),$("label",X(13,37,"medicationSchemeDetails.section.treatment"))("withDivider",!1)("dispaly",!!a.medication().comment),O(2),ee((o=X(15,39,a.medication().comment))?14:-1,o),O(2),$("label",X(17,41,"medicationSchemeDetails.section.intake")),O(2),$("withError",fn(19,43,a.fieldErrors(),a.medication().index,"posologies")),O(2),$("medication",a.medication()),O(),ee((l=(l=a.medication().frequency)==null?null:l.periodicity)?21:-1,l),O(2),ee((u=a.medication().treatmentStartDate)?23:-1,u),O(),ee((c=a.medication().treatmentEndDate)?24:-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?27:-1),O(),ee((m=a.medication().route)?28:-1,m),O(),ee((v=a.medication().temporality)?29:-1,v),O(),ee((g=X(31,47,a.medication().instructions))?30:-1,g),O(2),ee(fn(33,49,a.fieldErrors(),a.medication().index,"others")?32:-1),O(2),ee((x=X(35,53,a.medication().leaflet))?34:-1,x),O(2),$("patient",a.patient())("prescriber",a.medication().author)}},dependencies:[rae,am,gEe,ho,ESe,Qie,oae,sae,iae,LSe,Xie,Rke,OSe,GSe,un,om,zie,Zie,rm,Sp,Wie,Gwe],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})(),pCe=()=>({width:"40%",height:"20px"});function mCe(e,t){e&1&&(B(0,"div"),ve(1,"Component not properly initialized!"),z())}function fCe(e,t){if(e&1&&le(0,"vidis-status-message",0),e&2){let i=ae();$("error",i.error)}}function gCe(e,t){e&1&&le(0,"ngx-skeleton-loader",1),e&2&&$("count",10)("theme",fpe(2,pCe))}function vCe(e,t){e&1&&le(0,"vidis-download-link",4),e&2&&$("leaflet",t)}function yCe(e,t){if(e&1&&(le(0,"vidis-medication-scheme-details-row",3),oe(1,vCe,1,1,"vidis-download-link",4),R(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=X(2,6,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)}}function bCe(e,t){e&1&&(B(0,"div",2)(1,"h3"),ve(2),R(3,"translate"),z()()),e&2&&(O(2),Nt(X(3,1,"medicationSchemeDetails.noDetails")))}function _Ce(e,t){if(e&1&&oe(0,gCe,1,3,"ngx-skeleton-loader",1)(1,yCe,4,8)(2,bCe,4,3,"div",2),e&2){let i=ae(),n=ae(2);ee(i.status===n.loadingStatus.LOADING?0:i.data?1:2)}}function xCe(e,t){if(e&1&&oe(0,fCe,1,1,"vidis-status-message",0)(1,_Ce,3,1),e&2){let i=ae(2);ee(t.status===i.loadingStatus.ERROR?0:1)}}function wCe(e,t){if(e&1&&oe(0,xCe,2,1),e&2){let i,n=ae();ee((i=n.medicationDetail())?0:-1,i)}}var ECe=(()=>{const t=class t extends KEe{constructor(){super(...arguments),this.extraRequiredFields=["id","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.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 Ot(this,null,function*(){return this.medicationSchemeService.setClientId(this.exchangeClientId),this.medicationSchemeService.fetchMedicationScheme(n)})}injectService(){wc(this.injector,()=>{this.medicationSchemeService=C(r0),this.medicationSchemeState=Twe(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=Ae({type:t,selectors:[["vidis-medication-scheme-detail"]],inputs:{id:"id",exchangeClientId:"exchangeClientId"},features:[$b([r0,lae,cae,Vke]),Gn],decls:2,vars:1,consts:[[3,"error"],["appearance","line",3,"count","theme"],[1,"center"],[3,"medication","fieldErrors"],[3,"leaflet"],[3,"medication","patient","fieldErrors"]],template:function(n,a){n&1&&oe(0,mCe,2,0,"div")(1,wCe,1,1),n&2&&ee(a.isCorrectlySetup()?1:0)},dependencies:[Gke,Uke,bke,Xie,gSe,hCe,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})();sfe({providers:[Dwe]}).then(e=>{let t=sme(ECe,{injector:e.injector});customElements.define("vidis-medication-scheme-detail",t)}).catch(e=>console.error(e));